summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-08-29* ext/psych/lib/psych/visitors/to_ruby.rb: merge keys with a hashtenderlove
should merge the hash in to the parent. * test/psych/test_merge_keys.rb: test for change. Fixes GH #202 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-29* 2014-08-30svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-29* ext/psych/lib/psych/visitors/to_ruby.rb: quoted "<<" stringstenderlove
should not be treated as merge keys. * ext/psych/lib/psych/visitors/yaml_tree.rb: hashes with keys containing "<<" should roundtrip. * test/psych/test_merge_keys.rb: test for change. Fixes GH #203 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-29* test/net/imap/test_imap_response_parser.rb: removed needless code.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-29* test/rinda/test_rinda.rb: removed useless assignment variables.hsbt
* test/rss/rss-assertions.rb: ditto. * test/rss/test_maker_itunes.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-29string.c: remove vm_core.h dependency [ruby-core:64627]normal
* string.c: revert part of r47311, add rb_vm_fstring_table(), remove vm_core.h dependency. [ruby-core:64627] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-29* 2014-08-29svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-29string.c: move frozen_strings table to rb_vm_tnormal
Cleanup in case MVM development proceeds. * string.c: remove static frozen_strings * string.c (Init_frozen_strings): new function * string.c (rb_fstring): remove check for frozen strings, use per-VM table * string.c (rb_str_free): use per-VM table * string.c (Init_String): use per-VM table * vm_core.h (rb_vm_t): add frozen_strings table * internal.h (Init_frozen_strings): new function prototype * eval.c (ruby_setup): call Init_frozen_strings [Feature #10182] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-28io.c: fix uninitialized variablenobu
* io.c (argf_next_argv): fix uninitialized variable in skipping message when inplace edit without backup. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-28test_io.rb: non UTF-8 patternnobu
* test/ruby/test_io.rb: (test_invalid_advise): fix pattern for non UTF-8 environment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-28test_io_m17n.rb: leaked FDsnobu
* test/ruby/test_io_m17n.rb (test_ignored_encoding_option): fix leaked file descriptors by r47305. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-28io.c: preserve encodingsnobu
* io.c (argf_next_argv): preserve encodings in warning messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-28io.c: preserve encodingsnobu
* io.c (rb_io_extract_encoding_option): preserve encodings in warning messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-28* 2014-08-28svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-28io.c: preserve encodingsnobu
* io.c (advice_arg_check): preserve encodings in warning messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-28io.c: preserve encodingsnobu
* io.c (rb_io_s_new): preserve encodings in warning messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-27* lib/tempfile.rb: remove "require 'thread'". its features are noglass
longer used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-27fix failed conditionkazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-27* lib/drb/acl.rb: Removed meaningless #to_s methods in interpolation.hsbt
[Feature #10174][ruby-core:64584] * lib/erb.rb: ditto. * lib/observer.rb: ditto. * lib/rake/invocation_chain.rb: ditto. * lib/rubygems/command_manager.rb: ditto. * lib/rubygems/config_file.rb: ditto. * lib/uri/common.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-27* lib/drb/drb.rb: use attr_reader instead of Module#attr.hsbt
[Feature #10172][ruby-core:64582] * lib/irb/ruby-token.rb: ditto. * lib/net/telnet.rb: ditto. * lib/rdoc/ruby_token.rb: ditto. * lib/thwait.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-27* ext/win32ole/win32ole.c (vtdate2rbtime): try to convert millisecondsuke
of VT_DATE VARIANT to nsec of Time object. * test/win32ole/test_win32ole_variant.rb (test_conversion_dbl2date_with_msec): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-27parse.y: use rb_ary_tmp_new_fillnobu
* parse.y (coverage): use rb_ary_tmp_new_fill() instead of setting internal structure directly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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