svn
191f473419
* 2012-07-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-07 21:36:24 +00:00
nobu
6e46999913
test/ruby/test_rubyoptions.rb: tests for another name
...
* 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-07 21:36:08 +00:00
svn
5f7cbbfb68
* 2012-07-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-07 14:14:59 +00:00
nagachika
331352e676
* test/csv/test_features.rb: add require for Tempfile.
...
* test/csv/test_serialization.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-07 14:14:54 +00:00
nobu
8a995a56c7
thread.c: unsigned
...
* 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
2012-07-06 03:46:39 +00:00
nobu
1474cfa846
obsolete Config
...
* 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
2012-07-06 03:27:10 +00:00
nobu
a2d0ee620f
ThreadShield: check waiting count
...
* 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
2012-07-06 03:24:41 +00:00
drbrain
cd0971e27f
* array.c (rb_ary_aref): Added a description of the behavior of
...
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
2012-07-05 21:50:13 +00:00
drbrain
9360721e58
* string.c (rb_str_bytesize): Improve documentation. Patch by Oscar
...
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-05 20:39:15 +00:00
svn
6b5a88a36d
* 2012-07-06
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-05 19:06:23 +00:00
drbrain
7182c0005c
* ext/zlib/zlib.c (zstream_expand_buffer_without_gvl): Use
...
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
2012-07-05 19:06:18 +00:00
nobu
e57bc077f3
never evaluated
...
* 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
2012-07-05 14:42:25 +00:00
nobu
0f020f7ca4
* thread.c: fix typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-05 14:10:48 +00:00
nobu
85bb412ef9
ThreadShield
...
* 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
2012-07-05 08:32:23 +00:00
nobu
5425128e2b
bootstraptest: fix missing bs
...
* 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
2012-07-05 08:18:23 +00:00
nobu
51f458d4db
ThreadShield
...
* thread.c (ThreadShield): rename from Barrier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-05 07:00:29 +00:00
nobu
6b801ac9f8
bootstraptest: refine error output
...
* 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
2012-07-05 06:15:00 +00:00
nobu
fecdcc51ea
* properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-05 03:33:10 +00:00
knu
1b51476c1b
* test/net/http/test_httpresponses.rb: Add a test file for
...
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
2012-07-05 03:31:36 +00:00
knu
cc6238083d
* lib/net/http/responses.rb: Fix 4xx classes to inherit correctly
...
from Net::HTTPClientError. [Bug #6700 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-05 03:31:34 +00:00
knu
be53f329f7
Fix 4xx classes to inherit correctly from Net::HTTPClientError
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-05 03:31:31 +00:00
kazu
d5db3754f9
fix a typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-05 02:04:57 +00:00
nobu
0de9b0fee7
NEWS
...
* NEWS: about __callee__ and Module#prepend.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-05 01:53:30 +00:00
nobu
bc4cda4496
desc r36301
...
* ChangeLog: add description for r36301.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-05 01:41:03 +00:00
svn
91337d00b2
* 2012-07-05
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-04 16:01:05 +00:00
naruse
007c9aa2bf
* ruby.c (proc_options): warn only if -K and -w option is specified.
...
see also r36274 [Feature #5206 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-04 16:01:01 +00:00
ngoto
87c25d897b
* gc.c, atomic.h (ATOMIC_SIZE_*): moved from gc.c to atomic.h [ruby-dev:45909]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-04 13:02:03 +00:00
naruse
31f3a2e780
bootstrap/runner.rb must be run with Ruby 1.8.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-04 11:23:13 +00:00
suke
263cd01a31
* test/win32ole/test_win32ole.rb (test_s_codepage_changed):
...
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
2012-07-04 10:17:03 +00:00
xibbar
067b6e8237
Wed Jul 4 13:38:12 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
...
* lib/cgi/util.rb: revert 36299: ' is XML specification.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-04 04:42:35 +00:00
xibbar
9c746e35ad
Wed Jul 4 08:45:41 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
...
* 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
2012-07-04 04:42:32 +00:00
usa
38ca5cca00
* gc.c (ATOMIC_SIZE_*): 64bit Windows support.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-04 02:53:20 +00:00
nobu
1655b26f67
thread.c: fix rdoc
...
* 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
2012-07-04 02:46:33 +00:00
nobu
a7e1820a9f
__callee__ fix
...
* 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
2012-07-04 02:11:37 +00:00
xibbar
07132e0675
Wed Jul 4 08:24:28 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
...
* lib/cgi/util.rb: Add ' to CGI's HTML escaping.[Feature #6620 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-03 23:32:33 +00:00
drbrain
ab63d24b04
* array.c (rb_ary_aref): Updated documentation to indicate the
...
starting index is an index into the array or string. Updated
examples to show behavior of indexes at the end of an array or
string. Based on patch by Marcus Stollsteimer. [Bug #6680 ]
* array.c (rb_ary_aset): ditto.
* string.c (rb_str_aref): ditto. Also added descriptive argument
names to call-seq section.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-03 23:29:56 +00:00
xibbar
ad187bde9c
Wed Jul 4 08:18:01 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
...
* lib/cgi/html.rb: fix some elements to upper case.[Bug #6632 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-03 23:19:29 +00:00
xibbar
b25f743057
Wed Jul 4 08:11:15 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
...
* lib/cgi/core.rb,html.rb: fix typo.[Bug #6632 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-03 23:19:26 +00:00
drbrain
0e9b0c8c84
* test/zlib/test_zlib.rb (test_inflate_partial_input): Added test for
...
inflating incomplete zlib streams.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-03 22:08:04 +00:00
svn
98cbc7070d
* 2012-07-04
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-03 21:19:57 +00:00
nobu
91a254fd08
bootstraptest: no stderr output
...
* bootstraptest/runner.rb (assert_check): capture stderr and ensure
nothing is output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-03 21:19:52 +00:00
ngoto
1e972da39c
* gc.c (ATOMIC_SIZE_EXCHANGE): fix function name on Solaris [Bug #6689 ]
...
[ruby-dev:45904]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-03 14:25:32 +00:00
nobu
a7c6f0afae
gc.c: atomic operations for malloc_params
...
* gc.c (vm_malloc_fixup, vm_xrealloc, vm_xfree, after_gc_sweep): use
atomic operations to update malloc_params.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-03 07:07:57 +00:00
drbrain
1884f1c0ab
* ext/zlib/zlib.c (zstream_run_func): Fix bug that caused early exit
...
of GVL-free loop. [Feature #6615 ]
* ext/zlib/zlib.c: Fix style to match existing functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-03 05:52:22 +00:00
nobu
c7c397f917
fix allocated_size
...
* gc.c (vm_xrealloc): fix allocated_size update, should not ignore old
size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-03 05:37:29 +00:00
usa
1f23350194
* ext/dl/cfunc.c (rb_dlcfunc_call): also needed the workaround for VC8
...
for x64. [ruby-dev:45875] [Bug #6676 ]
reported by aves_ramphastos (Seigo Ishigane)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-03 03:10:02 +00:00
drbrain
1138756967
* ext/zlib/zlib.c (zstream_detach_buffer): Refactored tainting of
...
output string, moving it from the callee to zstream_detach_buffer.
* ext/zlib/zlib.c (rb_zstream_finish): ditto
* ext/zlib/zlib.c (rb_zstream_flush_next_out): ditto
* ext/zlib/zlib.c (rb_deflate_deflate): ditto
* ext/zlib/zlib.c (rb_deflate_flush): ditto
* ext/zlib/zlib.c (rb_inflate_inflate): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-03 03:09:30 +00:00
nobu
3fceaf10ab
make runnable
...
* common.mk (runnable): make symbolic links to run in build directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-03 02:16:08 +00:00
naruse
66d0ad3607
Undef on_parallel_worker? before redefine.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-03 02:11:01 +00:00
naruse
b697018e1b
Fix tests for previous commit.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-03 02:10:59 +00:00