summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-02* vm_method.c (rb_clear_cache_by_class): just return if the class hasakr
no method. reported by Eric Wong. [ruby-core:32689] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-02* ext/psych/lib/psych/visitors/visitor.rb (initialize): push accessortenderlove
methods to subclass that actually uses them. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-02* 2010-11-03svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-02* ext/psych/lib/psych/visitors/visitor.rb (accept): switch totenderlove
a dispatch cache rather than case / when statement. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-02* NEWS: fix a typo.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-02fix bug#3990, rake/test_tasksarton
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-01* 2010-11-02svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-01* ext/socket/extconf.rb: win64 is just same with win32 about socket.usa
notice: but wince is not same. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-01* main.c: <stdlib.h> is needed, to introduce the getenv(3)shyouhei
prototype declaration. Without it a C compiler shall infer the getenv type as "int getenv(...);", but this is totally wrong, especially when your machine's sizeof(int) and sizeof(char*) differs. On such environment a return value of getenv(3), which is in fact a char*, might first casted into a int (loses data here), and then casted back to char* by automatic integral promotion fo fit to the prototype of ruby_set_debug_option(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-31* 2010-11-01svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-31* gc.c (finalizer_table, objspace->final.table):ko1
Create finalizer_table at Init_heap(). Remove all null checks of finalizer_table. * gc.c (mark_tbl): skip if no table entries. * gc.c (slot_swee): remove useless need_call_final check. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-31* gc.c (rb_objspace_free): finalizers should be called separatelynobu
from freeing objspace. [ruby-dev:42479] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-31* eval.c (ruby_cleanup): free current VM and its objspace evennobu
when exiting by SystemExit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-31* compile.c (new_child_iseq): adjust argument types.nobu
* iseq.c (prepare_iseq_build, rb_iseq_new), (rb_iseq_new_with_bopt_and_opt, rb_iseq_new_with_opt), (rb_iseq_new_with_bopt): ditto. * compile.c (iseq_set_exception_table): suppress warnings. * insns.def (putspecialobject, defined): ditto. * iseq.c (iseq_load): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-31* 2010-10-31svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-31* vm_core.h: some refactoring.ko1
- move decl. of rb_compile_option_struct to iseq.h. - define enum iseq_type. - define enum vm_special_object_type. * compile.c: some refactoring. - apply above changes. - (struct iseq_link_element): change value of type. - remove unused decl. - fix comment. - rename iseq_build_body and iseq_build_exception to iseq_build_from_ary_body and iseq_build_from_ary_exception. * iseq.h: define enum catch_type and enum defined_type. * insns.def: apply above changes. * iseq.c: define ISEQ_MAJOR_VERSION and ISEQ_MINOR_VERSION. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30* lib/rexml/encoding.rb: untabify.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30* ./: add *.pc to svn:ignore.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30* lib/rexml/encoding.rb: use Ruby native encoding mechnism. [ruby-dev:42464]kou
* lib/rexml/encodings/: remove. * lib/rexml/document.rb, lib/rexml/formatters/default.rb, lib/rexml/output.rb, lib/rexml/parseexception.rb, lib/rexml/parsers/baseparser.rb, lib/rexml/source.rb, lib/rexml/xmldecl.rb: use Ruby's native Encoding object. * test/rexml/, test/rss/: follow the above encoding chagnes. * NEWS: add REXML's incompatible change about encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30* util.c (ruby_strtod): get rid of overflow/underflow as possible.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30* util.c (ruby_strtod): fix indent.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30* configure.in (ruby_pc): erase runtime-defined variables andnobu
check if generated pc file is valid. * template/ruby.pc.in (DEFFILE): need for mingw. * template/ruby.pc.in (LIBRUBY): fix the order. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30property.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30* win32/Makefile.sub (ruby_pc): ignore missing variables.nobu
* template/ruby.pc.in: add missing variables for mswin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30* object.c: Make BasicObject.new accept no parameter.marcandre
Revert of r26135 [ruby-core:27080], as per [ruby-core:32952]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30* enum.c: use constants in id.h.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30* test/fiddle/test_closure.rb (test_memsize): test for r29635.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30* ext/fiddle/closure.c (fiddle_closure): embed cif not referencenobu
so that the content surely get initialized. [ruby-dev:42480] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-29property.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-29* lib/resolv-replace.rb: suppress warning.akr
* lib/open-uri.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-29* test/pathname/test_pathname.rb (TestPathname#test_grpowned?): theakr
group of the created file is inherited from the parent directory on BSDs and MacOS X. Linux also inherit the group if the setgid bit of the directory is set. It causes the test fail. fixed by Shota Fukumori. [ruby-dev:42458] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-29* lib/resolv.rb: retry via TCP if UDP reply is truncated.akr
fixed by Julian Mehnle. [ruby-core:32407] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-29* iseq.c (iseq_s_compile): fix optional argument.ko1
a patch from Yutaka HARA [ruby-core:32953] [Ruby 1.9-Bug#4001] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-29* 2010-10-30svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-29* ext/objspace/objspace.c (memsize_of): take care ofko1
T_CLASS/const_tbl. a patch from nagachika <nagachika00@gmail.com> [ruby-dev:42490] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-29* test/profile_test_all.rb: added.ko1
You can use test-all profiler with the following command: RUBY_TEST_ALL_PROFILE=true make test-all This command generates ./test_all_profile and you can analyse which tests consume memories. * test/runner.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-29* tool/enc-unicode.rb,naruse
enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt, enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src: Add 'Unknown' Script. patched by Run Paint Run Run. [ruby-core:32937] #3998 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-28fix typos includes [ruby-dev:42474]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-28* ext/objspace/objspace.c (ObjectSpace.memsize_of_all): renameko1
ObjectSpace.total_memsize_of_all_objects() to ObjectSpace.memsize_of_all([klass]). Accept Class object to filter the objects. * test/objspace/test_objspace.rb: fix test for above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-28* 2010-10-29svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-28* string.c (rb_str_dump): fix expected length. [ruby-core:32935]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-28* gc.c (before_gc_sweep, run_final): fix decrement timing of final_num.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-28* tool/enc-unicode.rb,naruse
enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt, enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src: Update Oniguruma for Unicode 6. patched by Run Paint Run Run. [ruby-core:32923] #3989 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-28* include/ruby/oniguruma.h (ONIGENC_CTYPE_SPECIAL_MASK):naruse
change mask from 128 to 256. [ruby-core:32931] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-28Fix test for r29617.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-28* lib/webrick/httprequest.rb (read_request_line): extend maxnaruse
length to 2083. This is from Internet Explorer's max uri length. http://support.microsoft.com/kb/208427 [ruby-core:32924] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-27* gc.c (GC.stat): added. [ruby-dev:38607]ko1
* test/ruby/test_gc.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-27* 2010-10-28svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-27* ext/objspace/objspace.c (memsize_of): fix rdoc.ko1
* ext/objspace/objspace.c (total_memsize_of_all_objects): added. * test/objspace/test_objspace.rb: - add a test for ObjectSpace.total_memsize_of_all_objects. - add two tests for ObjectSpace.memsize_of (for nil and Fixnum). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-27* ext/iconv/iconv.c (Init_iconv): warn deprecated use.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e