summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * math.c (domain_check): should not raise EDOM exception for NaNmatz2008-12-101-0/+6
| | | | | | | value if operand is also NaN. affects acos, asin, acosh, atanh, log, log2, log10, sqrt, gamma, lgamma. [ruby-dev:37357] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open3.rb (Open3.pipeline_start): return an array of threads if aakr2008-12-101-0/+5
| | | | | | | block is not given. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_round): should be roundmatz2008-12-101-0/+8
| | | | | | | | | to integer. [ruby-dev:37355] * ext/bigdecimal/bigdecimal.c (BigDecimal_divmod): division should be integer. [incompatible] [ruby-dev:37355] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_mutex_unlock): shut up warning. a patch frommatz2008-12-101-0/+5
| | | | | | Kazuhiro NISHIYAMA in [ruby-dev:37345]. fix #846 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* added ml ref.tadf2008-12-101-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c: avoided warnings on cpp.tadf2008-12-101-0/+6
| | | | | | | | * rational.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/maker.rb (RSS::Maker.[]): add.kou2008-12-101-0/+5
| | | | | | | Suggested by Akinori MUSHA. Thanks!!! [ruby-dev:37210] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_rewind): If the enclosed objectknu2008-12-101-0/+5
| | | | | | | responds to a "rewind" method, call it; cf. [ruby-dev:37268] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_next): Fix a typo: s/rewinded/rewound/.knu2008-12-101-0/+6
| | | | | | | * lib/prime.rb (Prime::OldCompatibility#each): Ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_initialize): raise RegexpError when encodingnaruse2008-12-101-0/+5
| | | | | | is dummy encoding. [ruby-dev:37091] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (win32.obj): depend on headers.usa2008-12-091-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/single_byte.trans, cp850-tbl.rb, cp852-tbl.rb,duerst2008-12-091-0/+10
| | | | | | | | | | | cp855-tbl.rb, koi8-r-tbl.rb, koi8-u-tbl.rb, tis-620-tbl.rb: new single-byte transcodings (from Yoshihiro Kambayashi) * test/ruby/test_transcode.rb: added tests for the above (from Yoshihiro Kambayashi), small cosmetic fixes git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each), gc.c (assign_heap_slot),nobu2008-12-091-1/+10
| | | | | | | | | | | | | (gc_mark_children), parse.y (vtable_alloc, vtable_free, vtable_add), proc.c (proc_to_s), thread.c (terminate_i, rb_thread_terminate_all), (thread_start_func_2, blocking_region_begin, blocking_region_end), (rb_thread_kill), thread_pthread.c (native_thread_create), (ubf_pthread_cond_signal), vm.c (check_env, thread_free), vm_dump.c (vm_env_dump_raw, vm_stack_dump_each, vm_thread_dump_state), (vm_call0): use void pointer for %p. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c (curses_use_default_colors): add newmatz2008-12-091-0/+10
| | | | | | | | | | | method. a patch from Giancarlo F Bellido <support at coaxialhost.com> in [ruby-core:20434]. * ext/curses/curses.c (curses_tabsize_set): ditto. * ext/curses/curses.c (curses_tabsize_get): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (fiber_status), template/insns.inc.tmpl (ruby_vminsn_type),nobu2008-12-091-1/+5
| | | | | | | | vm_insnhelper.h (BOP): ISO C forbids comma at end of enumerator list. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (check_cfunc): use function pointer.nobu2008-12-091-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .gdbinit (rp): fixed typo for T_STRUCT.nobu2008-12-091-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pck): fixed [ruby-dev:37295].yugui2008-12-091-0/+6
| | | | | | | Array#pack always has returned an US-ASCII string when the given format ended with 'u', 'M' or 'm'. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: fix for continued lines. based on a patch fromnobu2008-12-081-0/+5
| | | | | | | Marcus Rueckert <darix AT opensu.se> at [ruby-core:20420]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_make_exception): single argument to raise may bematz2008-12-081-0/+5
| | | | | | string compatible object. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_truncate): returnmatz2008-12-081-0/+9
| | | | | | | | | | integer if no optional argument given. [incompatible] * ext/bigdecimal/bigdecimal.c (BigDecimal_floor): ditto. * ext/bigdecimal/bigdecimal.c (BigDecimal_ceil): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot (package): enc.mk in snapshot is dummy and shouldnobu2008-12-081-0/+5
| | | | | | | not deal with objects. [ruby-core:20422] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/depend (clean-srcs): split out from clean.nobu2008-12-081-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack): fixed odd act of 'm*', 'M*', and 'P*'.yugui2008-12-081-0/+6
| | | | | | | | just ignores '*' in these cases. [ruby-dev:37289] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack): fixed length for odd length string.nobu2008-12-081-0/+5
| | | | | | | [ruby-dev:37283] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): added version, copyright, usage, yydebug,nobu2008-12-081-0/+9
| | | | | | | syntax to --dump option. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (set_option_encoding_once): dry.nobu2008-12-081-0/+6
| | | | | | | * ruby.c (proc_options): checks extra argument for -E/--encoding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (LIBPATHFLAG): use numbered specifier if RPATHFLAGnobu2008-12-071-0/+5
| | | | | | | is set. [ruby-talk:322136] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (LIBRUBY_SO): localizes non-public symbols.nobu2008-12-071-0/+6
| | | | | | | * configure.in (OBJDUMP, OBJCOPY): for dealing with binary files. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open3.rb (Open3.capture3): renamed from Open3.poutput3.akr2008-12-071-0/+6
| | | | | | | | (Open3.capture2): renamed from Open3.poutput2. (lOpen3.capture2e): renamed from Open3.poutput2e. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open3.rb (Open3.poutput3): :binmode option implemented.akr2008-12-071-0/+6
| | | | | | | | (Open3.poutput2): ditto. (Open3.poutput2e): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot (package): added RM and CP. [ruby-dev:37288]nobu2008-12-061-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack): 'u0' is not special differently from 'm0'.yugui2008-12-061-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack): set US-ASCII and CODERANGE_7BITnaruse2008-12-061-0/+8
| | | | | | | | | when quoted-printable ('M') and base64 ('m'). [ruby-dev:37284] * pack.c (pack_unpack): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rational.c (nurat_{to_s,inspect}): performance improvement.tadf2008-12-051-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c: inpsect should not depend on to_s.tadf2008-12-051-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open3.rb (Open3.pipeline_start): new method.akr2008-12-051-0/+5
| | | | | | | (Open3.pipeline): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (run_exec_dup2): !save is false if Qnil.akr2008-12-051-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_read, rb_w32_write, rb_w32_isatty): checkusa2008-12-051-0/+5
| | | | | | | | whether fd is valid. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (rb_iseq_parameters): proc arguments are always optional.nobu2008-12-051-0/+6
| | | | | | | * proc.c (get_proc_iseq, rb_proc_parameters): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_set_sequence): uses rb_compile_warning() fornobu2008-12-051-0/+5
| | | | | | | warning at compilation time. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (ruby_iseq_compile, ruby_iseq_translate_threaded_code),nobu2008-12-051-0/+8
| | | | | | | | | | (ruby_insns_name_array, ruby_iseq_build_from_ary): prefixed with ruby_. * iseq.c (ruby_iseq_load, ruby_insn_make_insn_table): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_cmp_m): fixed rdoc. pointed out by <Thomasnobu2008-12-051-0/+5
| | | | | | | C. Mitchell AT gmail.com> at [ruby-talk:321967] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_binwrite): arg.offset should be updated after retry.akr2008-12-041-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * load.c (rb_get_load_path): returns the load path withoutnobu2008-12-041-0/+18
| | | | | | | | | | | | | | | | | | | | touching. * load.c (rb_feature_provided): new function to return the loading path in addition to rb_provided(). * load.c (search_required): sets path if loading. * variable.c (autoload_provided): load paths are expanded to check if loading. * variable.c (autoload_node): keeps autoload mark while loading. [ruby-core:20235] * variable.c (rb_const_get_0): loops while autoload mark is set. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_read): ERROR_BROKEN_PIPE is not a real errorusa2008-12-041-0/+8
| | | | | | | | | | | at this point. * io.c (pipe_open): use rb_w32_spawn() instead of rb_w32_pipe_exec() to use our own redirection scheme. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (sym_to_proc): use hidden object.nobu2008-12-041-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack): propagate taint status from format string tomatz2008-12-041-0/+5
| | | | | | result string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (run_exec_dup2): need to sort by reverted order whenusa2008-12-041-0/+5
| | | | | | | | restoring fds. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (sym_to_proc): caches Symbol procs, based on a patch fromnobu2008-12-041-0/+5
| | | | | | | Shumpei Akai <admin AT flexfrank.net>. [ruby-dev:37265] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e