summaryrefslogtreecommitdiff
path: root/eval.c
AgeCommit message (Collapse)Author
2006-07-24* eval.c (backtrace): skip frames successive on node and method name.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-24* eval.c (rb_call0): revert last change. [ruby-dev:29112]matz
[ruby-core:08374] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-21* eval.c (rb_call0): include funcalled methods in caller list.nobu
fixed: [ruby-core:08290] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-20* ruby.h: export classes/modules to implement sandbox.matz
[ruby-core:08283] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-15* eval.c (rb_require_safe): wait for another thread requiring the samenobu
feature. fixed: [ruby-core:08229] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-13* array.c (rb_ary_pop): may cause realloc oscillation. a patchmatz
from MORITA Naoyuki <mlgetter at kidou.sakura.ne.jp>. [ruby-dev:29028] * parse.y (then): we'd like to reserve colon here for the future. warning added. * ruby.h: export rb_cMethod. [ruby-talk:201259] * ext/bigdecimal/bigdecimal.c: Allows '_' to appear within digits. [ruby-dev:28872] * ext/bigdecimal/lib/bigdecimal/util.rb: Bug in to_r reported by [ruby-list:42533] fixed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-10* signal.c (ruby_nativethread_signal, posix_nativethread_signal,nagai
sigsend_to_ruby_thread, install_nativethread_sighandler): nativethread-support on signal handler. RE-backport from 1.9. * ruby.h (HAVE_NATIVETHREAD_KILL): ditto. * eval.c (ruby_native_thread_kill): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-10* eval.c (rb_clear_cache_for_undef): clear entries for includednobu
module. fixed: [ruby-core:08180] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-08* eval.c (next_jump): deal with destination of next.nobu
fixed: [ruby-core:08169] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-26* util.c (powersOf10): constified.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-23* signal.c: revert last change.nagai
* ruby.h: ditto. * eval.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-21* signal.c (ruby_nativethread_signal, posix_nativethread_signal,nagai
sigsend_to_ruby_thread, install_nativethread_sighandler): nativethread-support on signal handler (backport from 1.9). * ruby.h (HAVE_NATIVETHREAD_KILL): ditto. * eval.c (ruby_native_thread_kill): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-07* eval.c (rb_call0): binding for the return event hook should havematz
consistent scope. [ruby-core:07928] * eval.c (EXEC_EVENT_HOOK): trace_func may remove itself from event_hooks. no guarantee for arbitrary hook deletion. [ruby-dev:28632] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-22* eval.c (umethod_bind): should not update original class.matz
[ruby-dev:28636] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-22* eval.c (ev_const_get): should support constant access frommatz
within instance_eval(). [ruby-dev:28327] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-19* parse.y (arg): too much NEW_LIST()matz
* eval.c (SETUP_ARGS0): remove unnecessary access to nd_alen. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-19* eval.c (rb_eval): use ARGSCAT for NODE_OP_ASGN1.matz
[ruby-dev:28585] * parse.y (list_concat): revert last change. * parse.y (arg): use NODE_ARGSCAT for placeholder. * lib/getoptlong.rb (GetoptLong::get): RDoc update patch from mathew <meta at pobox.com>. [ruby-core:07738] * variable.c (rb_const_set): raise error when no target klass is supplied. [ruby-dev:28582] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-17* eval.c: block_unique should be 1, not frame_unique.matz
[ruby-dev:28577] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-28* eval.c (backtrace): reports aliased method names in a generatedmatz
backtrace. a patch from "U.Nakamura" <usa at garbagecollect.jp>. [ruby-dev:28471] * eval.c (rb_call0): insecure calling should be checked for non NODE_SCOPE method invocations too. * eval.c (rb_alias): should preserve the current safe level as well as method definition. * eval.c (yield_under_i): pass self again for instance_eval(). [ruby-dev:28466] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-23* eval.c (method_missing): should support argument splat inmatz
super. [ruby-talk:185438] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-03* lib/rdoc/ri/ri_paths.rb (RI::Paths): adding paths from rubygemsmatz
directories. a patch from Eric Hodel <drbrain at segment7.net>. [ruby-core:07423] * eval.c (rb_thread_fd_writable): should not re-schedule output from KILLED thread (must be error printing). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-23* eval.c (SETUP_ARGS0): fixed memory corruption. [ruby-dev:28360]ocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-20* lib/rational.rb (Integer::gcd): replaced by gcd4 inmatz
[ruby-core:07390]. [ruby-core:07377] * eval.c: initial value for block_unique must be 1. [ruby-talk:180420] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-17* eval.c (rb_thread_wait_for): sleep should always sleep formatz
specified amount of time. [ruby-talk:180067] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-15* eval.c (backtrace): frame->orig_func may not be initialized.matz
[ruby-core:07367] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-15* eval.c (rb_eval): NODE_OP_ASGN1 should allow splat in itsmatz
argument list. [ruby-core:07366] * parse.y (arg): avoid unnecessary extra argument. [ruby-core:07366] * eval.c (rb_eval): honor visibility on OP_ASGN1 and OP_ASGN2. [ruby-core:07366] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-15* eval.c (yield_under_i): should not pass self as an argument tomatz
the block for instance_eval. [ruby-core:07364] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-15* eval.c (rb_obj_instance_eval): should no singleton classes formatz
true, false, and nil. [ruby-dev:28186] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-14* eval.c (DMETHOD_P): accessing wrong frame. [ruby-dev:28181]matz
* eval.c (proc_invoke): preserve FRAME_DMETH flag. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-13* eval.c (rb_call0): argument update propagation. [ruby-dev:28044]matz
* env.h: remove argc member from struct FRAME. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-13* eval.c (eval): should push class from binding if supplied.matz
[ruby-core:07347] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-11* eval.c (eval): no need to push ruby_class. [ruby-dev:28176]matz
* eval.c (rb_f_autoload): check if ruby_cbase is nil (during instance_eval for objects cannot have singleton classes, e.g. fixnums and symbols). [ruby-dev:28178] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-04* eval.c: apply the FreeBSD getcontext/setcontext workaroundakr
only before FreeBSD 7-CURRENT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-02* eval.c (eval): need not to protect $SAFE value.matz
[ruby-core:07177] * struct.c (rb_struct_select): update RDoc description. [ruby-core:7254] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-22* eval.c (POST_GETCONTEXT): define separately from PRE_GETCONTEXT onakr
IA64 to avoid reusing variable address. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-22* eval.c (ruby_setjmp): workaround for FreeBSD/i386akr
getcontext/setcontext bug. [ruby-dev:28263] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-20* eval.c (FUNCTION_CALL_MAY_RETURN_TWICE): use only for SPARC and IA64akr
before gcc 4.0.3. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-18* eval.c (FUNCTION_CALL_MAY_RETURN_TWICE): don't clobber %l7 of SPARCakr
if enable-shared. (ruby_setjmp): call FUNCTION_CALL_MAY_RETURN_TWICE after getcontext too. reported by Pav Lucistnik and Marius Strobl. http://lists.freebsd.org/pipermail/freebsd-sparc64/2006-January/003739.html git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-31* eval.c (rb_thread_save_context): should not recycle scope object usednobu
in a thread. fixed: [ruby-dev:28177] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-29avoid a GC problem with RUBY_ALWAYS_GC= ./ruby -e ''.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-29* eval.c (rb_gc_mark_threads): leave unmarked threads which won't wakenobu
up alone, and mark threads in the loading table. [ruby-dev:28154] * eval.c (rb_gc_abort_threads), gc.c (gc_sweep): kill unmarked threads. [ruby-dev:28172] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-26* eval.c (rb_eval), gc.c (gc_mark_children), node.h (NEW_ALIAS,nobu
NEW_VALIAS), parse.y (fitem): allow dynamic symbols to NODE_UNDEF and NODE_ALIAS. backported from trunk. fixed: [ruby-dev:28105] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-26* eval.c (ev_const_get): fixed a bug in constant reference duringmatz
instance_eval. [yarv-dev:707] * eval.c (ev_const_defined): ditto. * lib/yaml.rb (YAML::add_domain_type): typo fixed. a patch from Joel VanderWerf <vjoel at path.berkeley.edu>. [ruby-talk:165285] [ruby-core:6995] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-20* eval.c (eval_under_i): evaluate source in caller's frame.nobu
[ruby-dev:28076] * eval.c (rb_call_super): use original method name on exception. [ruby-dev:28078] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-16* eval.c (bmcall): fix a GC problem by tail call onakr
IA64 with gcc 4.0.3 20051216 (prerelease). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-12precedes registering global VALUE variables before initializing it.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-12* ext/digest/digest.c (rb_digest_base_s_digest): add volatile tomatz
protect temporary context object. [ruby-dev:27979] * ext/iconv/iconv.c (Init_iconv): rb_gc_register_address() should be called before actual variable initialization. [ruby-dev:27986] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-07* eval.c (umethod_bind): adjust invoking class for module method.nobu
[ruby-dev:27964] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-07* eval.c (call_trace_func): klass parameter should be amatz
class/module that defines calling method. [ruby-talk:169307] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-06* eval.c (exec_under): avoid accessing ruby_frame->prev.matz
[ruby-dev:27948] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e