ruby/ext
mame f08581c7b6 * ext/coverage/coverage.c, ext/coverage/extconf.rb: eliminate
COVERAGE__ and introduce coverage.so instead.  How to measure
  coverage: (1) require "coverage.so", (2) require or load Ruby source
  file, and (3) Coverage.result will return the same hash as COVERAGE__.
  [ruby-dev:35324]

* thread.c (rb_enable_coverages): start coverage measurement by using
  rb_add_event_hook.

* thread.c (rb_get_coverages): returns current results of coverage
  measurement.

* include/ruby/intern.h: add prototype for above two functions.

* vm_core.h, vm.c: add field of coverages to rb_vm_t.

* insns.def (trace): remove special handling for COVERAGE__.

* iseq.c (prepare_iseq_build): switch COVERAGE__ to
  rb_get_coverages().

* parse.y (coverage): ditto.

* thread.c (clear_coverage): ditto.

* lib/coverage.rb: use coverage.so instead of COVERAGE__.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-03 12:55:12 +00:00
..
bigdecimal * sprintf.c: include ieeefp.h to refer isinf. 2008-07-02 16:24:11 +00:00
continuation * cont.c: separate Continuation and Fiber from core. 2007-08-25 02:03:44 +00:00
coverage * ext/coverage/coverage.c, ext/coverage/extconf.rb: eliminate 2008-07-03 12:55:12 +00:00
curses * array.c, bignum.c, cont.c, dir.c, dln.c, encoding.c, enumerator.c, 2008-06-08 10:01:40 +00:00
dbm * array.c, bignum.c, cont.c, dir.c, dln.c, encoding.c, enumerator.c, 2008-06-08 10:01:40 +00:00
digest * ext/digest/digest.c (rb_digest_instance_inspect): constified. 2008-07-01 10:36:22 +00:00
dl * lib/resolv.rb (Resolv::Config.default_config_hash): requires 2008-03-31 16:55:54 +00:00
etc * ext/etc/etc.c (Init_etc): define constant aliases Etc::Passwd 2008-06-19 08:45:25 +00:00
fcntl add extconf.h to .cvsignore. 2006-06-24 01:15:08 +00:00
fiber * ext/fiber/fiber.c: modify prototype declaration. 2007-09-27 06:45:03 +00:00
gdbm * array.c, bignum.c, cont.c, dir.c, dln.c, encoding.c, enumerator.c, 2008-06-08 10:01:40 +00:00
iconv * ext/iconv/iconv.c (iconv_iconv): no needs to initialize with Qnil 2008-06-06 03:21:43 +00:00
io/wait * ext/io/wait/extconf.rb: check sys/socket.h for cygwin. 2008-06-24 08:05:06 +00:00
json * sprintf.c: include ieeefp.h to refer isinf. 2008-07-02 16:24:11 +00:00
nkf * ext/nkf/nkf-utf8/nkf.c (nkf_str_caseeql): added. 2008-05-21 21:23:51 +00:00
openssl * array.c, bignum.c, cont.c, dir.c, dln.c, encoding.c, enumerator.c, 2008-06-08 10:01:40 +00:00
pty * ext/pty/lib/expect.rb (IO#expect): check if peer is closed. 2008-02-18 01:17:44 +00:00
racc/cparse * include/ruby: moved public headers. 2007-06-10 03:06:15 +00:00
readline * ext/readline/extconf.rb (have_readline_func): readline on Mac OS X 2008-06-22 05:16:30 +00:00
ripper * parse.y (parser_yylex): should clear parser->tokp as well. 2007-11-19 07:10:09 +00:00
sdbm * array.c, bignum.c, cont.c, dir.c, dln.c, encoding.c, enumerator.c, 2008-06-08 10:01:40 +00:00
socket * ext/socket/socket.c (init_sock): socket is binmode on platforms 2008-06-24 00:41:38 +00:00
stringio * ext/stringio/stringio.c (strio_getline): fix for nil and "" as 2008-06-30 13:30:11 +00:00
strscan * array.c, bignum.c, cont.c, dir.c, dln.c, encoding.c, enumerator.c, 2008-06-08 10:01:40 +00:00
syck * ext/syck/rubyext.c: add encoding header. 2008-06-16 21:25:17 +00:00
syslog * ext/syslog/syslog.c (syslog_write): syslog operations should be 2008-06-30 01:30:32 +00:00
tk * ext/tk/lib/tkextlib/tile/treeview.rb: cannot configure tags. 2008-06-19 07:08:06 +00:00
win32ole * ext/win32ole/win32ole.c (Init_win32ole): remove duplicate line. 2008-07-03 10:48:02 +00:00
zlib * ext/zlib/zlib.c (rb_deflate_init_copy): Copy buffers as well. 2008-06-08 17:35:41 +00:00
.cvsignore
.document Add digest.c 2006-08-28 02:32:47 +00:00
Setup * sprintf.c (rb_str_format): allow %c to print one character 2006-06-09 21:20:17 +00:00
Setup.atheos * ext/Setup*: remove tcltklib. 2005-01-26 05:15:02 +00:00
Setup.dj * ext/Setup*: remove tcltklib. 2005-01-26 05:15:02 +00:00
Setup.emx * ext/Setup*: remove tcltklib. 2005-01-26 05:15:02 +00:00
Setup.nt * ext/Setup*: remove tcltklib. 2005-01-26 05:15:02 +00:00
Setup.x68 * ext/Setup*: remove tcltklib. 2005-01-26 05:15:02 +00:00
extmk.rb * ext/extmk.rb (extmake): check if compile before showing message. 2008-06-19 12:43:57 +00:00
purelib.rb * ext/purelib.rb: get rid of recent feature. [ruby-dev:34864] 2008-05-28 09:10:50 +00:00