1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext
ko1 680f0b5ba4 * include/ruby/ruby.h, gc.c, vm_trace.c: add internal events.
* RUBY_INTERNAL_EVENT_NEWOBJ: object created.
* RUBY_INTERNAL_EVENT_FREE: object freeed.
* RUBY_INTERNAL_EVENT_GC_START: GC started.
  And rename `RUBY_EVENT_SWITCH' to `RUBY_INTERNAL_EVENT_SWITCH'.
  Internal events can not invoke any Ruby program because the tracing
  timing may be critical (under huge restriction).
  These events can be hooked only by C-extensions.
  We recommend to use rb_potponed_job_register() API to call Ruby
  program safely.
  This change is mostly written by Aman Gupta (tmm1).
  https://bugs.ruby-lang.org/issues/8107#note-12
  [Feature #8107]
* include/ruby/debug.h, vm_trace.c: added two new APIs.
* rb_tracearg_event_flag() returns rb_event_flag_t of this event.
* rb_tracearg_object() returns created/freeed object.
* ext/-test-/tracepoint/extconf.rb,
  ext/-test-/tracepoint/tracepoint.c,
  test/-ext-/tracepoint/test_tracepoint.rb: add a test.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-27 00:21:02 +00:00
..
-test- * include/ruby/ruby.h, gc.c, vm_trace.c: add internal events. 2013-05-27 00:21:02 +00:00
bigdecimal * ext/bigdecimal/bigdecimal.c: Formatting for BigMath [Fixes GH-306] 2013-05-19 21:00:43 +00:00
continuation * cont.c (ruby_Init_{Continuation_body,Fiber_as_Coroutine}): prefixed 2009-01-20 07:17:28 +00:00
coverage * include/ruby/ruby.h: constify RBasic::klass and add 2013-05-13 10:49:11 +00:00
curses fix typos. Patch by k_takata. 2013-05-19 03:10:21 +00:00
date * ext/socket/option.c: Document synonymous methods, by windwiny [GH-277] 2013-04-16 03:25:50 +00:00
dbm Add a comment. 2013-05-23 13:49:10 +00:00
digest * ext/digest/lib/digest.rb (Digest::Class.file): Take optional 2013-05-21 12:41:34 +00:00
dl fix typos. Patch by k_takata. 2013-05-19 03:10:21 +00:00
etc * file.c, ext/etc/etc.c, ext/socket/unixsocket.c, 2013-05-09 12:12:17 +00:00
fcntl * lib/mkmf.rb: Add ruby/ruby.h, ruby/missing.h, ruby/intern.h, 2013-04-13 00:46:29 +00:00
fiber * cont.c (ruby_Init_{Continuation_body,Fiber_as_Coroutine}): prefixed 2009-01-20 07:17:28 +00:00
fiddle * ext/fiddle/fiddle.c: fix typo in fiddle doc [Bug #8412] 2013-05-24 12:27:12 +00:00
gdbm * ext/socket/option.c: Document synonymous methods, by windwiny [GH-277] 2013-04-16 03:25:50 +00:00
io io/console: rdoc 2013-05-24 06:54:25 +00:00
json * ext/json/generator/generator.c (isArrayOrObject): cast char to 2013-05-08 05:00:02 +00:00
mathn
nkf * remove trailing spaces. 2013-04-29 08:06:06 +00:00
objspace * lib/mkmf.rb: Add ruby/ruby.h, ruby/missing.h, ruby/intern.h, 2013-04-13 00:46:29 +00:00
openssl * hash.c, include/ruby/ruby.h: support WB protected hash. 2013-05-26 12:37:11 +00:00
pathname fix typos. Patch by k_takata. 2013-05-19 03:10:21 +00:00
psych fix typos. Patch by k_takata. 2013-05-19 03:10:21 +00:00
pty * ext/pty/pty.c (get_device_once): FreeBSD 10-current and 9-stable 2013-05-25 12:34:50 +00:00
racc/cparse * lib/mkmf.rb: Add ruby/ruby.h, ruby/missing.h, ruby/intern.h, 2013-04-13 00:46:29 +00:00
readline fix typos. Patch by k_takata. 2013-05-19 03:10:21 +00:00
ripper * lib/mkmf.rb (MakeMakefile#create_makefile): remove {$(VPATH)} other 2013-04-13 18:00:25 +00:00
sdbm fix typos. Patch by k_takata. 2013-05-19 03:10:21 +00:00
socket * ext/socket/mkconstants.rb (INTEGER2NUM): Make less comparisons. 2013-05-18 11:28:51 +00:00
stringio rename generic io modules 2013-05-24 06:54:17 +00:00
strscan Remove unused variable 2013-05-25 11:37:35 +00:00
syslog * lib/mkmf.rb: Add ruby/ruby.h, ruby/missing.h, ruby/intern.h, 2013-04-13 00:46:29 +00:00
tk fix typos inspired by r40825 2013-05-19 14:50:47 +00:00
win32ole * ext/socket/option.c: Document synonymous methods, by windwiny [GH-277] 2013-04-16 03:25:50 +00:00
zlib * include/ruby/ruby.h: constify RBasic::klass and add 2013-05-13 10:49:11 +00:00
.document * ext/.document: Add missing ext modules to .document 2012-12-19 16:04:11 +00:00
extmk.rb extmk.rb: don't duplicate 2013-05-23 15:18:05 +00:00
Setup * ext/syck: removed. Fixes [ruby-core:43360] 2012-08-22 17:43:16 +00:00
Setup.atheos * ext/syck: removed. Fixes [ruby-core:43360] 2012-08-22 17:43:16 +00:00
Setup.emx configure.in: find Setup file automatically 2013-02-25 04:12:45 +00:00
Setup.nacl * ext/syck: removed. Fixes [ruby-core:43360] 2012-08-22 17:43:16 +00:00
Setup.nt * ext/Setup.nt: this file has not been used by default. 2013-02-25 15:54:00 +00:00