aboutsummaryrefslogtreecommitdiffstats
path: root/bootstraptest
Commit message (Collapse)AuthorAgeFilesLines
* * insnhelper.ci, vm.c, vm_core.h: change interface ofko12007-12-202-21/+25
| | | | | | | | | | | | vm_invoke_block() to specify block ptr. [ruby-talk:266422] * cont.c, eval_jump.ci, insns.def, proc.c, signal.c, thread.c: apply above change. * bootstraptest/test_knownbug.rb: move fixed bug. * bootstraptest/test_block.rb: ditto. and add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insnhelper.ci (vm_expandarray): fix sp increase place.ko12007-12-202-1/+16
| | | | | | | | | | a patch from Yusuke ENDOH <mame AT tsg.ne.jp> in [ruby-dev:32581]. * bootstraptest/test_massign.rb: add a test for above. * bootstraptest/test_syntax.rb: fix last committed test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_syntax.rb: add a test.ko12007-12-201-0/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): add pop after throw as return.ko12007-12-192-4/+3
| | | | | | | | | * bootstraptest/test_knownbug.rb, test_syntax.rb: move resolved test. * vm_core.h, iseq.c, compile.h: add debug output code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): should handle upper level eval iseqnobu2007-12-191-4/+9
| | | | | | | | from break/next, and COMPILE_ERROR() breaks only one block. [ruby-dev:31372] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_m17n.rb: set properties.nobu2007-12-191-200/+200
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): remove "retry" in block.ko12007-12-191-8/+8
| | | | | | | | | | | | | | | | | ("iter{retry}" cause syntax error) Currently, "begin; ...; rescue; iter{retry}; end" cause syntax error too. * bootstraptest/test_jump.rb: ditto. * lib/drb/invokemethod.rb: ditto. * sample/drb/darrayc.rb: ditto. * sample/test.rb: ditto. * test/drb/drbtest.rb: ditto. * test/ruby/test_iterator.rb: ditto. * sample/test.rb: add a 'test' directory on the SYSTEM test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_knownbug.rb, test_block.rb:ko12007-12-193-221/+217
| | | | | | | | | move fixed bug. * bootstraptest/test_m17n.rb: added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (errinfo_place): skip if error is Fixnum. [ruby-dev:32608]ko12007-12-192-17/+17
| | | | | | | | * bootstraptest/test_exception.rb, test_known_bug.rb: move fixed bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): fix for segfault. [ruby-dev:31372]nobu2007-12-182-4/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c, insnhelper.ci, insns.def, object.c, vm.c, vm.h:ko12007-12-181-0/+15
| | | | | | | | | | optimize !@, != method invocation. * id.c, id.h: ditto. * bootstraptest/test_syntax.rb: add tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_knownbug.rb: add issues.ko12007-12-181-0/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* more tests.akr2007-12-181-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* more tests.akr2007-12-171-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_index): check if substring is broken.matz2007-12-171-4/+4
| | | | | | | | * string.c (rb_str_rindex): ditto. * string.c (rb_str_succ): should carry over. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* more tests.akr2007-12-161-0/+61
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for [ruby-dev:32608].akr2007-12-151-0/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use Enumerator for reproduce [ruby-dev:32604].akr2007-12-151-3/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for [ruby-dev:32604].akr2007-12-141-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_succ): should not enter infinite loop formatz2007-12-131-2/+2
| | | | | | non-ASCII, non-alphanumeric character at the bottom. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_gsub): should copy encoding to the result.matz2007-12-131-1/+1
| | | | | | * sprintf.c (rb_str_format): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for [ruby-dev:32567].akr2007-12-131-0/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* "// =~ :a" abort.akr2007-12-101-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_f_public_send): rename invoke_method to public_send.matz2007-12-101-3/+3
| | | | | | it now invokes public method only no matter how it's called. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_yylex): wrong token was generated. [ruby-dev:32498]matz2007-12-091-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (tr_find): returns true if no characters to be removed isnobu2007-12-091-6/+1
| | | | | | | specified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (tr_trans): get rid of segfaults when has mulitbytes butnobu2007-12-091-8/+0
| | | | | | | source sets have no mulitbytes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix added test.akr2007-12-091-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* more tests.akr2007-12-091-0/+49
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* more tests.akr2007-12-091-0/+58
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix previous commit.akr2007-12-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for casecmp with sjis string.akr2007-12-081-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for concatinating euc-jp and ascii-8bit string.akr2007-12-081-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for [ruby-dev:32452].akr2007-12-071-0/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* reproduce segv.akr2007-12-061-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use \xf0 instead of \xfd for valid first byte of a UTF-8 character.akr2007-12-061-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_knownbug.rb: new test for block andnobu2007-12-062-8/+19
| | | | | | | | | | define_method. * bootstraptest/test_syntax.rb: moved [ruby-dev:32429] from test_knownbug.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_knownbug.rb: test for [ruby-talk:266422].nobu2007-12-061-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for [ruby-dev:32448].akr2007-12-041-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML ref.akr2007-12-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval("\"\xfd".force_encoding("utf-8")) generates garbage in error message.akr2007-12-021-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for [ruby-dev:32404].akr2007-12-011-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_knownbug.rb: move fixed bugs.ko12007-12-011-14/+0
| | | | | | | | | * test/ruby/test_sprintf.rb: ditto. * test/yaml/test_yaml.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (concatarray, splatarray): use to_a instead ofmatz2007-12-011-2/+2
| | | | | | | | to_splat. * insnhelper.ci (caller_setup_args): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insnhelper.ci (vm_yield_with_cfunc): fix to passing argc on thirdko12007-12-012-14/+13
| | | | | | | | | | | | | parameter of IFUNC. [ruby-dev:32329] * enumerator.c: fix to pass exact number of argument. * eval.c (rb_yield_values2): added. * include/ruby/ruby.h: ditto. * bootstraptest/test_knownbug.rb: move a fixed test. * bootstraptest/test_block.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (rb_syck_mktime): avoid segmentation fault.matz2007-11-301-0/+1
| | | | | | [ruby-core:13735] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* longer timeout.akr2007-11-271-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): "when *[],1" dumps core.ko12007-11-271-0/+12
| | | | | | | | | a patch from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:32350] * bootstraptest/test_syntax.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): "a[*b] += 1" dumps core.ko12007-11-271-0/+4
| | | | | | | | | a patch from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:32354] * bootstraptest/test_syntax.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c, insns.def: change return value of "defined?"ko12007-11-271-1/+1
| | | | | | | | | | | for $&, $1, ... . If such variables are defined, return "global-variable". * test/ruby/test_defined.rb: add tests. * bootstraptest/test_syntax.rb: fix a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e