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

19269 Коммитов

Автор SHA1 Сообщение Дата
akr 7fbf889605 rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-23 11:41:55 +00:00
akr 6b11ee7288 call unix_server.close only if unix_server is not nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-23 11:41:44 +00:00
svn a3aec76e7c * 2010-02-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-22 16:13:02 +00:00
akr c5f11b6593 fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-22 16:12:58 +00:00
akr 508ca62a6c * ext/digest/sha2/sha2init.c: test OpenSSL more strictly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-22 12:36:11 +00:00
akr 29860b0bbb don't use infinite loop.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-22 12:34:54 +00:00
nobu b551e8c8b3 * lib/rubygems: update to 1.3.6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-22 02:52:35 +00:00
nobu 65544f575b * doc/rubygems/ChangeLog: deleted garbage lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-22 02:42:11 +00:00
nobu e6dde8be4d * ext/digest/sha2: Use OpenSSL's SHA1 engine if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-22 02:21:22 +00:00
svn 034acb5806 * 2010-02-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-21 17:17:44 +00:00
akr 9d8bf3b9ee add timeout for test_should_propagate_signaled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-21 17:17:41 +00:00
nobu 3ef72aebef * lib/mkmf.rb (create_makefile, install_files): honor srcprefix
argument if given.  [ruby-dev:40449]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-21 12:20:21 +00:00
nobu 33dd3c94bd * lib/rubygems/rubygems_version.rb: outdated. [ruby-core:28275]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-21 04:30:02 +00:00
azav 2a3c459d5b * symbian/setup (config.h): HAVE_STRUCT_TIMEZONE, VOID_UNSETENV, and RUBY_LIB_VERSION_STYLE defined.
* symbian/setup (ruby.mmp): SOURCE node.c added.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-20 21:28:49 +00:00
azav b3611d2b5b * symbian/setup (config.h): HAVE_STRUCT_TIMEZONE, VOID_UNSETENV, and RUBY_LIB_VERSION_STYLE defined.
* symbian/setup (ruby.mmp): SOURCE node.c added.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-20 21:27:41 +00:00
svn 0c2588596e * 2010-02-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-20 16:27:02 +00:00
matz 1b99a27b11 * vm.c (vm_backtrace_each): use called_id when method definition
structure is already freed.  [ruby-dev:40234] [ruby-core:27959]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-20 16:26:58 +00:00
svn 69286031af * 2010-02-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-20 03:17:48 +00:00
akr 960beaac86 indented.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-20 03:17:44 +00:00
akr 54a61d3e2a rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-19 12:52:03 +00:00
nobu a39e9e0745 * Makefile.in (config.status): ommit cached results.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-19 07:43:35 +00:00
naruse 6b9c2e9d77 Use only object_id to test living threads.
Previous test depends on timing like:

  <"[#<Thread:0x000008013413a0 run>, #<Thread:0x00000801341418 run>,
    #<Thread:0x00000801364940 run>]"> expected but was
  <"[#<Thread:0x000008013413a0 run>, #<Thread:0x00000801341418 sleep>,
    #<Thread:0x00000801364940 run>]">.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-19 07:01:11 +00:00
