aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * include/ruby/win32.h (NT, NtInitialize): removed unused old macros.usa2012-07-102-3/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: removed --enable/disable-win95 options. (see r36432)usa2012-07-102-15/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c: Added streaming support to inflate processing.drbrain2012-07-105-53/+309
| | | | | | | | | | | | | | | | | | | | | | | 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. * ext/zlib/extconf.rb: Update INCFLAGS to find internal.h for rb_thread_call_with_gvl * test/zlib/test_zlib.rb: Updated tests git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h: Removed RUBY_GLOBAL_SETUP complely. It iskosaki2012-07-094-11/+7
| | | | | | | | no meaning definition since r24894. * main.c: ditto. * nacl/pepper_main.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-07-10svn2012-07-091-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c: Simplify and make consistent an ifdef for Mac OS X.kosaki2012-07-098-14/+19
| | | | | | | | | | | * ext/socket/rubysocket.h: ditto. * ext/tk/stubs.c: ditto. * io.c: ditto. * process.c: ditto. * signal.c: ditto. * vm_dump.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typokazu2012-07-091-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (win95_stat): remove unnecessary macro.usa2012-07-092-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/win32.h: sorry, mistaken.usa2012-07-091-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/configure.bat, win32/setup.mak, win32/Makefile.sub: omit Win9xusa2012-07-098-159/+20
| | | | | | | | | | | support. remove --enable/disable-win95 option. * include/ruby/win32.h, file.c, win32/win32.c: ditto. * win32/README.win32: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/zlib/zlib.c: initialize return valuenobu2012-07-091-0/+1
| | | | | | | * ext/zlib/zlib.c (zstream_run_func): initialize the return value, interrupt flag may set before starting loop. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* suppress warnings on mingw32nobu2012-07-091-5/+5
| | | | | | * atomic.h (ATOMIC_SIZE_): cast to suppress warnings on mingw32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-07-09svn2012-07-091-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: add TARGET_NAMEnobu2012-07-093-4/+14
| | | | | | | | | * configure.in (DLDFLAGS): use TARGET_ENTRY to specify an entry point instead of TARGET which may contain non-identifer characters. * lib/mkmf.rb (create_makefile): add TARGET_NAME which is the first part consists of only word characters. [ruby-core:46248][Bug #6709] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [Feature #6693]nobu2012-07-073-7/+22
| | | | | | | * parse.y (shadowing_lvar_gen, warn_unused_var): no warnings for variables starting with _. [ruby-core:46160][Feature #6693] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* suppress warningnobu2012-07-071-1/+1
| | | | | | | * lib/test/unit.rb (terminal_width): suppress uninitialized instance variable warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-07-08svn2012-07-071-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/test_rubyoptions.rb: tests for another namenobu2012-07-071-0/+6
| | | | | | | * test/ruby/test_rubyoptions.rb (test_{unused,shadowing_variable): tests for another name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-07-07svn2012-07-071-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/csv/test_features.rb: add require for Tempfile.nagachika2012-07-073-0/+7
| | | | | | * test/csv/test_serialization.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c: unsignednobu2012-07-061-3/+3
| | | | | | | * thread.c (rb_thread_shield_waiting_{inc,dec}): should be unsigned. int is large enough since ruby requires it to be 32bit at least. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* obsolete Confignobu2012-07-062-6/+0
| | | | | | * lib/rbconfig/obsolete.rb (Config): remove obsolete Config. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ThreadShield: check waiting countnobu2012-07-061-12/+21
| | | | | | * thread.c (rb_thread_shield_waiting_{inc,dec}): check waiting count. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_aref): Added a description of the behavior ofdrbrain2012-07-053-7/+25
| | | | | | | | | | index positioning. [Bug #6680] * array.c (rb_ary_aset): ditto. Reordered sentences for clarity. * string.c (rb_str_aref_m): Added a description of the behavior of index positioning git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_bytesize): Improve documentation. Patch by Oscardrbrain2012-07-052-8/+24
| | | | | | | | | | | Del Ben from github issue #138. * string.c (rb_str_empty): ditto. * string.c (rb_str_times): ditto. * string.c (rb_str_dump): ditto. * string.c (rb_str_center): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-07-06svn2012-07-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (zstream_expand_buffer_without_gvl): Usedrbrain2012-07-052-1/+6
| | | | | | | ruby_xrealloc() to avoid crash with CALC_EXACT_MALLOC_SIZE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* never evaluatednobu2012-07-051-1/+3
| | | | | | | | * test/ruby/test_basicinstructions.rb (test_regexp): fix never evaluated assertion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c: fix typo.nobu2012-07-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ThreadShieldnobu2012-07-053-4/+8
| | | | | | * internal.h: move ThreadShield declarations from intern.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bootstraptest: fix missing bsnobu2012-07-051-1/+1
| | | | | | | * bootstraptest/runner.rb (show_progress): fix missing bs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ThreadShieldnobu2012-07-054-49/+53
| | | | | | * thread.c (ThreadShield): rename from Barrier. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bootstraptest: refine error outputnobu2012-07-052-13/+32
| | | | | | | | * bootstraptest/runner.rb (show_progress): refine error output. do not count non-empty error message, but just warn. * bootstraptest/runner.rb (error): show errors immediately if tty. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2012-07-050-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/net/http/test_httpresponses.rb: Add a test file forknu2012-07-052-0/+29
| | | | | | Net::HTTPResponses and put a test case for the previous bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http/responses.rb: Fix 4xx classes to inherit correctlyknu2012-07-051-0/+5
| | | | | | from Net::HTTPClientError. [Bug #6700] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix 4xx classes to inherit correctly from Net::HTTPClientErrorknu2012-07-051-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typokazu2012-07-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWSnobu2012-07-051-0/+7
| | | | | | * NEWS: about __callee__ and Module#prepend. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* desc r36301nobu2012-07-051-3/+3
| | | | | | * ChangeLog: add description for r36301. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-07-05svn2012-07-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): warn only if -K and -w option is specified.naruse2012-07-043-7/+22
| | | | | | see also r36274 [Feature #5206] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c, atomic.h (ATOMIC_SIZE_*): moved from gc.c to atomic.h [ruby-dev:45909]ngoto2012-07-043-50/+53
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bootstrap/runner.rb must be run with Ruby 1.8.naruse2012-07-041-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/win32ole/test_win32ole.rb (test_s_codepage_changed):suke2012-07-042-2/+10
| | | | | | | | FileSystemObject only supports ANSI or UTF-16LE encoding. Patch by h.shirosaki (Hiroshi Shirosaki) [ruby-trunk - Bug #6650] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Wed Jul 4 13:38:12 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>xibbar2012-07-042-10/+3
| | | | | | * lib/cgi/util.rb: revert 36299: &apos; is XML specification. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Wed Jul 4 08:45:41 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>xibbar2012-07-042-6/+7
| | | | | | | | * lib/cgi/core.rb: fix bug: When query parameter is 'id=123&id', cgi['id'] => '123' is correct. First parameter is valid. [Feature #6621] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (ATOMIC_SIZE_*): 64bit Windows support.usa2012-07-042-5/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c: fix rdocnobu2012-07-041-2/+3
| | | | | | | | | * thread.c (rb_thread_blocking_region): fix typo and the description in "Safe C API". ruby_xmalloc(), ruby_xrealloc() never try acquire GVL automatically unless GC runs, but had race condtions without GVL acquired until r36284. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* __callee__ fixnobu2012-07-047-25/+99
| | | | | | | | * eval.c (rb_frame_callee, rb_f_callee_name): fix to return the called id. * vm_insnhelper.c (vm_push_frame): set proper method entry. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e