summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* ChangeLog: add an entry and ML ref.matz2008-05-081-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_gc_save_machine_context): call FLUSH_REGISTER_WINDOWSakr2008-05-081-0/+5
| | | | | | | to mark the register stack from GC on another thread. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_sort_bang): freeze temporary array.nobu2008-05-081-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (rb_thread_mark): mark stat_insn_usage only when ptr is notnobu2008-05-081-0/+5
| | | | | | | null. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (sort_reentered): reentered check may be called frommatz2008-05-081-0/+5
| | | | | | Array#sort. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (sort_1, sort_2): check for reentered and if elements arenobu2008-05-081-2/+3
| | | | | | | accessible. [ruby-core:16679] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (sort_1, sort_2): check reentered. [ruby-core:16679]nobu2008-05-071-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (dln_find_exe_r, dln_find_file_r): reentrant versions.nobu2008-05-071-0/+8
| | | | | | | | | * file.c (rb_find_file_ext, rb_find_file), process.c (proc_exec_v), (rb_proc_exec, proc_spawn_v, proc_spawn), ruby.c (process_options): use reentrant versions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_key_p): thread local storage stores ID.nobu2008-05-071-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (tr_trans): should squeeze properly. [ruby-dev:34587]matz2008-05-071-0/+13
| | | | | | | | | | | | | * string.c (tr_trans): had a bug in treating multi-byte character replacement. * string.c (rb_str_delete_bang): need not to do anything for empty strings. * test/ruby/test_m17n_comb.rb (TestM17NComb::test_str_delete): add test for empty receiver. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (bit_coerce): float should not be a valid operand ofmatz2008-05-071-0/+5
| | | | | | bitwise operations. [ruby-dev:34583] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_key_p): should always convert symbol to ID.matz2008-05-071-0/+5
| | | | | | [ruby-dev:34588] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (fix_divide): float division should floor() beforematz2008-05-071-0/+5
| | | | | | rounding into integer. [ruby-dev:34584] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (process_options, ruby_set_argv): set encoding of rb_argvusa2008-05-071-0/+6
| | | | | | | | | after Init_prelude() because cannot load encoding extensions before it. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (sym_to_i): remove obsolete method. preparation formatz2008-05-071-0/+9
| | | | | | | | | | symbol GC. * numeric.c (fix_to_sym): ditto. * numeric.c (fix_id2name): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_puts_ary): check recursion first. [ruby-dev:34580]nobu2008-05-071-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (vm_eval_body): initialize retval. [ruby-dev:34576]nobu2008-05-071-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_fdiv): flo.fdiv(NaN) should result NaN.matz2008-05-071-0/+14
| | | | | | | | | | | | | | * numeric.c (num_quo): renamed and moved from bignum.c. [ruby-dev:34582] * bignum.c (rb_big_fdiv): update RDoc description * rational.c (nurat_s_new_m): small refactoring. * bignum.c (rb_big2dbl): no need for forceful warning when converting to float. overflow is a nature of float values. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog updatedmatz2008-05-061-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (gzreader_gets): may cause infinite loop.matz2008-05-061-0/+5
| | | | | | [ruby-reference-manual:762] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/io/nonblock/test_flush.rb: don't set Thread.abort_on_exception.akr2008-05-051-0/+7
| | | | | | | | * test/net/imap/test_imap.rb: ensure disconnecting imap to terminate receiver thread.. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (insn_operand_intern): should handle Qundef embedded inmatz2008-05-051-0/+5
| | | | | | operand. [ruby-core:16656] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): should call compile_cpath() formatz2008-05-051-0/+7
| | | | | | | | modules as well. [ruby-dev:34585] * insns.def (defineclass): add undef handling. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (defineclass): was using wrong variable. [ruby-dev:34592]matz2008-05-051-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_fflush): IO#flush problem within threads. a patch frommatz2008-05-051-0/+5
| | | | | | <s.wanabe at gmail.com> in [ruby-dev:34595]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (defined_expr): protect some expression frommatz2008-05-051-0/+10
| | | | | | | | | segmentation fault. a patch from wanabe <s.wanabe at gmail.com> in [ruby-dev:34593]. * compile.c (defined_expr): git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * struct.c (rb_struct_s_def): Struct.new(0) should not SEGV.matz2008-05-051-0/+8
| | | | | | | | | based on the patch from wanabe <s.wanabe at gmail.com> in [ruby-dev:34594]. * struct.c (make_struct): call to_str on name object. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_cleanup): wrap ruby_finalize_0 by SAVE_ROOT_JMPBUF toakr2008-05-051-0/+5
| | | | | | | avoid SEGV by at_exit { Fiber.new{}.resume } on IA64. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_slice_bang): should adjust length before makingmatz2008-05-051-0/+5
| | | | | | sub-array. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_dup): should dupe corresponding information.matz2008-05-051-0/+5
| | | | | | [ruby-dev:34581] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (compile_cpath): use Qundef to denote cbase lookup.matz2008-05-051-0/+11
| | | | | | | | | | | * insns.def (defineclass): Qudef is passed for cbase. * insns.def (setconstant): ditto. * vm_insnhelper.c (vm_check_if_namespace): use rb_inspect() instead of rb_obj_as_string() for better description. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (set_heaps_increment): fix memory allocation strategy byakr2008-05-041-0/+11
| | | | | | | | | | | | | determining heaps_inc from heaps_used, not objects_delta. (struct rb_objspace): delta removed. change increment, length and used to long for LP64. (objects_delta): removed. (allocate_heaps): add next_heaps_length argument. (init_heap): renamed from add_heap. (garbage_collect): use heaps_increment in dont_gc. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/getoptlong.rb: use $stderr instead of $deferr.akr2008-05-041-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (obj2nsec): fix string argument.akr2008-05-041-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_obj_respond_to): check the result of respond_to? methodakr2008-05-041-0/+5
| | | | | | | by RTEST. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_each_line): return original string.akr2008-05-041-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb (Test::Unit::Assertions#assert_normal_exit):akr2008-05-031-0/+5
| | | | | | | new method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_timespec): raise TypeError for nil and other objectsakr2008-05-031-0/+5
| | | | | | | which has no divmod method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (internal_read_func, internal_write_func): split fromnobu2008-05-021-0/+5
| | | | | | | internal_io_func. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_define_hooked_variable): guard *var from GC toakr2008-05-021-0/+5
| | | | | | | prevent collecting argf under RUBY_DEBUG=gc_stress. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_step): call to_int if step is not a numericmatz2008-05-021-0/+5
| | | | | | value. [ruby-dev:34575] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_step): do not forcefully convert steps intomatz2008-05-021-0/+5
| | | | | | integers. [ruby-dev:34571] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: updated.matz2008-05-021-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el: move fontifying code from hook.matz2008-05-021-0/+5
| | | | | | [ruby-core:16636] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_step): step may be bignum.matz2008-05-021-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (Init_Regexp): remove MatchData#select. [ruby-dev:34563]matz2008-05-021-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: reordered.nobu2008-05-011-5/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Adding accidentally skipped ChangeLog entry.jeg22008-05-011-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_divide), numeric.c (fix_divide): check for resultnobu2008-05-011-0/+5
| | | | | | | domain. [ruby-dev:34559] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_step): check if step can be converted to an integer.nobu2008-05-011-1/+4
| | | | | | | [ruby-dev:34558] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e