summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-06-10merges r28101 from trunk into ruby_1_9_2.yugui
-- * insns.def (defined): respond_to_missing? may not be available (for BasicObject instances). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10merges r28093 from trunk into ruby_1_9_2.yugui
-- * lib/tempfile.rb (Tempfile#unlink): leave @data. Assigning nil to @data caused double closing error of the same IO in finalizer. a patch from Simon Nicholls. [ruby-core:29395] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10merges r28088 from trunk into ruby_1_9_2.yugui
-- * file.c (rb_file_directory_p): update rdoc. a patch from Ilkka Laukkanen. [ruby-core:30016] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10merges r28086,r28162 and r28173 from trunk into ruby_1_9_2.yugui
-- * .gdbinit (rp): mark singleton classes. -- * .gdbinit (rp): detect and show RTypedData. -- * .gdbinit (rp): show type name for RTypedData. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10merges r28055 from trunk into ruby_1_9_2.yugui
-- * thread.c (blocking_region_begin): avoid RUBY_VM_CHECK_INTS() call during GVL state transition. [Bug#3354] [ruby-dev:41435] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10* 2010-06-11svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10* time.c (rb_localtime_r2): fix localtime overflow check.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10* time.c (rb_localtime_r2): refine localtime overflow check forakr
FreeBSD 6.4. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10* time.c (find_time_t): always outerpolate from past.akr
[ruby-core:30672] reported by Benoit Daloze. backport r28238 from trunk. * time.c (calc_tm_yday): extracted from timegmw_noleapsecond. backport r28236 from trunk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10merge revision(s) 28245:naruse
------------------------------------------------------------------------ r28245 | naruse | 2010-06-10 13:31:08 +0900 (Thu, 10 Jun 2010) | 4 lines Revert r28200. It caused many failures on test-all and following is SEGV. ./ruby -e 'require %!#{"foo/" * 10000}foo!' ------------------------------------------------------------------------ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10merge revision(s) 28243:naruse
* io.c (rb_io_putc): documentation updated to mention putc would not work well with multi-byte characters. [ruby-core:30697] * io.c (rb_f_putc): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-08merge revision(s) 27667:naruse
* ext/etc/etc.c (etc_systmpdir): moved from ext/tmpdir. * ext/etc/etc.c (etc_sysconfdir): added. * lib/rubygems/config_file.rb, lib/tmpdir.rb: use etc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-08merge revision(s) 28128:naruse
------------------------------------------------------------------------ r28128 | nobu | 2010-06-02 23:06:25 +0900 (Wed, 02 Jun 2010) | 2 lines * test/ruby/test_{string,symbol}.rb (test_ascii_incomat_inspect): ASCII range characters are no longer escaped. ------------------------------------------------------------------------ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-08* test/ruby/test_proc.rb (test_parameters): require is no longer built-in.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-07* test/rubygems/test_gem_activation.rb: typo.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-07* gem_prelude.rb: load full rubygems at LoadError for activationnobu
check. [ruby-core:29486] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-07* io.c (parse_mode_enc): set set_by_bom bit. [ruby-core:30641]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-06 * gc.c (heaps_slot, assign_heap_slot, gc_sweep): skip sweep iftarui
heap_slot's status is pre-free phase. [ruby-dev:41543] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-06* string.c (rb_str_buf_cat_escaped_char): get rid of buffernobu
overflow on platforms int is bigger than 32bit, and warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-06 * test/ruby/test_env.rb (class TestEnv): fix typo.tarui
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-06* array.c (rb_ary_product): need to set the length in order to getnobu
the entries marked. [ruby-dev:41540] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-05* vm.c (Init_BareVM): call Init_native_thread here.akr
* thread.c (Init_Thread): don't call Init_native_thread. * thread_pthread.c (Init_native_thread): exported. * thread_win32.c (Init_native_thread): ditto. [ruby-dev:41536] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-05* NEWS: Enumerable#join has been reverted. [ruby-core:30604]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-05merge revision(s) 28103:naruse
* encoding.c (rb_enc_unicode_p): check the encoding is Unicode or not by the name; not function's pointer. [ruby-dev:41479] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-05merge revision(s) 28174:28178:naruse
* re.c (rb_reg_expr_str): ASCII incompatible strings must always escape or converted. * re.c (rb_reg_expr_str): use rb_str_buf_cat_escaped_char when resenc is given: for Regexp#inspect or error message. * re.c (rb_reg_desc): add 'n' for ENCODING_NONE. * string.c (sym_inspect): Escape when the symbol is not resulted encoding and not ascii_only. It had escaped ascii-incompatible string, but it is wrong. * string.c (rb_str_buf_cat_escaped_char): defined. Splited from rb_str_inspect. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-05merge revision(s) 28104:naruse
* string.c (rb_str_inspect): inspect as ASCII when the codepoint of a character in Unicode string is ASCII printable one. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-05* ruby.c (process_options, load_file_internal): $0 seen fromnobu
required libraries by -r option should be the main script. [ruby-core:23717] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-05* test/ruby/envutil.rb (EnvUtil#invoke_ruby): support for childnobu
process env. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-05* test/net/imap/test_imap.rb (test_exception_during_shutdown):nobu
need to raise always. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-05* lib/matrix.rb (eql?, ==, minor): Fix bugs when comparing/returning somemarcandre
empty matrices. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-05* lib/matrix.rb: trivial optimizationsmarcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-05* error.c (rb_name_err_mesg_new): guard mesg, recv and method.akr
The problem in [ruby-dev:41464] is caused because mesg is collected. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-05* ruby.c (process_options): revert r25330, so that $0 can be seennobu
from required libraries by -r option. [ruby-core:23717] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-04* file.c (rb_f_test): 'W' should test writable by real uid/git,nobu
not world writable. [ruby-core:30587] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-04* ext/dl/cfunc.c (rb_dlcfunc_inspect): should taint the result.nobu
[ruby-dev:41533] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-03* 2010-06-04svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-03* ext/digest/lib/digest/hmac.rb: Emit a deprecation warning inknu
verbose mode and add a caution to the overview section of the document. [ruby-dev:41525] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-03* ext/dl/cfunc.c (rb_dlcfunc_inspect): suppress warnings bynobu
rb_sprintf. * ext/dl/cptr.c (rb_dlptr_s_malloc): suppress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-03* load.c (ruby_init_ext): statically linked extensions have nonobu
real path. [ruby-dev:41526] * vm.c (rb_vm_call_cfunc): add filepath argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-03* test/rake/test_win32.rb (Rake::TestWin32): update tests.nobu
[ruby-core:30309] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-03* test/io/nonblock/test_flush.rb (test_flush): try pipe andnobu
socketpair. [ruby-dev:41517] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-03* test/gdbm/test_gdbm.rb (test_s_open_create_new): Windows doesn't supportsusa
UNIX like permittions. * test/gdbm/test_gdbm.rb (test_s_open_error): Errno::EWOULDBLOCK is raised on Windows in such case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-03* test/openssl/test_config.rb (test_freeze): skip on Windows because Config.newusa
needs an argument on it. When the maintainer returns, this test shall be corrected. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-03merge from trunk (r28138)usa
* ext/dl/dl.h (DLSTACK_TYPE): type of stack is same as VALUE. reported by sakiyama shin in [ruby-dev:41514] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-02* test/ruby/test_path.rb (test_path): get rid of blocking onnobu
access to non-existent host. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-02* 2010-06-02svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-02merge from trunk (r28125)usa
* test/dl/test_cfunc.rb (test_last_error): CFunc.last_error is thread local variable. So, if another test calls CFunc#call, it's set. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-01merge revision(s) 28120:naruse
* re.c (unescape_nonascii): \P{FOO} is also Unicode property in regexp. [ruby-core:30540] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-31* 2010-06-01svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-31 * io.c (pipe_open): add RB_GC_GUARD.tarui
This caused failure when test/ruby/test_argf.rb is executed with GC.stress = true in mswin32_90 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e