aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * vm.c (vm_free): clear free'ed living_threads field.matz2007-07-132-0/+6
| | | | | | [ruby-dev:31163] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (URI::Generic#find_proxy): use ENV.to_hash to accessakr2007-07-132-1/+7
| | | | | | | | http_proxy environment variable to avoid case insensitive environment search. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fill ChangeLog entry.ko12007-07-131-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (CreateChild): enclose command line except fornobu2007-07-132-10/+24
| | | | | | | command.com which can not handle quotes. [ruby-talk:258939] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for [ruby-dev:31197].akr2007-07-131-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for [ruby-dev:31153].akr2007-07-131-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for [ruby-dev:31160].akr2007-07-131-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_max, range_min): return nil for empty set as well asnobu2007-07-133-1/+13
| | | | | | | 1.8 and Enumerable. [ruby-dev:31198] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (bvar): semicolon was lost for ripper description.matz2007-07-132-1/+6
| | | | | | [ruby-dev:31140] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (ripper_warningS): unused in ripper right now.nobu2007-07-132-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (debug_lines): use rb_hash_lookup() to get rid ofnobu2007-07-132-2/+5
| | | | | | | call of Hash#default. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (dsym): convert also literals containing NUL tonobu2007-07-132-7/+7
| | | | | | | symbol. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (program, stmt, primary): reduced duplicated code.nobu2007-07-132-12/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_flatten_bang): check argument if validnobu2007-07-132-2/+6
| | | | | | | integer. [ruby-dev:31197] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (link_command, cc_command, cpp_command): do not expandnobu2007-07-133-12/+19
| | | | | | | ::CONFIG which is an alias of MAKEFILE_CONFIG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests for [ruby-dev:31189] and [ruby-dev:31190].akr2007-07-122-0/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: ML ref.usa2007-07-121-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (opt_succ): use LONG_MAX as maximum Fixnum VALUE.usa2007-07-122-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_max): use FIX2LONG instead of FIX2INT to avoidakr2007-07-123-6/+19
| | | | | | | | | | | | | | RangeError by ((-0x80000001)...(-0x80000001)).max on LP64. * insns.def (opt_plus): use FIX2LONG instead of FIX2INT to avoid RangeError by 0x3fffffffffffffff+1 on LP64. * insns.def (opt_succ): don't use 0x80000000 which assumes 32bit VALUE. use FIX2LONG instead of FIX2INT. [ruby-dev:31190] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * struct.c (rb_struct_init_copy): disallow changing the size.nobu2007-07-122-8/+8
| | | | | | | [ruby-dev:31168] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * blockinlining.c: remove "yarv" prefix.ko12007-07-1235-931/+800
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * array.c, numeric.c: ditto. * insnhelper.ci, insns.def, vm_evalbody.ci: ditto. * yarvcore.c: removed. * yarvcore.h: renamed to core.h. * cont.c, debug.c, error.c, process.c, signal.c : ditto. * ext/probeprofiler/probeprofiler.c: ditto. * id.c, id.h: added. * inits.c: ditto. * compile.c: rename internal functions. * compile.h: fix debug flag. * eval.c, object.c, vm.c: remove ruby_top_self. use rb_vm_top_self() instead. * eval_intern.h, eval_load: ditto. * gc.c: rename yarv_machine_stack_mark() to rb_gc_mark_machine_stack(). * insnhelper.h: remove unused macros. * iseq.c: add iseq_compile() to create iseq object from source string. * proc.c: rename a internal function. * template/insns.inc.tmpl: remove YARV prefix. * thread.c: * vm.c (rb_iseq_eval): added. * vm.c: move some functions from yarvcore.c. * vm_dump.c: fix to remove compiler warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (opt_succ): fixed typo. [ruby-dev:31189]nobu2007-07-122-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_join): pthread_t may not be pointer.nobu2007-07-123-9/+15
| | | | | | | * thread_pthread.ci (ubf_select_each): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.ci (thread_start_func_2): not use a directive insidenobu2007-07-124-20/+14
| | | | | | | a macro argument. [ruby-talk:258763] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (FIX2ULONG): drop sign bit for LLP64 platform.usa2007-07-113-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_lookup): added. this function is similar toko12007-07-104-1/+23
| | | | | | | | | | | rb_hash_aref(), but doesn't call Hash#default when no entry exists. * include/ruby/intern.h: ditto. * insnhelper.ci (lfp_svar_get): use rb_hash_lookup(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c, insnhelper.ci, vm.c: change cref index (-1 -> 2).ko12007-07-104-11/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (exec_under): add proper casts.ko12007-07-102-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@12730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_flip.rb: set property.nobu2007-07-100-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@12727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-07-09usa2007-07-081-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@12725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typo.akr2007-07-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@12712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb: added --quiet option.nobu2007-07-062-5/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@12709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e