aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* NEWS mention refinements with Kernel#send and BasicObject#__send__. ↵kazu2016-10-192-0/+8
| | | | | | [Feature #11476] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_insnhelper.c: refinements with sendnobu2016-10-193-3/+8
| | | | | | | * vm_insnhelper.c (vm_call_opt_send): enable refinements with Kernel#send and BasicObject#__send__. [Feature #11476] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* basictest: --run-opt optionnobu2016-10-192-2/+7
| | | | | | | * basictest/runner.rb: do not clobber the option by --run-opt with RUBYOPT. reported by Allen Hewes <rallenh AT hotmail.com>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update comments in prelude.c [ci skip]kazu2016-10-181-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2016-10-19svn2016-10-181-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* addr2line.c: boundary checksnobu2016-10-182-9/+23
| | | | | | | * addr2line.c (parse_debug_line_cu): boundary checks for compressed debug sections. [ruby-dev:49840] [Bug #12850] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: compress debug sectionsnobu2016-10-182-0/+17
| | | | | | | | * configure.in (DLDFLAGS): append --compress-debug-sections=zlib if available, which reduces the size of LIBRUBY_SO by half or more. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* separated_version.mk: option for linux [ci skip]nobu2016-10-181-2/+2
| | | | | | | * defs/separated_version.mk (RUBY_VERSION_DLDFLAGS): move linux specific option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2016-10-18svn2016-10-181-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* separated_version.mk [ci skip]nobu2016-10-181-0/+38
| | | | | | * defs/separated_version.mk: FOR DEVELEPERS ONLY. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* install-static-library option [ci skip]nobu2016-10-172-1/+16
| | | | | | | * win32/configure.bat: add option to enable/disable to install static ruby library. defaulted to "no". [Feature #12845] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2016-10-17svn2016-10-171-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* install-static-library option [ci skip]nobu2016-10-173-1/+17
| | | | | | | | | * configure.in (install-static-library): add option to enable/ disable to install static ruby library. defaulted to "no" if enable-shared. [Feature #12845] * tool/rbinstall.rb (local-arch-lib): respect the option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/windows_1254.c, test/ruby/enc/test_case_comprehensive.rb:duerst2016-10-163-7/+68
| | | | | | | Implement non-ASCII case conversion for Windows-1254. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_io.rb: use assert_not_predicatenobu2016-10-151-8/+3
| | | | | | | * test/ruby/test_io.rb (test_DATA_binmode): assert_not_predicate for more descriptive message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_refinement.rb: test_symbol_procnobu2016-10-152-12/+8
| | | | | | | * test/ruby/test_refinement.rb (test_symbol_proc): move from test_symbol.rb [Feature #9451] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_refinement.rb: using without evalnobu2016-10-151-6/+6
| | | | | | | * test/ruby/test_refinement.rb (FooExtClient, FooExtClient2): no needs to eval, using works in a class block now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2016-10-16svn2016-10-151-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add test of DATA.binmode?kazu2016-10-151-0/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_args.c: cache procsnobu2016-10-151-1/+8
| | | | | | | * vm_args.c (vm_caller_setup_arg_block): cache proc with refinements. [Feature #9451] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_args.c: allow refinements in Symbol procnobu2016-10-154-0/+46
| | | | | | | | | * vm_args.c (refine_sym_proc_call): search and call method with refinements. * vm_args.c (vm_caller_setup_arg_block): enable refinements when enabled in the caller. [Feature #9451] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2016-10-15svn2016-10-141-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* process.c: use uaspawnnobu2016-10-143-0/+32
| | | | | | | * process.c (proc_exec_cmd): use UTF-8 version aspawn. [ruby-dev:49838] [Bug #12841] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* optparse/kwargs.rbnobu2016-10-143-0/+63
| | | | | | | | * lib/optparse/kwargs.rb (OptionParser#define_by_keywords): [EXPERIMENTAL] extract command line option definitions from the information of keyword arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Fix wrong class name.hsbt2016-10-141-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c: Improve documentation for Integer conversion.hsbt2016-10-142-3/+11
| | | | | | [ruby-core:71661][Bug #11736][ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb: Improve Logger.new option documentation.hsbt2016-10-142-2/+7
| | | | | | [Feature #12803][ruby-core:77467] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* optparse.rb: hyphenizenobu2016-10-146-4/+77
| | | | | | | * lib/optparse.rb (make_switch, parse_in_order): unify underscores to hyphens. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2016-10-14svn2016-10-141-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* webrick: use monotonic clock for timeoutsnormal2016-10-142-2/+8
| | | | | | | | | | The monotonic clock is immune to system time changes and a better option for implementing timing comparisons. * lib/webrick/utils.rb (TimeoutHandler): use monotonic clock (watch): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io.c: copy_stream to duplex IOnobu2016-10-133-1/+18
| | | | | | | * io.c (copy_stream_body): use IO to write to copy to duplex IO. http://twitter.com/knu/status/786505317974585344 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: [Feature #11818] [ci skip]nobu2016-10-131-0/+1
| | | | | | * NEWS: add Hash#compact and Hash#compact!. [Feature #11818] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: add compact and compact! methodsnobu2016-10-133-0/+78
| | | | | | | | * hash.c (rb_hash_compact, rb_hash_compact_bang): Removes nil values from the original hash, to port Active Support behavior. [Feature #11818] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* unstable sort [ci skip]nobu2016-10-133-0/+21
| | | | | | | | * array.c (rb_ary_sort_bang, rb_ary_sort, rb_ary_sort_by_bang): [DOC] describe that sort may not be stable. * enum.c (enum_sort, enum_sort_by): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix tests depending on sort stabilitynobu2016-10-135-4/+17
| | | | | | | | * test/rexml/xpath/test_text.rb (test_ancestors): Array#sort may not be stable. [ruby-core:76088] [Bug #12509] * test/rss/test_maker_{0.9,1.0,2.0}.rb (test_items): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* doc/extension.rdoc: wording fix w.r.t. volatile vs RB_GC_GUARDnormal2016-10-132-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_array.rb: do not assume stable sortnobu2016-10-122-1/+8
| | | | | | | | | * test/ruby/test_array.rb (test_sort_bang_with_freeze): make a clone to copy a <=> singleton method, instead of dup. which element will be called is not predictable. [ruby-core:76088] [Bug #12509] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* better assertionnobu2016-10-121-1/+1
| | | | | | | * test/rexml/xpath/test_text.rb (test_ancestors): use assert_kind_of for better assertion message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix similar typos [ci skip]kazu2016-10-122-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix typo [ci skip]kazu2016-10-122-1/+6
| | | | | | Replace "You can defined hooked variables" with "You can define hooked variables" git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo [ci skip]kazu2016-10-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix warning: assigned but unused variablekazu2016-10-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2016-10-13svn2016-10-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* do not need to downcase twicekazu2016-10-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (open_load_file): revert r56385. it introduced incompatibilityusa2016-10-122-9/+11
| | | | | | | about `DATA.binmode?`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby.c: fix macrosnobu2016-10-121-2/+2
| | | | | | | * ruby.c (open_load_file): FILE_ALT_SEPARATOR and EXEEXT are config.status variables, not available in config.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/downloader.rb: Removed verification of gem certification.hsbt2016-10-123-18/+6
| | | | | | | Because signed gem is not working on rubygems ecosystem. * tool/gem-unpack.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Test URI.find_proxy using env argument.akr2016-10-111-41/+111
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forgot to replace two occurences of ENV.akr2016-10-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2016-10-12svn2016-10-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e