aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 2009-08-27svn2009-08-261-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (random_rand): refined error message.nobu2009-08-262-10/+23
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (random_rand): fixed for edge cases of ranges.nobu2009-08-263-3/+20
| | | | | | | [ruby-dev:39166] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb: fixed typos.nobu2009-08-261-7/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb: add documents from Hongli Lai's fork.naruse2009-08-262-26/+180
| | | | | | cf [ruby-core:25131]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/mkconfig.rb (program_transform_name): fix for multiple transnaruse2009-08-263-2/+9
| | | | | | | | rules for autoconf 2.61 or earlier. * tool/rbinstall.rb (program_transform_name): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (random_rand): unified random_int and random_float.nobu2009-08-265-116/+223
| | | | | | | | [ruby-dev:39158]. and fixes [ruby-core:24655], [ruby-core:24677], [ruby-core:24679]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_tempfile.rb: merged from Hongli Lai's fork.nobu2009-08-262-4/+262
| | | | | | | cf [ruby-core:25131]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile#close!): should not undefine finalizernobu2009-08-262-1/+6
| | | | | | | by just unlink. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/mkconfig.rb (program_transform_name): fix for autoconf 2.61nobu2009-08-262-2/+7
| | | | | | | or earlier. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * method.c (rb_method_entry_t): body.proc should be marked.nobu2009-08-262-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile#close!, Tempfile#path): added sidenobu2009-08-262-7/+20
| | | | | | | | | | notes from Hongli Lai's fork. * lib/tempfile.rb (Tempfile#unlink, Tempfile.callback): do nothing any more once unlinked. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile#unlink): reverted r23494, since thenobu2009-08-262-1/+5
| | | | | | | usage in RubyInline is considered wrong. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (collect_local_variables_in_env): skips internal variables.nobu2009-08-263-2/+16
| | | | | | | [ruby-core:25125] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/unicode.c (onigenc_unicode_mbc_case_fold): balanced braces.nobu2009-08-261-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/unicode/name2ctype.h: updated.nobu2009-08-251-365/+9744
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/unicode/*.txt, tool/enc-unicode.rb: properties.nobu2009-08-250-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-08-26svn2009-08-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update Oniguruma's UnicodeData to 5.1.naruse2009-08-259-9062/+49875
| | | | | | | | | | | | | | | | | | | | * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@24651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix for Linux compatibilitynaruse2009-08-251-6/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Set 'mkdir -p' to MKDIR_P when AC_PROG_MKDIR_P doesn't set MKDIR_P.naruse2009-08-252-8/+14
| | | | | | | * configure.in (MKDIR_P): Set 'mkdir -p' to MKDIR_P when AC_PROG_MKDIR_P doesn't set MKDIR_P. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (rand_init, random_load): use already defined macro.nobu2009-08-251-7/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_clone, bigmul1_normal, bigdivrem): trivialnobu2009-08-252-26/+37
| | | | | | | | | | optimization. * bignum.c (big2dbl): truncates zero digits to get rid of possible underflow. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (enc/unicode/name2ctype.h): explicitly ignores thenobu2009-08-252-6/+4
| | | | | | | | result of diff and turns -e option off, because *BSD make passes it by default. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (enc/unicode/name2ctype.h): explicitly ignores thenobu2009-08-252-1/+6
| | | | | | | result of diff. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (DLDFLAGS): use linker_flag and changed undefinednobu2009-08-243-5/+11
| | | | | | | and multiply_defined behaviors. cf [ruby-core:25086]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/maker/base.rb, test/rss/test_maker_2.0.rb: fix a bugkou2009-08-243-1/+27
| | | | | | | | that RSS Maker doesn't accept 'false' as guid's isPermaLink. Reported by Joe Holt. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/missing.h (vsnprintf): rollback a part of r24179, becauseusa2009-08-242-1/+12
| | | | | | | | it's meaningless. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.c (st_delete_safe): deals with packed entries.nobu2009-08-242-0/+35
| | | | | | | | | [ruby-core:25080] * st.c (st_cleanup_safe): ditto. [ruby-core:25081] git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@24636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (MAKEDIRS): define.usa2009-08-242-1/+2
| | | | | | | | * common.mk (capi): using $(MAKEDIRS), so depends on $(PREP). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_CHECK_SIZEOF): set cross_compiling only whennobu2009-08-242-4/+9
| | | | | | | universal binary. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-08-24svn2009-08-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (enc/unicode/name2ctype.h): use md instead ofnobu2009-08-242-1/+6
| | | | | | | $(MAKEDIRS). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb (main): "usage" description updated.akr2009-08-232-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb (Dir.mktmpdir): updated to latest.akr2009-08-232-2/+22
| | | | | | | | (in_temporary_working_directory): temporary directory name changed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-08-23svn2009-08-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_schedule): don't recur infinitely.akr2009-08-222-7/+29
| | | | | | | | (rb_threadptr_execute_interrupts): ditto. [ruby-dev:38060] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos.akr2009-08-221-19/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* YAML parser don't need identity hash.akr2009-08-222-15/+13
| | | | | | | revert the part of previous commit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (id_hash_new): new function to create a hashakr2009-08-223-7/+23
| | | | | | | | | | | | | | 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@24625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in: use CP and MV macros.naruse2009-08-222-9/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix rdoc.akr2009-08-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-08-221-11/+40
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (rm_f, rm_rf): pass the last hash through if exists.nobu2009-08-212-2/+9
| | | | | | | [ruby-dev:39153] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (ary2sv): add dup argument.akr2009-08-213-11/+50
| | | | | | | | | | | (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: svn+ssh://ci.ruby-lang.org/ruby/trunk@24619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-08-211-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-08-22svn2009-08-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_check_deadlock): decrease number of sleepers beforemame2009-08-212-0/+7
| | | | | | | deadlock detection because the deadlock exception makes main thread run. [ruby-dev:39142] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (get_next_values): extracted fromakr2009-08-212-29/+39
| | | | | | | | | | enumerator_next_values. (enumerator_next_values): use get_next_values. (enumerator_peek_values): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e