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
naruse
c2a87e2733
* ruby.c (proc_options): warn if -K option is specified. [Feature #5206 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-03 01:52:51 +00:00
drbrain
cda2bf5568
* ext/zlib/zlib.c: Restored the comment explaining the choice of
...
buffer expansion size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-02 21:15:47 +00:00
drbrain
db0126b609
* object.c (Init_Object): Added RDoc location pointers for
...
Kernel#methods, Kernel#protected_methods, Kernel#private_methods and
Kernel#public_methods. [Bug #6666 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-02 21:12:48 +00:00
svn
7c3d6a8d99
* 2012-07-03
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-02 21:03:22 +00:00
drbrain
802c468fc6
* ext/zlib/zlib.c (zstream_run): Process zlib streams without GVL.
...
[Feature #6615 ]
* NEWS: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-02 21:03:15 +00:00
akr
c03d1c2736
* thread.c (rb_thread_aref): add explanation for why Thread#[] and
...
Thread#[]= are fiber-local and not thread-local.
reported by Julien A. [ruby-core:41606] [ruby-trunk - Bug #5750 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-02 13:15:29 +00:00
akr
83eceb2a79
* time.c (timew_out_of_timet_range): specialization for
...
SIZEOF_TIME_T == SIZEOF_INT64_T.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-02 12:26:50 +00:00
nobu
5f8dfdd9c7
rp_class rb_ancestors
...
* .gdbinit (rp_class): Print the content of a Class/Module.
* .gdbinit (rb_ancestors): Print ancestors.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-02 08:07:01 +00:00
nobu
edb1fc4eb2
prepend: fix mixing with include
...
* class.c (rb_include_module): include modules after the origin.
* class.c (include_modules_at): skip prepended modules.
* class.c (rb_prepend_module): now basic.klass in ICLASS refers the
old original class/module. [ruby-dev:45868][Bug #6662 ]
* class.c (rb_mod_ancestors): ditto.
* vm_method.c (search_method): search method entry from the origin
iclass.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-02 08:06:37 +00:00
tadf
bd52bed97b
* ext/date/date_core.c: [ruby-core:46058].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-01 20:56:50 +00:00
tadf
c8cde4e2be
* ext/date/date_core.c (d_lite_marshal_load): accepts old dump.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-01 20:37:38 +00:00
svn
2d3fd69503
* 2012-07-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-01 18:44:04 +00:00
ayumin
0de52e155a
* README.EXT.ja: fixed args, same as r35977. [Bug #6597 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-01 18:43:59 +00:00
ktsj
fb3c4a2d18
* ext/zlib/zlib.c: cosmetic changes.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-01 13:32:32 +00:00
svn
069fe9c68c
* 2012-07-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-01 05:46:30 +00:00
ktsj
e546302486
* KNOWNBUGS.rb: add tests. [ruby-dev:45656] [Bug #6460 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-01 05:46:27 +00:00