Граф коммитов

24418 Коммитов

Автор SHA1 Сообщение Дата
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
usa f48ef8bb9e * test/io/wait/test_io_wait.rb (TestIOWait#setup): of course, the
behavior of mingw is just same with mswin.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-21 08:02:03 +00:00
naruse 192292af76 Avoid cfp consistency error by LLVM.
volatile is not enough.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-20 12:16:08 +00:00
nobu f957673826 * vm_insnhelper.c (vm_get_cvar_base): reduce duplicated checks and
move a warning outside the loop.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-20 09:09:00 +00:00
naruse 3a902c4dbd Skip patented algorithms: IDEA and RC5 on NetBSD.
On NetBSD, if it uses patented algorithms without explicit option,
openssl will abort.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-20 07:18:37 +00:00
naruse c7b58831a3 Explicitly close the tcp connection.
Without this, the connection will be alive without GC after exit
the block and the test will fail as "TCPServer was closed and SSLServer
is still alive" on 64bit Unix: at least CentOS, Ubuntu, and FreeBSD.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-20 01:23:33 +00:00
svn 35c065ae0e * 2011-09-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-19 18:30:26 +00:00
naruse fbf4c1d277 OepnSSL supports TLS extension from 0.9.8f.
http://www.openssl.org/news/changelog.html
Reported by  Eric Wong. [ruby-core:39617] [Bug #4961]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-19 18:30:23 +00:00
ayumin 6ec841b2df * lib/fileutils.rb (module FileUtils): improve performance of
FileUtils.compare_stream. a patch by Masaki Matsushita.
  [Feature #5337] [ruby-core:39622]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-19 10:34:30 +00:00
kosaki d4db53a0e0 * test/-ext-/old_thread_select/test_old_thread_select.rb:
select() with timeout may return early in old Linux kernels
  with 250 Hz tickrate and no dynticks, so skip everything older
  than 2.6.32 (which has long term support).
  And, Make the timing assertions consistently use assert_operator with
  timing difference in error message
  Patch by Eric Wong. [Bug #5335] [ruby-core:39618]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-19 09:47:27 +00:00
drbrain cb5f093e2a Hide Makefile and extconf.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-19 00:32:11 +00:00
drbrain 7c371d4658 * test/openssl/test_ssl.rb (class OpenSSL): Test
OpenSSL::SSL::SSLSocket#session and #session=.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-19 00:28:41 +00:00
svn 3b17a1d0cf * 2011-09-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-18 22:54:29 +00:00
nobu 125b62e76d * object.c (rb_obj_clone): singleton class should be attached
singleton object to.  a patch by Satoshi Shiba <shiba AT rvm.jp>
  at [ruby-dev:44460].  [Bug #5274]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-18 22:54:25 +00:00
nobu c4d77cb4ad * parse.y (parser_data_type): inherit the core type in ripper so
that checks in core would work.  [ruby-core:39591] [Bug #5331]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-17 14:34:13 +00:00