Commit graph

24190 commits

Author SHA1 Message Date
nahi
892e911152 * backport r32931 from trunk.
* variable.c (autoload_delete): An autoload entry is still in a
  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/branches/ruby_1_9_3@32932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-11 10:06:25 +00:00
svn
b3e11a33db * 2011-08-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-11 06:07:43 +00:00
nobu
efb3237592 * lib/mkmf.rb (link_command): use LIBRUBYARG in rbconfig for
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/branches/ruby_1_9_3@32927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-11 06:07:37 +00:00
mrkn
d72d87cd2d Merge the commit r32903:
* complex.c (nucomp_rationalize): calls rationalize of real part if
      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/branches/ruby_1_9_3@32904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-10 10:40:21 +00:00
nobu
6a1bb3514f * lib/mkmf.rb (init_mkmf): set $LIBRUBYARG regardless of shared
option.  [ruby-core:38802] [Bug #5147]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-10 05:11:10 +00:00
naruse
b2cc46df61 merge revision(s) 32899:
* lib/net/http.rb: come back autoload. OpenSSL constant is used
	  some places, so it leads mistakes like HTTP.start.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-09 17:57:17 +00:00
svn
eef1a7c6c1 * 2011-08-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-09 15:10:30 +00:00
nagachika
5da4785a2f merge revision(s) 32859:
* ext/date/date_parse.c (date_zone_to_diff): add RB_GC_GUARD.
         [ruby-dev:44337] [Bug #5152]

       * ext/date/data_parse.c (parse_ddd_cb): ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-09 15:10:25 +00:00
ngoto
633631fbb9 * ChangeLog: mention [ruby-core:38853] [Bug #5168] for r32892
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-09 03:56:14 +00:00
ngoto
e2ff2dfec5 * test/fiddle/helper.rb (libc_so, libm_so): Solaris support added.
* 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/branches/ruby_1_9_3@32892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-09 03:36:18 +00:00
svn
6f72a82089 * 2011-08-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-09 01:51:10 +00:00
shyouhei
8a8b1f2a55 * array.c: Fix typo. https://github.com/ruby/ruby/pull/36
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-09 01:51:07 +00:00
kosaki
cf4207a7ad merge revision(s) 32859:
* test/test_syslog.rb (TestSyslog#test_log): Do not be too
	  specific about the log line format.  Fixes #5081.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-07 15:11:03 +00:00
kosaki
4a5a6f4a2c merge revision(s) 32885:
* time.c (rb_strftime_alloc): raise ERANGE if width is too large.
	  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/branches/ruby_1_9_3@32886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-07 14:40:07 +00:00
ktsj
86411a0a76 * backport r32876 from trunk.
* ext/objspace/objspace.c: fix typos in a document.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-07 05:18:22 +00:00
svn
d5c84194a9 * 2011-08-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-06 19:51:38 +00:00
drbrain
5de99efaaf * marshal.c (w_object): Fix exception message when _dump_data is not
defined on a T_DATA object.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-06 19:51:07 +00:00
drbrain
ed93a37bd5 * lib/rdoc: Update to 3.9.1. Fixes === lines in verbatim sections.
Fixes :nodoc: on class aliases.  Fixes :stopdoc: creating references
	  to Object.  Fixes spacing when class comments are merged in ri.
	  Fixes `ri []` crash.  Fixes bug report URL when rdoc crashes.  Adds
	  :doc: and :nodoc: to allow hiding of implementation details in ruby.
	  Makes `rdoc` and `ri` gem-aware.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-05 21:21:55 +00:00
drbrain
cd3477004e Remove orphaned date in ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-05 20:29:02 +00:00
svn
3735b764fc * 2011-08-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-05 20:19:10 +00:00
drbrain
e8ad0a3e1e * lib/rdoc: Update to 3.9.1. Fixes === lines in verbatim sections.
Fixes :nodoc: on class aliases.  Fixes :stopdoc: creating references
	  to Object.  Fixes spacing when class comments are merged in ri.
	  Fixes `ri []` crash.  Fixes bug report URL when rdoc crashes.  Adds
	  :doc: and :nodoc: to allow hiding of implementation details in ruby.
	  Makes `rdoc` and `ri` gem-aware.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-05 20:18:14 +00:00
ngoto
1b0ff275e0 * backport r32845 from trunk.
* configure.in: when Solaris cc, use $(CC) to link shared libs.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-05 14:10:13 +00:00
ngoto
2bd1e021ce * numeric.c (rb_infinity, rb_nan): use WORDS_BIGENDIAN to get endian.
fix [Bug #5160] [ruby-dev:44356]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-05 13:28:50 +00:00
ngoto
1a4d9503c0 * complex.c (f_signbit): fix compile error in gcc4 on Solaris with
CFLAGS="-std=gnu99".  [ruby-dev:44355] fix [Bug #5159]

* math.c: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-05 07:03:21 +00:00
mrkn
c649882d3e Merge commit r32846:
* thread_pthread.c (native_cond_signal): retry to call pthread_cond_signal
      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/branches/ruby_1_9_3@32853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-05 01:10:02 +00:00
nobu
b572d9074f * test/io/console/test_io_console.rb: for Fedora Rawhide, not OpenBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-05 00:48:17 +00:00
luislavena
3ddef8e50c Backported r32804 from trunk
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-04 22:39:35 +00:00
svn
69dac45244 * 2011-08-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-04 22:00:53 +00:00
nobu
f28755df62 * test/io/console/test_io_console.rb (test_noctty): daemon() on
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/branches/ruby_1_9_3@32848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-04 22:00:36 +00:00
mrkn
ddcb133aa2 * configure.in: use build_os variable for checking C and C++ compilers
matching.
* configure.in: use clang++ if clang is used.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-03 17:39:55 +00:00
svn
36be8938f4 * 2011-08-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-03 17:21:20 +00:00
nobu
32f8e989b3 * lib/mkmf.rb (link_command): use static library only for bundled
extensions.  [Bug #5147]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-03 17:21:12 +00:00
svn
6f75fbcef2 * 2011-08-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-02 15:26:07 +00:00
akr
5bd45265c5 * lib/prettyprint.rb: update document. [ruby-core:36776]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-02 15:25:59 +00:00
sorah
2fb749fed6 * test/testunit/test_parallel.rb: pass "--ruby" option to
test/testunit/tests_for_parallel/runner.rb. [Bug #5132] [ruby-dev:44303]
  Backported from trunk r32812.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-02 11:26:21 +00:00
nobu
0d6ef94111 * hash.c (recursive_hash): hash value of emptied hash should be
equal to an empty hash.  [ruby-core:38650]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-02 03:03:18 +00:00
nobu
ceb5e60c81 * parse.y (rb_enc_symname2_p): :! is valid symbol. [Bug #5136]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-02 02:42:17 +00:00
naruse
a781b40242 Revert r32803.
Do you know "code freeze"?
Anyway this breaks make rdoc.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-02 02:39:36 +00:00
nobu
c2dbf58575 * property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-02 02:15:55 +00:00
drbrain
8e627bc1f7 * lib/rdoc: Update to 3.9.1. Fixes === lines in verbatim sections.
Fixes :nodoc: on class aliases.  Fixes :stopdoc: creating references
	  to Object.  Fixes spacing when class comments are merged in ri.
	  Fixes `ri []` crash.  Fixes bug report URL when rdoc crashes.  Adds
	  :doc: and :nodoc: to allow hiding of implementation details in ruby.
	  Makes `rdoc` and `ri` gem-aware.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-01 18:57:36 +00:00
svn
e2c24e1616 * 2011-08-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-01 18:27:48 +00:00
usa
c2c6dc8dfe * test/rake/test_rake_directory_task.rb (TestRakeDirectoryTask#
test_directory_win32): fixed wrong test.
  backported r32670 from trunk.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-01 18:27:45 +00:00
drbrain
0da1977147 * test/rake/test_rake_functional.rb: Don't assume the binary name of
ruby is "ruby".  [Ruby 1.9 - Bug #5114]
	* test/rake/helper.rb:  ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-01 06:47:00 +00:00
naruse
c6fcfd6da4 merge revision(s) 32582:
* cont.c (cont_save_thread): fix missing semicolon.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-31 20:22:03 +00:00
yugui
3c20af1d33 * enc/Makefile.in (ECHO1): Same as the recent fix in common.mk.
":" in a make variable replacement cause a syntax error with
  /usr/ccs/bin/make on Solaris.  Uses $(NULLCMD) instead.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-31 13:59:04 +00:00
ktsj
100f2e6723 * configure.in: fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-31 13:45:55 +00:00
yugui
d2b78e79c5 * lib/mkmf.rb (configuration:ECHO1): Same as the recent fix in
common.mk.
  ":" in a make variable replacement cause a syntax error with
  /usr/ccs/bin/make on Solaris.  Uses $(NULLCMD) instead.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-31 12:21:56 +00:00
yugui
103507355f * complex.c (f_signbit): gcc4 on Solaris DOES have signbit but does
not have it on header.

* math.c: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-31 12:21:54 +00:00
yugui
7e50bb968c * common.mk (node_name.inc): Use $(Q) for consistency.
* Makefile.in (INSNS): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-31 12:10:45 +00:00
yugui
c06bef87c0 * common.mk (ECHO1): nmake does not allow parenthesis in make variable
replacement.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-31 11:40:52 +00:00