aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * eval_intern.h (TH_EXEC_TAG): need not to FLUSH_REGISTER_WINDOWS.matz2008-03-191-0/+5
| | | | | | [ruby-core:15871], [ruby-dev:34088] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (nucomp_to_s, nucomp_inspect): get rid of makingnobu2008-03-191-0/+10
| | | | | | | | | | | | unnecessary intermediate objects. * complex.c (make_patterns, string_to_c): do not treat successive underscores as a part of numeric like as literals. [ruby-dev:34085] * rational.c (make_patterns, string_to_r): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_cstr_to_inum): treat successive underscores asnobu2008-03-191-0/+5
| | | | | | | nondigit. [ruby-dev:34089] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (enc_check_encoding): should not load autoloaded encodingnobu2008-03-191-0/+6
| | | | | | | | directly, instead use rb_enc_find_index() which deal with alias and replica. [ruby-core:15957] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regint.h (include): include ruby.h instead of defines.h and config.h.usa2008-03-191-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regint.h (CHECK_INTERRUPT_IN_MATCH_AT): add interrupt checkmatz2008-03-191-0/+5
| | | | | | during match. [ruby-talk:295002] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (literal_concat_gen): bail out at different encoding.nobu2008-03-181-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_memsearch_ss): simple shift search.naruse2008-03-171-0/+20
| | | | | | | | | | | | | | | | | | | | * re.c (rb_memsearch_qs): quick search. * re.c (rb_memsearch_qs_utf8): quick search for UTF-8 string. * re.c (rb_memsearch_qs_utf8_hash): hash functions for above. * re.c (rb_memsearch): use above functions. * string.c (rb_str_index): give enc to rb_memsearch. * include/ruby/intern.h (rb_memsearch): move to encoding.h. * include/ruby/encoding.h (rb_memsearch): move from intern.h. * common.mk (PREP): add dependency. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_take, rb_ary_take_while, rb_ary_drop,mame2008-03-171-0/+7
| | | | | | | | | rb_ary_drop_while): new method. [ruby-dev:34067] * test/ruby/test_array.rb: add tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-mode): should use `run-mode-hooks' insteadnobu2008-03-171-0/+6
| | | | | | | | of calling `run-hooks' directly to run the mode hook. patch from Chiyuan Zhang <pluskid AT gmail.com> in [ruby-core:15915] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: unset GREP_OPTIONS. [ruby-core:15918]nobu2008-03-171-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Sun Mar 16 18:07:07 2008 Martin Duerst <duerst@it.aoyama.ac.jp>duerst2008-03-161-0/+7
| | | | | | | | | | | * enc/trans/utf_16_32.c: bug fix (some invalid UTF-8 sequences were legal) * test/ruby/test_transcode.rb: test for above bug git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (LIBRUBY_SO): add dependency to $(BUILTIN_ENCOBJS).naruse2008-03-161-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* both complex and rational are now builtin classes.tadf2008-03-161-0/+40
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_associate_index): pass unnecessary enc_capable().matz2008-03-151-0/+6
| | | | | | * string.c (rb_str_cmp): reduce invocation of rb_enc_compatible(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::Cookie::initialize): performance patch frommatz2008-03-141-0/+5
| | | | | | Makoto Kuwata <kwa@kuwata-lab.com> in [ruby-dev:34048]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (inttypes.h): includes always if available.nobu2008-03-141-0/+6
| | | | | | | * string.c, ext/digest/defs.h: moved inttypes.h to ruby.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_LIB_PREFIX): fix for prefix.nobu2008-03-141-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_LIB_PREFIX): use libdir.nobu2008-03-141-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/defs.h: inttypes.h is still needed.nobu2008-03-141-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc,win}32/Makefile.sub: follow below changes.usa2008-03-141-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-encoding-map, ruby-use-encoding-map): addednobu2008-03-141-0/+5
| | | | | | | to customize. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (int8_t, uint8_t, int16_t, uint16_t int32_t,naruse2008-03-141-0/+10
| | | | | | | | | | | uint32_t int64_t, uint64_t, int128_t, uint128_t, intptr_t, uintptr_t): check if defined. * win32/Makefile.sub: follow configure.in. * ext/digest/defs.h: remove checks for uint8_t, uint32_t and uint64_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_CHECK_VARTYPE): should not indent preprocessornobu2008-03-141-0/+5
| | | | | | | directives. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (UNALIGNED_WORD_ACCESS): IA64 cannot access unaligned word.nobu2008-03-141-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_struct.rb: some test moved from test to shutmatz2008-03-131-0/+3
| | | | | | warning up. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_slice_bang): should not use rb_ary_subseq()matz2008-03-131-0/+6
| | | | | | | which shares internal pointer. splice modifies the receiver right after subseq. [ruby-dev:34005] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_numeric.rb (TestNumeric::test_num2long): bit-andmatz2008-03-131-0/+3
| | | | | | should not raise RangeError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (zip_ary): wrong boundary condition.matz2008-03-131-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (fix_divmod): should return integer division. [ruby-dev:34006]matz2008-03-131-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc,win}32/Makefile.sub (config.h): define uint32_t.usa2008-03-131-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * trunk/configure.in (AC_CHECK_HEADERS): stdint.h is not needed to check.nobu2008-03-131-0/+8
| | | | | | | | | * trunk/configure.in (rb_cv_type_uint32_t): unqouted. [ruby-dev:34030] * trunk/string.c (hash): use inttypes.h instead of stdint.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/cmd/help.rb: should be updated for new ri structure.matz2008-03-121-0/+16
| | | | | | | | | | | | | | | | | [ruby-core:15825] * lib/rdoc/ri/driver.rb (RDoc::initialize): allow options to be optional. * lib/rdoc/ri/driver.rb (RDoc::class_cache): map_dirs may be empty. * lib/rdoc/ri/driver.rb (RDoc::get_info_for): revive get_info_for method. maybe broken. * lib/rdoc/ri/util.rb (RDoc::initialize): should not use RiError no more. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (stdint.h): check if presence.nobu2008-03-121-0/+8
| | | | | | | | | * configure.in (uint32_t): check if defined. * string.c (hash): fix for portability. [ruby-dev:34020] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_cstr_to_dbl): fix for a mere underscore.nobu2008-03-121-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_intern.h (rb_thread_raised_set): use generic flags.nobu2008-03-121-0/+10
| | | | | | | | | | | * eval.c (rb_longjmp): clear all raised flags. * eval.c (stack_check): leave clearing flag to rb_longjmp. * gc.c (rb_memerror): use thread raised flag instead of static flag. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_zip): optimize if all arguments are arrays.matz2008-03-111-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_combination): argument check before creatingmatz2008-03-111-0/+7
| | | | | | | | Enumerator. * array.c (rb_ary_permutation): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (fix_coerce): try conversion before type check.nobu2008-03-111-0/+5
| | | | | | | [ruby-core:15838] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: commit miss.nobu2008-03-111-5/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (Delegator#initialize, DelegateClass): skip correctnobu2008-03-111-0/+5
| | | | | | | backtrace. [ruby-dev:34019] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (clean-local): WINMAINOBJ is Windows specific.nobu2008-03-111-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (hash): replaced by MurmurHash described inmatz2008-03-111-0/+5
| | | | | | <http://murmurhash.googlepages.com/>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_comparable): empty strings in any encoding arematz2008-03-111-0/+5
| | | | | | compatible each other. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_f_local_variables): local_variables should return anmatz2008-03-101-0/+7
| | | | | | | | array of symbols. [ruby-dev:34008] * vm.c (collect_local_variables_in_env): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (usage): remove some unimportant lines to fit -h messagematz2008-03-101-0/+5
| | | | | | in a page. [ruby-dev:34018] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.c (MKSTR): make US-ASCII. [ruby-dev:34010]nobu2008-03-101-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fixed indent.nobu2008-03-101-120/+120
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_index): if t == s + pos, the character beginningnaruse2008-03-091-0/+5
| | | | | | from s + pos is valid. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Restore missing line to RDoc::Generator#params. Patch by Lincoln Stoll.drbrain2008-03-091-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e