usa
ef7845ad24
* ext/tcltklib/tcltklib.c (CONST84): define CONST84 when it is not
...
defined and TCL_MAJOR_VERSION >= 8.
* ext/tcltklib/tcltklib.c (VwaitVarProc, WaitVariableProc,
rb_threadVwaitProc): use CONST84 instead of CONST.
* ext/tcltklib/tcltklib.c (ip_rbTkWaitCommand,
ip_rb_threadTkWaitCommand): use CONST84 always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-29 11:03:54 +00:00
akr
a5c350aaba
* re.c (rb_reg_s_union, Init_Regexp): new method `Regexp.union'.
...
* lib/pathname.rb (realpath): examine Dir.pwd because it may have
symlinks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-29 08:31:43 +00:00
matz
8bf300f149
* eval.c (rb_longjmp): must not disturb original jump.
...
[ruby-dev:21733]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-29 08:21:11 +00:00
matz
27ff072349
* eval.c (Init_Proc): taint preallocated exception object
...
sysstack_error. [ruby-talk:84534]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-29 06:53:48 +00:00
usa
f6f8883202
2003-10-29
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-29 02:32:13 +00:00
matz
91d2e58f1d
* parse.y (ret_args): node may be NULL. [ruby-talk:84530]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-29 02:30:08 +00:00
seki
27ce94a366
change yield2 test. [ruby-dev:21739]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-28 14:14:41 +00:00
usa
70b6fce162
* ext/tcltklib/tcltklib.c (VwaitVarProc, ip_rbVwaitObjCmd,
...
WaitVariableProc, WaitVisibilityProc, WaitWindowProc,
ip_rbTkWaitObjCmd, ip_rbTkWaitCommand, rb_threadVwaitProc,
rb_threadWaitVisibilityProc, rb_threadWaitWindowProc,
ip_rb_threadVwaitObjCmd, ip_rb_threadTkWaitObjCmd): prototype;
avoid VC++ warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-28 06:23:47 +00:00
eban
5f373d4f99
2003-10-28
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-28 02:28:10 +00:00
matz
a1096ba77c
* parse.y (new_yield): remove magic argument rule; "yield [1,2]"
...
should yield single array of two elements, not two values.
[ruby-dev:21726]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-28 02:27:06 +00:00
nobu
ed5208d851
* eval.c (rb_longjmp): ignore reentering error while warning.
...
[ruby-dev:21730]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-27 10:19:57 +00:00
eban
d1d617b4a2
2003-10-27
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-27 02:28:31 +00:00
nagai
8f2e14aa3a
bug fix on Win : hang-up when calling 'exit' in the Tk callback
...
procedure. [ruby-list:38656]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-26 15:25:58 +00:00
seki
b9a216a6ef
add yield test for [ruby-dev:21707]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-26 13:07:58 +00:00
eban
985549e008
2003-10-26
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-26 09:01:51 +00:00
nagai
90e087b697
add TkRoot.destroy
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-25 22:36:50 +00:00
matz
b6beb8d943
* eval.c (rb_method_missing): protect exception from within
...
"inspect". (ruby-bugs PR#1204)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-25 00:36:56 +00:00
eban
beb00bc582
2003-10-24
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-24 14:51:31 +00:00
matz
befb570536
* hash.c (rb_hash_each): Hash#each should yield single value.
...
[ruby-talk:84420]
* hash.c (env_each): ditto for ENV.each.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-24 14:31:14 +00:00
gotoyuzo
f493f61f73
* lib/webrick/server.rb (GenericServer#start): should rescue
...
IOError from IO::accept. [ruby-dev:21692]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-23 11:29:29 +00:00
nobu
bd9898da42
2003-10-23
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-23 09:10:00 +00:00
nobu
d74e7e6837
* eval.c (ruby_cleanup): initialize stack bottom for embedding.
...
[ruby-dev:21686]
* ext/dl/extconf.rb: move list of files to clean from DEPEND file,
to get rid of macro redefinitions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-23 08:59:42 +00:00
nobu
443ddb0969
* parse.y: integrate operations for stack_type. [ruby-dev:21681]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-23 04:44:04 +00:00
nobu
38d2bcf47c
typo in comment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-23 02:19:00 +00:00
nahi
00ac002f79
* test/soap/calc/*, test/soap/helloworld/*: set logging threshold to ERROR.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-22 15:43:10 +00:00
ttate
618a435178
--enable-dlstack is true in default.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-22 15:04:35 +00:00
ttate
79c3e2d004
Bugfix for PR#1196
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-22 14:29:20 +00:00
nobu
f136a3225e
* lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#collect_file):
...
ignore tests which raised LoadError.
* test/drb/drbtest.rb, test/ruby/test_beginendblock.rb,
test/ruby/test_system.rb: avoid requiring same file twice.
* test/drb/test_drbssl.rb, test/drb/test_drbunix.rb: should not use
ARGV unless invoked directly. do not create test cases unless
required libraries are available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-22 03:53:41 +00:00
eban
4650c38d8b
2003-10-22
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-22 01:14:48 +00:00
matz
903f98a643
* eval.c (ruby_cleanup): should not ignore exit_value in END
...
execution. [ruby-dev:21670]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-21 17:38:37 +00:00
matz
d0244508c2
* test/drb/drbtest.rb: import drb common test utilities.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-21 15:04:39 +00:00
matz
06d9340f2e
* eval.c (ruby_cleanup): call finalizers and exit procs before
...
terminating threads.
* eval.c (ruby_cleanup): preserve ruby_errinfo before ruby_finalize_0().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-21 14:42:15 +00:00
nobu
8af34b7b33
* lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#collect_file):
...
prepend the directory of target file to the load path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-21 06:57:14 +00:00
usa
9292a6254e
* win32/win32.c (do_spawn, do_aspawn): should return child's exit
...
status to parent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-21 06:23:51 +00:00
usa
d820362c50
* win32/win32.c (do_spawn, do_aspawn): should wait child process even
...
if callded with P_OVERLAY.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-21 06:10:12 +00:00
eban
0152ff5c24
2003-10-21
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-21 04:48:59 +00:00
nagai
477f730aa4
bug fix
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-21 04:46:21 +00:00
shigek
c2e6541a6a
Added math.rb descriptions.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-21 03:52:43 +00:00
shigek
970ad34c95
Local version number(BigDecimal::ver) incremented.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-21 03:29:54 +00:00
shigek
87704d6a3c
can read data from file.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-21 03:18:44 +00:00
nobu
212d962a3b
C++/C99 style comments are not allowed yet. (ruby-bugs:PR#1184)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-21 02:47:17 +00:00
nahi
208ff30c07
* test/soap/calc/*, test/soap/helloworld/*: catch the exception from test
...
server thread and recover.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-20 15:37:11 +00:00
seki
bc867112ec
import drb/runit/*.rb
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-20 15:24:00 +00:00
nobu
d6153337f6
* eval.c (rb_eval): set current node after arguments evaluation.
...
[ruby-dev:21632]
* eval.c (rb_yield_0): set current node and keep it at local jump.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-20 14:55:50 +00:00
nobu
28f2a1da54
* eval.c (rb_thread_cleanup): keep thread group for main thread.
...
[ruby-dev:21644]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-20 13:01:21 +00:00
nobu
229c37a6da
* eval.c (rb_catch): backout.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-20 09:28:13 +00:00
matz
6eb98c5ebe
* eval.c (PUSH_FRAME): generate unique number to be TAG_JUMP()
...
destination.
* eval.c (localjump_destination): use unique number in ruby_frame
for localjump destination.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-20 08:33:49 +00:00
nobu
8405551e6d
* test/ruby/test_signal.rb (test_signal): restore old trap.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-20 02:31:47 +00:00
usa
de6f26a296
2003-10-20
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-20 02:11:42 +00:00
matz
e75c34c2e9
* gc.c (gc_sweep): loosen page free condition to avoid add_heap()
...
race condition. [ruby-dev:21633]
* gc.c (gc_sweep): do not update malloc_limit when malloc_increase
is smaller than malloc_limit.
* ext/socket/socket.c (make_hostent): h_aliases may be NULL.
(ruby-bugs PR#1195)
* ext/socket/socket.c (sock_s_gethostbyaddr): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-20 02:06:42 +00:00