aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* test_env.rb: relax limitsnobu2014-06-281-6/+6
| | | | | | | * test/ruby/test_env.rb (test_memory_leak_{aset,select,shift}): increase rehearsals and memory leak limits. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval.c: no overwrite SystemStackError backtracenobu2014-06-283-7/+16
| | | | | | | * eval.c (setup_exception): should not overwrite SystemStackError backtrace if set already. [ruby-core:63377] [Feature #6216] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval.c: no method calls at stack overflownobu2014-06-285-18/+32
| | | | | | | | * eval.c (setup_exception): get rid of method calls before raising stack overflow, not to cause stack overflow again. * defs/id.def: add IDs for backtraces. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkconfig.rb: fix empty prefixnobu2014-06-271-2/+2
| | | | | | * tool/mkconfig.rb: vars["prefix"] may not set. [fix GH-643] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/mailto.rb: update to latest specs, RFC 6068 and HTML5.naruse2014-06-273-65/+101
| | | | | | | | | | | | | | | | | | | | | | | | * lib/uri/mailto.rb (HEADER_PATTERN): removed. * lib/uri/mailto.rb (HEADER_REGEXP): use RFC 6068 hfields. * lib/uri/mailto.rb (EMAIL_REGEXP): use HTML5 email regexp. * lib/uri/mailto.rb (URI::MailTo.build): support multiple to addresses. * lib/uri/mailto.rb (URI::MailTo#initialize): Support multiple to addresses. Don't check with regexp, only split. * lib/uri/mailto.rb (URI::MailTo#check_to): verify by matching URI path-rootless and HTML5 email regexp with unescaped one. * lib/uri/mailto.rb (URI::MailTo#check_headers): verify only by HEADER_REGEXP. * lib/uri/mailto.rb (URI::MailTo#set_headers): don't check by HEADER_REGEXP, only split it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval.c: reduce machine stack overflow backtracenobu2014-06-271-1/+13
| | | | | | | * eval.c (setup_exception): revert r46531 to reduce backtrace at machine stack overflow. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* reapply r46568 "assertions.rb: refine message"nobu2014-06-271-1/+1
| | | | | | | `exception` is an expected exception class, not the raised instance, so the result message cannot have any backtraces. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-06-28svn2014-06-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkconfig.rb: fix empty prefixnobu2014-06-272-4/+11
| | | | | | | | | * tool/mkconfig.rb: fix empty RbConfig::CONFIG["prefix"] when configured --with-rubyarchprefix, remove prefix from rubyarchdir after expansion for the case it does not start with '$(prefix)'. [fix GH-643] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_env.rb: rehearsalnobu2014-06-271-3/+9
| | | | | | | * test/ruby/test_env.rb (test_memory_leak_{aset,select,shift}): have a rehearsal before the main loop. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/test_case.rb: rescue Gem::LoadError in Gem::TestCase.hsbt2014-06-272-1/+6
| | | | | | because it's effected by removing minitest from stdlib. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r46568 "assertions.rb: refine message"naruse2014-06-271-1/+1
| | | | | | Don't inspect exceptions without backtrace omission for SystemStackError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* suppress warnings: URI.regexp is obsoletenaruse2014-06-271-11/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/specification.rb: fixed broken condition causedhsbt2014-06-273-2/+9
| | | | | | | by removing YAML::ENGINE. * lib/rubygems/package/old.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: fix memory leaknobu2014-06-263-2/+17
| | | | | | | * hash.c (env_shift): fix memory leak on Windows, free environment strings block always. [ruby-dev:48332] [Bug #9983] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sprintf.c: unnumbered asterisk with numbered argumentnobu2014-06-263-1/+14
| | | | | | | | * sprintf.c (GETASTER): should not use the numbered argument to be formatted, raise ArgumentError instead. [ruby-dev:48330] [Bug #9982] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* assertions.rb: refine messagenobu2014-06-261-1/+1
| | | | | | | * test/lib/test/unit/assertions.rb (assert_raise_with_message): refine default message for the exception to be raised. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-06-27svn2014-06-261-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval.c: suppress a warningnobu2014-06-261-1/+1
| | | | | | | * eval.c (setup_exception): suppress a maybe-uninitialized false warning by gcc 4.8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo [ci skip]kazu2014-06-261-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sprintf.c: remove extra parenthesesnobu2014-06-262-1/+7
| | | | | | | * sprintf.c (GETASTER): remove extra parentheses from the second argument so that the error message does not contain them. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/with_different_ofs.rb: move into test library directory.hsbt2014-06-264-2/+8
| | | | | | | * test/csv/base.rb: fix require path for with_different_ofs.rb. * test/digest/test_digest_extend.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/profile_test_all.rb: move into test library directory.hsbt2014-06-263-1/+6
| | | | | | * test/runner.rb: fix require path for profile_test_all.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: typo.usa2014-06-261-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpproxy.rb: remvoe useless assigned variables.hsbt2014-06-265-6/+10
| | | | | | | | * lib/webrick/httpservlet/cgihandler.rb: ditto. * lib/webrick/httpservlet/erbhandler.rb: ditto. * lib/webrick/server.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert "Revert "* lib/yaml.rb: Remove Psych::EngineManager [Bug #8344]""hsbt2014-06-266-85/+8
| | | | | | | | syck-1.0.3 gem support this imcompatible changes. This reverts commit r46102 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* set top level folder to same as archname of tarballhone2014-06-261-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: fix memory leaknobu2014-06-253-11/+31
| | | | | | | | * hash.c (env_select): fix memory leak and crash on Windows, make keys array first instead of iterating on envrion directly. [ruby-dev:48325] [Bug #9978] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: fix dangling pointernobu2014-06-251-3/+5
| | | | | | | * hash.c (env_name): also store a coerced string to get rid of a dangling pointer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-06-26svn2014-06-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval_error.c: newline alwaysnobu2014-06-253-1/+10
| | | | | | | * eval_error.c (error_print): put a newline after an anonymous exception class name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: fix memory leaknobu2014-06-253-2/+21
| | | | | | | | * hash.c (ruby_setenv): fix memory leak on Windows, free environment strings block after check for the size. [ruby-dev:48323] [Bug #9977] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: env_namenobu2014-06-251-34/+27
| | | | | | | * hash.c (get_env_ptr, env_name): extract check for bad environment variable name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ccan/container_of/container_of.h: avoid warning with -Wcast-qualnormal2014-06-252-1/+7
| | | | | | | | * ccan/container_of/container_of.h (container_off_var): avoid warning with -Wcast-qual [ccan ba5ad771af4aa9e085498de6c3c665c52694460f (Rusty Russell)] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: prohibit tainted stringsnobu2014-06-253-5/+96
| | | | | | | | * hash.c (env_aset, env_has_key, env_assoc, env_has_value), (env_rassoc, env_key): prohibit tainted strings if $SAFE is non-zero. [Bug #9976] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: unused functions on non-Windowsnobu2014-06-241-2/+0
| | | | | | | * hash.c (invalid_envname, check_envname): not used on platforms other than Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-06-25svn2014-06-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: env_str_transcodenobu2014-06-241-6/+11
| | | | | | | * hash.c (env_str_transcode): convert with replacing invalid/undef characters, on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/gserver.rb: remove redundant use of to_s in interpolation.hsbt2014-06-247-15/+24
| | | | | | | | | | * lib/logger.rb: ditto. * lib/optparse.rb: ditto. * lib/rbconfig/obsolete.rb: ditto. * lib/resolv.rb: ditto. * lib/webrick/httpresponse.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/downloader.rb: fix wrong variable name.hsbt2014-06-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert "* lib/uri/mailto.rb: support RFC6068."naruse2014-06-243-27/+47
| | | | | | to fix mailto URI syntax git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: replace undefnobu2014-06-241-3/+6
| | | | | | | * hash.c (env_str_new, env_path_str_new): replace invalid or undefined conversions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo [ci skip]kazu2014-06-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: frozen PATH envnobu2014-06-243-13/+39
| | | | | | | * hash.c (env_path_str_new): make PATH environment variable string, to be frozen. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.svn2014-06-240-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot: download bundle gems when package making.hsbt2014-06-244-0/+19
| | | | | | | [Feature #9852][ruby-core:62676] * gems/bundled_gems: listed bundled gems for Ruby 2.2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/downloader.rb: make Downloader class to general download utility.hsbt2014-06-244-10/+19
| | | | | | | | It can be used without config.guess and configu.sub. * tool/get-config_files: ditto. * tool/make-snapshot: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* internal structurenari2014-06-241-3/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: unused variablenobu2014-06-231-9/+0
| | | | | | * win32/win32.c (envarea): remove no longer used variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/uri/test_common.rb: use `require_relative` for parallel test.nobu2014-06-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e