summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * eval.c, insnhelper.ci, vm.c: change cref index (-1 -> 2).ko12007-07-104-11/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (exec_under): add proper casts.ko12007-07-102-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c, insnhelper.ci: fix svar interface.ko12007-07-109-74/+120
| | | | | | | | | | | | * compile.c (iseq_compile_each), yarvcore.h: fix to use new svar interface for flip flop. * eval.c: ditto. * insns.def: ditto. * include/ruby/intern.h: remove "rb_svar()" declaration. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (rb_iseq_compile): formatted if/else to switch statement.nobu2007-07-102-16/+24
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_flip.rb: set property.nobu2007-07-100-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_flip.rb: new test for flip-flop operator.nobu2007-07-102-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/{Makefile.sub,setup.mak}: remove surplus slash from srcdir.nobu2007-07-104-21/+25
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-07-09usa2007-07-081-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (cont_restore_1): workaround for x64-mswin64's SEH.usa2007-07-082-3/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typo.akr2007-07-071-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/json.rb, lib/json/, ext/json/:naruse2007-07-0711-216/+778
| | | | | | | import JSON 1.1.1 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb (PP::PPMethods#pp_hash): sort condition changed:akr2007-07-072-4/+10
| | | | | | | all keys have a same class which is kind of Comparable. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c: use rb_bug() instead of rb_compile_error().ko12007-07-072-63/+54
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: fix node construction (around f_margs).ko12007-07-074-6/+46
| | | | | | | | | | [ruby-dev:31143] * bootstraptest/test_block.rb: add a test for above. * insnhelper.ci: fix indent. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb (PP::PPMethods#pp_hash): sort ifakr2007-07-072-1/+13
| | | | | | | | all keys are strings, symbols or integers. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insnhelper.ci (vm_yield_setup_args), vm.c, insns.def:ko12007-07-076-22/+41
| | | | | | | | | | fix to pass nil as block parameter to yielded block. [ruby-dev:31147] * bootstraptest/test_block.rb: add a test for above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb.rb: typo. Thanks, Giles Bowkett.keiju2007-07-063-18/+30
| | | | | | | | | * lib/irb/completion.rb: support Ruby1.9 changing return value String to Symbol for Object#methods, etc. [ruby-dev:31148]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb: fix load path.ko12007-07-065-6/+24
| | | | | | | | | * common.mk: fix "test" rule to run with "btest". * rubytest.rb, sample/test.rb: fix to show tests progress. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_iterator.rb: fix test to 1.9 spec.ko12007-07-062-7/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_interrupt): suppress a gcc's officious warning.nobu2007-07-062-2/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (keyword_to_name): constified.nobu2007-07-063-4/+10
| | | | | | | * ext/ripper/eventids2.c (token_to_eventid): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb: added --quiet option.nobu2007-07-062-5/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (f_marg): wrap f_norm_arg assignment node with NODE_LIST.nobu2007-07-062-1/+6
| | | | | | | [ruby-dev:31141] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/sentgen.rb: new file.akr2007-07-063-0/+246
| | | | | | | | * test/ruby/test_assignment.rb: tests implemeneted using assignment generator and emulator. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def: remove unused code.ko12007-07-054-41/+39
| | | | | | | | | | | | * compile.c (compile_massign): fix to invoke to_splat on splat rhs (example: *a = *nil). [ruby-dev:31136] * bootstraptest/test_massign.rb: add tests for above. * compile.c (iseq_compile_each): disable excess optimization. [ruby-dev:31126] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def: fix to invoke nil.to_splat on NODE_ARGSCAT.ko12007-07-054-19/+22
| | | | | | | | | [ruby-dev:31138]. * bootstraptest/test_literal.rb: add tests for above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * yarvcore.h: rename rb_control_frame_t#magic to flag.ko12007-07-0510-46/+54
| | | | | | | | | | * vm.h: add VM_FRAME_TYPE() and VM_FRAME_FLAG(). * cont.c, insnhelper.ci, insns.def, vm.c, vm_dump.c, vm_evalbody.ci, yarvcore.c: apply above changes. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_basicinstructions.rb: remove an assertion usingko12007-07-053-2/+9
| | | | | | | | | unsupported hash literal (such as {1, 2}). * test/ruby/test_hash.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c: Qfalse is VALUE, not pointer.usa2007-07-052-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): add break catch point.ko12007-07-054-49/+123
| | | | | | | | | | * insns.def (throw): support correct "break" and "return". this commit achieve that "make test" passes all tests. * vm.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (mlhs_basic): use mlhs_post after tSTAR.akr2007-07-052-1/+6
| | | | | | | [ruby-dev:31109] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): moved do_print and do_loop optionsnobu2007-07-052-10/+13
| | | | | | | handling from ruby_process_options(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/{intern,ruby}.h, compile.[ch], error.c, eval.c,nobu2007-07-0516-472/+497
| | | | | | | | | eval_load.c, gc.c, iseq.c, main.c, parse.y, re.c, ruby.c, yarvcore.[ch] (ruby_eval_tree, ruby_sourcefile, ruby_sourceline, ruby_nerrs): purge global variables. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (int_pow): fix previous nubu's commit.usa2007-07-053-4/+39
| | | | | | | | * test/ruby/test_fixnum.rb: new test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (int_pow): even number multiplication never be negative.nobu2007-07-052-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_parse_string): fix indent.nobu2007-07-051-10/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdbnobu2007-07-055-101/+608
| | | | | | | | | support. [ruby-dev:31066] * .gdbinit: some improvements. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (global_symbols.last_id): reduce unused ID numbers.nobu2007-07-052-7/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/st.h, st.c (st_init_table, st_init_table_with_size):nobu2007-07-058-18/+23
| | | | | | | constified. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpauth/authenticator.rbnahi2007-07-042-1/+7
| | | | | | | | (WEBrick::HTTPAuth::Authenticator#check_scheme): auth-scheme must be treated as a case-insensitive token according to RFC 2617 section 1.2. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (mlhs_inner): new rule. [ruby-dev:31132]akr2007-07-042-3/+18
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert variable renaming. [ruby-dev:31001]akr2007-07-041-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (set_relation): added.ko12007-07-032-34/+48
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insnhelper.ci (caller_setup_args): fix to show correct classko12007-07-032-2/+8
| | | | | | | | on an error message (ex: m(&1)). [ruby-dev:31101] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (compile_array, iseq_compile_each): fix about arrayko12007-07-033-19/+36
| | | | | | | | | generation in void context. [ruby-dev:31102] * bootstraptest/test_literal.rb: add a test for above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (compile_array): ignore NODE_ZARRAY.ko12007-07-033-10/+34
| | | | | | | | | [ruby-dev:31110] * bootstraptest/test_method.rb: add a test for above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.h: fix debug print level.ko12007-07-032-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): support v[&b]= type method call.ko12007-07-033-0/+34
| | | | | | | | | [ruby-dev:31094] * bootstraptest/test_method.rb: add a test for above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (compile_massign): fix massign compilationko12007-07-034-5/+25
| | | | | | | | | (example: a, *v, (*x) = ...). [ruby-dev:31107] * bootstraptest/test_massign.rb: add tests for above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/onigiruma.h (ONIG_EXTERN): use RUBY_EXTERN if defined.usa2007-07-034-1/+14
| | | | | | | | | | * regenc.h: include ruby/defines.h. * regint.h: x64-mswin64 support. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e