summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * insns.def, vm.c: add/fix stack overflow check.ko12007-06-241-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insnhelper.h: change CHECK_STACK_OVERFLOW() to throw exception.ko12007-06-241-0/+11
| | | | | | | | | | | * vm.c (caller_setup_arg), vm_macro.def: remove macro_eval_setup_send_arguments and add caller_setup_arg(). * insns.def: ditto. * bootstraptest/test_method.rb: add splat arg tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (proc_to_s): used a variable before initialized.nobu2007-06-241-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (callee_setup_arg): added. support correct post arg.ko12007-06-241-0/+17
| | | | | | | | | | | | | | * vm_macro.def (macro_eval_invoke_func): fix to use callee_setup_arg. * compile.c (set_arguments): adjust for above changes. * compile.c (iseq_compile_each): ditto. * iseq.c (ruby_iseq_disasm): ditto. * yarvcore.h: add rb_iseq_t#post_arg_start and arg_size. * bootstraptest/test_method.rb: add post arg tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (proc_to_s): suppress warning, and reduced duplicated code.nobu2007-06-241-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb: set default directory toko12007-06-241-0/+9
| | | | | | | | | | | '/tmp/bootstraptest.tmpwd' and add --dir option. fix to output driver and target information. * common.mk: fix to run btest on BASERUBY and add OPTS to pass option ("make btest OPTS=..."). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_minmax): fix SEGV by [].minmax.akr2007-06-231-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_minmax): new method to get the minimum and maximummatz2007-06-231-0/+7
| | | | | | | | values from the enumerable at once. * enum.c (enum_minmax_by): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (match_inspect): MatchData#inspect implemented.akr2007-06-231-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_assoc): new method.matz2007-06-221-0/+8
| | | | | | | | * hash.c (rb_hash_rassoc): ditto. * hash.c (rb_hash_flatten): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_upto): add optional argument to specifymatz2007-06-221-0/+9
| | | | | | | | | | exclusiveness. * range.c (range_step): use String#upto with optional argument. * range.c (range_each): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (proc_to_s): revert the change from %p to %lx at YARVakr2007-06-221-0/+5
| | | | | | | | merge time. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (proc_to_s): show is_lambda.akr2007-06-221-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_sort): remove hash specific implementation.matz2007-06-211-0/+11
| | | | | | | | * hash.c (rb_hash_select): returns new hash, not assoc array. * hash.c (env_select): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_intern2): ID_JUNK test based on len, not by NUL.matz2007-06-211-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * yarvcore.c (rb_thread_mark): mark also thrown_errinfo.nobu2007-06-211-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_intern2): name may not be NUL-terminated.nobu2007-06-211-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_error.h (error_print): show full stacktrace onakr2007-06-191-0/+5
| | | | | | | non-SystemStackError. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_intern2): use rb_intern2 to intern without trailingnobu2007-06-191-0/+7
| | | | | | | | | equal sign. * parse.y (rb_intern2, ripper_id2sym): fixed indent. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_load.c (load_ext, rb_require_safe): pass VALUE instead ofnobu2007-06-191-12/+18
| | | | | | | pointer. [ruby-Bugs-11659] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/{extconf.rb,ossl_ssl_session.c}:technorama2007-06-181-0/+14
| | | | | | | | | | | | | | | | | | Fix ruby-Bugs-11513. * ext/openssl/ossl_pkey_ec.c New methods EC::Point.[eql,make_affine!,invert!,on_curve?,infinity?] By default output the same key form as the openssl command. * ext/openssl/ossl_rand.c New method Random.status? * test/openssl/test_ec.rb New tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_load.c (rb_require_safe, ruby_init_ext): load with ruby levelnobu2007-06-181-0/+8
| | | | | | | | | | cfp. [ruby-core:10779] * eval_intern.h, vm.c (rb_vm_call_cfunc): new function to call a function with ruby level cfp. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yycompile): disable trace while creating ruby_debug_lines.nobu2007-06-181-0/+10
| | | | | | | | | | | | [ruby-talk:253586] * thread.c (ruby_suppress_tracing): new function to call a function with suppressing trace. * lib/debug.rb, lib/tracer.rb: for YARV. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_cleanup): return EXIT_FAILURE if any exceptions occurednobu2007-06-181-0/+5
| | | | | | | in at_exit blocks. [ruby-core:11263] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (env_mark): fix to mark block.proc.ko12007-06-171-0/+6
| | | | | | | | * vm.c (th_make_proc_from_block): set created proc to block->proc. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_dump.c (vm_stack_dump_raw): hide VM stack trace.ko12007-06-171-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (sigsegv): clear gc_stress flag on SEGV.ko12007-06-171-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_global_entry, rb_f_untrace_var, rb_alias_variable,nobu2007-06-171-1/+7
| | | | | | | | | | rb_generic_ivar_table, generic_ivar_get, generic_ivar_set, generic_ivar_defined, generic_ivar_remove, rb_mark_generic_ivar, rb_free_generic_ivar, rb_copy_generic_ivar, rb_obj_instance_variables): suppress warnings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_path2class): get rid of dangling pointer caused bynobu2007-06-171-0/+5
| | | | | | | optimized out value. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos.akr2007-06-171-13/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_method_missing): avoid an warning "too many argumentsakr2007-06-171-0/+5
| | | | | | | for format string" on "./ruby -ve 'def m() super end; m'". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (garbage_collect): re-introduce ruby_current_node marking code.akr2007-06-161-0/+5
| | | | | | | [ruby-dev:31005] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_sweep): re-introduce heap extension strategy change.akr2007-06-161-0/+7
| | | | | | | [ruby-dev:31005] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .gdbinit: new file to ease debugging using gdb.akr2007-06-151-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (default_handler): func argument removed.akr2007-06-151-1/+9
| | | | | | | | | (trap_handler): support SYSTEM_DEFAULT. call default_handler internally. (sig_trap): don't call default_handler. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (realclean): separate local and ext.nobu2007-06-151-0/+6
| | | | | | | * ext/extmk.rb: not remove unrelated directories. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML ref.akr2007-06-151-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * keywords: enclose C code in declaration section by %{ and %}.akr2007-06-151-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (trap_handler): trap("SIGSEGV", "DEFAULT") may cause wrongakr2007-06-151-1/+6
| | | | | | | | trap error because SIG_DFL may be zero. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def(setconstant, toregexp): fix to mark object correctly.ko12007-06-151-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c: exchange semantics of Hash#each and Hash#each_pair.ko12007-06-151-0/+9
| | | | | | | | | | pointed out by [ruby-dev:30997]. * test/ruby/test_iterator.rb: ditto. * test/ruby/test_yield.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_iterator.rb: remove debug code (GC.stress=true).ko12007-06-151-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (th_yield_setup_args): |v| should work as |v,|.ko12007-06-151-0/+17
| | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@12544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_finalize_1): rb_thread_t#errinfo should be clear withko12007-06-151-0/+5
| | | | | | | | Qnil. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (rb_cont_call): forbid cross fiber continuation call.ko12007-06-151-0/+6
| | | | | | | | * test/ruby/test_fiber.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/test.rb: fix to show line information whether test succeeds.ko12007-06-151-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_load.c (Init_load): delay allocating an array for rb_load_pathakr2007-06-141-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@12537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser): handle morenobu2007-06-141-0/+5
| | | | | | | extensions. [ruby-dev:30972] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/securerandom.rb: documente updated.akr2007-06-141-0/+5
| | | | | | | suggested by NaHi. [ruby-dev:30966] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (garbage_collect): update IA64 register stack code.matz2007-06-131-0/+5
| | | | | | [ruby-dev:30971] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e