summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-08-05ruby.h: rb_num2ulong_inlinenobu
* include/ruby/ruby.h (NUM2ULONG): optimize by inline as well as NUM2LONG, and cast to unsigned long explicitly for the platforms where SIZEOF_VALUE is larger than SIZEOF_LONG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-05* 2012-08-06svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-05ruby.h: fix castnobu
* include/ruby/ruby.h (NUM2SSIZET): fix type to cast. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-05add referencesnari
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-05* gc.c : if ENABLE_VM_OBJSPACE is 1, rest_sweep is not defined.nari
remove unused declarations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-05* gc.c: just move functions and so on. I don't touch any internalnari
implementation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-05test_etc.rb: remove implicit assumptionnobu
* test/etc/test_etc.rb (TestEtc#test_getpwuid): remove implicit assumption, that getpwuid() would return the first entry in the order of getpw(), for shared UID. apparently it is not true on MacOS X 10.8. [ruby-core:46975][Bug #6831] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-05* configure.in: use gcc-4.2 prior to clang, gcc, and cc if exist fornaruse
the use of Snow Leopard's old clang. see also r36594, r36610, r36611. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-04uncommented some teststadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-04added a commenttadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-04* 2012-08-05svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-04 * ext/date/date_{core,strftime}.c: [ruby-core:46990].tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-04* gc.c: use inline functions instead of macros, and close upnari
related codes for the profiler. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-04* gc.c (gc_mark_children): use gc_mark_ptr instead of markingnari
a object directly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-04* test/ruby/test_alias.rb (test_super_in_aliased_module_method):shugo
add a test case for [ruby-dev:46028], which fails in 1.8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-03vm_insnhelper.c: no recvnobu
* vm_insnhelper.c (vm_search_normal_superclass): no longer needs receiver, klass is always unique in the ancestors now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-03test_super.rb: renamenobu
* test/ruby/test_super.rb (TestSuper#test_double_include2): rename to get rid of redefinition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-03* 2012-08-04svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-03* insns.def (invokesuper): reverted r36612 so that super in anshugo
aliased method will not call the same method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-03* insns.def (invokesuper): don't skip the same class. instead, useshugo
rb_method_entry_get_with_omod() to avoid infinite loop when super is used with refinements. [ruby-core:30450] [Bug #3351] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-03configure.in: use default compilers for non-darwinnobu
* configure.in: use clang prior to gcc only when self-compiling on darwin. search default compilers on other platforms. [Bug #6816] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-03* configure.in: move RUBY_MINGW32 after AC_PROG_CC.naruse
RUBY_MINGW32 uses AC_TRY_CPP and it sets CC and CPP. [Bug #6816] * configure.in: don't use AC_PROG_CC in AS_CASE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-03un.rb: reduce duplicationnobu
* lib/un.rb (httpd): reduce duplicated code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-03un.rb: DocumentRootnobu
* lib/un.rb (httpd): document root is mandatory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-03runner.rb: no installed gemsnobu
* test/runner.rb: get rid of loading previously installed gems. [ruby-dev:46025] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-03fix a typokazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-03* .travis.yml (notifications): [experimental] IRC notificatoins.shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-03Revert "* configure.in: move RUBY_MINGW32 after AC_PROG_CC."naruse
This reverts commit r36603. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-03* configure.in: move RUBY_MINGW32 after AC_PROG_CC.naruse
RUBY_MINGW32 uses AC_TRY_CPP and it sets CC and CPP. [Bug #6816] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-02* 2012-08-03svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-02add missing *kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-02* eval.c (rb_mod_refine): fix documentation.ktsj
Module#refine does not return self, but module. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-02* vm_insnhelper.c (rb_vm_using_modules): fix indent.ktsj
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-02* vm_insnhelper.c (vm_call_method): remove garbage spaces.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-02* properties.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-02* eval.c (rb_mod_using): new method Module#using. [experimental]shugo
* eval.c (rb_mod_refine): new method Module#refine. [experimental] * eval.c (f_using): new method Kernel#using. [experimental] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-02* class.c, insns.def, method.h, proc.c, vm.c, vm_core.h, vm_eval.c,shugo
vm_insnhelper.c, vm_insnhelper.h, vm_method.c: add klass to rb_control_frame_t to implement super correctly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-02* configure.in (AC_PROG_CC): AC_PROG_CC tries clang at first onnaruse
darwin. [Bug #6816] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-02* gc.c: return true or false. Patch by Dirkjan Bussink. [Bug #6821]nari
* test/ruby/test_gc.rb: add test-case for this bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-02* ext/openssl/lib/openssl/digest.rbemboss
test/openssl/test_digest.rb: Add Digest module function to OpenSSL module and test it. Patch provided by Eric Hodel. [ruby-core:46908][Feature #6819] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-01test_framework.rb: show mkmf.log on failurenobu
* test/mkmf/test_framework.rb (test_core_foundation_framework): show mkmf.log on failure. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-01* 2012-08-02svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-01RB_TYPE_P BUILTIN_TYPEnobu
* string.c, vm_insnhelper.c, vm_method.c: use RB_TYPE_P() and BUILTIN_TYPE() if possible. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-01ext/digest/digest.c (hexencode_str_new): return an ASCII stringeregon
* test/digest: tests for all kind of digests encodings [ruby-core:46792][Bug #6799] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-31test_rubyoptions.rb: fix test failure on Windowsshirosaki
* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_encoding): Fix test_encoding failure on Windows. With chcp 65001, 1252 and 437, test_encoding failed. Test result depends on locale because LANG environment variable doesn't affect locale on Windows. [ruby-core:46872] [Bug #6813] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-31* 2012-08-01svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-31class.c: fix duplication of prepended modulenobu
* class.c (include_class_new): fix duplication of prepended module. since m_tbl of prepended module is always zero, copy from its copy iclass of original. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-31variable.c: fix r36574nobu
* variable.c (classname): tell if found name is permanent. search tmp_classpath only if class id is set. [ruby-core:42865][Bug #6078] * variable.c (rb_class_path): duplicate found temporary path. * variable.c (rb_set_class_path_string, rb_set_class_path): set class id to find classpath. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-31* ext/psych/lib/psych.rb: updated to released version.tenderlove
* ext/psych/psych.gemspec: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-31 * test/ruby/test_module.rb (TestModule#test_classpath): fixnobu
typos. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e