summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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
* * enumerator.c (get_next_values): extracted fromakr2009-08-211-0/+7
| | | | | | | | | | enumerator_next_values. (enumerator_next_values): use get_next_values. (enumerator_peek_values): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/unicode/name2ctype.h: split from enc/unicode.c and made anobu2009-08-211-0/+5
| | | | | | | perfect hash. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Rename FMODE_STRIP_BOM to FMODE_SETENC_BY_BOM.naruse2009-08-211-0/+5
| | | | | | | * include/ruby/io.h, io.c (FMODE_SETENC_BY_BOM): renamed from FMODE_STRIP_BOM. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Change modestr syntax for BOM to "BOM|UTF-*".naruse2009-08-211-0/+7
| | | | | | | | | * io .c (rb_io_fmode_modestr): change modestr syntax for BOM to "BOM|UTF-*". * io.c (parse_mode_enc): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use rl_prep_terminal only on Windows. [ruby-core:25009]naruse2009-08-211-0/+5
| | | | | | | * ext/readline/readline.c (readline_readline): use rb_prep_terminal only on Windows. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/gemdirs.rb: split from lib/rdoc/ri/paths.rb to getnobu2009-08-201-0/+12
| | | | | | | rid of loading rubygems and searching all gems always. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has been obsolete.nobu2009-08-201-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_sysopen): moved sysopen_struct from rb_sysopen_internal.nobu2009-08-201-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (reduce_nodes_gen): preserve NODE_FL_NEWLINE flag duringmame2009-08-201-0/+5
| | | | | | node reducing. [ruby-core:24463] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix: change terminal's size on Widows when the window size is changednaruse2009-08-201-0/+5
| | | | | | | * ext/readline/readline.c (readline_get): add rl_prep_terminal(1). insited by jitte [ruby-list:43546] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (ivar2_hash_type): disabled for now.nobu2009-08-201-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_terminate_all): do not ignore interrupt whenmatz2009-08-201-0/+5
| | | | | | reaping threads on termination. [ruby-dev:39107] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (next_init): don't clear feedvalue.akr2009-08-191-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c: implement Enumerator#{next_values,peek_values,feed}akr2009-08-191-0/+20
| | | | | | | | | | | | | | | | | | | | | | and StopIteration#result. [ruby-dev:39109] (struct enumerator): replace no_next by stop_exc. new field feedvalue. (enumerator_mark): mark feedvalue and stop_exc. (enumerator_init): initialize feedvalue and stop_exc. (enumerator_init_copy): initialize feedvalue. (next_ii): send yield arguments as an array. return feedvalue. (next_i): generate StopIteration exception here. set result. (next_init): initialize feedvalue. (enumerator_next_values): new method Enumerator#next_values. (ary2sv): new function. (enumerator_peek_values): new method Enumerator#peek_values. (enumerator_feed): new method Enumerator#feed. (yielder_yield): return the yield value. (generator_each): return the iterator value. (stop_result): new method StopIteration#result. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (DEFINE_STRUCT_DIRENT): use union to allocate sufficientmatz2009-08-191-0/+10
| | | | | | | | | | | memory space for Solaris. a patch from Naohisa GOTO <ngoto at gen-info.osaka-u.ac.jp> in [ruby-dev:39132]. [ruby-dev:39062] * configure.in (SIZEOF_STRUCT_DIRENT_TOO_SMALL): Solaris dirent check. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/unicode.c (CodeRanges): initialized statically.nobu2009-08-191-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e