aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * string.c (rb_enc_strlen_cr): increment by rb_enc_mbminlen(enc) forakr2010-01-242-1/+9
| | | | | | | broken byte sequence. [ruby-core:27748] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_s_glob): get rid of comment starter.nobu2010-01-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_start_func_2): unlock all locking mutexesnobu2010-01-234-7/+43
| | | | | | | | | | | | | | before clean up. [ruby-core:26877] * thread.c (rb_thread_atfork): no other threads to be joined. * vm_core.h (rb_thread_lock_unlock, rb_thread_lock_destroy): new functions. * vm.c (ruby_vm_destruct): unlock and destroy global VM lock. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/lib/win32ole.rb: eol-style.nobu2010-01-230-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser/ruby.rb: fix typo.naruse2010-01-232-2/+7
| | | | | | patched by Hal Brodigan [ruby-core:21536] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-01-24svn2010-01-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/markup/to_html_crossref.rb: fix failure of the test.naruse2010-01-232-1/+6
| | | | | | [ruby-core:20564] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_s_glob): add rdoc by Roger Pack. [ruby-core:27669]naruse2010-01-232-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/generator/html.rb (RDoc::Generator::HTML#gen_into):naruse2010-01-232-0/+10
| | | | | | | make the rdoc(generating html) run faster and use less memory. patch by Tetsu Soh [ruby-core:27656] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: add WIN32OLE.ole_initialize,suke2010-01-233-1/+74
| | | | | | | | | | | WIN32OLE.ole_uninitialize to use in win32ole.rb. You must not use thease methods. * ext/win32ole/lib/win32ole.rb: add win32ole.rb re-define Thread#initialize (fix ruby-core:27634) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/coverage.rb: preserve exit status.mame2010-01-222-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_dir.rb: get rid of debug print.mame2010-01-223-9/+9
| | | | | | * test/ruby/test_module.rb: fixed to make test-all work. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-01-23svn2010-01-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_array.rb: add a test for Array#rotate, rotate!.mame2010-01-2213-5/+205
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/ruby/test_dir.rb, test/ruby/test_fnmatch.rb: add some tests (for coverage of dir.c). * test/ruby/test_enum.rb: add a test for Enumerable#minmax. * test/ruby/test_enumerator.rb: add some tests for Enumerator#inspect, Enumerator::Generator and Yielder. * test/ruby/test_env.rb: add a test for ENV#index. * test/ruby/test_exception.rb: add some tests (for coverage of error.c). * test/ruby/test_hash.rb: add a test for recursive check. * test/ruby/test_integer.rb: add a test for number of argument of Integer. * test/ruby/test_method.rb: add a test for define_method. * test/ruby/test_module.rb: add a test for constant of included module. * test/ruby/test_proc.rb: add a test for parameters with cfunc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_regexp.rb, test/ruby/test_symbol.rb,mame2010-01-224-0/+19
| | | | | | | test/ruby/test_variable.rb: add some tests (for coverage of compile.c). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_mload): add submicro into vtm.subsecx. [ruby-dev:40133] akr2010-01-223-0/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (rdoc): needs encodings and exts.nobu2010-01-222-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add missing comma.naruse2010-01-222-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_bignum.rb, test/ruby/test_class.rb,mame2010-01-217-0/+38
| | | | | | | | test/ruby/test_defined.rb, test/ruby/test_hash.rb, test/ruby/test_primitive.rb, test/ruby/test_variable.rb: add some tests (for coverage). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-01-22svn2010-01-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_require.rb (test_define_class): expect TypeErrormame2010-01-212-1/+6
| | | | | | instead of NameError. [ruby-core:27504] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: some tidy.shyouhei2010-01-212-127/+47
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_rotate): new methods, Array#rotate! andnobu2010-01-214-8/+163
| | | | | | | Array#rotate. [ruby-dev:17194] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_reverse_m): copy directly.nobu2010-01-212-4/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: use AS_CASE instead of when, to get rid ofnobu2010-01-212-504/+445
| | | | | | | an unintentional substitution. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (iseq_s_disasm): check for proc first. based on thenobu2010-01-203-6/+11
| | | | | | | patch by Roger Pack in [ruby-core:27626]. [ruby-core:27227] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-01-20svn2010-01-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (compile.$(OBJEXT)): dependencies lacking.shyouhei2010-01-204-6/+16
| | | | | | | | | * vm_method.c (rb_add_method_cfunc): invalid initializer for C89 * compile.c (iseq_insns_unification): int might be smaller than int* git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::Config.default_config_hash): return annobu2010-01-192-2/+5
| | | | | | | empty hash when resolv.conf is not available. [ruby-core:27620] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::DNS::Config#lazy_initialize): fixed thenobu2010-01-192-1/+6
| | | | | | | defaults of nameserver and port. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (clean-ext): allow glob patterns.nobu2010-01-193-29/+32
| | | | | | | * ext/extmk.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: commit miss.usa2010-01-191-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/{extconf.rb, zlib.c): crc32_combine and adler32_combine isusa2010-01-192-0/+11
| | | | | | | supported on Zlib 1.2.2.1, so check them for old zlib. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c: added Zlib.crc32_combine and Zlib.adler32_combinetenderlove2010-01-193-0/+51
| | | | | | * test/zlib/test_zlib.rb: corresponding tests [ruby-core:27551] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_array.rb: add some tests (for coverage).mame2010-01-183-0/+59
| | | | | | * test/ruby/test_bignum.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_bignum.rb: some coerce definitions (for test) wasmame2010-01-182-4/+10
| | | | | | wrong. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bigsub_int): remove nonsense loop.mame2010-01-182-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-01-19svn2010-01-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (top_compstmt, top_stmts, top_stmt): prohibit BEGIN {} inmame2010-01-183-20/+83
| | | | | | | | | non-toplevel scope. [ruby-core:21657] * test/ruby/test_beginendblock.rb (test_begininclass): add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/filehandler.rb (make_partial_content):nobu2010-01-183-2/+73
| | | | | | | add bytes-unit. [ruby-dev:40030] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/webrick/test_cgi.rb: require util.rb first to override thenobu2010-01-181-1/+1
| | | | | | | executable name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTPHeader#{content_range,range_length}):nobu2010-01-182-2/+7
| | | | | | | use inclusive range same as the header representation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add call-seq for Net::HTTP.start.naruse2010-01-181-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-01-18svn2010-01-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/digest.c (rb_digest_instance_hexdigest_bang): Fixknu2010-01-175-6/+54
| | | | | | | | | | | rdoc. * ext/digest/lib/digest.rb (Digest::Class.base64digest) (Digest::Instance#base64digest{,!}): New methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/digest.c (rb_digest_instance_digest)knu2010-01-172-8/+8
| | | | | | | | | (rb_digest_instance_hexdigest): Save a method call of reset() for a disposable clone. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (domain_check): check errno first.nobu2010-01-172-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/https.rb (parse_uri, meta_vars): suppress warnings.nobu2010-01-172-2/+3
| | | | | | | * lib/webrick/ssl.rb (listen): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (rb_str_derive): use long.nobu2010-01-172-4/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (iconv_convert): suppress a warning.nobu2010-01-174-6/+48
| | | | | | | * lib/mkmf.rb (check_signedness): new method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e