summaryrefslogtreecommitdiffstats
path: root/lib/tracer.rb
Commit message (Collapse)AuthorAgeFilesLines
* * lib/tracer.rb: no show lines unkonwn line number. [ruby-core:22096],keiju2009-07-211-25/+54
| | | | | | | | no trace display c-call and c-return as default. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tracer.rb: toplevel caller exists now. [ruby-core:24454]nobu2009-07-211-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {ext,lib,test}/**/*.rb: removed trailing spaces.nobu2009-03-061-16/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * $Date$ keyword removed to avoid inclusion of locale dependentakr2008-01-061-1/+0
| | | | | | | string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yycompile): disable trace while creating ruby_debug_lines.nobu2007-06-181-3/+3
| | | | | | | | | | | | [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
* * object.c (rb_mod_attr): make Module#attr to be an alias tomatz2006-07-201-2/+2
| | | | | | | | | | attr_reader. [RCR#331] * ruby.h: export classes/modules to implement sandbox. [ruby-core:08283] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tracer.rb (Tracer::Tracer.add_filter): turn on tracer modematz2006-02-181-1/+1
| | | | | | | | | | | | only when caller() level size is one. [ruby-core:07389] * lib/rdoc/parsers/parse_rb.rb: need not to require "tracer". [ruby-core:07389] * sample/rtags.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tracer.rb: merged a minor clarification patch from Danielmatz2006-02-171-13/+9
| | | | | | | Berger <Daniel.Berger at qwest.com>. [ruby-core:07376] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (lex_getline): should update ruby_debug_lines.matz2004-10-201-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (proc_alloc): re-unification of Block and Proc. Blockmatz2003-06-161-1/+1
| | | | | | | class is no longer available. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb, lib/optparse.rb, lib/tracer.rb: use Method#to_blocknobu2003-05-261-1/+1
| | | | | | | instead of deprecated Method#to_proc. (ruby-bugs-ja:PR#477) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tracer.rb (trace_func): save and recover Thread.critical state.nahi2003-03-191-1/+2
| | | | | | | Fixed by Fukumoto Atsushi <fukumoto@imasy.or.jp> [ruby-dev:19830] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_define_method): do not set NOEX_CFUNC if klass ismatz2002-11-071-4/+4
| | | | | | | | | | | | | really a module, whose methods must be safe for reciever's type. * eval.c (rb_eval): nosuper should not be inherited unless the overwritten method is an undef placeholder. * parse.y (primary): allow 'when'-less case statement; persuaded by Sean Chittenden. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use Object#class instead of deprecated Object#type.nobu2002-10-021-4/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_expr_str): need to process backslashes properly.matz2002-06-281-1/+1
| | | | | | | | | | | | | | | | | | * object.c (rb_any_to_a): declare Object#to_a to be obsolete. * object.c (rb_Array): do not convert nil into [] automagically. * object.c (rb_Integer): use "to_int" instead of "to_i". [experimental] * object.c (nil_to_f): new method. * object.c (rb_Integer): Symbols and nil should cause error. * object.c (rb_Float): nil should cause error. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_plus): result should not be negative unlessmatz2001-12-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | NEGATIVE_TIME_T is defined. * time.c (time_new_internal): should check tv_sec overflow too. * time.c (time_timeval): should check time_t range when time is initialized from float. * time.c (time_plus): uses modf(3). * variable.c (rb_cvar_set): add frozen class/module check. * variable.c (rb_cvar_declare): add frozen class/module check. * re.c (match_to_a): should propagate taint. * re.c (rb_reg_s_quote): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (str_extend): shuould allow interpolation of $-x.matz2001-10-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * variable.c (rb_cvar_set): empty iv_tbl may cause infinite loop. * variable.c (rb_cvar_get): ditto. * variable.c (cvar_override_check): ditto. * bignum.c (rb_big_eq): convert Bignum to Float, instead of reverse. * time.c (time_localtime): getting tm should not be prohibited for frozen time objects. * time.c (time_gmtime): ditto. * version.c (Init_version): freeze RUBY_VERSION, RUBY_RELEASE_DATE, and RUBY_PLATFORM. * file.c (Init_File): freeze File::SEPARATOR, ALT_SEPARATOR and PATH_SEPARATOR. * file.c (rb_stat_cmp): should check operand type before calling get_stat(). * eval.c (rb_eval_cmd): should not invoke "call" with a block on any occasion. * numeric.c (fix_aref): idx may be a Bignum. * numeric.c (num_remainder): a bug in Numeric#remainder. * eval.c (rb_exec_end_proc): END might be called within END block. * class.c (rb_mod_clone): should not copy class name, since clone should remain anonymous. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-12-221-13/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-10-111-5/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-07-101-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-06-281-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* -r debug, -s, etc.matz1999-10-151-4/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 1.4.0matz1999-08-131-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was generated by cvs2svn to compensate for changes in r372,matz1999-01-201-30/+117
| | | | | | | which included commits to RCS files with non-trunk default branches. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial revisionmatz1998-01-161-0/+75
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2 b2dd03c8-39d4-4d8f-98ff-823fe69b080e