summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-07-16 * ext/socket/lib/socket.rb (Socket.tcp_server_sockets_port0): serversusa
is nil if an error occurs before setting it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-16* random.c (fill_random_seed): suppress a warning.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-16* configure.in (MANGLED_PATH): disabled on cygwin and mingw.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-16* hash.c (rb_hash_aset, recursive_hash): rejects recursive hash.nobu
[ruby-core:22921] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-16* id.c (Init_id), vm.c (vm_exec): @#__ThrowState__ is no longernobu
used. [ruby-dev:38760] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-16* ChangeLog: log entry for r24144.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-16* ChangeLog: reverted entries removed mistakenly at r23889.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-16* vm_method.c (rb_alias): fix a case which try non-existing method alias.ko1
* test/ruby/test_alias.rb: add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-16* io.c (io_reopen): discards read buffer. [ruby-core:24240]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-16* bignum.c (rb_big_new, rb_bigzero_p), range.c (rb_range_values):nobu
added for random.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-16* random.c (rb_random_t): objectified. [EXPERIMENTAL]nobu
[ruby-dev:30954] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-16* array.c (rb_ary_sample): RDoc update. a patch from Florianmatz
Frank. [ruby-core:24347] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-16Fix SEGV of readline on FreeBSD. [ruby-core:21884]naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-16* vm_eval.c: adjusted indent.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-16* method.h: properties.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-16* node.h, vm_core.h, variable.c: rename global_entry to rb_global_entry.ko1
* compile.c, insns.def, iseq.c, vm_insnhelper.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-15* vm_method.c: separate clearing cache entry code.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-15* dir.c (push_glob): re-fix GC problem.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-15* common.mk: add method.h.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-15* 2009-07-16svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-15* io.c (argf_free): free data body.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-15* method.h, vm_core.h: add rb_method_entry_t. Remove nodes aroundko1
method management. This change affect some VM control stack structure. * vm.c, vm_insnhelper.c, vm_method.c, vm_eval.c: ditto. and make some refactoring. * insns.def, class.c, eval.c, proc.c, vm_dump.c : ditto. * vm_core.h, compile.c (iseq_specialized_instruction): remove VM_CALL_SEND_BIT. use another optimization tech for Kernel#send. * node.h: remove unused node types. * ext/objspace/objspace.c (count_nodes): ditto. * gc.c: add mark/free functions for method entry. * include/ruby/intern.h: remove decl of rb_define_notimplement_method_id(). nobody can use it because noex is not opend. * iseq.c (iseq_mark): fix to check ic_method is available. * iseq.c (rb_iseq_disasm): fix to use rb_method_get_iseq(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-15* dir.c (push_glob): fix GC problem.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-15* ext/purelib.rb: translates a fake path to rubygems in $" intoyugui
an alternative in $: so that Kernel.#require does not load more rubygems.rb. Resolves many failures in test/rubygems/*. * gem_prelude.rb (Gem.load_full_rubygems_library): supports case the rubygems to load is not in $(rubylibprefix). (Gem.path_to_full_rubygems_library): new method for the changes in purelib.rb and Gem.load_full_rubygems_library. (Gem.fake_rubygems_as_loaded): new method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-15 * win32/Makefile.sub (LIBPATHFLAG): path is already quoted in mkmf.rb.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-14* ext/tk/extconf.rb: --with-{tcl,tk}-dir doesn't work.[ruby-dev:38782]nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-14* 2009-07-15svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-14Set tempfile name with literal.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-14* ext/io/nonblock: moved from ext/io/wait/lib.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-14Check pos and strlen on Regexp#index(str, pos) [ruby-core:23660]naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-14* io.c (rb_io_initialize): check if the descriptor can be accessednobu
in the specified open mode. [ruby-dev:38571] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-14* ext/tk/lib/multi-tk.rb: Long-term-callback support isn't stable yet.nagai
So, disable the feature and waiting for improvement in the future. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-13* ext/tk/lib/tk/menuspec.rb: commit miss on my last commitment.nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-13Follow tests for changes of ENV's encoding.naruse
* test/ruby/test_m17n.rb (TestM17N#test_env): the encoding of ENV is now locale encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-13* marshal.c (r_object0): should return real object.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-13* enumerator.c (yielder_yield_i): use rb_proc_new instead ofmame
rb_iterate. [ruby-dev:38518] * README.EXT: rb_iterate is obsolete since 1.9; use rb_block_call instead. * README.EXT.ja: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-13* 2009-07-14svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-13* test/ruby/test_case.rb (TestCase#test_deoptimization):yugui
test for [ruby-core:23190]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-13* lib/prime.rb (Prime#prime_division): now decomposesyugui
negative integer into a decomposition with element [-1, 1]. * test/test_prime.rb: test for it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-13 * io.c (pipe_open): handles leaked on win32 when an error occurs.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-13* proc.c (Kernel#define_singleton_method): rdoc. based on a patch byyugui
Marc-Andre Lafortune <ruby-core-mailing-list AT marc-andre.ca>. [ruby-core:23944]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-13* lib/tempfile (Tempfile.open): rdoc. patch by Nobuhiro IMAI.yugui
#1694 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-13* marshal.c (r_object0): should not shadow outer variable not tonobu
return Qnil always. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-13* marshal.c (r_object0): copy instance variables to new regexp.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-13* vm_core.h, compile.c: declare struct iseq_inline_cache_entry.ko1
Inline cache (IC) entries are no longer GC managed object. IC entries are freed when ISeq is freed. * iseq.c: fix mark, free, memsize functions for above change. * insns.def: remove rb_gc_write_barrier(). * vm_insnhelper.c (vm_method_search): ditto. * tool/instruction.rb, template/insns_info.inc.tmpl (insn_iclen): added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-13* .gitignore: synchronized with svn:ignore.yugui
* spec/.gitignore: merged into /.gitignore git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-13ignores $(srcdir)/breakpoints.gdb.yugui
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-13ext/tk: ignores generated ext/tk/config_listyugui
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-13* insns.def, vm_insnhelper.c (getinstancevariable):ko1
fix to use inline cache. * compile.c: fix to skip inline cache entry (IC). IC is added automatically by compiler. * insns.def, vm_insnhelper.h: fix IC positions. * iseq.c: increment minor_version of ISeq because of above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-13* ext/tk: eol-style.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e