aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* test_gem_silent_ui.rb: fix leaked FDsnobu2014-07-252-0/+15
| | | | | | | | | | * lib/rubygems/user_interaction.rb (Gem::StreamUI#close): clean up IOs. * test/rubygems/test_gem_silent_ui.rb (TestGemSilentUI#teardown): fix leaked FDs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* leakchecker.rb: temporary measure againt WEBricknobu2014-07-251-1/+1
| | | | | | | * test/lib/leakchecker.rb (LeakChecker#find_threads): temporary measure for unrestartable WEBrick::Utils::TimeoutHandler::Thread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/unit.rb: temporary measure againt minitestnobu2014-07-251-1/+5
| | | | | | | * test/lib/test/unit.rb (deal): temporary measure for mixing output from the tests of minitest in parallel test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: change objspace::rgengc::parent_object_is_old (boolean)ko12014-07-252-10/+18
| | | | | | | | | | | | to objspace::rgengc::parent_object (VALUE). Use Qfalse or RVALUE pointer instead of FALSE and TRUE. * gc.c (gc_marks_body): should clear parent_object just before gc_mark_roots() because there are no parents objects for root objects. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_gc_writebarrier_remember_promoted): should remember onlyko12014-07-252-0/+14
| | | | | | | | OLD objects on RGENGC_AGE2_PROMOTION. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_mark_stacked_objects): fix error message.ko12014-07-252-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: reference GitHub pull requestcharliesome2014-07-251-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_gethostname): Use NI_MAXHOST to supportcharliesome2014-07-252-3/+13
| | | | | | hostnames longer than 64 characters if the system supports it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: make the receiver condition cleanernobu2014-07-252-11/+9
| | | | | | | * compile.c (defined_expr): make the condition if the receiver is explicit or implicit cleaner. [fix GH-681] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/keywords.rdoc: [DOC] Describe each keyword.drbrain2014-07-242-4/+159
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-07-25svn2014-07-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: dynamic const assign_error in rippernobu2014-07-242-5/+28
| | | | | | | | * parse.y (mlhs_node): dynamic constant assignment in massign should cause assign_error, like as single assign and backref assignment in massign. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: move common codenobu2014-07-241-4/+2
| | | | | | * parse.y (arg, primary): move common code shared with ripper. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (Init_win32ole): add WIN32OLE_RECORD#initializesuke2014-07-242-39/+252
| | | | | | | | | | | method. * ext/win32ole/win32ole.c (ole_val2variant): convert WIN32OLE_RECORD object to VT_RECORD variant. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/rbconfig/sizeof/depend (sizes.c): fix build failure since r46924.ngoto2014-07-241-1/+1
| | | | | | | [Bug #10089] [ruby-dev:48446] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: fix major GC flags.ko12014-07-243-18/+29
| | | | | | | | | | | | * add GPR_FLAG_MAJOR_BY_FORCE, which indicates major GC by METHOD, CAPI and so on (see GC_BY). * remove GPR_FLAG_MAJOR_BY_RESCAN because not used. * remove GPR_FLAG_MAJOR_BY_STRESS, use FORCE instead. * test/ruby/test_gc.rb: catch up. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: remove garbagenobu2014-07-241-2/+0
| | | | | | * parse.y (assoc): remove garbage semicolon added by r35489. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/io.h (struct rb_io_buffer_t): PACKED_STRUCT should notngoto2014-07-242-1/+7
| | | | | | | | be used for platform-specific optimization. PACKED_STRUCT_UNALIGNED should be used. [ruby-core:63988] [Bug #10088] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbconfig/sizeof: VPATH prefixnobu2014-07-241-1/+1
| | | | | | | * ext/rbconfig/sizeof/depend (sizes.c): prefix with nmake-style VPATH to use the distributed source in out-of-place builds. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.svn2014-07-230-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/benchmark.rb: split executable code into sample directory.hsbt2014-07-233-20/+24
| | | | | | * sample/benchmark.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.svn2014-07-230-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb: split executable code into sample directory.hsbt2014-07-233-10/+13
| | | | | | * sample/tempfile.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.svn2014-07-230-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-07-24svn2014-07-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pstore.rb: split executable code into sample directory.hsbt2014-07-233-22/+24
| | | | | | * sample/pstore.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* UNALIGNED_WORD_ACCESS on ppc64nobu2014-07-235-0/+13
| | | | | | | | | | * include/ruby/defines.h, siphash.c, st.c (UNALIGNED_WORD_ACCESS): add PowerPC64 too, which is capable to access unaligned words. patched by Gustavo Frederico Temple Pedrosa in [ruby-core:63937]. [Feature #10081] * regint.h (PLATFORM_UNALIGNED_WORD_ACCESS): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* defines.h: PACKED_STRUCT_UNALIGNEDnobu2014-07-232-2/+20
| | | | | | | * include/ruby/defines.h (PACKED_STRUCT_UNALIGNED): move from configure.in for universal binary. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: missing commanobu2014-07-231-1/+1
| | | | | | | * configure.in (posix_fadvise): fix missing comma separating blocks. [ruby-core:62968] [Bug #9914] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* time.c: unnecessary encodingnobu2014-07-232-3/+15
| | | | | | | * time.c (time_zone_name): remove unnecessary encoding and conversion if it is 7bit-ascii only. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_time.rb: encoding of Time#zonenobu2014-07-231-3/+10
| | | | | | | * test/ruby/test_time.rb (assert_zone_encoding): encoding of Time#zone is not locale, but the default internal. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* minitest/unit.rb: flush messagesnobu2014-07-231-0/+1
| | | | | | | * test/lib/minitest/unit.rb (MiniTest::Unit#_run_suite): flush messages after each tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_x509req.rb: fix for RHEL7nobu2014-07-231-1/+1
| | | | | | | * test/openssl/test_x509req.rb (test_sign_and_verify_rsa_md5): fix exception to be rescued. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RHEL7 disables MD5naruse2014-07-232-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo [ci skip]kazu2014-07-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/extserv.rb: remove duplicate code with sample direcotry.hsbt2014-07-222-30/+5
| | | | | | contributed from @vipulnsward. [fix GH-679] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-07-23svn2014-07-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* split assertions into algorithmsnaruse2014-07-222-23/+36
| | | | | | | CentOS 7 seems finish MD5 support http://chkbuild005.hsbt.org/chkbuild/ruby-trunk/log/20140722T140010Z.fail.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: simplifynobu2014-07-221-8/+15
| | | | | | | * string.c (rb_str_count): move code for the first argument outside loop for the rest, as it is executed only once. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: raise at invalid byte sequencenobu2014-07-222-6/+14
| | | | | | | | * string.c (rb_str_count): raise at invalid byte sequence argument even if single-byte optimization is effective. [ruby-dev:48442] [Bug #10078] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: fix wrong single-byte optimizationnobu2014-07-223-2/+15
| | | | | | | | * string.c (rb_str_count): fix wrong single-byte optimization. 7bit ascii can be a trailing byte in Shift_JIS. [ruby-dev:48442] [Bug #10078] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-07-22svn2014-07-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rb_io_buffer_t: fix packing on gccnormal2014-07-212-2/+9
| | | | | | | | * include/ruby/io.h (rb_io_buffer_t): fix packing on gcc r46892 caused packing to be a no-op on gcc (4.7.2-5, Debian) [Bug #10079][ruby-core:63912] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.sub: no PACKED_STRUCT on old VCnobu2014-07-211-1/+3
| | | | | | | * win32/Makefile.sub (PACKED_STRUCT): __pragma extension is available since VC9. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby/io.h: fix rb_io_buffer_tnobu2014-07-211-2/+2
| | | | | | | * include/ruby/io.h (rb_io_buffer_t): fix usage of PACKED_STRUCT(). it must surround the whole declaration on VC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* optparse.rb: getopts message improvementnobu2014-07-212-3/+10
| | | | | | | * lib/optparse.rb (getopts): print default values and descriptions in the help message. [fix GH-676] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/rake: fix tests under test-allnobu2014-07-212-2/+4
| | | | | | | | | | | * test/rake/test_rake_application.rb (test_display_exception_details): `RbConfig::CONFIG["prefix"]` can be the root directory, under test-all. * test/rake/test_rake_test_task.rb (test_run_code_rake_default_gem): `-I` may be inserted, under test-all. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-07-21svn2014-07-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_module.rb: Bump up timeout inheadius2014-07-201-1/+1
| | | | | | | test_prepend_visibility_inherited for slow or heavily-loaded systems or slower-launching impls. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_core.h: fix commentnobu2014-07-201-1/+1
| | | | | | * vm_core.h (rb_proc_t): fix comment. safe_level is upto 3 now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e