summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * ext/strscan/strscan.c (strscan_do_scan): always return nil if p->curr ↵aamine2006-07-261-0/+5
| | | | | | exceeds string size. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (Init_eval): rename #invoke_method andmatz2006-07-261-0/+13
| | | | | | | | | | | | | | | #invoke_functional_method to __send and __send! respectively. * eval.c (remove_method): prohibit removing __send and __send!. * eval.c (rb_undef): prohibit undef'ing __send and __send!. * eval.c (rb_eval): prohibit redefining __send and __send!. * lib/delegate.rb (Delegator): preserve __send. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c (getDevice): retry once after GC on failure.nobu2006-07-261-0/+5
| | | | | | | [ruby-core:08282] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c (strscan_do_scan): StringScanner.new("").scan(//) ↵aamine2006-07-261-0/+5
| | | | | | should return "". [ruby-Bugs:4361] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_str_format): prepend ".." to %u for negative bignum,nobu2006-07-261-0/+5
| | | | | | | but not "-". fixed: [ruby-core:08167] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_scan): add string modification check.matz2006-07-261-0/+5
| | | | | | | [ruby-core:7216] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::QueryExtension::read_multipart): checkmatz2006-07-261-0/+6
| | | | | | | | multipart boundary end. a patch from Fujioka <fuj at rabbix.jp> [ruby-dev:28470] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: suppress warnings by automake 1.8 or later.nobu2006-07-251-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (configuration): typo.usa2006-07-251-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_proc_times): rename hz to hertz to avoid namematz2006-07-251-5/+10
| | | | | | | crash on AIX. [ruby-dev:29126] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (backtrace): skip frames successive on node and method name.nobu2006-07-241-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call0): revert last change. [ruby-dev:29112]matz2006-07-241-0/+5
| | | | | | | [ruby-core:08374] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c (readline_readline): rl_deprep_term_functionakr2006-07-241-0/+5
| | | | | | | may be NULL with libedit. reported by Ryan Davis. [ruby-dev:29070] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/socket/test_unix.rb: disabled on cygwin.akr2006-07-231-0/+5
| | | | | | | reported by Kouhei Yanagita. [ruby-dev:29080] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): script is never used while recursing.nobu2006-07-211-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_cstr_to_dbl): "9_e8" should consider "_e8" asmatz2006-07-211-0/+5
| | | | | | | trailing garbage so that it should return 9.0. [ruby-dev:29088] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call0): include funcalled methods in caller list.nobu2006-07-211-0/+5
| | | | | | | fixed: [ruby-core:08290] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb, lib/mkmf.rb (with_destdir): remove drive letter beforenobu2006-07-211-0/+5
| | | | | | | prepending destdir on DOSISH. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call): try local method look-up first for fcall, thenmatz2006-07-201-0/+10
| | | | | | | | | | | | normal method look-up. [ruby-talk:202564] * eval.c (rb_get_method_body): save local method cache separately. * eval.c (search_method): export info whether method is local or not. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_mod_attr): make Module#attr to be an alias tomatz2006-07-201-0/+5
| | | | | | | attr_reader. [RCR#331] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_float.rb (TestFloat::test_strtod): update test tomatz2006-07-201-0/+10
| | | | | | | conform strtod change. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_yield_0): should check args_args before lambdamatz2006-07-191-0/+5
| | | | | | | argument check. [ruby-dev:29029] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_f_system): shouldn't block SIGCHLD if it's notusa2006-07-181-0/+5
| | | | | | | 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-181-6/+6
| | | | | | | 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-181-0/+6
| | | | | | | * 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-181-0/+5
| | | | | | | 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-181-0/+11
| | | | | | | | | | | | | 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-181-0/+9
| | | | | | | | | | * 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-181-0/+5
| | | | | | | 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-181-0/+5
| | | | | | | 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-181-0/+7
| | | | | | | | * 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
* * 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
* * ext/extmk.rb: remove LIBRUBY_SO if static linked extensions exist.nobu2006-07-171-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (rb_cv_msvcrt): defaulted to msvcrt. Workaround for anobu2006-07-171-4/+9
| | | | | | | 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-171-0/+10
| | | | | | | | | * 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-171-1/+1
| | | | 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-171-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.c: still need to include config.h on some platforms.usa2006-07-171-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.c (malloc): use xmalloc/xcalloc instead of plainmatz2006-07-141-0/+6
| | | | | | | | 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-141-0/+6
| | | | | | | * ext/tk/lib/tk/namespace.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/monitor.rb: document patch from Hugh Sasse <hgs at dmu.ac.uk>.matz2006-07-131-0/+5
| | | | | | | [ruby-core:08205] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_pop): may cause realloc oscillation. a patchmatz2006-07-131-0/+6
| | | | | | | | 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-131-0/+5
| | | | | | | 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
* * ruby.h (FIX2LONG): returns integer of size of VALUE.matz2006-07-121-0/+7
| | | | | | | | | [ruby-dev:29024] * ruby.h (FIX2ULONG): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (f_args): allow post mandatory arguments after optionalmatz2006-07-121-0/+23
| | | | | | | | | | | | | 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-111-0/+5
| | | | | | | 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-111-0/+4
| | | | 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-111-0/+4
| | | | 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-111-0/+14
| | | | | | | | | | | | | | | * 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-111-0/+18
| | | | | | | | | | | 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