summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-08-27* test/ruby/test_complex.rb: removed unreachable code.hsbt
* test/ruby/test_rational.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-26compile.c: assigned in REALLOC_Nnobu
* compile.c (iseq_set_sequence): assigned in REALLOC_N, no further assignment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-26* 2014-08-27svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-26compile.c (iseq_set_sequence): check for multiplication overflownormal
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-26* test/ruby/test_complex.rb: cherry-picked working assertions from r47251.hsbt
* test/ruby/test_rational.rb: cherry-picked working assertions from r47263. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-26lib/mathn.rb: remove built-in methodsnobu
* lib/mathn.rb (Fixnum#**, Bignum#**, Float#**, Rational#**): remove as these are now built-in. [ruby-core:63973] [Bug #10086] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-26* time.c (rb_time_unmagnify_to_float): Avoid double rounding.akr
Reported by Tsuyoshi Sawada. https://bugs.ruby-lang.org/issues/10135#note-1 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-26io.c: do not swallow exceptions at end of blocknobu
* io.c (io_close): ignore only "closed stream" IOError and NoMethodError, do not swallow other exceptions at the end of block. [ruby-core:64463] [Bug #10153] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-26* template/fake.rb.in: fix failed to make install when srcdir != builddir.kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-26* test/ruby/test_range.rb: added workaround for VERBOSE message.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-26* test/test_mathn.rb: added workaround for VERBOSE messages.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-26* lib/shell/process-controller.rb: removed commented-out code.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-26* lib/thwait.rb (ThreadsWait): removed needless constant.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-26* lib/mathn.rb: mathn library is deprecated on ruby 2.2.hsbt
[Feature #10169][ruby-core:64553] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-26* 2014-08-26svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-26* lib/mathn.rb: removed commented-out code.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-25ChangeLog: fix clang versionnobu
* ChangeLog: fix clang version in r45508, 5.1 is the version by Apple, the upstream version is 3.4. [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-25* ext/win32ole/win32ole.c(fole_s_connect, fole_initialize): raise asuke
security error with the tainted string object. * ext/win32ole/win32ole_event.c(ev_advise): ditto. * test/win32ole/test_win32ole.rb(test_s_new_exc_svr_tainted, test_s_new_exc_host_tainted): ditto. * test/win32ole/test_win32ole_event.rb(test_s_new_exc_tainted): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-25uri/common.rb: use negative look-aheadnobu
* lib/uri/common.rb (URI.decode_www_form_component): use negative look-ahead instead of nested repeat operators, to get rid of backtrack explosion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-25logger.rb: simplifynobu
* lib/logger.rb (format_datetime): simplify and freeze the default format so that it can be shared. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-25lib/logger.rb: use %Nnobu
* lib/logger.rb (format_datetime): use "%6N" to show microsecond. [Fix GH-704] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-25* 2014-08-25svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-25rb_iseq_location_t: change first_lineno type to VALUEnormal
Nearly all current uses of iseq->location.first_lineno are as a VALUE, not a size_t. The only exception was the experimental (and currently unused) rb_iseq_build_for_ruby2cext function. * vm_core.h (rb_iseq_location_t): change first_lineno type to VALUE * iseq.c (rb_iseq_build_for_ruby2cext): update based on argument git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-24* lib/e2mmap.rb: remove needless instance variables.hsbt
* lib/irb.rb: ditto. * lib/irb/**/*.rb: ditto. * lib/shell.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-24* test/ruby/test_complex.rb: removed needless conditions.hsbt
* test/ruby/test_rational.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-24* test/ruby/test_rational.rb: fixed indent.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-24* test/ruby/test_rational.rb: remove commented-out code.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-24lib/benchmark.rb (measure): reduce allocations as in r47260normal
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-24* 2014-08-24svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-24lib/benchmark.rb: speedup by reducing allocationsnormal
* lib/benchmark.rb (module Benchmark): define BENCHMARK_CLOCK (realtime): use Process.clock_gettime(BENCHMARK_CLOCK) [Feature #10165] * test/benchmark/test_benchmark.rb (test_realtime_output): new test git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-23* win32/win32.c (cmdglob): use inline function.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-23* 2014-08-23svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-23ruby.c: reduce RARRAY_PTR_USE regionnobu
* ruby.c (process_options): reduce RARRAY_PTR_USE region, make the path to be set before entering the region. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22ChangeLog: Remove garbage introduced at r47253.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22* string.c (rb_fstring): fix condition (easy to cause infinite loop!).ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22* string.c (rb_fstring, fstr_update_callback): simply delete garbageko1
key first. Garbage keys can be swept by lazy sweeping invoked by creating new fstring. So that simply do: (1) delete garbage key and return `fstr_update_callback' immediately (2) try again `fstr_update_callback()' to create a new fstr. This bug can be cause memory corruption, reported by http://u64.rubyci.org/~chkbuild/ruby-trunk/log/20140821T220302Z.fail.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22* test/ruby/test_complex.rb: removed commented-out code.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22* test/ruby/test_complex.rb: fixed broken tests. Math is nothsbt
compatible CMath now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22provide backward compatibilitiesnobu
* complex.c (Init_Complex): provide the feature for backward compatibility. * rational.c (Init_Rational): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22tool/vcs.rb: no time.rbnobu
* common.mk (Doxyfile): revert r43888, not to require preinstalled ruby. [ruby-core:64488] [Bug #10161] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22rbinstall.rb: remove unused variablenobu
* tool/rbinstall.rb: $vcs is no longer used since r46513. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22* lib/shell.rb: removed commented-out code.hsbt
* lib/shell/builtin-command.rb: ditto. * lib/shell/command-processor.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22* lib/complex.rb: removed deprecated library.hsbt
* lib/rational.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22* 2014-08-22svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22* lib/prettyprint.rb: removed PrettyPrint#first?hsbt
because it is obsoleted method since Ruby 1.8.2 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21win32/test_console_attr.rb: reset attributesnobu
* ext/-test-/win32/console/attribute.c (console_set_attribute): set console attribute. * test/-ext-/win32/test_console_attr.rb (reset): reset attributes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21win32.c: manage reverse videonobu
* win32/win32.c (constat_attr): manage reverse video internally since Windows console window does not manage it. based on the patch by white leaf in [ruby-dev:48483]. [Bug #10158] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21* lib/e2mmap.rb: removed commented-out code.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21compar.c: use Module#to_snobu
* compar.c (rb_cmperr): use Module#to_s so that names in a message can be overridden by to_s. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21struct.c: no rb_class_real twicenobu
* struct.c (inspect_struct): as rb_obj_class() returns real class name, so rb_class_name is not needed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e