summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * ext/socket/raddrinfo.c (addrinfo_type): typed.HEADmasternobu2009-12-302-16/+21
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: use have_struct_member.nobu2009-12-302-8/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: fix for wide-getaddrinfo option.nobu2009-12-308-56/+67
| | | | | | | | * ext/socket/addrinfo.c: rename {addr,name}info functions to ensure those are used on darwin. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typoskazu2009-12-301-9/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_win32.c (native_thread_destroy): decreased the probability ofusa2009-12-302-2/+7
| | | | | | | | using the interrupt event in the thread termination. see [ruby-core:27199]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_win32.c (w32_error): should report the function.usa2009-12-302-7/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: fix for extstatic.nobu2009-12-303-7/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add more description about Fixnum's size. [ruby-core:27333]naruse2009-12-301-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (RREGEXP_SRC_END): added.naruse2009-12-302-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/defines.h (INFINITY): this is float.naruse2009-12-303-6/+18
| | | | | | | | | | * include/ruby/defines.h (NAN): ditto. * numericc.c (rb_infinity): change content as float. * numericc.c (rb_nan): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gem_prelude.rb (push_all_highest_version_gems_on_load_path):nobu2009-12-304-34/+16
| | | | | | | simplified. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/command_manager.rb (Gem#load_and_instantiate):nobu2009-12-302-4/+8
| | | | | | | rescue only NameError from const_get. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/source_index.rb (Gem#load_specification): don't usenobu2009-12-303-2/+13
| | | | | | | | | RUBY_VERSION to branch. * lib/rubygems/validator.rb (Gem::TestRunner, Gem#alien): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems.rb: Kernel#gem is already defined, and workaroundnobu2009-12-303-24/+9
| | | | | | | for home directory and custom_require are no longer needed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add Float::INFINITY and Float::NAN.naruse2009-12-297-27/+67
| | | | | | | | | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@26197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (marshal_dump/load): Provide forward compatibility ↵marcandre2009-12-291-4/+9
| | | | | | [ruby-core:24211] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser::STANDALONE):nobu2009-12-295-4/+20
| | | | | | | | any number spaces can be placed between equal-sign and the value. patch from Ed Howland in [ruby-core:27345]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (CreateChild): force to inherit standard I/O handles.usa2009-12-282-20/+24
| | | | | | | | this change fixes [ruby-core:27273], but other side effects might exist. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_marshal.rb: added tests for taintness/untrustness nahi2009-12-282-0/+69
| | | | | | | propagation. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/occur2.rb: reimplemented in modern style. [ruby-dev:39927].yugui2009-12-282-7/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/install-sh: correction by Hiro Asari.yugui2009-12-282-5/+10
| | | | | | https://gist.github.com/264558/58ad1cae45cde49600bbb39286af2aae23e639d5 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-12-28svn2009-12-281-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/install-sh: wrote the intention. [ruby-dev:39928]yugui2009-12-282-0/+21
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (foleparam_initialize): add foleparam_initializesuke2009-12-273-2/+99
| | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@26184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-12-271-0/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (install?(:local, :comm, :bin, :'bin-comm')):yugui2009-12-272-12/+18
| | | | | | | Makes it vim friendly. __END__ in a heredoc is confusing with the script end for vim. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-12-27svn2009-12-271-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/occur2.rb: have been broken. fixed for Ruby 1.9 feature.yugui2009-12-272-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-12-25svn2009-12-251-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2009-12-251-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb (eql?): Check the class of the compared object.marcandre2009-12-242-0/+6
| | | | | | Based on a patch by Peter McLain [ruby-core:27019] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regexec.c (match_at): follow enclen's change.naruse2009-12-242-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (marshal_dump/load): dump & load instance variables by ↵marcandre2009-12-242-1/+12
| | | | | | default [ruby-core:24211] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-12-24svn2009-12-241-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/object.c (rb_obj_cmp): Default <=> operator returns 0 if objects are ↵marcandre2009-12-242-1/+6
| | | | | | == [ruby-core:24063] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (iseq_s_disasm): return nil for native methods.nobu2009-12-234-2/+3
| | | | | | | [ruby-core:27226], [Bug#2499] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/drb/drbtest.rb (DRbService.add_service_command): quotesnobu2009-12-231-2/+3
| | | | | | | rubybin only, not including -d. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_thread.rb (test_priority): removed not-guaranteed result.nobu2009-12-231-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/cgi: check by Encoding.nobu2009-12-235-19/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/cgi/test_cgi_multipart.rb (CGIMultipartTest#_prepare):nobu2009-12-233-7/+9
| | | | | | | always must be binary mode. c.f. Bug#2341 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-12-22svn2009-12-221-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2009-12-221-0/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (Init_Encoding): undef Encoding.new becausenaruse2009-12-213-0/+11
| | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@26145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add a test for [ruby-core:27247]naruse2009-12-211-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regcomp.c (optimize_node_left): include equal on the condition of for-loop.naruse2009-12-212-1/+6
| | | | | | This bug also affects original Oniguruma. [ruby-core:27247] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regcomp.c (print_enc_string): follow enclen's change.naruse2009-12-213-5/+15
| | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@26138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c: BasicObject#initialize accepts any number of arguments ↵marcandre2009-12-202-1/+14
| | | | | | [ruby-core:27080] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-12-21svn2009-12-201-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (rb_iterate): remove SEGV (retry).mame2009-12-202-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (rb_iterate): remove SEGV (use the original patch).mame2009-12-202-11/+18
| | | | | | [ruby-dev:39874] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e