aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * parse.y (must_be_dynamic_symbol): fix missed-condition.ko12014-07-042-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_pin_dynamic_symbol): should be `static' function.ko12014-07-042-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (must_be_dynamic_symbol): refactoring.ko12014-07-042-8/+23
| | | | | | | | | | | * add `inline'. * use UNLIKELY(). * check only DYNAMIC_SYM_P(), otherwise it is a bug. * lookup_id_str() is not needed in second condition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/unit.rb: newline after messagenobu2014-07-041-1/+1
| | | | | | | * test/lib/test/unit.rb (deal): print a newline after an error message for unknown command not to overwritten by next messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: remove global_symbols.op_symnobu2014-07-041-22/+5
| | | | | | | * parse.y (global_symbols): remove op_sym, cache by fstring instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: use rb_fstring_newnobu2014-07-041-6/+5
| | | | | | | * parse.y (rb_id2str): use rb_fstring_new() instead of rb_fstring() with a new string instance. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: rb_fstring_new assumes US-ASCIInobu2014-07-041-3/+4
| | | | | | | * string.c (rb_fstring_new): make US-ASCII string. another function may be used for non-ASCII strings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: pack op_tblnobu2014-07-041-2/+2
| | | | | | | | * parse.y (op_tbl): pack limited size strings. gcc/clang warn if initializer-string for char array is too long, but no option to err it now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile_prelude.rb: remove commentsnobu2014-07-041-0/+1
| | | | | | | * tool/compile_prelude.rb (translate): remove comments which are not used in compiled sources. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: fix typo [ci skip]nobu2014-07-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: remove unused codeko12014-07-042-39/+5
| | | | | | | | srounded by `#if ENABLE_SELECTOR_NAMESPACE' git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rubygems/test_gem_package.rb: avoid tempfile leaks using Tempfile#close!hsbt2014-07-044-6/+24
| | | | | | | * test/rubygems/test_gem_request_set.rb: ditto. * test/rubygems/test_gem_request_set_gem_dependency_api.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert "test/rdoc: avoid tempfile leaks"hsbt2014-07-043-6/+6
| | | | | | | | | This reverts commit r46145. Tempfile.create is only available Ruby 2.1 or higher. rubygems need to support Ruby 1.9 and 2.0 series. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/htp/response.rb (Net::Inflater#inflate_adapter):naruse2014-07-032-0/+10
| | | | | | prevent automatic encoding conversion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http/response.rb (Net::HTTP.each_response_header):naruse2014-07-032-1/+12
| | | | | | | raise first exception even if inflate_body_io.finish raises error. when begin block raises error, finish usually raises error too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb (URI::Generic#query=): remove validation, justnaruse2014-07-033-79/+47
| | | | | | | | | | | | | | | | escape. [Feature #2542] * lib/uri/generic.rb (URI::Generic#fragment=): ditto. * lib/uri/generic.rb (URI::Generic#check_query): removed. * lib/uri/generic.rb (URI::Generic#set_query): ditto. * lib/uri/generic.rb (URI::Generic#check_fragment): ditto. * lib/uri/generic.rb (URI::Generic#set_fragment): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-07-04svn2014-07-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* change default not tot create useless objectnaruse2014-07-031-1/+1
| | | | | | initheader = initheader ? initheader.dup : {} git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a part of speech [ci skip]kazu2014-07-031-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: fix static-linked-extnobu2014-07-036-7/+26
| | | | | | | | | | * configure.in (--with-static-linked-ext): fix for extensions to be linked statically. * Makefile.in, common.mk: use ENCSTATIC for enc directory. * ext/extmk.rb: supply dependencies of statically linked extension libraries. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-07-03svn2014-07-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* extmk.rb: GNU make -C optionnobu2014-07-033-3/+15
| | | | | | * ext/extmk.rb: use -C option for GNU make instead of shell. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Init functions don't need ID cachesnobu2014-07-039-13/+37
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: use rb_check_aritynobu2014-07-021-8/+12
| | | | | | | | * hash.c (rb_hash_initialize, rb_hash_fetch_m, rb_hash_default): use rb_check_arity over rb_scan_args. (env_fetch): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sprintf.c: check_name_argnobu2014-07-021-4/+12
| | | | | | * sprintf.c (check_name_arg): utility function for GETNAMEARG(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sprintf.c: check_pos_argnobu2014-07-021-6/+17
| | | | | | * sprintf.c (check_pos_arg): utility function for GETPOSARG(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sprintf.c: check_next_argnobu2014-07-021-4/+12
| | | | | | * sprintf.c (check_next_arg): utility function for GETNEXTARG(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sprintf.c: get_numnobu2014-07-021-13/+21
| | | | | | * sprintf.c (get_num): utility function for GETNUM(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_io.rb: fix leaked threadsnobu2014-07-021-0/+3
| | | | | | | * test/ruby/test_io.rb (test_readpartial_locktmp): ensure reading thread is dead to fix leaked threads. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* leakchecker.rb: MiniTest::Unit.outputnobu2014-07-021-0/+4
| | | | | | | | * test/lib/leakchecker.rb (LeakChecker#puts): send output to MiniTest::Unit.output, not to be mixed with parallel test commands. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_heap_lazy_sweep): simplify logic.ko12014-07-022-24/+33
| | | | | | | | * gc.c (gc_page_sweep): return TRUE if empty slots are available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/redmine-backporter.rb: support new status 'WONTFIX'.usa2014-07-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* webrick/utils.rb: mark by class namenobu2014-07-021-3/+2
| | | | | | | * lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler::Thread): use particular class to mark by the class name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * logger.rb: removed unmaintain code.hsbt2014-07-024-177/+9
| | | | | | | [Feature #9860][ruby-core:62724] * test/logger/test_application.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix --dump=parsetree segfault on required keyword argumentcharliesome2014-07-012-1/+11
| | | | | | | * node.c (dump_node): handle nd_value == (NODE *)-1 to mean this keyword argument is required git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm.c: rb_vm_env_local_variablesnobu2014-07-016-36/+44
| | | | | | | | * vm.c (rb_vm_env_local_variables): returns array of local variable name symbols in the environment by envval. * proc.c (bind_local_variables): use rb_vm_env_local_variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm.c: constifynobu2014-07-012-8/+7
| | | | | | | | | * vm.c (vm_make_env_each): constify pointer arguments. (collect_local_variables_in_iseq): ditto. (collect_local_variables_in_env): ditto. (vm_collect_local_variables_in_heap): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* proc.c: Binding#receivernobu2014-07-014-0/+34
| | | | | | | * proc.c (bind_receiver): new method to return the bound receiver of the binding object. [ruby-dev:47613] [Feature #8779] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* proc.c: fix infinite loopnobu2014-07-013-1/+12
| | | | | | | * proc.c (bind_local_variables): update env from envval for each iterations. [ruby-dev:48351] [Bug #10001] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_proc.rb: test_local_variablesnobu2014-07-011-0/+5
| | | | | | | * test/ruby/test_proc.rb (test_local_variables): missing test for Binding#local_variables. [Feature #8773] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_proc.rb: test_local_variables_in_other_contextnobu2014-07-012-10/+10
| | | | | | | | * test/ruby/test_proc.rb (test_local_variables_in_other_context): move from test_variable.rb, this is a test for the method of Binding, not of Kernel. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-07-02svn2014-07-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_gem_package_tar_reader_entry.rb: close temporary filesnobu2014-07-011-3/+13
| | | | | | | * test/rubygems/test_gem_package_tar_reader_entry.rb (teardown): close temporary files under util_entry to fix leaked tempfiles. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_gem_remote_fetcher.rb: stop SSL servernobu2014-07-011-2/+7
| | | | | | | * test/rubygems/test_gem_remote_fetcher.rb (stop_servers): stop SSL server before shutdown its thread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: [DOC] mention about Binding#local_variables, introduced atusa2014-07-012-0/+9
| | | | | | | r44392 (see [Feature #8773]). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (num_step_scan_args): table argument of rb_get_kwargs() isnagachika2014-07-012-5/+10
| | | | | | array of IDs, not Symbols. [ruby-dev:48353] [Bug #9811] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: added news entry of removing to date/format.rb.hsbt2014-07-011-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_gem_remote_fetcher.rb: fix leaked threadsnobu2014-07-011-0/+17
| | | | | | | * test/rubygems/test_gem_remote_fetcher.rb (stop_servers): kill server threads to fix leaked threads. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Digest::HMAC is finally removed as previously noticed. [fix GH-648]knu2014-07-014-296/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add timeoutnaruse2014-07-011-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e