summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * vm_eval.c (rb_call0): gets rid of checking method cache twice.yugui2009-08-291-0/+7
| | | | | | | * method.h (rb_get_method_entry): added a prototype of the function. (rb_method_entry_without_cache): more friendly name. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tmpdir.rb (Dir.mktmpdir): rolled back r24699. [ruby-dev:39193]nobu2009-08-291-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tmpdir.rb (Dir.mktmpdir): removed thread race condition.nobu2009-08-281-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile#make_tmpname): removed thread racenobu2009-08-281-0/+5
| | | | | | | condition. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile#callback): Debug information should beknu2009-08-281-0/+6
| | | | | | | | output to stderr, not stdout; pointed out by akira yamada. cf. [ruby-dev:39072] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: use SafeStringValue instead ofsuke2009-08-281-0/+5
| | | | | | | Check_SafeStr. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (do_select): rollback r24680. void struct initializer isusa2009-08-281-0/+5
| | | | | | | | invalid. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * method.h (rb_method_definition_t): split from rb_method_entry_tnobu2009-08-281-0/+7
| | | | | | | | | to deal aliases. [ruby-dev:39165] * proc.c (struct METHOD): contains rb_method_entry_t copy. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h ({GET,INC}_VM_STATE_VERSION): moved from vm_insnhelper.h.nobu2009-08-281-1/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (iseq_mark): skip outdated cache entries.nobu2009-08-281-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (next_i): typo fixed (reached at end -> reached anmatz2009-08-271-0/+5
| | | | | | end). pointed out by James Edward Gray II at LoneStar RubyConf. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_remove_method_id): exported.nobu2009-08-271-0/+6
| | | | | | | * numeric.c (num_sadded): fix for non-ascii method name. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_preprocess_dregexp): set encoding as ASCII-8BITnaruse2009-08-271-0/+5
| | | | | | when /n is specified and the embeded string is escaped text. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (random_rand): random integer can be a fixnum fornobu2009-08-271-0/+5
| | | | | | | bignum range. [ruby-dev:39173] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c (strscan_set_string): set string should not benobu2009-08-261-0/+7
| | | | | | | | | dupped or frozen, because freezing it causes #concat method failure, and unnecessary to dup without freezing. a patch from Aaron Patterson at [ruby-core:25145]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (enc/unicode/name2ctype.kwd):naruse2009-08-261-0/+7
| | | | | | | | remove rules to generate name2ctype.kwd from UnicodeData.txt and Scripts.txt. if you want to generate, use tool/enc-unicode.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * unicode.c (PROPERTY_NAME_MAX_SIZE): use MAX_WORD_LENGTH.naruse2009-08-261-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (random_rand): refined error message.nobu2009-08-261-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (random_rand): fixed for edge cases of ranges.nobu2009-08-261-0/+5
| | | | | | | [ruby-dev:39166] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb: add documents from Hongli Lai's fork.naruse2009-08-261-0/+5
| | | | | | cf [ruby-core:25131]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/mkconfig.rb (program_transform_name): fix for multiple transnaruse2009-08-261-0/+7
| | | | | | | | rules for autoconf 2.61 or earlier. * tool/rbinstall.rb (program_transform_name): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (random_rand): unified random_int and random_float.nobu2009-08-261-0/+6
| | | | | | | | [ruby-dev:39158]. and fixes [ruby-core:24655], [ruby-core:24677], [ruby-core:24679]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_tempfile.rb: merged from Hongli Lai's fork.nobu2009-08-261-0/+5
| | | | | | | cf [ruby-core:25131]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile#close!): should not undefine finalizernobu2009-08-261-0/+5
| | | | | | | by just unlink. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/mkconfig.rb (program_transform_name): fix for autoconf 2.61nobu2009-08-261-0/+5
| | | | | | | or earlier. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile#close!, Tempfile#path): added sidenobu2009-08-261-0/+8
| | | | | | | | | | notes from Hongli Lai's fork. * lib/tempfile.rb (Tempfile#unlink, Tempfile.callback): do nothing any more once unlinked. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile#unlink): reverted r23494, since thenobu2009-08-261-0/+5
| | | | | | | usage in RubyInline is considered wrong. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (collect_local_variables_in_env): skips internal variables.nobu2009-08-261-0/+5
| | | | | | | [ruby-core:25125] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update Oniguruma's UnicodeData to 5.1.naruse2009-08-251-0/+15
| | | | | | | | | | | | | | | | | | | | * tool/enc-unicode.rb: added for generate name2ctype.kwd. contributed by Run Paint Run Run [ruby-core:24775] use like following: ruby19 tool/enc-unicode.rb enc/unicode/UnicodeData.txt \ enc/unicode/Scripts.txt > enc/unicode/name2ctype.kwd * enc/unicode.c (CodeRanges): move definitions to name2ctype.h. * enc/unicode/name2ctype.h.blt, enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src: updated to v5.1. * enc/unicode/UnicodeData.txt, enc/unicode/Scripts.txt: added v5.1. * Makefile.in: add rule to generate name2ctype.kwd from UnicodeData.txt and Scripts.txt. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Set 'mkdir -p' to MKDIR_P when AC_PROG_MKDIR_P doesn't set MKDIR_P.naruse2009-08-251-0/+5
| | | | | | | * configure.in (MKDIR_P): Set 'mkdir -p' to MKDIR_P when AC_PROG_MKDIR_P doesn't set MKDIR_P. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_clone, bigmul1_normal, bigdivrem): trivialnobu2009-08-251-0/+8
| | | | | | | | | | optimization. * bignum.c (big2dbl): truncates zero digits to get rid of possible underflow. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (enc/unicode/name2ctype.h): explicitly ignores thenobu2009-08-251-2/+3
| | | | | | | | result of diff and turns -e option off, because *BSD make passes it by default. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (enc/unicode/name2ctype.h): explicitly ignores thenobu2009-08-251-0/+5
| | | | | | | result of diff. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (DLDFLAGS): use linker_flag and changed undefinednobu2009-08-241-0/+5
| | | | | | | and multiply_defined behaviors. cf [ruby-core:25086]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/maker/base.rb, test/rss/test_maker_2.0.rb: fix a bugkou2009-08-241-0/+6
| | | | | | | | that RSS Maker doesn't accept 'false' as guid's isPermaLink. Reported by Joe Holt. Thanks!!! git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/missing.h (vsnprintf): rollback a part of r24179, becauseusa2009-08-241-0/+5
| | | | | | | | it's meaningless. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.c (st_delete_safe): deals with packed entries.nobu2009-08-241-0/+7
| | | | | | | | | [ruby-core:25080] * st.c (st_cleanup_safe): ditto. [ruby-core:25081] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (MAKEDIRS): define.usa2009-08-241-0/+6
| | | | | | | | * common.mk (capi): using $(MAKEDIRS), so depends on $(PREP). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_CHECK_SIZEOF): set cross_compiling only whennobu2009-08-241-0/+5
| | | | | | | universal binary. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (enc/unicode/name2ctype.h): use md instead ofnobu2009-08-241-0/+5
| | | | | | | $(MAKEDIRS). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb (main): "usage" description updated.akr2009-08-231-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb (Dir.mktmpdir): updated to latest.akr2009-08-231-0/+6
| | | | | | | | (in_temporary_working_directory): temporary directory name changed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_schedule): don't recur infinitely.akr2009-08-221-0/+6
| | | | | | | | (rb_threadptr_execute_interrupts): ditto. [ruby-dev:38060] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos.akr2009-08-221-19/+19
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* YAML parser don't need identity hash.akr2009-08-221-4/+2
| | | | | | | revert the part of previous commit. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (id_hash_new): new function to create a hashakr2009-08-221-0/+11
| | | | | | | | | | | | | | which key is compared by object id. (syck_parser_load): use id_hash_new for bonus->data. (syck_parser_load_documents): ditto. (syck_emitter_reset): ditto. * lib/yaml.rb (YAML.quick_emit): give the object itself to eimitter. don't use object_id and hash. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in: use CP and MV macros.naruse2009-08-221-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (rm_f, rm_rf): pass the last hash through if exists.nobu2009-08-211-0/+5
| | | | | | | [ruby-dev:39153] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (ary2sv): add dup argument.akr2009-08-211-0/+9
| | | | | | | | | | | (enumerator_next): call ary2sv with dup=0. (enumerator_peek): call ary2sv with dup=1 to return duplicated array. (enumerator_peek_values_m): new function to return duplicated array. (Init_Enumerator): use enumerator_peek_values_m as Enumerator#peek_value. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_check_deadlock): decrease number of sleepers beforemame2009-08-211-0/+6
| | | | | | | deadlock detection because the deadlock exception makes main thread run. [ruby-dev:39142] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e