aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* fix typos [ci skip]kazu2015-03-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* driver.rb: name widthnobu2015-03-051-3/+1
| | | | | | | * benchmark/driver.rb (BenchmarkDriver#adjusted_results): calculate max width of names at last. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c: [DOC] #delete method actually returns nil, if the keygogotanaka2015-03-052-2/+7
| | | | | | is not found. [fix GH-844][ci skip] Patch by @ivdma git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* driver.rb: fix indexnobu2015-03-051-4/+4
| | | | | | * benchmark/driver.rb (show_results): fix index of results. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove GEM directories at exitnobu2015-03-051-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c: refactoring: remove unnecessary variable d0 to unify codegogotanaka2015-03-052-43/+41
| | | | | | appearance. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (eval_string_with_cref): A binding should keepshugo2015-03-053-20/+39
| | | | | | | | refinements activation information and the refinements should be activated in subsequent eval calls with the binding. [ruby-core:67945] [Bug #10818] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* driver.rb: plain text tablenobu2015-03-051-12/+24
| | | | | | | * benchmark/driver.rb (show_results): support plain text style table format output. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* driver.rb: suffixnobu2015-03-051-2/+7
| | | | | | * benchmark/driver.rb: add suffix to default output file name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_refinement.rb: There is no need anymore to supressshugo2015-03-052-7/+5
| | | | | | warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .travis.yml: no check for diagnostic reportsnobu2015-03-051-1/+0
| | | | | | | * .travis.yml (after_failure): remove false positive check by diagnostic reports. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* driver.rb: MarkDown tablenobu2015-03-051-5/+25
| | | | | | | * benchmark/driver.rb (show_results): support MarkDown style table format output. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-03-05svn2015-03-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (random_raw_seed): Avoid calling fill_random_bytes()odaira2015-03-042-0/+8
| | | | | | | | if the requested size is 0. AIX returns -1 for 0-byte read from /dev/urandom, while other UNIX returns 0. With this change, Random.raw_seed(0) consistently retuns "" in any UNIX. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_math.rb (assert_float_and_int): Refactor test casesgogotanaka2015-03-042-46/+26
| | | | | | by introducing assert_float_and_int. [misc #10810] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* symbol.c: make dsym_fstrs an identity hashnobu2015-03-042-1/+8
| | | | | | | | | * symbol.c (Init_sym): make dsym_fstrs a hash compared by identity as the keys are unique fstrings, to get rid of running hash and compare methods and causing new object allocation during garbage collection phase. [ruby-dev:48891] [Bug #10933] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: set umask 077nobu2015-03-041-1/+1
| | | | | | | * tool/rbinstall.rb: default umask to prohibit group/others from reading/writing/executing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* envutil.rb: no need to sleepnobu2015-03-041-1/+0
| | | | | | | | * test/lib/envutil.rb (assert_in_out_err): remove sleep to catch the just time, and it is unnecessary as diagnostic_reports waits for 3 seconds. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c: Fix typo in slice_after's exception message.hsbt2015-03-042-1/+6
| | | | | | [fix GH-842][ci skip] Patch by @jsyeo git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/methods.rdoc: add some missing spaces andhsbt2015-03-042-6/+12
| | | | | | | fix a grammatical error in method docs. [fix GH-843][ci skip] Patch by @nikolas git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* envutil.rb: diagnostic_reports for SIGTRAPnobu2015-03-041-1/+1
| | | | | | | * test/lib/envutil.rb (EnvUtil.diagnostic_reports): SIGTRAP also generate diagnostic report file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/redmine-backporter.rb (backport_command_string): pick up onlyusa2015-03-032-4/+22
| | | | | | | when the revision exists in trunk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf/base.rb: clean up tmpdirnobu2015-03-031-1/+1
| | | | | | | * test/mkmf/base.rb (TestMkmf#assert_separately): call teardown to clean up temporary directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: gems dir_modenobu2015-03-031-1/+3
| | | | | | | * tool/rbinstall.rb (DirPackage#extract_files): set directories permission of gems. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c: volatile inside EXEC_TAGnobu2015-03-032-4/+15
| | | | | | | | | * thread.c (rb_thread_io_blocking_region): assigned variables inside EXEC_TAG() should be volatile. * thread.c (rb_thread_s_handle_interrupt): ditto. * thread.c (exec_recursive): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .travis.yml: no diagnostic reportsnobu2015-03-031-0/+1
| | | | | | | * .travis.yml (script): no diagnostic reports files should be left. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-03-04svn2015-03-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/redmine-backporter.rb: now can specify shorten form of commands.usa2015-03-032-24/+78
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/redmine-backporter.rb (Readline.readline): drop untreated controlusa2015-03-032-2/+9
| | | | | | | characters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/lib/envutil.rb (EnvUtil.invoke_ruby): need to rescue becauseusa2015-03-032-1/+6
| | | | | | | Signal.signame may raise exception. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove ruby_1_9_2 supportnaruse2015-03-031-7/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add teenyupnaruse2015-03-031-11/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_rubyoptions.rb: use assert_in_out_errnobu2015-03-032-14/+3
| | | | | | | | | | * test/ruby/test_rubyoptions.rb (assert_segv): assert_in_out_err with the pattern list instead of invoke_ruby. * test/-ext-/bug_reporter/test_bug_reporter.rb (test_bug_reporter_add): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* envutil.rb: improve by assert_pattern_listnobu2015-03-031-1/+3
| | | | | | | | * test/lib/envutil.rb (assert_in_out_err): improve to match by assert_pattern_list if expected result is other than Regexp or String list. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_process.rb: use assert_in_out_errnobu2015-03-031-17/+3
| | | | | | | * test/ruby/test_process.rb (test_status_quit): use assert_in_out_err to simplify and clean diagnostic reports. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/redmine-backporter.rb: use 'b' instead of 's' for showingusa2015-03-032-3/+8
| | | | | | | Backport options for merger.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/redmine-backporter.rb: show selected ticket number at prompt.usa2015-03-032-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_math.rb: add tests for the above change.gogotanaka2015-03-032-0/+23
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (num2dbl_with_to_f): direct casting from Rational to double.gogotanaka2015-03-032-2/+18
| | | | | | [Feature #10909] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_rubyoptions.rb: use assert_segvnobu2015-03-031-18/+6
| | | | | | | * test/ruby/test_rubyoptions.rb (test_segv_loaded_features): use assert_segv to simplify. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .travis.yml: CONFIG_FLAGnobu2015-03-031-3/+4
| | | | | | | * .travis.yml (before_install): merge options for extension libraries to CONFIG_FLAG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .travis.yml: install missing librarynobu2015-03-031-2/+3
| | | | | | | | * .travis.yml (before_install): install gdbm too. * .travis.yml (script): test options should be in TESTOPTS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .travis.yml: suppress travis specific failurenobu2015-03-031-0/+1
| | | | | | | * .travis.yml (before_script): suppress the failure which happens only in travis OSX for the time being. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_symbol.rb: avoid a false positive in AIXodaira2015-03-022-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-03-03svn2015-03-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: set PRELOADENV in Solaris to avoid "wrong ELF class" error.ngoto2015-03-022-0/+11
| | | | | | | | | [Bug #10926] [ruby-dev:48888] * configure.in: set LIBPATHENV for 32-bit compile in Solaris in addition to 64-bit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* envutil.rb: fix typonobu2015-03-021-1/+1
| | | | | | * test/lib/envutil.rb (invoke_ruby): fix typo again. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* envutil.rb: fix const namenobu2015-03-021-1/+1
| | | | | | * test/lib/envutil.rb (invoke_ruby): fix an exception class name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_process.rb: remove intermediate child processnobu2015-03-021-62/+12
| | | | | | | | * test/ruby/test_process.rb (test_deadlock_by_signal_at_forking): spawn the target process directly with assert_separately and remove intermediate child process. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* envutil.rb: timeout_error argument to invoke_rubynobu2015-03-021-10/+11
| | | | | | | | | | | | | * test/lib/envutil.rb (invoke_ruby): add `timeout_error` optional keyword argument, the exception class to be raised if the target process timed out. if it is nil, no exception will be raised at timeout but the terminated output, error, and status will be returned. defaulted to Timeout::Error. * test/lib/envutil.rb (assert_separately): check outputs and status (including diagnostic reports) of timed-out process. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e