matz
f3d25fdd9c
* gc.c (id2ref): recycle check should be done by klass == 0.
...
[ruby-core:01408]
* eval.c (Init_Thread): Continuation#[] added. [ruby-talk:79028]
* parse.y (mlhs_node): should allow "::Foo" (colon3) as lhs.
* parse.y (lhs): ditto.
* parse.y (yylex): should return tCOLON3 right after kCLASS.
[ruby-talk:78918]
* error.c (exc_initialize): was converting argument to string too
eagerly. Only check was needed. [ruby-talk:78958]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-14 17:20:14 +00:00
shigek
206efa1356
Bug fix and addition of math.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-14 15:42:42 +00:00
shigek
1e97118d8f
Newly added.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-14 15:34:17 +00:00
shigek
67ea373c70
Changed to use lib/bigdecimal/math.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-14 15:33:36 +00:00
shigek
9b1dbc0c77
lib/bigdecimal/math.rb added.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-14 15:32:17 +00:00
shigek
588c9c66bf
Bug fix: div method.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-14 15:11:44 +00:00
suke
2f2cb647c1
* ext/win32ole/win32ole.c (OLE_FREE): should not call
...
ole_message_loop.
* ext/win32ole/win32ole.c (ole_event_free): ditto.
* ext/win32ole/win32ole.c (ole_initialize): stop calling
OleUninitialize at exit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-14 11:01:43 +00:00
usa
ed485b4dda
2003-08-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-14 02:28:46 +00:00
usa
364772613f
* gc.c (rb_data_object_alloc): check type of 1st argument.
...
[ruby-dev:21192]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-14 02:28:14 +00:00
shigek
0b6cf4bea8
Ambiguity of BigDecimal::limit removed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-13 14:33:31 +00:00
gotoyuzo
3d7147bcea
* lib/webrick/https.rb (HTTPServer#run): should set syncing-mode
...
to SSLSocket.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-13 11:41:13 +00:00
matz
c791dc1345
* eval.c (POP_BLOCK): turn on BLOCK_LEFT flag when leaving block.
...
* eval.c (proc_invoke): unpack return/break destination when block
is already left.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-13 10:31:33 +00:00
eban
855f1ff132
2003-08-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-13 07:13:51 +00:00
eban
d434a6973e
* object.c (rb_class_s_alloc): add function prototype to avoid VC++
...
warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-13 07:13:45 +00:00
usa
2c46069f96
* ext/Win32API/Win32API.c (Win32API_initialize): should pass some
...
class to first argument of Data_Wrap_Struct(). (ruby-bugs PR#1109)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-13 04:52:35 +00:00
nobu
1efae2f585
commit miss
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-12 08:06:22 +00:00
nobu
cc4f2f8fcb
* ext/extmk.rb (extmake): compact $extlibs.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-12 07:55:14 +00:00
eban
d43d26f252
2003-08-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-12 02:30:54 +00:00
nobu
fd36ed94f3
* Makefile.in: static link libraries to LIBRUBY_SO with static linked
...
ext. [ruby-dev:21157]
* ext/extmk.rb (extmake): sort extension library initialization order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-12 02:12:48 +00:00
gsinclair
8eb6b7328e
RD -> RDoc by William Webber
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-11 22:42:08 +00:00
matz
09590a73fa
* eval.c (THREAD_SAVE_CONTEXT): should explicitly turn off the
...
flag before calling getcontext(2).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-11 18:18:40 +00:00
matz
0933db5a90
* eval.c (rb_thread_restore_context): typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-11 17:58:25 +00:00
matz
466c684881
* eval.c (struct thread): add member to save backing store on
...
IA64. (ruby-bugs PR1086)
* eval.c (thread_mark): mark IA64 backing store region.
* eval.c (thread_free): free saved IA64 backing store.
* eval.c (rb_thread_save_context): save IA64 backing store as well.
* eval.c (rb_thread_restore_context): restore IA64 backing store.
* eval.c (THREAD_ALLOC): initialize IA64 members.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-11 17:52:24 +00:00
nahi
d4506dfced
* lib/debug.rb(debug_command): inspection command should inspect resulting
...
value even if it's nil. [ruby-dev:21180] by OMAE, jun <jun66j5@ybb.ne.jp>.
* lib/debug.rb(debug_command): incomplete regexp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-11 13:41:18 +00:00
eban
7915b1d2f9
2003-08-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-11 08:46:10 +00:00
matz
5256bca931
* eval.c (rb_call_super): do not use rb_block_given_p() for
...
check. [ruby-talk:78656]
* eval.c (BEGIN_CALLARGS): push ITER_NOT only when ITER_PRE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-11 08:35:54 +00:00
shigek
b2385db896
Bug fix: '-' should not be counted as a digit(to_s(n) format).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-10 14:28:08 +00:00
gotoyuzo
923044bba2
* ext/openssl/lib/openssl/buffering.rb: increase BLOCK_SIZE
...
from 1k to 16k bytes. [ruby-talk:78603]
* ext/openssl/ossl_ssl.c (ossl_sslctx_s_alloc): enable
partial write to allow interruption in SSLSocket#sysread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-10 01:54:05 +00:00
eban
b325fc2d57
2003-08-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-09 15:36:27 +00:00
eban
e1a019a65a
* cygwin/GNUmakefile: remove unnecessary '--drive-name=$(CC)'
...
for ccache.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-09 15:36:23 +00:00
matz
df71dae11f
* marshal.c (w_object): do not dump generic instance variable when
...
marshal_dump is defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-09 15:19:17 +00:00
shigek
95cd9e4bb2
Invalid date.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-08 15:38:46 +00:00
shigek
faf68391a4
F style output(like 1234.56789) implemented to to_s method.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-08 15:37:21 +00:00
shigek
9cfc06d9ae
Comment changed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-08 15:31:53 +00:00
shigek
606c473683
F style output(like 1234.56789) implemented to to_s method.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-08 15:31:27 +00:00
eban
0a0c87bb12
2003-08-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-08 03:48:58 +00:00
matz
c49c51b76e
* marshal.c (w_object): should set `c_arg' at first.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-08 03:48:33 +00:00
eban
25358510af
* bcc32/Makefile.sub: rubyw.exe should be a Windows GUI program.
...
add the -aa option to WLDFLAGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-08 03:35:46 +00:00
gotoyuzo
4eb4064085
* lib/webrick/httputils.rb (FormData#list): should not take
...
a side effect for the receiver.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-07 18:24:27 +00:00
eban
430eabfe13
* cygwin/GNUmakefile: add forwarding DLL target for cygwin.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-07 07:11:50 +00:00
eban
6f059f33ef
* cygwin/GNUmakefile: better --disbale-shared option support.
...
* configure.in: Fix Cygwin specific naming of libraries to
be net distribution compliant. (ruby-bugs PR#1077)
cygwin-ruby18.dll -> cygruby18.dll
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-07 05:43:59 +00:00
eban
755dc335a5
2003-08-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-07 04:24:27 +00:00
matz
3d621a4c3d
* eval.c (rb_f_at_exit): should not be called without a block.
...
block_given check added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-07 04:09:56 +00:00
matz
697af8e54c
* eval.c (rb_call0): forgot to pop ruby_class.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-06 21:54:46 +00:00
matz
b51416e21f
* eval.c (rb_call0): update ruby_class as well as ruby_cref.
...
(ruby-bugs-ja PR#540)
* eval.c (rb_yield_0): remove ruby_frame->cbase and unify to
ruby_cref. [ruby-talk:78141]
* eval.c: initialize /* OK */ variables by Qnil to stop warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-06 21:50:06 +00:00
knu
1e51675654
* gc.c: FreeBSD/ia64's mcontext_t is a bit different from that of
...
Linux/ia64. This makes gc.c compile but miniruby coredumps for
the moment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-06 19:21:24 +00:00
shigek
657a5c4b96
Just small change.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-06 15:18:46 +00:00
shigek
3d9f4a7c77
Comparison results adjusted to Float's.
...
Use rb_num_coerce_xxxxx(x,y) instead of own.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-06 15:16:37 +00:00
shigek
7ba3a706f2
BigDecimal change.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-06 15:15:41 +00:00
ntalbott
3158b75b0b
* lib/test/unit/testcase.rb: Added equality checking.
...
* lib/test/unit/testsuite.rb: Added equality checking.
* lib/test/unit/assertions.rb: Fixed a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-06 14:03:21 +00:00