knu
ae563f61ad
* ext/digest/digest.c (rb_digest_instance_method_unimpl): Suppress
...
compiler warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-31 15:49:07 +00:00
svn
35d90a7d3f
* 2010-01-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-31 15:00:08 +00:00
akr
c0b4e90f08
* tool/mkconfig.rb: generate RbConfig.ruby in rbconfig.rb.
...
* lib/webrick/httpservlet/cgihandler.rb: use RbConfig.ruby.
* test/ruby/envutil.rb: ditto.
* benchmark/report.rb: ditto.
* benchmark/runc.rb: ditto.
* tool/eval.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-31 15:00:04 +00:00
usa
070489975d
* ext/socket/rubysocket.h: include addrinfo.h only when using our own
...
getaddrinfo.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-31 09:19:05 +00:00
usa
96abe7f35e
* process.c (save_redirect_fd): consider EBADF that the fd is not used.
...
[ruby-dev:39938]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-31 05:22:11 +00:00
nobu
0ad3bee01f
* ext/socket/raddrinfo.c (addrinfo_type): typed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-30 21:03:51 +00:00
nobu
815fccb4dc
* ext/socket/extconf.rb: use have_struct_member.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-30 21:01:13 +00:00
nobu
1069e0f335
* ext/socket/extconf.rb: fix for wide-getaddrinfo option.
...
* ext/socket/addrinfo.c: rename {addr,name}info functions to ensure
those are used on darwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-30 20:56:41 +00:00
kazu
6e4df2896f
fix typos
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-30 19:54:44 +00:00
usa
9f90682c4b
* thread_win32.c (native_thread_destroy): decreased the probability of
...
using the interrupt event in the thread termination.
see [ruby-core:27199].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-30 18:30:36 +00:00
usa
5bc85d6264
* thread_win32.c (w32_error): should report the function.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-30 17:36:20 +00:00
nobu
8de8d8b562
* ext/extmk.rb: fix for extstatic.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-30 16:58:51 +00:00
naruse
b7a59cd178
Add more description about Fixnum's size. [ruby-core:27333]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-30 11:45:32 +00:00
naruse
f9bef8b944
* include/ruby/ruby.h (RREGEXP_SRC_END): added.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-30 10:44:10 +00:00
naruse
9db87ea5b9
* include/ruby/defines.h (INFINITY): this is float.
...
* include/ruby/defines.h (NAN): ditto.
* numericc.c (rb_infinity): change content as float.
* numericc.c (rb_nan): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-30 10:44:02 +00:00
nobu
499bf746da
* gem_prelude.rb (push_all_highest_version_gems_on_load_path):
...
simplified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-30 08:59:16 +00:00
nobu
270ece8441
* lib/rubygems/command_manager.rb (Gem#load_and_instantiate):
...
rescue only NameError from const_get.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-30 08:49:48 +00:00
nobu
9004431714
* lib/rubygems/source_index.rb (Gem#load_specification): don't use
...
RUBY_VERSION to branch.
* lib/rubygems/validator.rb (Gem::TestRunner, Gem#alien): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-30 08:45:55 +00:00
nobu
45b750149a
* lib/rubygems.rb: Kernel#gem is already defined, and workaround
...
for home directory and custom_require are no longer needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-30 05:13:09 +00:00
naruse
7ed0640ffb
Add Float::INFINITY and Float::NAN.
...
* numeric.c (Init_Numeric): Add Float::INFINITY and Float::NAN.
[ruby-dev:1657] [ruby-dev:4760] [ruby-list:7023] [ruby-list:46690]
[ruby-core:26632] [ruby-talk:41352] [ruby-talk:203333]
* include/ruby/defines.h (INFINITY): defined.
* include/ruby/defines.h (NAN): defined.
* include/ruby/util.h (ruby_div0): removed.
* numeric.c (fix_pow): use INFINITY and NAN instead of ruby_div0(1.0).
* marshal.c (r_object0): ditto.
* bignum.c (big_fdiv): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-29 07:05:39 +00:00
marcandre
92ab16fac6
* lib/delegate.rb (marshal_dump/load): Provide forward compatibility [ruby-core:24211]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-29 01:56:55 +00:00
nobu
cff7d0c80e
* lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser::STANDALONE):
...
any number spaces can be placed between equal-sign and the value.
patch from Ed Howland in [ruby-core:27345].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-29 01:36:26 +00:00
usa
3fb4d27a8d
* win32/win32.c (CreateChild): force to inherit standard I/O handles.
...
this change fixes [ruby-core:27273], but other side effects might
exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-28 14:01:12 +00:00
nahi
26269cbd5d
* test/ruby/test_marshal.rb: added tests for taintness/untrustness
...
propagation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-28 13:01:28 +00:00
yugui
7844ea1c64
* sample/occur2.rb: reimplemented in modern style. [ruby-dev:39927].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-28 09:14:14 +00:00
yugui
55a70a94b4
* tool/install-sh: correction by Hiro Asari.
...
https://gist.github.com/264558/58ad1cae45cde49600bbb39286af2aae23e639d5
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-28 08:21:30 +00:00
svn
fbc79104a2
* 2009-12-28
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-28 04:20:23 +00:00
yugui
d4c2172e02
* tool/install-sh: wrote the intention. [ruby-dev:39928]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-28 04:20:19 +00:00
suke
b3c318bffd
* ext/win32ole/win32ole.c (foleparam_initialize): add foleparam_initialize
...
to check argument of WIN32OLE_PARAM.new
* test/win32ole/test_win32ole_param.rb (test_s_new): add some assertion
to test WIN32OLE_PARAM.new
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-27 01:51:54 +00:00
akr
4d4ed5640c
rdoc update.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-27 01:37:23 +00:00
yugui
568595b30f
* tool/rbinstall.rb (install?(:local, :comm, :bin, :'bin-comm')):
...
Makes it vim friendly. __END__ in a heredoc is confusing with
the script end for vim.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-27 00:44:11 +00:00
svn
fb15e010c0
* 2009-12-27
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-27 00:14:45 +00:00
yugui
f9f54fb5eb
* sample/occur2.rb: have been broken. fixed for Ruby 1.9 feature.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-27 00:14:41 +00:00
svn
e9e2d5ffff
* 2009-12-25
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-25 12:38:18 +00:00
akr
cbfdacdd36
add tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-25 12:38:16 +00:00
marcandre
dbb14e218a
* lib/uri/generic.rb (eql?): Check the class of the compared object.
...
Based on a patch by Peter McLain [ruby-core:27019]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-24 07:33:24 +00:00
naruse
c80535e50d
* regexec.c (match_at): follow enclen's change.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-24 06:21:14 +00:00
marcandre
ab2a02348b
* lib/delegate.rb (marshal_dump/load): dump & load instance variables by default [ruby-core:24211]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-24 03:08:15 +00:00
svn
cc58ec90b8
* 2009-12-24
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-24 01:32:04 +00:00
marcandre
b3c3dda3f4
* lib/object.c (rb_obj_cmp): Default <=> operator returns 0 if objects are == [ruby-core:24063]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-24 01:32:01 +00:00
nobu
e6a8408c2c
* iseq.c (iseq_s_disasm): return nil for native methods.
...
[ruby-core:27226], [Bug#2499]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-23 06:22:48 +00:00
nobu
d3fc1d3e3a
* test/drb/drbtest.rb (DRbService.add_service_command): quotes
...
rubybin only, not including -d.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-23 01:31:37 +00:00
nobu
99bf251b69
* test/ruby/test_thread.rb (test_priority): removed not-guaranteed result.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-23 01:24:33 +00:00
nobu
738515d12b
* test/cgi: check by Encoding.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-23 00:14:48 +00:00
nobu
da861d79b7
* test/cgi/test_cgi_multipart.rb (CGIMultipartTest#_prepare):
...
always must be binary mode. c.f. Bug#2341
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-23 00:12:33 +00:00
svn
833afaa2cc
* 2009-12-22
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-22 14:02:14 +00:00
akr
8d7677b498
add a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-22 14:02:13 +00:00
naruse
3da3230f0c
* encoding.c (Init_Encoding): undef Encoding.new because
...
a class which is rb_undef_alloc-func-ed can't call new method.
[ruby-dev:39862]
* vm.c (Init_VM): undef RubyVM.new and RubyVM::Env.new.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-21 10:12:21 +00:00
naruse
35230b1a78
Add a test for [ruby-core:27247]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-21 09:17:55 +00:00
naruse
ebc6950631
* regcomp.c (optimize_node_left): include equal on the condition of for-loop.
...
This bug also affects original Oniguruma. [ruby-core:27247]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-21 09:13:28 +00:00