summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2006-07-21matz2006-07-201-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/completion.rb: support for completion of numerickeiju2006-07-191-4/+20
| | | | | | | number. [ruby-dev: 29038] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_yield_0): should check args_args before lambdamatz2006-07-192-2/+8
| | | | | | | argument check. [ruby-dev:29029] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-07-19ryan2006-07-181-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* patch was misapplied. fixed. sorryryan2006-07-181-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_f_system): shouldn't block SIGCHLD if it's notusa2006-07-182-0/+9
| | | | | | | exist. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_f_system): block SIGCHLD during the processmatz2006-07-182-10/+20
| | | | | | | execution, like glibc system(3) does. [ruby-talk:202361] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (open_ifs_socket): should not use plain malloc.usa2006-07-182-1/+11
| | | | | | | * win32/win32.c (rb_w32_opendir): should not use plain realloc. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (yield_under_i): argument should be passed in avaluematz2006-07-182-1/+8
| | | | | | | from. [ruby-dev:29044] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_unpack): propagate association array to copiedmatz2006-07-182-5/+19
| | | | | | | | | | | | | string. [ruby-core:08223] * pack.c (pack_unpack): return referenced string itself if it has same length as specified. a patch from <nobu at ruby-lang.org> in [ruby-core:08225]. * pack.c (pack_pack): taint 'p' packed strings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * intern.h (st_foreach_safe): fix prototype.usa2006-07-184-3/+79
| | | | | | | | | | * node.h (NODE_LMASK): bigger than long on LLP64. * missing/vsnprintf.c (BSD__uqtoa): new function to support LLP64. all changes are derived from [ruby-dev:29045] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_f_system): call rb_sys_fail(0) if rb_last_statusmatz2006-07-182-0/+6
| | | | | | | is nil. [ruby-talk:202361] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpserver.rb (WEBrick::HTTPServer::unmount): removematz2006-07-182-1/+6
| | | | | | | inpect argument from sprintf. [ruby-dev:29039] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_cstr_to_dbl): limit out-of-range message.nobu2006-07-183-6/+22
| | | | | | | | * util.c (ruby_strtod): return end pointer even if ERANGE occurred. fixed: [ruby-dev:29041] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RD to RDoc conversion by Hugh Sasse.drbrain2006-07-172-125/+109
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strtod): stop at dot not followed by digits.nobu2006-07-171-0/+5
| | | | | | | fixed: [ruby-dev:29035] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strtod): stop at dot not followed by digits.nobu2006-07-171-2/+2
| | | | | | | fixed: [ruby-dev:29035] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: remove LIBRUBY_SO if static linked extensions exist.nobu2006-07-172-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-07-18nobu2006-07-171-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (rb_cv_msvcrt): defaulted to msvcrt. Workaround for anobu2006-07-172-7/+12
| | | | | | | bug of cygwin 1.5.20. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/wait/wait.c (io_ready_p): protoize.matz2006-07-174-7/+15
| | | | | | | | | * pack.c (define_swapx): should not use plain malloc. * ext/curses/curses.c (curses_getmouse): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: should use ac_cv_lib_dl_dlopen=no on MinGW.eban2006-07-172-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: set ac_cv_func_dlopen=no on MinGW.eban2006-07-172-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-07-17usa2006-07-171-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.c: still need to include config.h on some platforms.usa2006-07-172-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* // comment removed.akr2006-07-151-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-07-15matz2006-07-141-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.c (malloc): use xmalloc/xcalloc instead of plainmatz2006-07-142-1/+12
| | | | | | | | malloc/calloc, to detect memory allocation failure. see <http://www.nongnu.org/failmalloc/>. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: add methods for new features of latest Tcl/Tk8.5nagai2006-07-143-4/+40
| | | | | | | * ext/tk/lib/tk/namespace.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add monitor.rbdrbrain2006-07-131-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/monitor.rb: document patch from Hugh Sasse <hgs at dmu.ac.uk>.matz2006-07-132-0/+31
| | | | | | | [ruby-core:08205] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-07-14matz2006-07-131-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_pop): may cause realloc oscillation. a patchmatz2006-07-132-1/+7
| | | | | | | | from MORITA Naoyuki <mlgetter at kidou.sakura.ne.jp>. [ruby-dev:29028] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/composite.rb: improve handling of the classname on thenagai2006-07-133-1/+107
| | | | | | | option database for the widget class which includes TkComposite. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-07-13matz2006-07-121-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.h (FIX2LONG): returns integer of size of VALUE.matz2006-07-122-3/+10
| | | | | | | | | [ruby-dev:29024] * ruby.h (FIX2ULONG): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-07-12matz2006-07-121-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (f_args): allow post mandatory arguments after optionalmatz2006-07-124-7/+56
| | | | | | | | | | | | | arguments. [ruby-dev:29014] * parse.y (new_args_gen): allow post_args without rest_args. * eval.c (formal_assign): ditto. * parse.y (new_args_gen): check post argument duplication. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: remove restriction on the class ofnagai2006-07-112-2/+9
| | | | | | | pseudo-toplevel. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: security fix.nagai2006-07-113-3/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_dump): need to extend len for \b.usa2006-07-112-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_int2big): use SIGNED_VALUE. [ruby-dev:29019]matz2006-07-116-42/+65
| | | | | | | | | | | | | | | * bignum.c (rb_int2inum, rb_uint2inum): use VALUE sized integer. * bignum.c (rb_big2long, rb_big2ulong): ditto. * numeric.c (rb_num2long, rb_num2ulong): ditto. * numeric.c (check_int, check_uint): ditto. * bignum.c (rb_quad_pack): typo fixed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bignorm): sizeof(long) may be smaller thanmatz2006-07-118-22/+63
| | | | | | | | | | | sizeof(VALUE). [ruby-dev:29013] * ruby.h (FIXNUM_MAX): fixnum may be bigger than long. * ruby.h (SIGNED_VALUE): signed integer of size of VALUE. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-07-11akr2006-07-111-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove an unused label and variable.akr2006-07-111-2/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_sweep): expand heap earlier.akr2006-07-102-2/+15
| | | | | | | reported by MORITA Naoyuki. [ruby-dev:28960] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/font.rb: sorry. mistaken to patch.nagai2006-07-102-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c: make SEGV risk lower at exit.nagai2006-07-109-40/+543
| | | | | | | | | | | | | | | | | | | | | | * ext/tk/lib/tk.rb: ditto. * ext/tk/lib/multi-tk.rb: fail to call function-style methods on slave interpreters. The strategy (MultiTkIp_PseudoToplevel_Evaluable) to fix the problem is a little tricky. You may have to take care of conflicting with it. * ext/tk/lib/tk.rb: a little change for the pseudo-toplevel strategy. * ext/tk/lib/tk/font.rb: ditto. * ext/tk/lib/tk/msgcat.rb: ditto. * ext/tk/lib/tkextlib/itk/incr_tk.rb: ditto. * ext/tk/sample/demos-en/widget: fail to call function-style methods on sample scripts. To fix it, a strategy which similar to the way on MultiTiIp is used. Please take care when re-write and re-run a demo script on the Widget-Demo code viewer. * ext/tk/sample/demos-jp/widget: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/test.rb: update test suites.matz2006-07-104-22/+37
| | | | | | | | | * test/ruby/test_assignment.rb (TestAssignment::test_yield): ditto. * test/ruby/test_iterator.rb (TestIterator::test_itertest): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call): remove erroneously restored prot_tag->blkidmatz2006-07-102-1/+5
| | | | | | | initialization. [ruby-dev:28997] [ruby-dev:29000] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e