summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * 2009-10-09svn2009-10-081-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/lib/socket.rb (Socket.udp_server_recv): extracted fromakr2009-10-082-19/+47
| | | | | | | Socket.udp_server_loop_on. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/enc-unicode.rb: parse range notation of UnicodeData.txt.naruse2009-10-087-529/+272
| | | | | | | | * enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt, enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src: follow above change. [ruby-dev:39444] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_inspect): copy by chunks.nobu2009-10-072-29/+36
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (iseq_s_disasm): accept proc objects. [ruby-core:18762]nobu2009-10-073-2/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update comment.akr2009-10-071-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (mark_dump_arg, mark_load_arg): ignore already cleanednobu2009-10-072-2/+13
| | | | | | | | | data. [ruby-core:25969] * marshal.c (clear_dump_arg, clear_load_arg): clear freed fields. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (rb_long2int): evalates the argument onlynobu2009-10-073-2/+9
| | | | | | | | | once. * struct.c (rb_struct_alloc): check array length overflow. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_inspect): don't assign -1 to unsigned int.naruse2009-10-072-19/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_upto): RDoc updated. a patch from Nobuhiromatz2009-10-062-0/+13
| | | | | | IMAI <nov at yo.rim.or.jp> in [ruby-dev:39440]. [ruby-dev:39439] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-10-07svn2009-10-061-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::DNS.bind_random_port): bind to "::" for IPv6.akr2009-10-062-4/+12
| | | | | | | | | (Resolv::DNS::ConnectedUDP#initialize): specify is_ipv6 argument of bind_random_port. [ruby-core:25970] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (Delegator::public_api): take snapshot ofmatz2009-10-063-1/+50
| | | | | | | | | | | | public method at the beginning time. * lib/delegate.rb (SimpleDelegator#initialize): use Delegator.public_api since public_method might be added after initialization. [ruby-dev:39383] * lib/delegate.rb (DelegateClass): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_reopen): avoid close if possible.akr2009-10-062-8/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * struct.c (rb_struct_select): Struct#select should returnmatz2009-10-062-0/+6
| | | | | | enumerator when no block given. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * **/*.ja: set mime-type charset.nobu2009-10-060-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-10-06svn2009-10-051-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/canvas.rb: *** POTENTIALLY INCOMPATIBLE ***nagai2009-10-054-8/+24
| | | | | | | | | | 'tags' option of a TkcItem object gives a list of TkcTag objects. * ext/tk/lib/tkextlib/vu/dial.rb: fix logical bug. * ext/tk/lib/tk/canvas.rb, ext/tk/lib/tkextlib/blt/component.rb: lack of support for methodcall_optkeys. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_{times, shuffle_bang, sample}): reducing macromatz2009-10-054-59/+111
| | | | | | | | | | | | | calls inside of the loop by keeping pointers in local variables. a patch from Masahiro Kanai (CanI) in [ruby-dev:39406]. It was found and fixed at Security and Programming camp 2009. * string.c (rb_str_{times, split_m}): ditto. * struct.c (rb_struct_{getmember, set, aref_id, aset_id}, {make, inspect}_struct, recursive_{equal, hash, eql}): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-10-051-4/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-10-05svn2009-10-041-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (basic_obj_respond_to): should not callmatz2009-10-043-10/+26
| | | | | | | | | | | | | #respond_to_missing? for not implemented methods. [ruby-core:25909] * vm_method.c (rb_method_boundp): returns exceptional value 2 for not-implemented methods when called from #respond_to? (specifies by new contant NOEX_RESPONDS). * method.h (enum): new constant NOEX_RESPONDS added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/cookie.rb: add default value to @@accept_charsetxibbar2009-10-043-0/+9
| | | | | | | if have not defined. [ruby-dev:38987] * lib/cgi/util.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (struct {dump,load}_arg): manage with dfree, insteadnobu2009-10-043-76/+147
| | | | | | | | of using local variable which may be moved by context switch. [ruby-dev:39425] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (NATINT_LEN, pack_pack): suppressed warnings.nobu2009-10-042-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* wrap by a module.akr2009-10-041-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems.rb (Gem::binary_mode): binary mode uses binarynobu2009-10-042-2/+8
| | | | | | | encoding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rubygems/test_gem_installer.rb (test_build_extensions_extconf_bad):nobu2009-10-041-1/+1
| | | | | | | escaped meta charater. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rubygems/gemutilities.rb (setup): use ENV["RUBY"] beforenobu2009-10-041-0/+9
| | | | | | | installation. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rubygems/test_gem.rb (TestGem#test_self_find_files): "."nobu2009-10-041-1/+5
| | | | | | | is no longer included in $LOAD_PATH. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add assertion message.akr2009-10-041-2/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (slicebefore_ii): use id_eqq.akr2009-10-032-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * symbian/setup (ruby.mmp): added macro RUBY_EXPORT to match the change in dln.cazav2009-10-031-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/variable.rb: add TkVariable#to_hash,to_proc,to_int,to_str,to_arynagai2009-10-032-0/+26
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * symbian/setup (ruby.mmp): added macro RUBY_EXPORT to match the change in dln.cazav2009-10-031-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/core.rb: fix command-line option ofxibbar2009-10-032-3/+17
| | | | | | non-interactive terminal. [ruby-core:23016] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rubygems: use require_relative.nobu2009-10-0367-80/+70
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rake/contrib: added. [ruby-core:25918]nobu2009-10-037-2/+311
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rake/contrib/test_ftp.rb: moved.nobu2009-10-031-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rake: get rid of name collision.nobu2009-10-033-15/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rake: get rid of name collision.nobu2009-10-0327-38/+38
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rake/test_package_task.rb (Rake::TestPackageTask),nobu2009-10-031-2/+2
| | | | | | | | (Rake::TestGemPackageTask): get rid of name collision with rubygems. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (bv_decls, bvar): fix for block variables.nobu2009-10-033-3/+18
| | | | | | | [ruby-dev:39423] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ripper/test_scanner_events.rb: workaround for ruby-mode.el confusion.nobu2009-10-031-7/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ripper/dummyparser.rb: suppress redefinition warnings.nobu2009-10-031-7/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_add_method_def): no redefinition warning onnobu2009-10-034-1/+23
| | | | | | | undef. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_f_integer): now Integer() takes optional basematz2009-10-033-12/+67
| | | | | | | | | | argument. base will be ignored for non string values. suggested by Sam Carr at RubyFoo Lounge at London. * test/ruby/test_integer.rb (TestInteger#test_Integer): test updated. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enum.c (enum_chunk): Give proper error message if no block given. cf ↵marcandre2009-10-031-0/+2
| | | | | | [ruby-core:25912] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-10-021-13/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-10-021-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e