summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * gc.c (os_obj_of): invoke garbage collection before iteration, tomatz2009-06-152-1/+8
| | | | | | avoid accessing half recycled object references. [ruby-dev:38613] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .gdbinit (rp, iseq): load dummy_gdb_enums on demand.nobu2009-06-153-5/+11
| | | | | | | [ruby-dev:38606] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c, vm_eval.c: add Thread.backtrace.ko12009-06-144-0/+44
| | | | | | | | * test/ruby/test_thread.rb: add a test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (transcode_restartable0): revert last commit becauseko12009-06-142-10/+14
| | | | | | | | this change cause SEGV at test-all. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_find_file_ext, rb_find_file): canonicalize absolutenobu2009-06-142-4/+6
| | | | | | | paths. [ruby-core:23845] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_size): added rdoc. a patch from Run Paint Runnobu2009-06-142-0/+15
| | | | | | | Run at [ruby-core:23839]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (nucomp_fdiv): use fdiv recursively.tadf2009-06-133-41/+44
| | | | | | | | * complex.c (nucomp_expt): reduced code. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/utf8_mac.trans: remove wrong optimization.naruse2009-06-132-9/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (transcode_restartable0): can't build with VC9.naruse2009-06-132-9/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-06-14svn2009-06-131-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rational.c (nurat_to_f): use fdiv.tadf2009-06-132-81/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix rdoc.naruse2009-06-131-5/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * load.c (load_lock): show backtrace at circular require.nobu2009-06-132-2/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * load.c (rb_provide): assumes us-ascii only.nobu2009-06-132-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * load.c (rb_require_safe): FilePathValue() implies rb_str_new4().nobu2009-06-132-3/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * load.c (rb_mod_autoload): try conversion to path like asnobu2009-06-132-1/+6
| | | | | | | require. [ruby-core:23834] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_ivar): should not set internal encoding ivar as annobu2009-06-133-3/+16
| | | | | | | ordinary ivar. [ruby-dev:38596] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (rb_f_local_variables): now returns symbols. a patch fromnobu2009-06-122-1/+6
| | | | | | | Run Paint Run Run at [ruby-core:23828]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (rb_f_catch): updated rdoc about generalized argument,nobu2009-06-122-5/+16
| | | | | | | and the case without arguments. [ruby-core:23827] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/protocol.rb (Net::BufferedIO#rbuf_fill): TimeoutError isnobu2009-06-122-2/+7
| | | | | | | obsolete, use Timeout::Error instead. [ruby-core:23821] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (rb_f_throw): fixed rdoc about execption.nobu2009-06-123-3/+8
| | | | | | | [ruby-core:23824] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (file_expand_path): associate the input encoding whennobu2009-06-122-0/+6
| | | | | | | copying an absolute path. [ruby-dev:38594] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_replace_shared): shared target must be frozen.nobu2009-06-113-4/+16
| | | | | | | [ruby-core:23727] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cmath.rb (exp): omitted redundant function call.tadf2009-06-112-11/+16
| | | | | | | and some adjustments. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (gfCheckVal): never used.nobu2009-06-113-12/+22
| | | | | | | | | * ext/bigdecimal/bigdecimal.c (VpInit): fixed format modifiers. * ext/bigdecimal/bigdecimal.c (VPrint): constified. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-06-11svn2009-06-111-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/prime.rb: documentation typo fixed. a patch from okkez.matz2009-06-112-2/+7
| | | | | | [ruby-dev:38586] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_s_getwd): directory path's encoding should be filesystem'susa2009-06-103-0/+9
| | | | | | | | | | one. * lib/tmpdir.rb: ditto (but not finished yet.) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-06-10svn2009-06-091-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to RubyGems 1.3.4 r2223drbrain2009-06-09126-3564/+7427
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cmath.rb (log10): raised exception when the given number istadf2009-06-092-1/+6
| | | | | | | | a negative real. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_s_glob): fixed rdoc. a patch from Joseph Pecoraro atnobu2009-06-092-2/+5
| | | | | | | [ruby-core:23767]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (sys_warning): get rid of type-punning function cast.nobu2009-06-092-6/+13
| | | | | | | * dir.c (ruby_glob0): get rid of possible overflow. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, win32/Makefile.sub (RMALL): need for distclean-rdoc.nobu2009-06-093-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c: rename functions which require a parameterko12009-06-089-52/+86
| | | | | | | | | | | | | | | "rb_thread_t *", the prefix to be rb_threadptr_ instead of rb_thread_. * thread.c (rb_thread_add_event_hook(), rb_thread_remove_event_hook): change the parameter type from rb_thread_t * to VALUE. * eval.c, eval_error.c, eval_intern.h, signal.c, vm_core.h, vm_eval.c: ditto. * include/ruby/intern.h: remove decl of rb_thread_signal_raise() and rb_thread_signal_exit(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_reject_bang): always check frozen status.matz2009-06-082-3/+18
| | | | | | | | | | | | | | [ruby-core:23715] * hash.c (rb_hash_update): ditto. * hash.c (rb_hash_reject_bang): call rb_hash_foreach() directly. * hash.c (rb_hash_update_i): call st_insert() directly. * hash.c (rb_hash_update_block_i): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (rb_thread_create_timer_thread): print fatal errorko12009-06-075-9/+17
| | | | | | | | | message to stderr instead of using rb_bug(). * KNOWNBUGS.rb, bootstraptest/test_fork.rb: move a fixed test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cmath.rb (log): avoided redundant expression.tadf2009-06-072-2/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-06-07svn2009-06-071-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* removed extra spaces.tadf2009-06-072-7/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-06-05svn2009-06-041-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (#link_command): should dup CONFTEST_C which ismatz2009-06-042-1/+6
| | | | | | frozen. ref [ruby-core:23675]. [ruby-core:23702] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT: typo fixed.nobu2009-06-041-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-06-04svn2009-06-031-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/base64.rb: typo fixed. a patch from okkez. [ruby-dev:38564]matz2009-06-032-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_first): should check negative length.matz2009-06-032-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (first_i): Enumerator#first should consume only what ismatz2009-06-032-6/+18
| | | | | | | | | needed. a patch from Marc-Andre Lafortune. [ruby-core:23661] * enum.c (enum_first): call to_int once for an argument. based on a patch from Marc-Andre Lafortune. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-06-03svn2009-06-021-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_gsub_bang): modify check at the beginning.matz2009-06-022-6/+23
| | | | | | | | | | | | | | [ruby-core:23662] ref [ruby-core:23657] * string.c (rb_str_rstrip_bang): ditto. [ruby-core:23657] * string.c (rb_str_chop_bang): ditto. * string.c (rb_str_chomp_bang): ditto. * string.c (rb_str_reverse_bang): modify check added. [ruby-core:23671] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-06-02svn2009-06-021-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e