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

20267 Коммитов

Автор SHA1 Сообщение Дата
eban 6e10636d32 * ext/fiddle/extconf.rb: De Morgan's laws.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-15 08:16:33 +00:00
naruse 77f0c30612 Refix test_regexp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-15 04:48:42 +00:00
eban 423b4d815f * ext/fiddle/extconf.rb: use pkg_config to find ffi.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-15 03:14:34 +00:00
naruse 895b0d4cdb Refix for test_dup_warn.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-15 01:50:48 +00:00
nobu a1a529e603 * Makefile.in (clean-enc): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-15 00:09:26 +00:00
nobu 1d408c933a * Makefile.in, common.mk (clean-ext, clean-enc): clean up cleaning
targets.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-14 17:32:03 +00:00
akr 3a4231cdf4 * test/socket/test_socket.rb (test_udp_server): rescue Errno::ENOSYS
for Windows.

* test/socket/test_nonblock.rb (test_sendmsg_nonblock_error): ditto.

  [ruby-dev:41597] reported by Masaya Tarui.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-14 13:46:06 +00:00
seki 0556fa02de fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-14 09:36:44 +00:00
seki b54b86d898 raise DRbConnError instead of ArgumentError if too many arguments.
[ruby-dev:41481]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-14 08:52:30 +00:00
naruse 7eec027f06 * ext/fiddle/closure.c (dealloc): refix workaround r28300.
don't use ffi_closure_alloc, ffi_prep_closure_loc and
  ffi_closure_free on MACOSX and __linux__.
  [ruby-dev:41483] [ruby-dev:41214]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-13 19:06:25 +00:00
svn 065b574bdd * 2010-06-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-13 18:53:34 +00:00
naruse ca2402f5e4 retry to fix test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-13 18:53:27 +00:00
mame d1dd727533 * test/ruby/test_rubyoptions.rb: add a simple test for __END__ and
DATA.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-13 06:47:44 +00:00
naruse 58f779170d try to fix test for boron.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-13 05:01:04 +00:00
marcandre 0486db01fd * lib/delegate.rb: Delegate !=, eql? and hash [ruby-core:26139]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-12 19:25:03 +00:00
naruse 78f5b54f1b * enc/trans/utf8_mac.trans (buf_apply): fix for patterns
whose result is 2 bytes. [ruby-core:30751]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-12 17:13:54 +00:00
naruse 051af24359 * time.c (rb_localtime_r2): fix mixed declarations and code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-12 16:40:25 +00:00
naruse 75033ea16f * ext/dl/lib/dl.rb: don't require when already loaded.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-12 15:28:47 +00:00
svn 2be632476e * 2010-06-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-12 15:28:44 +00:00
naruse 5422161026 * ext/fiddle/closure.c (dealloc): workaround fix for libffi's
ffi_closure_free. [ruby-dev:41483] [ruby-dev:41214]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-12 15:28:40 +00:00
nobu d65d2384a6 * test/ruby/test_module.rb (test_attr_inherited_visibility): see [ruby-core:30638].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-12 07:56:23 +00:00
nobu 99058e83be * test/ruby/test_module.rb (test_uninitialized_toplevel_constant): test for [ruby-dev:40951].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-12 04:06:34 +00:00
nobu c0ea75f966 * test/ruby/test_method.rb (test_public_methods_with_extended): test for [ruby-dev:41553].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-12 02:58:47 +00:00
matz 622fb1ca50 * io.c (rb_f_syscall): should check argument string taint before
invoking system calls.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-12 01:05:20 +00:00
matz ff0252701e * variable.c (uninitialized_constant): process through
rb_class_real() to remove "Object::" from error message.
  [ruby-dev:40951]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-12 00:20:27 +00:00
nobu fbfd5fdcb0 * ext/openssl/extconf.rb: __VA_ARGS__ is already checked in configure.
* ext/openssl/extconf.rb: use try_static_assert for version check.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-11 23:03:28 +00:00
tarui e1a52d82b0 * test/open-uri/test_open-uri.rb (test_progress, test_progress_chunked):
fix typo.
	


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-11 21:47:41 +00:00
tarui c4f3a04cc1 * test/open-uri/test_open-uri.rb (test_progress, test_progress_chunked):
'size' is a accumulated transferred size in bytes.
	


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-11 21:34:44 +00:00
akr 2acc30eead add sleep.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-11 16:14:15 +00:00
mame 5e48356627 * ChangeLog: add an acknowledge.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-11 15:47:59 +00:00
svn ae18daf62c * 2010-06-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-11 15:40:43 +00:00
mame 8af5f01a17 * ext/dbm/extconf.rb: accept Berkley DB version 3, 4 and 5.
[ruby-dev:41531]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-11 15:40:39 +00:00
akr 8c7786bf58 * time.c (init_leap_second_info): check the result of
gmtime_with_leapsecond.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-11 14:26:57 +00:00
naruse 78e3dfd95b * ext/openssl/ossl_ssl.c (ossl_sslctx_get_ciphers):
use sk_SSL_CIPHER_num and sk_SSL_CIPHER_value instead of cast.
  patched by Takahiro Kambe [ruby-dev:41530]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-11 14:06:23 +00:00
akr b04fa7b8e1 * include/ruby/missing.h (isnan): fix compilation error on OpenBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-11 14:00:35 +00:00
mame 48c5afeba0 * lib/rubygems/install_update_options.rb
(Gem::InstallUpdateOptions#add_install_update_options): deprecate
  --test option which has not worked.  [ruby-core:21714]

* test/rubygems/test_gem_command_manager.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-11 13:42:54 +00:00
akr 22ce9f81c3 * time.c (find_time_t): test the result of LOCALTIME.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10 22:37:40 +00:00
akr cb962c5ae5 * time.c (rb_localtime_r2): fix localtime overflow check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10 15:45:34 +00:00
akr 42eca4f46e more tests
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10 15:27:07 +00:00
svn 5f8eeea366 * 2010-06-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10 15:15:49 +00:00
akr 670b62a61c make it runnable by ruby 1.8.6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10 15:15:47 +00:00
akr 9c2a968855 split tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10 14:54:50 +00:00
akr 094ca0281e * time.c (rb_localtime_r2): refine localtime overflow check for
FreeBSD 6.4.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10 14:10:25 +00:00
akr ebda24ccd8 add comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10 12:34:40 +00:00
akr b06885ff4f more tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10 12:33:03 +00:00
naruse c659f40446 Revert r28200.
It caused many failures on test-all and following is SEGV.
./ruby -e 'require %!#{"foo/" * 10000}foo!'

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10 04:31:08 +00:00
matz 020bd635ac * io.c (rb_io_putc): documentation updated to mention putc would
not work well with multi-byte characters.  [ruby-core:30697]

* io.c (rb_f_putc): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10 00:11:26 +00:00
svn 55fb81e75f * 2010-06-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-09 21:51:24 +00:00
akr 77f690583b new test file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-09 21:51:21 +00:00
akr 82e646ea7a * time.c (find_time_t): always outerpolate from past.
[ruby-core:30672] reported by Benoit Daloze.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-09 13:54:03 +00:00