Граф коммитов

18624 Коммитов

Автор SHA1 Сообщение Дата
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
naruse de341005c8 * regcomp.c (print_enc_string): follow enclen's change.
* regcomp.c (onig_print_compiled_byte_code): ditto.

* regcomp.c (onig_print_compiled_byte_code): change prototype.

* regint.c (onig_print_compiled_byte_code): comment out.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-21 01:11:15 +00:00
marcandre dbf07b09fd * object.c: BasicObject#initialize accepts any number of arguments [ruby-core:27080]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-20 23:05:07 +00:00
svn 4ea2a8f1d2 * 2009-12-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-20 17:47:05 +00:00
mame 052f7f27f2 * vm_eval.c (rb_iterate): remove SEGV (retry).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-20 17:47:02 +00:00
mame c8b20d0877 * vm_eval.c (rb_iterate): remove SEGV (use the original patch).
[ruby-dev:39874]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-20 14:20:46 +00:00
svn ff26cb8252 * 2009-12-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-20 12:31:31 +00:00
mame ae8dc9b722 * vm_eval.c (rb_iterate): pass current block when the argument bl_proc
is NULL.  This behavior can be used to make enumerator faster
  [ruby-dev:39874]

* enumerator.c (enumerator_each): pass current block directly instead
  of trampoline block (enumerator_each_i).

* io.c (argf_each_line, argf_each_byte, argf_each_char): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-20 12:31:26 +00:00
matz 0208837f08 * gem_prelude.rb (Kernel#gem): should make gem private. a patch
from Sho Hashimoto in [ruby-dev:39838].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-19 08:02:51 +00:00
matz b85f286833 * lib/webrick/config.rb (WEBrick::Config): typo fixed. a patch
from Sho Hashimoto in [ruby-dev:39835].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-19 08:01:19 +00:00
marcandre fad1e8c761 * lib/matrix.rb (each2,collect2,map2): Fix enumerator [ruby-core:27225]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-19 02:07:00 +00:00
nobu 93278f2387 * vm_eval.c (check_funcall): reset method_missing_reason before
trying the call.  based on a patch from Yehuda Katz in
  [ruby-core:27219].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-19 00:58:13 +00:00
svn 6a875fc724 * 2009-12-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-19 00:29:57 +00:00
marcandre a88cc058f0 * lib/set.rb: Add checks that passed argument is Enumerable. [ruby-core:23844]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-19 00:29:54 +00:00
svn 25bccc44d4 * 2009-12-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-17 19:37:59 +00:00
tenderlove eadda0002a * test/yaml/test_boolean.rb (test_n): fixing test name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-17 19:37:54 +00:00
nobu 7b7d8f8732 * test/yaml/test_set.rb: svn:eol-style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-17 07:03:47 +00:00
svn 412da9c039 * 2009-12-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-16 21:08:27 +00:00
tenderlove 08c7cde986 * test/yaml/test_set.rb (**) Adding test coverage for YAML::Set
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-16 21:08:25 +00:00
kazu f4109ec1c7 * test/ruby/envutil.rb: fix a typo in assert message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-16 11:29:54 +00:00
nobu 6547a2bcbb * lib/un.rb (httpd): try to convert port number to integer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-16 07:58:01 +00:00
eban db9e8351f3 * configure.in(MINIRUBY): use "$BASERUBY" as a default ruby executable name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-16 02:21:59 +00:00