svn c840e4578f * 2010-02-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-18 15:06:10 +00:00
mame 5a55683bc6 * lib/drb/drb.rb (DRbServer#stop_service): join killed thread to
ensure service stops.  [ruby-dev:40441]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-18 15:06:06 +00:00
mame 54380d99f8 * math.c (math_atanh): raise ERANGE without calling atanh if absolute
value is 1 to achieve platform-independent math.  [ruby-core:28219]

* math.c (math_lgamma): return [Infinity, 1] without calling lgamma_r
  if argument is infinity or -infinity.  [ruby-core:28219]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-18 13:39:11 +00:00
muraken a8fcae0858 * confiure.in: new --with-ext and --with-out-ext options for extmk.
* tool/mkconfig.rb: normalizing --with-out-ext to --without-ext.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-18 13:33:25 +00:00
akr e8665a6bc2 * pack.c (pack_unpack): call PACK_ITEM_ADJUST for 'Q'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-18 12:53:31 +00:00
mame 713e99cec2 * io.c (io_fread, io_getpartial, io_read, io_sysread): by using lock,
prohibit modification of buffer string during read (which had caused
  EFAULT or SEGV).  [ruby-dev:40437]

* test/ruby/test_io.rb: rewrite tests for the old behavior.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-17 17:19:53 +00:00
svn f3d952335d * 2010-02-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-17 16:27:06 +00:00
akr 6dda216da1 add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-17 16:27:02 +00:00
mame 457c2c4a55 * regcomp.c (setup_tree, onig_compile): optimize .* at last by
converting into (?>.*), which does not backtrack.  [ruby-core:27791]

* test/ruby/test_regexp.rb: add a test for above.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-17 12:36:41 +00:00
akr 24421c835d * bootstraptest/runner.rb (assert_normal_exit): add :timeout option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-17 12:27:34 +00:00
nobu 50c8982ea8 * vm_insnhelper.c (vm_call_cfunc): removed unused variable.
* vm.c (vm_frametype_name): define only when VMDEBUG.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-17 08:05:42 +00:00
nobu 711ed72b79 * ext/dl/dl_conversions.c (rb_dl_type_to_ffi_type): support signed
long long.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-17 06:34:48 +00:00
nobu f953483787 * ext/dl/cfunc.c (rb_dlcfunc_inspect): get rid of overflow.
* ext/dl/closure.c (dlc_callback, rb_dlclosure_init): ditto.

* ext/dl/cptr.c (rb_dlptr_s_malloc): ditto.

* ext/dl/method.c (rb_dlfunction_initialize): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-17 05:26:33 +00:00
nobu 074836aaca * common.mk: ext/dl/callback no longer exists.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-17 05:21:10 +00:00
nobu 6840870291 * ext/dl/depend: updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-17 05:18:39 +00:00
naruse 676cf9b527 * test/dl/test_method.rb: sinf(3) is in libm.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-17 00:19:29 +00:00
akr d1925e649f use assert_finish because the test hangs on FreeBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-16 16:45:22 +00:00
svn 17ecdd2ff8 * 2010-02-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-16 16:20:21 +00:00
mame 79afabe0c5 * hash.c (hash_update): always raise an exception when adding a new
key during iteration.  Traditionally, an exception was raised only
  when rehash occurs, but it may lead to difficult bug to reproduce.
  [ruby-core:23614]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-16 16:20:18 +00:00
akr 4651910af1 add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-16 13:25:54 +00:00
mame a9f6a95530 * gc.c (chain_finalized_object): fix precedence.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-16 13:10:39 +00:00
mame 2236f6a682 * gc.c (rb_objspace_call_finalizer): always run finalizer at exit,
before object is free'd.  [ruby-dev:40382]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-16 12:34:09 +00:00
akr 792b3efa62 * file.c (rb_group_member): renamed from group_member.
don't use group_member() in glibc because it's not valgrind clean.
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570047


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-16 12:00:24 +00:00
nobu 4d71618c38 * ext/dl/cfunc.c (rb_dlcfunc_call): convert signed value to
unsigned.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-16 10:19:24 +00:00
nobu da2497745e * test/dl/test_{base,handle}.rb: use more verbose assertions.
* test/dl/test_import.rb (DL::LIBC::BoundQsortCallback): renamed
  to get rid of overwriting warning.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-16 10:03:02 +00:00
nobu 53dddcf88e * ChangeLog: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-16 09:54:10 +00:00
tenderlove 8f8947a260 * ext/dl/method.c: Adding DL::Method as a superclass for DL::Function
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-16 02:05:46 +00:00
svn 1e7d74f39e * 2010-02-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-15 23:52:11 +00:00