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
ktsj
86c382a2d8
* KNOWNBUGS.rb: Bug #2330 was fixed in r26718.
...
[ruby-dev:40234] [ruby-core:27959]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-01 05:46:25 +00:00
svn
7060175786
* 2012-06-30
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-30 09:36:41 +00:00
kazu
af2e9982d6
fix a typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-30 09:36:36 +00:00
naruse
22113b1bab
Use Syck module after it is defined.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-29 13:12:36 +00:00
nobu
13bc74fa74
rb_builtin_type_name
...
* error.c (rb_builtin_type_name): extract from rb_check_type() for
debug purpose.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-29 02:26:46 +00:00
svn
468c703d30
* 2012-06-29
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-28 20:11:25 +00:00
naruse
d42df49146
* lib/test/unit/parallel.rb: workaround fix for rubygems.
...
RubyGems can't find rake if the source directory is not equal to
the directory which is running the test. [Bug #6604 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-28 20:11:19 +00:00
luislavena
030111ac9c
* test/win32ole/test_win32ole.rb (test_s_codepage_changed):
...
FileSystemObject only supports ANSI or UTF-16LE encoding.
Patch by bosko (Bosko Ivanisevic) [ruby-trunk - Bug #6650 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-28 12:33:12 +00:00
akr
f559d61607
update doc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-28 10:38:26 +00:00
nagachika
912df4b615
* class.c (class_instance_method_list): consider prepended Class/Module
...
when recur != 0. [ruby-dev:45863] [Bug #6660 ]
* test/ruby/test_module.rb (test_prepend_instance_methods_false): add
a test for it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-28 00:39:52 +00:00
svn
a4932b54b5
* 2012-06-28
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-27 21:12:51 +00:00