1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext
drbrain 3cf7d1b57e * ext/zlib/zlib.c: Added streaming support to inflate processing.
This allows zlib streams to be processed without huge memory growth.
  [Feature #6612]
* NEWS:  ditto
* ext/zlib/zlib.c (zstream_expand_buffer):  Uses rb_yield when a block
  is given for streaming support.  Refactored to use
  zstream_expand_buffer_into to remove duplicate code.
* ext/zlib/zlib.c (zstream_expand_buffer_protect):  Added wrapper
  function to pass jump state back through GVL-free section to allow
  zstream clean-up before terminating the ruby call.
* ext/zlib/zlib.c (zstream_expand_buffer_without_gvl):  Acquire GVL to
  yield processed chunk of output stream.
* ext/zlib/zlib.c (zstream_detach_buffer):  When a block is given,
  returns Qnil mid-stream and yields the output buffer at the end of
  the stream.
* test/zlib/test_zlib.rb:  Updated tests


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-10 18:28:40 +00:00
..
-test- unreachable 2012-06-18 09:13:31 +00:00
bigdecimal * ext/bigdecimal/lib/bigdecimal/jacobian.rb, 2012-05-30 07:30:46 +00:00
continuation
coverage * ext/coverage/coverage.c (Init_coverage): Change list format and 2011-10-10 21:06:39 +00:00
curses rb_thread_call_without_gvl 2012-07-10 13:57:11 +00:00
date * ext/date/date_core.c: [ruby-core:46058]. 2012-07-01 20:56:50 +00:00
dbm * io.c, process.c, time.c, ext: use rb_sys_fail_str instead of 2012-02-27 01:50:27 +00:00
digest rmd160.c: fix for huge data 2012-05-07 01:27:59 +00:00
dl * ext/dl/cfunc.c (rb_dlcfunc_call): also needed the workaround for VC8 2012-07-03 03:10:02 +00:00
etc * ext/etc/etc.c (passwd_ensure): move endpwent() call from 2012-05-13 14:00:16 +00:00
fcntl .cvsignore: have not been used already. [Bug #3468] 2010-08-07 05:43:21 +00:00
fiber
fiddle * ext/fiddle/extconf.rb: Use an exception instaed of bare abort. 2012-05-18 07:02:25 +00:00
gdbm * io.c, process.c, time.c, ext: use rb_sys_fail_str instead of 2012-02-27 01:50:27 +00:00
io use RB_TYPE_P() instead of comparison of TYPE() 2012-05-23 07:13:21 +00:00
json Revert r35684 "* trunk/ext/json/extconf.rb: remove fake file." 2012-05-18 08:26:10 +00:00
mathn
nkf * ext/nkf/nkf-utf8/nkf.c: import nkf 2.1.2 (be9c280) 2011-09-08 12:17:06 +00:00
objspace fix null m_tbl 2012-06-27 11:36:15 +00:00
openssl rb_thread_call_without_gvl 2012-07-10 13:57:11 +00:00
pathname use RB_TYPE_P() instead of comparison of TYPE() 2012-05-23 07:13:21 +00:00
psych * ext/psych/lib/psych.rb: bumping psych to 1.3.3 2012-06-15 16:29:55 +00:00
pty * process.c: use the name "eargp" for struct rb_execarg variables 2012-06-22 23:09:16 +00:00
racc/cparse use RB_TYPE_P() instead of comparison of TYPE() 2012-05-23 07:13:21 +00:00
readline ext/readline/extconf.rb: no global names 2012-06-19 09:21:58 +00:00
ripper * ext/ripper/extconf.rb: Use an exception instead of bare 2012-05-18 07:01:54 +00:00
sdbm * ext/sdbm/init.c: Added documentation. Patch by Justin Collins, 2012-05-11 22:00:43 +00:00
socket rb_thread_call_without_gvl 2012-07-10 13:57:11 +00:00
stringio use RB_TYPE_P() instead of comparison of TYPE() 2012-05-23 07:13:21 +00:00
strscan * ext/strscan/strscan.c: use typed data with 2011-12-15 05:48:39 +00:00
syck * ext/syck/lib/syck/rubytypes.rb (Exception.yaml_new): fix bug 2012-03-05 08:11:48 +00:00
syslog * ext/syslog/syslog.c: Classify constants and macros into several 2012-05-21 07:18:49 +00:00
tk * dln.c: Simplify and make consistent an ifdef for Mac OS X. 2012-07-09 15:52:49 +00:00
win32ole * ext: remove trailing spaces. 2011-05-22 09:26:02 +00:00
zlib * ext/zlib/zlib.c: Added streaming support to inflate processing. 2012-07-10 18:28:40 +00:00
.document * ext/iconv: deprecated. [Feature #6322] 2012-04-23 13:56:11 +00:00
extmk.rb ext/extmk.rb: workaround for -framework option 2012-05-20 15:58:03 +00:00
Setup * ext/iconv: deprecated. [Feature #6322] 2012-04-23 13:56:11 +00:00
Setup.atheos * ext/iconv: deprecated. [Feature #6322] 2012-04-23 13:56:11 +00:00
Setup.emx * ext/iconv: deprecated. [Feature #6322] 2012-04-23 13:56:11 +00:00
Setup.nacl Imports Ruby's port to NativeClient (a.k.a NaCl). 2012-05-17 02:48:59 +00:00
Setup.nt * ext/iconv: deprecated. [Feature #6322] 2012-04-23 13:56:11 +00:00