aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * ext/nkf/nkf-utf8/nkf.c (nkf_enc_from_index): BINARY does notmatz2008-02-073-3/+10
| | | | | | have in-bound encoding index. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/korean.c: add EUC-KR conversion support by Park Ji-In.naruse2008-02-062-0/+17943
| | | | | | [ruby-dev:33621] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* typo fixedmatz2008-02-052-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_flatten): do not flatten recursively by default.matz2008-02-052-0/+10
| | | | | | [ruby-dev:33603] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def: sorry, remove debug code.usa2008-02-051-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (adjuststack): never use INC_SP with minus value becauseusa2008-02-052-16/+22
| | | | | | | | some compilers cannot deal it collectly. use DEC_SP instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_hash.rb: add tests to achieve over 90% test coveragemame2008-02-053-4/+459
| | | | | | | | of hash.c. * test/ruby/test_env.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (env_rassoc): remove access to free'd environment on mswin32.mame2008-02-053-4/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (rb_call_super): pass a passed block when super is called viamame2008-02-052-0/+6
| | | | | | | rb_call_super. [ruby-dev:33598] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (INSTALL_DIRS, install_dirs): added BINDIR.nobu2008-02-053-5/+26
| | | | | | | | | | | * lib/mkmf.rb (install_files): rejects files matching to $NONINSTALLFILES. * lib/mkmf.rb (init_mkmf): defaults $NONINSTALLFILES to backup and temporary filse. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (DelegateClass): use define_method instead ofnobu2008-02-042-17/+20
| | | | | | | module_eval to improve performance. [ruby-dev:33586] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (darwin): NSIG is not defined if _XOPEN_SOURCE > 500L.nobu2008-02-042-1/+6
| | | | | | | [ruby-dev:33584] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: remove unnecessary ``trunk/''.usa2008-02-041-8/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * trunk/parse.y (rb_enc_symname2_p): support "!", "!=" and "!~".nobu2008-02-042-1/+14
| | | | | | | [ruby-dev:33592] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (Delegator.preserved, DelegateClass.methods): extendusa2008-02-042-3/+10
| | | | | | | | shouldn't be delegated. [ruby-dev:32987], etc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::QueryExtension::[]): no more transitionmatz2008-02-043-28/+9
| | | | | | | extend(CGI::Value). a patch from <tommy AT tmtm.org> in [ruby-dev:33583]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_file_exhaustive.rb: add tests to achive over 80% test ↵mame2008-02-033-0/+1140
| | | | | | | | | coverage of file.c. * test/ruby/test_numeric.rb: forgot to add this (at r15360). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/benchmark.rb (Benchmark::realtime): make Benchmark#realtimematz2008-02-022-1/+10
| | | | | | | a bit faster. a patch from Alexander Dymo <dymo@ukrpost.ua> in [ruby-core:15337]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_cmp): Time.<=> no longer supports comparison withnaruse2008-02-022-4/+6
| | | | | | | numeric. [ruby-core#15332] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (darwin): disabled fat-binary support which confusesnobu2008-02-023-3/+13
| | | | | | | | | | configure much, since ``universal'' implies hidden cross-compiling. TODO: ruby and libruby.bundle might be possible to bound with `lipo' after builds for each archs. Anyway, config.h and rbconfig.rb must be separated definitely at least. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (limited_big_rand): fix buffer overflow when SIZEOF_BDIGITSakr2008-02-022-6/+15
| | | | | | | is 2. fixed by Kenta Murata. [ruby-dev:33565] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (darwin): ucontext on PowerPC MacOS X 10.5 is broken.nobu2008-02-012-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (darwin): _XOPEN_SOURCE is necessary to make ucontext_tnobu2008-02-012-3/+15
| | | | | | | | consistent with the library implementation of MacOS X 10.5. [ruby-dev:33461] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-02-01usa2008-02-011-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/compile_prelude.rb (C_ESC): use octal escape to avoidakr2008-02-012-2/+7
| | | | | | | "\x09for (;;) ..." to be interpret the first character 0x9f. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_bignum.rb: suppress warnings during test.mame2008-01-317-0/+788
| | | | | | | | | | | | | | * test/ruby/test_enum.rb: ditto. * test/ruby/test_integer.rb: add tests to achieve over 90% test coverage of numeric.c. * test/ruby/test_float.rb: ditto. * test/ruby/test_fixnum.rb: ditto. * test/ruby/test_numeric.rb: ditto. * test/ruby/test_pack.rb: add tests to achieve over 90% test coverage of pack.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_marshal.rb: commit miss. reverted.usa2008-01-311-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_object0): no need to call r_entry for immediate values.usa2008-01-313-6/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/formatter.rb (output): add accessor.usa2008-01-313-5/+13
| | | | | | | | | * lib/rdoc/ri/display.rb (page): replace @formatter.output instead of $stdout. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_object0): call r_entry/r_leave to call proc when TYPE_FIXNUM,naruse2008-01-312-0/+15
| | | | | | | TYPE_NIL, TYPE_TRUE, TYPE_FALSE, TYPE_SYMBOL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/display.rb (display_method_list, display_class_list):usa2008-01-313-10/+40
| | | | | | | | | | | | | | | | | use @formatter.raw_print_line instead of puts. * lib/rdoc/ri/driver.rb (select_methods): new method to collect all instance/class methods which match with passed pattern. * lib/rdoc/ri/driver.rb (run): use class_cache's result directly instead of select_classes' because it's removed now. * lib/rdoc/ri/driver.rb (run): search methods when passed name is not class name. [ruby-core:15309] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test updated for empty symbolsmatz2008-01-311-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (ext/extmk.rb, instruby.rb): inlined $(MAKE) so that cannobu2008-01-302-26/+31
| | | | | | | be executed even with -n. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_close_read): replaces fptr with the tied writer ifnobu2008-01-302-5/+28
| | | | | | | | | | duplex. * io.c (rb_io_close_write): unties the tied IO for writing if duplex. [ruby-dev:33532] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (open_key_args): allow encoding key to take two encodingmatz2008-01-302-1/+6
| | | | | | names. a patch from <rubikitch AT ruby-lang.org>. [ruby-dev:33540] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (dsym): allow empty symbols. [ruby-core:15248]matz2008-01-302-6/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2008-01-301-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-01-31usa2008-01-301-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (select_internal): fix SEGV by `select [STDIN],nil,[STDIN]'.akr2008-01-302-1/+7
| | | | | | | | fixed by Petr Chromec. http://rubyforge.org/tracker/index.php?func=detail&aid=17275&group_id=426&atid=1698 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* adjustmenttadf2008-01-301-10/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/*.c: add GB12345, UCS-{2,4}{BE,LE}.naruse2008-01-306-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/driver.rb (cache_file_for): shoudn't use `:' in filename.usa2008-01-302-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_succ): use wrapped character as a carry forakr2008-01-303-2/+19
| | | | | | | ASCII incompatible encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/utf_16be.c (UTF16_IS_SURROGATE_FIRST): avoid branch.akr2008-01-304-9/+108
| | | | | | | | | | | | | | (UTF16_IS_SURROGATE_SECOND): ditto. (UTF16_IS_SURROGATE): defined. (utf16be_mbc_enc_len): validation implemented. * enc/utf_16le.c (UTF16_IS_SURROGATE_FIRST): avoid branch. (UTF16_IS_SURROGATE_SECOND): ditto. (UTF16_IS_SURROGATE): defined. (utf16le_mbc_enc_len): validation implemented. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add assertions.tadf2008-01-301-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_cstr_to_inum): '0_2' is a valid representatin.tadf2008-01-302-3/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb: fix -I../../hoge case.naruse2008-01-302-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_range.rb: add tests to achieve over 90% test coveragemame2008-01-292-0/+193
| | | | | | | of range.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix state definition.akr2008-01-291-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-01-30usa2008-01-291-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e