aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lib/rdoc: Import RDoc 3.9.2. Fixes TIDYLINK for HTML output.drbrain2011-08-114-2/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (autoload_delete): An autoload entry is still in a nahi2011-08-112-3/+9
| | | | | | | | | | RCLASS_IV_TBL, not in a RCLASS_CONST_TBL, so take back the table changed in r29600. And an autoload entry keeps not a rb_const_entry_t but a NODE so remove rb_const_entry_t thing added in r29602. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typoskazu2011-08-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-08-11svn2011-08-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (link_command): use LIBRUBYARG in rbconfig fornobu2011-08-112-2/+12
| | | | | | | | unbundled extensions. [ruby-core:38802] [Bug #5147] * lib/mkmf.rb (init_mkmf): revert r32902. [ruby-core:38903] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/lib/socket.rb: fix argument check in the previous commit.akr2011-08-102-3/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML ref. [ruby-core:38538]akr2011-08-101-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/lib/socket.rb (Socket.tcp): add :connect_timeout option.akr2011-08-102-12/+90
| | | | | | | | | (Addrinfo#connect_from): add :timeout option. (Addrinfo#connect): ditto. (Addrinfo#connect_to): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb: fix typo in document.akr2011-08-104-4/+12
| | | | | | | | | | * lib/net/http.rb: ditto. * lib/net/imap.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (nucomp_rationalize): calls rationalize of real part ifmrkn2011-08-103-4/+30
| | | | | | | | | | | imaginary part is exactly zero. The patch is made by Marc-Andre Lafortune. fixes [Bug #5178] [ruby-core:38885] * test/ruby/test_complex.rb (test_rationalize): add a test for the above change. * complex.c (nucomp_to_r): fix RDoc comment. The patch is made by Marc-Andre Lafortune. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (init_mkmf): set $LIBRUBYARG regardless of sharednobu2011-08-102-4/+6
| | | | | | | option. [ruby-core:38802] [Bug #5147] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-08-10svn2011-08-091-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: come back autoload. OpenSSL constant is usednaruse2011-08-092-6/+7
| | | | | | some places, so it leads mistakes like HTTP.start. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_parse.c (date_zone_to_diff): add RB_GC_GUARD.nagachika2011-08-092-0/+11
| | | | | | | | [ruby-dev:44337] [Bug #5152] * ext/date/data_parse.c (parse_ddd_cb): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/fiddle/conversions.c (generic_to_value): ffi_arg and ffi_sargngoto2011-08-094-5/+28
| | | | | | | | | | | | should be used to handle shorter return value. fix [Bug #3861] [ruby-core:32504] * ext/fiddle/closure.c (callback): ditto * ext/fiddle/conversions.h (fiddle_generic): ditto * ext/fiddle/conversions.c (value_to_generic): char, short and int are strictly distinguished on big-endian CPU, e.g. sparc64. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_lazy_sweep): if sweep target slots are not found, wenari2011-08-092-0/+16
| | | | | | | | | | try heap_increment() because it might be able to expand the heap. [Bug #5127] [ruby-dev:44285] * gc.c (gc_clear_mark_on_sweep_slots): if a sweeping was interrupted, we expand the heap if at all possible. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: mention [ruby-core:38853] [Bug #5168] for r32892ngoto2011-08-091-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/fiddle/helper.rb (libc_so, libm_so): Solaris support added.ngoto2011-08-093-2/+21
| | | | | | | | * test/dl/test_base.rb (libc_so, libm_so): on Solaris, remove libc and libm version numbers for detecting default libc and libm. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-08-09svn2011-08-091-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (gzfile_wrap): Document encoding options.drbrain2011-08-092-14/+33
| | | | | | | | * ext/zlib/zlib.c (rb_gzwriter_s_open): ditto * ext/zlib/zlib.c (rb_gzreader_s_open): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (rb_strftime_alloc): raise ERANGE if width is too large.kosaki2011-08-073-1/+16
| | | | | | | | | | | Patch by Nobuyoshi Nakada. [Bug #4457] [ruby-dev:43285] * test/ruby/test_time.rb (class TestTime): add a test for the above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_asn1.c (decode_eoc): remove unused variables.kosaki2011-08-073-3/+8
| | | | | | | | | | Patch by Eric Wong. [Feature #5157] [ruby-core:38798] * ext/openssl/ossl_asn1.c (ossl_asn1_decode): ditto. * ext/openssl/ossl_pkey.c (ossl_pkey_new_from_data): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add -Wunused-variable to default CFLAGS.kosaki2011-08-072-0/+6
| | | | | | | | Patch by Eric Wong. [Feature #5157] [ruby-core:38798] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/sha2/sha2ossl.c: use original SHA384_Final on DragonFly.naruse2011-08-072-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/objspace/objspace.c: fix typos in a document.ktsj2011-08-072-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (HAVE_GETCONTEXT): see getcontext(3) because DragonFly BSDnaruse2011-08-062-1/+6
| | | | | | x64 port doesn't have it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-08-07svn2011-08-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/wm.rb (Tk::Wm.command): Add the missing receivernaruse2011-08-062-3/+9
| | | | | | | before calling epath. patched by flori https://github.com/flori/ruby/commit/aa9474d32e5f2c57f8b0e2e0c528a03f06a4d433 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-08-06svn2011-08-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object): Fix exception message when _dump_data is notdrbrain2011-08-052-1/+6
| | | | | | | defined on a T_DATA object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (rb_infinity, rb_nan): use WORDS_BIGENDIAN to get endian.ngoto2011-08-052-2/+7
| | | | | | | fix [Bug #5160] [ruby-dev:44356] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/win32.h (frexp, modf): original macros.nobu2011-08-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* more clarified the license.usa2011-08-051-219/+229
| | | | | | | updated version of r32830, but not included include/ruby/win32.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix a possible merge error.knu2011-08-051-4/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_syslog.rb (TestSyslog#test_log): Do not be tooknu2011-08-052-2/+23
| | | | | | | | specific about the log line format. Fixes #5081. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (f_signbit): fix compile error in gcc4 on Solaris withngoto2011-08-053-4/+13
| | | | | | | | | CFLAGS="-std=gnu99". [ruby-dev:44355] fix [Bug #5159] * math.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_object.rb: tests that respond_to? returns false.nobu2011-08-053-2/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xmlrpc/client.rb, lib/xmlrpc/server.rb: should useshugo2011-08-054-12/+22
| | | | | | String#bytesize instead of String#size. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (check_funcall): try respond_to? first if redefined.nobu2011-08-054-5/+44
| | | | | | [Bug #5158] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c: fix typo.mrkn2011-08-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems: Import RubyGems 1.8.7:drbrain2011-08-0513-14/+143
| | | | | | | | | | | | | | | | | | | | | | | Added missing require for `gem uninstall --format-executable`. The correct name of the executable being uninstalled is now displayed with --format-executable. Fixed `gem unpack uninstalled_gem` default version picker. RubyGems no longer claims a nonexistent gem can be uninstalled. `gem which` no longer claims directories are requirable files. `gem cleanup` continues cleaning up gems if one can't be uninstalled due to permissions. Issue #82. Gem repository directories are no longer created world-writable. Patch by Sakuro OZAWA. [Ruby 1.9 - Bug #4930] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/io/console/test_io_console.rb: for Fedora Rawhide, not OpenBSD.nobu2011-08-051-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/io/console/test_io_console.rb (test_noctty): daemon() onnobu2011-08-042-8/+21
| | | | | | | | OpenBSD seems not to detach the controlling terminal, when the argument noclose is non-zero. ref: [Bug #5135] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-08-05svn2011-08-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (native_cond_signal): retry to call pthread_cond_signalmrkn2011-08-042-7/+40
| | | | | | | | | | | | | | and pthread_cond_broadcast if they return EAGAIN in native_cond_signal and native_cond_broadcast, respectively. It is for the pthread implementation of Mac OS X 10.7 (Lion). fixes #5155. [ruby-dev:44342]. * thread_pthread.c (native_cond_broadcast): ditto. * thread_pthread.c (struct cached_thread_entry): stop using pthread_cond_t and its functions directly. * thread_pthread.c (register_cached_thread_and_wait): ditto. * thread_pthread.c (use_cached_thread): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: when Solaris cc, use $(CC) to link shared libs.ngoto2011-08-042-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (report_bug): use a small message buffer instead of BUFSIZ.kosaki2011-08-042-2/+11
| | | | | | | | | | | It is needed for avoiding nested SIGSEGV on Linux. Note: BUFSIZ is not proper buffer size. It's unrelated with maximum filename length. :-/ [Bug #5139] [ruby-dev:44315] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/psych.gemspec (files): remove extra commas.nobu2011-08-041-83/+83
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (gem): install all gemspecs under lib and ext.nobu2011-08-043-10/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (Gem::Specification): may not be defined whennobu2011-08-042-0/+26
| | | | | | cross-compiling and BASERUBY is 1.8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e