aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * insns.def(setconstant, toregexp): fix to mark object correctly.ko12007-06-152-2/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c: exchange semantics of Hash#each and Hash#each_pair.ko12007-06-154-7/+25
| | | | | | | | | | pointed out by [ruby-dev:30997]. * test/ruby/test_iterator.rb: ditto. * test/ruby/test_yield.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_iterator.rb: remove debug code (GC.stress=true).ko12007-06-152-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (th_yield_setup_args): |v| should work as |v,|.ko12007-06-158-34/+75
| | | | | | | | | | | | | | ex) def m;yield 1, 2; end; m{|v| p v} #=> 1 * parse.y: apply above change for "for" statement. * test/ruby/test_assignment.rb: ditto * test/ruby/test_basicinstructions.rb: ditto. * test/ruby/test_iterator.rb: ditto. * test/ruby/test_yield.rb: ditto. * compile.c (iseq_compile_each): fix debug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_finalize_1): rb_thread_t#errinfo should be clear withko12007-06-152-1/+9
| | | | | | | | Qnil. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (rb_cont_call): forbid cross fiber continuation call.ko12007-06-153-25/+17
| | | | | | | | * test/ruby/test_fiber.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/test.rb: fix to show line information whether test succeeds.ko12007-06-153-5/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix previous change.akr2007-06-141-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_load.c (Init_load): delay allocating an array for rb_load_pathakr2007-06-149-9/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to avoid GC problem in very early stage. (RUBY_GC_STRESS causes GC in such stage.) * variable.c (rb_gc_mark_global_tbl): rb_global_tbl may be 0 in very early stage. * thread.c (thread_cleanup_func) [IA64]: clear register stack position. (thread_start_func_2) [IA64]: record the beginning of register stack using extra argument. (rb_gc_save_machine_context) [IA64]: record the end of register stack. * gc.c [IA64] (SET_STACK_END): record the end of register stack. (garbage_collect) [IA64]: use recorded register stack area for GC marking. (yarv_machine_stack_mark) [IA64]: GC mark from the register stack area. * yarvcore.c [IA64] (rb_gc_register_stack_start): defined. (Init_VM): store th->self on stack to fix GC problem. (Init_yarv) [IA64]: initialize the beginning of register stack. * yarvcore.h (struct rb_thread_struct) [IA64]: new members for register stack area. * thread_pthread.ci (thread_start_func_1) [IA64]: call thread_start_func_2 with the end of register stack. * cont.c (struct rb_context_struct) [IA64]: new members for register stack area. (cont_mark) [IA64]: GC mark from register stack area. (cont_free) [IA64]: free saved register stack. (cont_save_machine_stack) [IA64]: record the position and contents of the register stack. (cont_capture): store cont->self on stack to fix GC problem. (cont_restore_1) [IA64]: restore the register stack. [IA64] (register_stack_extend): new function. (cont_restore_0) [IA64]: call register_stack_extend instead of cont_restore_1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser): handle morenobu2007-06-142-1/+6
| | | | | | | extensions. [ruby-dev:30972] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-06-14eban2007-06-141-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/securerandom.rb: documente updated.akr2007-06-142-2/+7
| | | | | | | suggested by NaHi. [ruby-dev:30966] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (garbage_collect): update IA64 register stack code.matz2007-06-132-22/+7
| | | | | | [ruby-dev:30971] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (call_args): no allow splat after assocs. takesmatz2007-06-132-60/+7
| | | | | | | | consistency over compatibility. * parse.y (call_args2): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (darwin): prohibit loading extension libraries tonobu2007-06-123-5/+11
| | | | | | | miniruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* resurrection of improperly deleted ChangeLog entryshyouhei2007-06-121-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (Logging.quiet, Logging.message): added quiet flag andnobu2007-06-122-2/+10
| | | | | | use it. [ruby-core:10909] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (find_header): use header names in the message.nobu2007-06-122-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-06-12usa2007-06-121-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed [UG]ID::eid=. Fixes bug # 10370ryan2007-06-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed typo in code. Fixes bug #10420ryan2007-06-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix wrong date.akr2007-06-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/probeprofiler/probeprofiler.c: clean warnings.nobu2007-06-102-9/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/isinf.c, missing/dup2.c, missing/strtod.c, missing/x68.c,nobu2007-06-106-5/+10
| | | | | | | missing/alloca.c: use "ruby/config.h". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb (install_recursive): should check parent directoris ofnobu2007-06-102-0/+6
| | | | | | | the destination. [ruby-dev:30947] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (do_block, brace_block): fix line numbers. [ruby-dev:30831]nobu2007-06-102-7/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb (ext-comm): make header directory first.nobu2007-06-102-5/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb (install_recursive): add :glob option rather thannobu2007-06-102-6/+12
| | | | | | | using FNM_DOTMACH. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_beginendblock.rb: typo.usa2007-06-102-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb (install_recursive): skip .svn directories.nobu2007-06-102-1/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.status): rubyhdrdir was missing.nobu2007-06-102-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in: use --output-file for gperf to not leave lex.c.tmp.akr2007-06-102-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: prepend also topdir to mflags at last.nobu2007-06-102-3/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, win32/Makefile.sub (XCFLAGS): -I. is needed for *.inc.nobu2007-06-104-3/+9
| | | | | | | * ext/extmk.rb (parse_args): add also topdir to mflags. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_beginendblock.rb (test_should_propagate_signaled):nobu2007-06-102-10/+14
| | | | | | | get rid of invoking shell. [ruby-dev:30942] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb (install_recursive): skip backup files.nobu2007-06-102-4/+7
| | | | | | | * instruby.rb (ext-comm): install only current platform headers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby: moved public headers.nobu2007-06-10124-409/+647
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add document.akr2007-06-101-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/securerandom.rb: renamed from lib/secrand.rb.akr2007-06-103-3/+136
| | | | | | | suggested by NaHi. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML ref. for lex.c change.akr2007-06-091-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/secrand.rb: rename SecRand() to SecRand.random_number.akr2007-06-082-27/+34
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (gzfile_s_open): use FilePathValue to supportakr2007-06-082-1/+6
| | | | | | | to_path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_jump.h: th->errinfo should clear with nil.ko12007-06-082-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* documented.akr2007-06-081-1/+60
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (call_args): allow splat argument after unpackedmatz2007-06-083-4/+75
| | | | | | | | assocs like 1.8 does. * parse.y (call_args): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/session.rb: use secrand for generating cookies.akr2007-06-082-9/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/secrand.rb: new file for secure random interface.akr2007-06-082-0/+70
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {win32,wince}/Makefile.sub: add lex.c rule.usa2007-06-083-0/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* follow previous lex.c change.akr2007-06-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lex.c.blt: moved from lex.c.akr2007-06-083-3/+12
| | | | | | | | * Makefile.in: use lex.c.blt if gperf is not available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e