Commit graph

29857 commits

Author SHA1 Message Date
nagachika
7a730fe143 merge revision(s) 39286,39287:
* ext/psych/lib/psych/y.rb: Document Kernel#y by Adam Stankiewicz
	  [Github tenderlove/psych#118]
	  [Github tenderlove/psych#127]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-04 14:43:08 +00:00
nagachika
b501eda42f merge revision(s) 39284: [Backport #7860]
* tool/mkconfig.rb: remove prefix from rubyarchdir.
	  r39267 expands variables, it changes expansion timing,
	  breaks RbConfig::CONFIG["includedir"] and building
	  extension libraries with installed ruby.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-04 14:37:48 +00:00
nagachika
3e23e2dd51 merge revision(s) 39283:
* .gdbinit (iseq): rename dummy_gdb_enums to ruby_dummy_gdb_enums.
  This is follow up to changes in r24407.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02 17:59:01 +00:00
nagachika
2925654b04 merge revision(s) 39282: [Backport #8007]
* vm.c (ENV_IN_HEAP_P): fix off-by-one error.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02 17:45:28 +00:00
nagachika
cdac7f430d merge revision(s) 39277:
* test/ruby/test_thread.rb: fixed typo
	  patched by Hiroki Matsue via https://github.com/ruby/ruby/pull/248


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02 17:39:26 +00:00
nagachika
7af9573be2 merge revision(s) 39253:
win32.c: style

	* win32/win32.c (rb_w32_fd_is_text): adjust style.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02 17:28:03 +00:00
nagachika
e8237c5b32 merge revision(s) 39236: [Backport #7841]
* class.c (include_modules_at): detect cyclic prepend with original
	  method table.  [ruby-core:52205] [Bug #7841]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02 17:24:30 +00:00
nagachika
362f70c3cf merge revision(s) 39234,39235: [Backport #7843]
* vm_method.c: call method_removed hook on called class, not on
	  prepending iclass.
	  prepending iclass.  [ruby-core:52207] [Bug #7843]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02 17:17:59 +00:00
nagachika
00ded5b259 merge revision(s) 39214,39221: [Backport #7830]
configure.in: Werror-implicit-function-declaration

	* configure.in (warnflags): -Werror-implicit-function-declaration
  haven't been used as-is, but always replaced with -Werror= or -W.
	* configure.in (warnflags): disable -Werror by default unless
	  development.  [ruby-core:52131] [Bug #7830]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02 16:59:29 +00:00
nagachika
69ac3b4db5 merge revision(s) 39184:
add doc. for IO#close_on_exec=.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02 16:46:00 +00:00
nagachika
77f603cbc9 merge revision(s) 39179,39245: [Backport #7826]
the process maybe already finished
	* test/ruby/test_process.rb (test_setsid): Added a workaround for
	  MacOS X. Patch by nagachika. [Bug #7826] [ruby-core:52126]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-26 15:22:53 +00:00
nagachika
8fa5da9ae9 merge revision(s) 39169:
release manager finally decided to revert it.

	* eval.c (rb_ensure): preserve errinfo across ensure proc before


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-26 14:48:14 +00:00
mame
8c101e95c6 * version.h: changed version string like
`ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux]`


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-24 08:01:32 +00:00
nobu
5dabe22803 * ext/io/console/io-console.gemspec: bump. [Backport #7891]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-24 07:58:55 +00:00
mame
c81c3efa1f bump version
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-24 06:54:56 +00:00
drbrain
faa9fb59e3 Merge trunk revision: 39463
* lib/net/http.rb:  Removed duplicate Accept-Encoding in Net::HTTP#get.
  [ruby-trunk - Bug #7924]
* test/net/http/test_http.rb:  Test for the above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-24 06:19:29 +00:00
zzak
495d8b0ec3 backport r39460, ack'd by mame-san
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-24 05:39:11 +00:00
zzak
e8600e1471 * enum.c (Enumerable#chunk: Improved examples, grammar, and formatting
Patch by Dan Bernier and Rich Bruchal of newhaven.rb
  [Backport #7926]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-24 05:08:20 +00:00
zzak
339999b1c2 * lib/abbrev.rb: Add words parameter to Abbrev::abbrev
Patch by Devin Weaver [Backport #7927]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-24 05:06:42 +00:00
zzak
5936806c66 * ext/pty/pty.c: Documentation for the PTY module [Backport #7928]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-24 05:04:20 +00:00
zzak
f9c24492a3 * object.c: Document Data class by Matthew Mongeau [Backport #7929]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-24 04:52:12 +00:00
zzak
f03c439cc5 * lib/mutex_m.rb: Add rdoc for Mutex_m module [Backport #7930]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-24 04:49:04 +00:00
zzak
42142d434f * object.c: rdoc formatting for Kernel#Array() [Backport #7931]
* array.c: Add rdoc for Array() method to Creating Arrays section


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-24 04:45:37 +00:00
zzak
bd0880d532 * thread.c: Documentation for Thread#backtrace_locations
[Backport #7932]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-24 04:43:37 +00:00
zzak
ae155a86a9 * vm.c: Typo in ObjectSpace::WeakMap overview [Backport #7933]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-24 04:39:54 +00:00
zzak
f917b4d28a * thread.c: Improved rdoc for ::handle_interrupt, ::pending_interrupt?
and #pending_interrupt? [Backport #7934]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-24 04:31:54 +00:00
marcandre
45c33f5e8d * backport r39442 from trunk:
* array.c: Fix rdoc for flatten!

    * hash.c: Correct rdoc for reject!

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-23 20:18:35 +00:00
svn
73b79a6217 * 2013-02-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-23 17:41:52 +00:00
marcandre
28fcad35fd * Backport r39438 from trunk:
* enumerator.c: rdoc fix

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-23 17:41:49 +00:00
marcandre
3678e7eb4f * Backport r39434 from trunk:
* NEWS: Reorder and fix indent levels [ruby-core:52723]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-23 14:24:47 +00:00
marcandre
60663f668e * Backport r39432 from trunk:
* NEWS: Fix RubyGems version [Bug #7920]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-23 14:00:31 +00:00
nobu
2fd5dcc08c merge revision(s) 39335:
* include/ruby/ruby.h (HAVE_RB_SCAN_ARGS_OPTIONAL_HASH): for
	  rb_scan_args() optional hash feature.  [Bug #7861]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-23 05:20:05 +00:00
knu
5b764f0771 merge revision(s) 39298:39300:
* lib/ipaddr.rb (IPAddr#in6_addr): Fix a typo with the closing
	  parenthesis.

	* lib/ipaddr.rb (IPAddr#in6_addr): Fix the parser so that it can
	  recognize IPv6 addresses with only one edge 16-bit piece
	  compressed, like [::2:3:4:5:6:7:8] or [1:2:3:4:5:6:7::].
	  [Bug #7477]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-23 04:03:59 +00:00
knu
937e68b9bd merge revision(s) r39281:
* configure.in (LIBRUBY_DLDFLAGS): Fix a bug where --with-opt-dir
	  options given were not reflected to LIBRUBY_DLDFLAGS on many
	  platforms including Linux and other GNU-based systems, NetBSD,
	  AIX and BeOS.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-23 04:01:46 +00:00
knu
74ba25b351 merge revision(s) r39255:
* configure.in: Fix a bug introduced in r38342 that the cflagspat
	  substitution is messed up by the way CFLAGS and optflags are
	  modified, which affected FreeBSD and NetBSD/amd64 when
	  configured to use libexecinfo.  This bug resulted in CFLAGS and
	  CXXFLAGS in RbConfig::CONFIG having warnflags expanded in them,
	  forcing third-party C/C++ extensions to follow what warnflags
	  demands, like ANSI/ISO-C90 conformance.  ref [Bug #7101]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-23 04:00:21 +00:00
knu
a3b2161c6d merge revision(s) r39290:
* lib/mkmf.rb: remove extra topdir in VPATH, which was in
	  win32/Makefile.sub for some reason and moved from there.
	  [ruby-dev:46998] [Bug #7864]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-23 03:58:51 +00:00
mrkn
3ecab2256f merge revision(s) 39321:
* ext/bigdecimal/bigdecimal.gemspec: bump to 1.2.0.
	  [ruby-core:51777] [Bug #7761]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-23 03:13:36 +00:00
marcandre
e748726a0b * Backport r39399 from trunk:
* NEWS: Specify that Proc#eql? was also removed

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-23 00:15:35 +00:00
marcandre
c12f69cbb6 * backport r39410 from trunk
* doc/NEWS-*: Update NEWS from their respective branches

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 23:59:29 +00:00
marcandre
7c8a477416 * backport r39400-r39407 from trunk.
* NEWS: many additions

  * object.c: Add doc for Module.prepended

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 23:33:51 +00:00
drbrain
9f9c04262a Merge trunk revision: 39366
* lib/rubygems/installer.rb (build_extensions):  Create extension
  install destination before building extension.  Patch by Kenta Murata.
  [ruby-trunk - Bug #7897]
* test/rubygems/test_gem_installer.rb:  Test for the above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 21:09:09 +00:00
marcandre
c40038bf49 * NEWS: pending_interrupt? is both instance and singleton method
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 19:35:00 +00:00
svn
c9d00de53b * 2013-02-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 17:49:29 +00:00
marcandre
4b6e74a887 * NEWS: Add Thread#pending_interrupt? and Thread.handle_interrupt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 17:49:23 +00:00
usa
11d79c680f merge revision(s) 39384:
* lib/rexml/document.rb (REXML::Document.entity_expansion_text_limit):
	  new attribute to read/write entity expansion text limit.  the default
	  limit is 10Kb.

	* lib/rexml/text.rb (REXML::Text.unnormalize): check above attribute.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 10:22:20 +00:00
ko1
654a363229 revert duplicate ChangeLog.
r39308 was already merged.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 07:35:09 +00:00
ko1
901f44d1b1 merge revision(s) 39308:
* vm_eval.c (vm_call0_body): check interrupts after method dispatch
	  from C methods. [Bug #7878]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 07:23:51 +00:00
drbrain
79db75dc4e Merge trunk revision: 39327
* lib/rubygems/commands/update_command.rb:  Create the installer after
  options are processed.  [ruby-trunk - Bug #7779]
* test/rubygems/test_gem_commands_update_command.rb:  Test for the
  above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-20 20:07:57 +00:00
drbrain
bf2b8c8925 Merge trunk revision: 39324
* lib/rubygems/installer.rb:  Use gsub instead of gsub! to avoid
  altering @bin_dir.  Fixes tests on windows.  [ruby-trunk - Bug #7885]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-20 19:57:35 +00:00
marcandre
c22166a3c9 * NEWS: Floats are frozen too
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-20 18:16:48 +00:00