nagachika
6520da6245
* ChanageLog: fix ticket ref in r39597.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-05 13:48:20 +00:00
kazu
1d82ffd8d4
fix typos
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-05 12:50:58 +00:00
nobu
f113ab552c
class.c: check redefinition
...
* class.c (rb_prepend_module): check redefinition of built-in opimized
methods. [ruby-dev:47124] [Bug #7983 ]
* vm.c (rb_vm_check_redefinition_by_prepend): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-05 12:36:45 +00:00
nobu
00a8203b0b
test_method.rb: reduce iteration
...
* test/ruby/test_method.rb (TestMethod#test_bound_method_entry):
reduce iteration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-05 12:30:27 +00:00
nobu
2ff56cc9b4
proc.c: revert r39224
...
* proc.c (mnew): revert r39224. [ruby-core:53038] [Bug #7988 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-05 11:29:27 +00:00
nobu
708df44e59
intern.h: inline function rb_check_arity
...
* include/ruby/intern.h (rb_check_arity): make a static inline
function so it can be used as an expression and argc would be
evaulated only once.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-05 11:23:55 +00:00
drbrain
85164e551a
* lib/rubygems.rb: Bump version to 2.0.1 for upcoming bugfix release
...
* lib/rubygems/ext/ext_conf_builder.rb: Restore ruby 1.8 compatibility
for [Bug #9698 ]
* test/rubygems/test_gem_installer.rb: Ditto.
* lib/rubygems/package.rb: Restore ruby 1.8 compatibility.
* test/rubygems/test_gem_dependency_installer.rb: Fix warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-05 03:31:28 +00:00
drbrain
6c77ae07a5
* enumerator.c (enumerator_with_index): Restore handling of a nil memo
...
from r39594.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-05 03:25:55 +00:00
nobu
b4a117f8d3
objspace.c: newly added nodes
...
* ext/objspace/objspace.c (count_nodes): count also newly added nodes,
and fix key for unknown node. patch by tmm1 (Aman Gupta) in
[ruby-core:53130] [Bug #8014 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-05 01:40:52 +00:00
nobu
4a429c11e1
enumerator.c: allow Bignum for with_index
...
* enumerator.c (enumerator_with_index_i): allow Bignum as offset, to
get rid of conversion exception and integer overflow.
[ruby-dev:47131] [Bug #8010 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-05 01:20:20 +00:00
nobu
ce357ef152
numeric.c: optimize for Bignum
...
* numeric.c (rb_int_succ, rb_int_pred): shortcut optimization for
Bignum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-05 01:18:55 +00:00
nobu
66867b0a63
ext_conf_builder.rb: clear DESTDIR
...
* lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
clear DESTDIR so RUBYARCHDIR and RUBYLIBDIR are not be overrdden.
[Bug #7698 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-05 01:06:08 +00:00
svn
001e06ed36
* 2013-03-05
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-05 01:02:36 +00:00
nobu
f2d3cd1cc4
ext_conf_builder.rb: clear DESTDIR
...
* lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
clear DESTDIR so RUBYARCHDIR and RUBYLIBDIR are not be overrdden.
[Bug #7698 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-05 01:02:32 +00:00
nobu
dbb6526e29
* remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-04 08:05:13 +00:00
nobu
a95a87c0bc
ext_conf_builder.rb: install via temporary directory
...
* lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
fix for unusal cases again. install to a temporary directory once
and move instaled files to the destination directory, if it is same
as the current directory. [Bug #7698 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-04 06:33:48 +00:00
nobu
a5a4963018
Makefile.in: move MAINLIBC after objects
...
* Makefile.in (miniruby, ruby): move MAINLIBC because linker arguments
must appear after object files with newer versions of gcc. patch by
tmm1 (Aman Gupta) in [ruby-core:53121] [Bug #8009 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-04 05:13:48 +00:00
nobu
14cc02fb64
ChangeLog: fix commit miss
...
* ChangeLog: remove duplicated entry by commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-04 01:27:02 +00:00
svn
56348e18e3
* 2013-03-04
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-04 01:24:45 +00:00
zzak
d4d14c1988
* encoding.c: Typo in Encoding overview by Tom Wardrop [GH fixes #255 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-04 01:24:40 +00:00
nobu
d71177feab
mkmf.rb: libpath_env
...
* lib/mkmf.rb (MakeMakefile#libpath_env): ignore empty LIBPATHENV.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-03 04:15:02 +00:00
nobu
bb2551b41c
mkmf.rb: libpath_env
...
* lib/mkmf.rb (MakeMakefile#libpath_env): set runtime library path for
the case rpath is disabled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-03 03:35:11 +00:00
nobu
a7a0b3ad52
ext_conf_builder.rb: remove circular dependency in install-so
...
* lib/rubygems/ext/ext_conf_builder.rb
(Gem::Ext::ExtConfBuilder.hack_for_obsolete_style_gems): remove
circular dependencies in install-so too. [ruby-core:52882]
[Bug #7698 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-03 03:17:50 +00:00
zzak
2a5b45ddc5
* ext/socket/tcpserver.c: Grammar for TCPServer.new from r39554
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02 22:34:29 +00:00
kazu
da56b059bc
fix typos in r39560
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02 16:33:24 +00:00
kazu
59e66b101f
fix a typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02 16:33:21 +00:00
nobu
32458a01eb
ext_conf_builder.rb: hack for obsolete sytle gems
...
* lib/rubygems/ext/ext_conf_builder.rb
(Gem::Ext::ExtConfBuilder.hack_for_obsolete_sytle_gems): remove
circular dependencies for old style gems which locate extconf.rb on
the toplevel. [ruby-core:53059] [ruby-trunk - Bug #7698 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02 16:17:22 +00:00
nobu
9b79ed1292
ext_conf_builder.rb: use RUBYOPT
...
* lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
use RUBYOPT instead of -r option, and revert some tests. [Bug #7698 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02 16:16:19 +00:00
nobu
c0c72c9ba1
ext_conf_builder.rb: build in the source directory
...
* lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
revert use of temporary directory for build, to work some buggy
extconf.rb which cannot build outside the source directory.
[ruby-core:53056] [Bug #7698 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02 16:14:32 +00:00
nagachika
ee01561bf1
* ChangeLog: fix a typo in r39552.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02 15:31:24 +00:00
nobu
773248551b
mswin: static-linked-ext
...
* enc/depend (CPPFLAGS), lib/mkmf.rb (MakeMakefile#create_makefile):
define RUBY_EXPORT for static-linked-ext mswin. [Bug #7960 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02 15:04:23 +00:00
svn
248aa54c27
* 2013-03-03
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02 15:01:48 +00:00
akr
fa0630558f
update doc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02 15:01:44 +00:00
nobu
d613f283be
Makefile.sub: MAKEDIRS
...
* win32/Makefile.sub (config.status): set MAKEDIRS to use
makedirs.bat.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02 13:50:08 +00:00
nobu
2250b195a9
Makefile.sub: static-linked-ext
...
* win32/Makefile.sub (EXTOBJS, EXTOBJS, config.h): definitions for
static-linked-ext. [Bug #7960 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02 13:49:49 +00:00
akr
b1f493dcd1
* lib/webrick/utils.rb: use Socket.tcp_server_sockets to create server
...
sockets.
fix [Bug #7100 ] https://bugs.ruby-lang.org/issues/7100
reported by sho-h (Sho Hashimoto).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02 08:36:16 +00:00
zzak
e563e6bf10
* array.c: typo in comment patch by Nami-Doc [Github fixes #253 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-01 17:46:40 +00:00
naruse
6751ba4c7a
Suppress warning: uninitialized value
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-01 16:37:31 +00:00
svn
51a747c5f8
* 2013-03-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-01 16:36:44 +00:00
naruse
78dbaa1648
* Merge Onigmo 0fe387da2fee089254f6b04990541c731a26757f
...
v5.13.3 [Bug#7972] [Bug#7974]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-01 16:36:37 +00:00
nobu
76855753d7
* properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-01 04:55:55 +00:00
drbrain
528e02fcf6
Fixed ticket reference for r39542
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-01 02:10:41 +00:00
drbrain
874f8c0494
* lib/fileutils.rb: Revert r34669 which altered the way
...
metaprogramming in FileUtils occurred. [ruby-trunk - Bug #7958 ]
* test/fileutils/visibility_tests.rb: Refactored tests of FileUtils
options modules to expose bug found in #7958
* test/fileutils/test_dryrun.rb: ditto.
* test/fileutils/test_nowrite.rb: ditto.
* test/fileutils/test_verbose.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-01 02:09:42 +00:00
zzak
6213b8370c
* lib/psych.rb: specify in rdoc what object is returned in parser
...
By Adam Stankiewicz [Github tenderlove/psych#133 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-01 00:18:50 +00:00
drbrain
a5dfaca00a
* lib/rubygems/ext/builder.rb: Fix incompatibilities when installing
...
extensions. Patch by Nobu.
[ruby-trunk - Bug #7968 ] [ruby-trunk - Bug #7971 ]
* lib/rubygems/ext/ext_conf_builder.rb: ditto.
* lib/rubygems/installer.rb: ditto.
* test/rubygems/test_gem_ext_ext_conf_builder.rb: Test for the above.
* test/rubygems/test_gem_installer.rb: ditto.
* lib/rubygems/commands/sources_command.rb: Prefer HTTPS over HTTP.
* lib/rubygems/defaults.rb: ditto
* lib/rubygems/dependency_resolver.rb: Ditto.
* lib/rubygems/source.rb: ditto.
* lib/rubygems/spec_fetcher.rb: ditto.
* lib/rubygems/specification.rb: ditto.
* lib/rubygems/test_utilities.rb: ditto.
* test/rubygems/test_gem.rb: Test for the above.
* test/rubygems/test_gem_commands_sources_command.rb: ditto.
* test/rubygems/test_gem_dependency_resolver_api_set.rb: ditto.
* test/rubygems/test_gem_remote_fetcher.rb: ditto.
* test/rubygems/test_gem_source.rb: ditto.
* test/rubygems/test_gem_spec_fetcher.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-28 22:25:55 +00:00
svn
3fc7731297
* 2013-03-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-28 18:27:04 +00:00
zzak
9460a750e1
* ext/psych/lib/psych.rb: rdoc for Psych overview by Adam Stankiewicz
...
[Github tenderlove/psych#134 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-28 18:27:00 +00:00
ko1
4cf0918e8e
* compile.c (iseq_compile_each): remove redundant trace(line)
...
instruction. for example, at the following script
def m()
p:xyzzy
1
2
end
compiler ignores `1' because there is no effect. However,
`trace(line)' instruction remains in bytecode.
This modification removes such redundant trace(line) instruction.
* test/ruby/test_iseq.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-28 14:04:53 +00:00
akr
338ec3cee7
* ext/socket/raddrinfo.c (inspect_sockaddr): don't show that Unix
...
domain socket filename is bigger than sizeof(sun_path).
This limit is not rigid on some platforms such as Darwin and SunOS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-28 13:29:55 +00:00
eban
9a1d5b04cd
* configure.in(AC_DISABLE_OPTION_CHECKING): avoid warning "WARNING: Unrecognized options: --with-PACKAGE".
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-28 12:35:56 +00:00