naruse
7fe9a24a0d
Fix wrong expectaion of r33363.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-30 00:18:18 +00:00
nobu
813f358569
* array.c (ary_join_1): should not copy the encoding of non-string
...
element after string element. [ruby-core:39776] [Bug #5379 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-29 18:18:03 +00:00
svn
8ce9cb8f31
* 2011-09-30
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-29 16:54:19 +00:00
nobu
a73b88ae43
* gc.c (slot_sweep, rb_gc_finalize_deferred)
...
(rb_objspace_call_finalizer, rb_gc): run finalizers
sequencially. [ruby-dev:44562]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-29 16:54:14 +00:00
nobu
ce515f5c8f
* ext/gdbm/gdbm.c (rb_gdbm_fatal): adjust argument type.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-29 11:37:47 +00:00
nobu
71d1102525
* gc.c (is_id_value, is_live_object): extract from id2ref().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-29 11:10:46 +00:00
nobu
b2658a7604
* gc.c (run_finalizer): use object instead of object id.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-29 11:09:48 +00:00
nobu
8e6e8e6288
* use RB_TYPE_P which is optimized for constant types, instead of
...
comparison with TYPE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-29 11:07:45 +00:00
svn
68f97d7851
* 2011-09-29
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-29 11:06:47 +00:00
nobu
4737e1d8c9
* vm_eval.c (rb_eval_cmd): fix indent.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-29 11:06:42 +00:00
ayumin
839b4b5125
Fix typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-28 10:17:26 +00:00
nobu
63633f8f61
fix commit miss.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-28 00:21:15 +00:00
nobu
682177e169
* configure.in (pthread_np.h): needs pthread.h to be included
...
previously on OpenBSD. a patch by George Koehler <xkernigh AT
netscape.net> at [ruby-core:39752]. [Bug #5376 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-28 00:14:19 +00:00
ayumin
2865b450e0
* test/psych/test_yamlstore.rb: use tmpdir for tmpfile.
...
* test/syck/test_yamlstore.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-27 19:44:02 +00:00
ayumin
fcb2bb8bd6
* ext/bigdecimal/README: update report to.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-27 19:15:51 +00:00
svn
19099f372c
* 2011-09-28
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-27 19:06:56 +00:00
mrkn
0e18153140
* ext/bigdecimal/bigdecimal_en.html: removed because this file isn't
...
maintained now.
* ext/bigdecimal/bigdecimal_ja.html: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-27 19:06:52 +00:00
kosaki
1bdf1a5c6f
* thread_pthread.c: make native_fd_select().
...
* thread.c (do_select): remove #ifdef _WIN32. Instead, use
native_fd_select() always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-27 00:59:04 +00:00
kosaki
2cc5eeaf6c
* thread.c (do_select): remove cygwin specific hack. It's layer
...
violation and too large hack.
* thread.c (cmp_tv, subtract_tv): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-27 00:50:29 +00:00
ayumin
38fe7da841
Oops! fix psych -> syck
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-26 19:01:48 +00:00
ayumin
379d519f0b
* test/rexml/test_sax.rb: add require 'rexml/document.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-26 18:52:10 +00:00
ayumin
81ed2fda7b
Fix typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-26 18:52:08 +00:00
svn
23b4b59a4e
* 2011-09-27
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-26 18:37:32 +00:00
ayumin
375d9f9112
* test/psych/test_yamldbm.rb (require): fix #setup and #terdown.
...
[Bug #5370 ] [ruby-core:39730]
* test/syck/test_yamldbm.rb (require): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-26 18:37:26 +00:00
naruse
7b6677f1e6
* lib/webrick/httputils.rb: Add MIME Type definition of .js and .svg.
...
patched by Hal Brodigan. [ruby-core:39704] [Bug #5365 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-26 02:28:54 +00:00
kosaki
36a1e76053
* configure.in: remove DJGPP support. It's not longer supported
...
since ruby 1.9.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-26 00:21:54 +00:00
kosaki
20ae79b0c2
* include/ruby/defines.h: remove NextStep, OpenStep, Rhapsody
...
support. Last activity of their OSs are 7 years ago.
* configure.in: ditto.
* dir.c: ditto.
* ext/tk/extconf.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-26 00:19:03 +00:00
kosaki
6823334c21
* configure.in: remove a code for human68k. it's no longer
...
supported since r19677.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-26 00:05:45 +00:00
svn
69bebb0531
* 2011-09-26
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-25 15:10:23 +00:00
kazu
9643aa94c2
fix typos
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-25 15:10:18 +00:00
emboss
8b7e10879e
* ext/openssl/ossl_asn1.c: fix int_ossl_asn1_decode0_cons when being
...
fed arbitrary string values.
Clearly distinguish between the cases "universal, infinite and
not a SEQUENCE or SET" and "universal SEQUENCE or SET, possibly
infinite". Raise error for universal tags that are not infinite.
* test/openssl/test_asn1.rb: add a test for this.
Thanks to Hiroshi Yoshida for reporting this bug.
[Bug #5363 ] [ruby-dev:44542]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-25 14:51:20 +00:00
nobu
b4bc086a1f
* README.ja, README.EXT.ja: remove garbage spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-25 13:40:25 +00:00
nobu
d7000de991
* property.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-25 13:20:34 +00:00
ayumin
3255adcd0c
* test/syck/test/yamldbm.rb: add test for Syck::DBM.
...
* test/psych/test_yamldbm.rb: add test for Psych::DBM.
* test/psych/test_yamlstore.rb: add test for Psych::PStore.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-25 12:05:06 +00:00
ayumin
73bd9e566b
* lib/yaml/dbm/dbm.rb: fix #update, add #key for using istead #index.
...
[Bug #5305 ][ruby-dev:44485]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-25 12:05:02 +00:00
nobu
fecda0d9f7
* encoding.c (require_enc): reject only loading from untrusted
...
load paths. [ruby-dev:44541] [Bug #5279 ]
* transcode.c (load_transcoder_entry): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-25 07:54:35 +00:00
nobu
256f355af5
* configure.in: ignore all warnings from an arbitrary
...
header in /usr/local/include.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-25 07:45:08 +00:00
nobu
62dfc45bb2
suppress warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-25 07:42:38 +00:00
svn
9e3a3be870
* 2011-09-25
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-24 18:43:36 +00:00
naruse
73220a234e
* enum.c (slice_before_i): use rb_attr_get to surpress wrong warning
...
for internal instance variable slicebefore_initial_state.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-24 18:43:32 +00:00
svn
48ddab1e7d
* 2011-09-24
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-24 05:20:32 +00:00
kazu
76822e8739
fix typos
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-24 05:20:28 +00:00
emboss
3a16362371
* ext/openssl/ossl_asn1.c: remove unused variable.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-23 05:21:54 +00:00
emboss
e2694c597d
* test/openssl/test_ssl_session.rb: execute test_session_exts_read
...
only for OpenSSL versions >= 0.9.8k. Thanks, Eric Wong, for
reporting this.
[Bug #4961 ] [ruby-core:37726]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-23 04:51:19 +00:00
svn
4c3f08caea
* 2011-09-23
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-23 03:14:30 +00:00
emboss
e3af0655e2
* test/openssl/test_ssl_session.rb: ensure server calls callbacks in
...
test_ctx_server_session_cb. Thanks to Eric Wong for the patch.
[Bug #5336 ] [ruby-core:39619]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-23 03:14:24 +00:00
nobu
64b7b548e0
* vm_insnhelper.c (vm_call_cfunc): suppress a warning. note that
...
`volatile type *var' doesn't make var itself volatile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-21 17:53:23 +00:00
svn
7f4c92c478
* 2011-09-22
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-21 17:02:32 +00:00
nagachika
f80896c219
* thread_pthread.c (ubf_select): activate timer thread when interrupt
...
blocking thread.
A patch created by Koichi Sasada. [ruby-core:39634] [Bug #5343 ]
to cover race condition, timer thread periodically send SIGVTARLM to
threads in signal thread list. so you should activate timer thread
when interrupt a thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-21 17:02:21 +00:00
svn
bf8826c510
* 2011-09-21
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-21 08:02:07 +00:00