summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2010-10-27* bignum.c (rb_big2long, rb_big2ulong): rb2ulong() returns VALUE, butusa
its real range is ulong. So, if the size of VALUE is bigger than ulong, upper bits are always zero even if the actual value is negative. fixed #3490 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-27* test/ruby/test_io.rb (TestIO#pipe): should close write end of pipeusa
before closing read end, to get rid of timing problem. * test/ruby/test_io_m17n.rb (TestIO_M17N#pipe): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-27* win32/win32.c (rb_w32_getppid): support Win64.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-27* thread_win32.c (w32_error): should get error no only once, becauseusa
the result of the second getting will indicate the error of the first FormatMessage() call. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-27* ruby/test_io_m17n.rb (TestIO_M17N#pipe): fixed the mistake of previoususa
commit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-27* test/ruby/test_io.rb (TestIO#pipe): need to propagate exceptionsusa
in read/write thread. fix r29541. * test/ruby/test_io_m17n.rb (TestIO_M17N#pipe): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-27* class.c (clone_const): need to return value. fix r29602.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-27* include/ruby/ruby.h (NUM2LONG_internal): add cast to get rid of ausa
non GCC compiler warning. this is intentional type conversion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-27* cont.c: apply documentation patch by Run Paint Run Run.naruse
[ruby-core:32915] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-26* object.c (Init_Object), constant.h, variable.cmame
(rb_mod_private_constant, rb_mod_public_constant, set_const_visibility, rb_const_get_0): add Module#public_constant and private_constant. [ruby-dev:39685][ruby-core:32698] * test/ruby/test_module.rb: add tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-26* class.c, constant.h, gc.c, method.h, object.c, variable.c,mame
vm_insnhelper.c: use struct rb_constant_entry_t as entry of RCLASS_CONST_TBL. RCLASS_CONST_TBL has contained VALUE of constant directly. Now instead rb_const_entry_t is contained in RCLASS_CONST_TBL, rb_const_entry_t is managed by malloc, and have not only the value itself but also visibility flag. This is another preparation for private constant (see [ruby-dev:39685][ruby-core:32698]). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-26* 2010-10-27svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-26* class.c, gc.c, object.c, variable.c, vm_insnhelper.c,mame
include/ruby/ruby.h: separate RCLASS_CONST_TBL from RCLASS_IV_TBL. RCLASS_IV_TBL has contained not only instance variable table but also constant table. Now the two table are separated to RCLASS_CONST_TBL and RCLASS_IV_TBL. This is a preparation for private constant (see [ruby-dev:39685][ruby-core:32698]). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-26* lib/scanf.rb (extract_float): allow 2.e+2 style.naruse
[ruby-dev:42452] #3978 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-26* Makefile.in (ASFLAGS): needs INCFLAGS.nobu
* configure.in (rb_cv_dynamic_alloca): check if extra source for dynamic size alloca. * missing/x86_64-chkstk.s (___chkstk): necessary for alloca of amd64-mingw32msvc-gcc on Ubutu. * thread_win32.c (ruby_alloca_chkstk): check stack overflow git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-26* vsnprintf.c (BSD_vfprintf): suppress warnings.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-26* template/ruby.pc.in (Libs): needs DLDFLAGS.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-26* common.mk (pkgconfig-data): moved from Makefile.in.nobu
* tool/rbinstall.rb: install pc file only if non-empty. [ruby-core:32901] #3983 * win32/Makefile.sub (ruby_pc): create pc file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-26* .gitignore: ignore pkg-config metadata file.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-26* configure.in (rb_cv_gcc_atomic_builtins): check for atomicnobu
builtins, all are not available in Apple derivative gcc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-25* signal.c: fix typo.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-25* Makefile.in (pkgconfig-data): create pkg-config metadata file.nobu
* tool/rbinstall.rb: install pkg-config metadata file. * template/ruby.pc.in: template of pkg-config metadata file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-25ispell.shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-25* signal.c (rb_atomic_t): GCC (of at least recent versions)shyouhei
has ubiquitos support for atomic operations. On that compiler a C program can isse a memory barrier using these dedicated instructions. According to the GCC manual they cargo culted this feature form the Itanium ABI so chances are that other compilers could also support this feature. But so far GCC is the only compiler that I know to have it. Also note that this works on non-Itanium machines. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-25* test/ruby/test_array.rb (test_rotate!): fix expected message.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-24* vsnprintf.c (BSD_vfprintf): prec digits fractal part should benobu
appended to 0 if prec is given. [ruby-dev:42453] #3979 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-24* common.mk (run.gdb): Quit gdb on 'make gdb' whenko1
no signals are received. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-24* 2010-10-25svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-24* lib/date.rb: some corrections of documentation.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-24* array.c, gc.c, hash.c, object.c, string.c, struct.c,nobu
transcode.c, variable.c, vm.c, vm_insnhelper.c, vm_method.c: replace calls to rb_error_frozen() with rb_check_frozen(). a patch from Run Paint Run Run at [ruby-core:32014] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-24* include/ruby/intern.h (rb_check_frozen): optimize.nobu
[ruby-core:32878] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-24* lib/test/unit.rb (Test::Unit::Mini#run): abort if interrupted.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-24* lib/test/unit.rb (Test::Unit::Mini#run_test_suites): show thenobu
result even when interrupted on the way. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-24* lib/test/unit.rb (Test::Unit::Mini#run_test_suites): ensurenobu
output sync mode to be restored. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-24* vm.c (vm_define_method): defined method is run with the defaultnobu
public visibility regardless the visibility context of definition. [ruby-core:30638] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e