aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lib/tempfile.rb (Tempfile#open): re-open with same mode andnobu2010-03-293-1/+12
| | | | | | options as initialize. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* instance_methods should not special-case singleton classes, fixes #2993shyouhei2010-03-292-1/+8
| | | | | | Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/psych/visitors/test_to_ruby.rb: switching to assert_in_deltatenderlove2010-03-292-4/+5
| | | | | | * test/psych/visitors/test_yaml_tree.rb: switching to assert_in_delta git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert "* configure.in (ac_cv_func_snprintf, ac_cv_func_vsnprintf):"naruse2010-03-292-7/+4
| | | | | | | This reverts commit r27078. It causes build failure on some environments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c: change include order; ruby.h should be at first.naruse2010-03-292-22/+27
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * psych: svn:eol-style.nobu2010-03-280-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-03-29svn2010-03-281-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/*: importing Psych to trunktenderlove2010-03-2866-0/+6056
| | | | | | | * test/psych/*: ditto * lib/psych/*: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ac_cv_func_snprintf, ac_cv_func_vsnprintf):naruse2010-03-282-4/+7
| | | | | | | use own vsnprintf to avoid locale problems and platform difference. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/scanf.rb: fix max width modifier for %f.naruse2010-03-283-3/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Imported minitest 1.6.0 r5717.ryan2010-03-286-107/+509
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (rb_time_magnify): fix for LP64.akr2010-03-282-2/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/scanf.rb: fix %[egEFG] isn't accept.naruse2010-03-283-8/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c: rename small integer specialization related identifiers.akr2010-03-282-160/+164
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (weq): optimize for small integer.akr2010-03-272-12/+97
| | | | | | | | | | | | | | | (wne): ditto. (wlt): ditto. (wgt): ditto. (wle): ditto. (wge): ditto. (rb_time_magnify): ditto. (rb_time_unmagnify): ditto. (rb_time_unmagnify_to_float): new function to avoid rational for Time#to_f and Time#-. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (mul): condition refined.akr2010-03-272-5/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-03-28svn2010-03-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c: fix previos commit.akr2010-03-273-6/+30
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-03-27svn2010-03-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c: use 64bit arithmetic even on platforms with 32bit VALUE.akr2010-03-272-142/+481
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: add Thread#add_trace_func and Thread#set_trace_func.wanabe2010-03-263-0/+69
| | | | | | * test/ruby/test_settracefunc.rb (test_thread_trace): add test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: add author name of a patchmame2010-03-261-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_x509store.c (ossl_x509store_initialize): initializemame2010-03-262-0/+7
| | | | | | | store->ex_data.sk. [ruby-core:28907] [ruby-core:23971] [ruby-core:18121] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (DOXYGEN): Define a missing variable DOXYGEN. Buildknu2010-03-262-0/+8
| | | | | | | | | | has been failing when doxygen(1) is found by configure but the variable is not defined by the system and make(1) does not allow an empty command. ("@$(DOXYGEN)" was the cause) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_hash.rb (test_recursive_key): recursive keys areshugo2010-03-262-2/+9
| | | | | | permitted now. [ruby-dev:40735] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: adding deprecation notices to YAML methodstenderlove2010-03-261-4/+28
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/basenode.rb: deprecating YPath methodstenderlove2010-03-264-1/+16
| | | | | | | * lib/yaml/stream.rb: deprecating YAML::Stream#edit * test/yaml/test_yaml.rb: requiring yaml/ypath for tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/encoding.rb: YAML.encode, YAML.decode are deprecated.tenderlove2010-03-264-0/+14
| | | | | | | | * lib/yaml/stringio.rb: yaml/stringio.rb is deprecated. * lib/yaml/ypath.rb: YAML::YPath is deprecated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/extconf.rb: fix [ruby-core:28901] [Bug #2997]. Thanks, Michael Graff.nagai2010-03-255-37/+55
| | | | | | | | | * ext/tk/tcltklib.c: use xfree() for memories allocated by ALLOC(). * ext/tk/tkutil/tkutil.c: ditto. * ext/tk/lib/tkextlib/version.rb: forgot updating. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-03-26svn2010-03-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ref.wanabe2010-03-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_reset_event_flags): set flags to thread.wanabe2010-03-252-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_get_path_check): prefer #to_path over #to_str. a patchmame2010-03-252-7/+9
| | | | | | | originally written by me, and modified by Nobuyoshi Nakada. [ruby-core:24257] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: Array#{uniq,uniq!} can take a block. see [ruby-dev:37998]kazu2010-03-252-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: add IO#autoclose=, IO#autoclose?, IO#codepoints, IO#each_codepoint.kazu2010-03-252-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_{read,write}): fix handle leaks. based onnobu2010-03-252-0/+7
| | | | | | a patch from Heesob Park in [ruby-core:28919]. [ruby-core:28833] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: add Kernel#singleton_class.kazu2010-03-252-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c, node.h, strftime.c, enc/trans/utf8_mac.trans: added explicit ↵muraken2010-03-255-14/+20
| | | | | | casts for supplessing warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_dir_m17n.rb: HFS+ escapes invalid byte sequences of filenames.muraken2010-03-252-8/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ruby_version): needs runnable CPP.nobu2010-03-242-12/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot (package): take a breath for HP-UX makenobu2010-03-242-1/+5
| | | | | | | [ruby-core:28938]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot (Dir.mktmpdir): for 1.8.6 backward compatibility.nobu2010-03-242-1/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot (package): $: no longer contains ".", in trunk.nobu2010-03-242-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/charset_alias.rb: update of URL. [ruby-dev:38360]nobu2010-03-244-6/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_create_core): let new thread inherit RUBY_EVENT_VMmame2010-03-242-1/+17
| | | | | | | | | of event_flags. [ruby-core:25191] * thread.c (rb_threadptr_exec_event_hooks): delete RUBY_EVENT_VM if all event_hooks are removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: revert the previous commit, which seemed to break makemame2010-03-242-13/+18
| | | | | | | install. The files of standard libraries are directly installed to $(PREFIX)/lib/ruby instead of $(PREFIX)/lib/ruby/1.9.1 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (LDSHARED, CPP): keep $(CC). [ruby-core:28912]nobu2010-03-242-12/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_add_method): prototype of rb_vm_get_sourceline.nobu2010-03-241-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_read): limit read size to 16KB if the filenobu2010-03-242-2/+22
| | | | | | | seems to be console. [ruby-core:28902] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (file_expand_path): set length of string before callingnaruse2010-03-242-2/+11
| | | | | | | rb_enc_check because rb_enc_check scans its content. This prevents warnings by valgrind. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e