summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix minor code comment typostmm12013-04-222-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (opt_mod): Use % operator if both operands are positive forcharliesome2013-04-222-4/+11
| | | | | | a significant performance improvement. Thanks to @samsaffron. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enhanced Array#delete_if docs by johnnymugshsbt2013-04-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* marshal.c: fix marshal_load ivarnobu2013-04-223-14/+64
| | | | | | | * marshal.c (r_object0): copy all instance variables not only generic ivars, before calling post proc. [ruby-core:51163] [Bug #7627] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* More tests.akr2013-04-221-0/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-04-22svn2013-04-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Specify --disable-gemsnaruse2013-04-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_hdtoa): revert r29729.naruse2013-04-222-5/+8
| | | | | | | If you want ruby to behave as before on x86, specify to use SSE like -msse2 -mfpmath=sse for gcc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Revert using sigsetjmp by default due to performancecharliesome2013-04-212-3/+8
| | | | | | problems on some systems (eg. older Linux) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Use sigsetjmp by default so jumping out of signalcharliesome2013-04-212-4/+20
| | | | | | | | | | handlers properly restores the signal mask and SS_ONSTACK flag. [ruby-core:54175] [Bug #8254] * configure.in: Manually check for presence of sigsetjmp. It is not a function on some systems, so AC_CHECK_FUNCS cannot be used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Replace use of obsolete variable `last-command-char` by @maser [fix GH-290]hsbt2013-04-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/csv/test_features.rb, test/logger/test_logger.rbakr2013-04-2024-1209/+1174
| | | | | | | | | | | | | | | | | | test/mkmf/test_have_macro.rb, test/net/http/test_http.rb, test/openssl/test_config.rb, test/psych/test_encoding.rb, test/psych/test_exception.rb, test/psych/test_psych.rb, test/psych/test_tainted.rb, test/readline/test_readline.rb, test/rexml/test_contrib.rb, test/ruby/test_autoload.rb, test/ruby/test_beginendblock.rb, test/ruby/test_exception.rb, test/ruby/test_file.rb, test/ruby/test_io.rb, test/ruby/test_marshal.rb, test/ruby/test_process.rb, test/ruby/test_require.rb, test/ruby/test_rubyoptions.rb, test/syslog/test_syslog_logger.rb, test/webrick/test_httpauth.rb, test/zlib/test_zlib.rb: Use Tempfile.create. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile.create): Close when the block exits.akr2013-04-202-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-04-21svn2013-04-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpauth/htpasswd.rb: Use Tempfile.create to avoidakr2013-04-203-6/+18
| | | | | | | | unintentional unlink() by the finalizer. lib/webrick/httpauth/htdigest.rb: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile.create): New method.akr2013-04-204-0/+76
| | | | | | | | | The method name is proposed by Shugo Maeda. [ruby-dev:47220] [ruby-core:41478] [Feature #5707] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* marshal.c: use ivars of marshal_dump datanobu2013-04-203-6/+24
| | | | | | | | | * marshal.c (w_object): dump no ivars to the original by marshal_dump. [ruby-core:54334] [Bug #8276] * marshal.c (r_object0): copy all ivars of marshal_dump data to the result object instead. [ruby-core:51163] [Bug #7627] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add example for String#scrubnaruse2013-04-191-0/+4
| | | | | | [Feature #6321] [Feature #6752] [Bug #7967] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_scrub): add ruby method String#scrub which verify andnaruse2013-04-195-4/+334
| | | | | | | | | | | | | fix invalid byte sequence. * string.c (str_compat_and_valid): check given string is compatible and valid with given encoding. * transcode.c (str_transcode0): If invalid: :replace is specified for String#encode, replace invalid byte sequence even if the destination encoding equals to the source encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-04-20svn2013-04-191-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: Fix typo in rdocmarcandre2013-04-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed ChangeLog typo found by @Nami-Doczzak2013-04-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed comment typo, found by @ThePablickzzak2013-04-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.nobu2013-04-191-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT.ja (Data_Wrap_Struct): Remove a description aboutkou2013-04-192-5/+17
| | | | | | | | | | | | orphan argument. Oh, I renamed the argument name without changing description at r36180... Sorry.... Patch by Makoto Kishimoto. Thanks!!! [ruby-dev:47269] [Bug #8292] * README.EXT.ja (Data_Make_Struct): Add a sample code that describes how it works. Patch by Makoto Kishimoto. Thanks!!! [ruby-dev:47269] [Bug #8292] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add --disable-gems for tests which doesn't use rubygemsnaruse2013-04-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (body_type_msg): should acceptshugo2013-04-193-20/+70
| | | | | | | | | message/delivery-status with extra data. [ruby-core:53741] [Bug #8167] * test/net/imap/test_imap_response_parser.rb: related test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_module.rb: renamenobu2013-04-191-1/+1
| | | | | | | | * test/ruby/test_module.rb (test_visibility_by_public_class_method): rename because anonymousness is not a point. [ruby-core:54404] [Bug #8284] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/session.rb: update use rescue nil all becausexibbar2013-04-191-3/+3
| | | | | | session delete shoud try all pattern. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.nobu2013-04-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/session.rb: update use rescue Errno::ENOENT becausexibbar2013-04-191-4/+3
| | | | | | session delete shoud try all pattern. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/session.rb: update rescue in delete session filexibbar2013-04-191-3/+4
| | | | | | only Errno::ENOENT.[Bug #7940] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* marshal.c: no duplicated encodingnobu2013-04-193-2/+26
| | | | | | | * marshal.c (w_object): do not dump encoding which is dumped with marshal_dump data. [ruby-core:54334] [Bug #8276] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: remove garbagenobu2013-04-191-2/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: -g and -fstack-protector flags can't worknobu2013-04-192-7/+16
| | | | | | | | | together on SmartOS * configure.in (stack_protector): control use of -fstack-protector. * configure.in (debugflags): let -fstack-protector precede and disable debugflags, because they can't work together on SmartOS. [Bug #8268] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/cookie.rb: refactoring.xibbar2013-04-181-27/+27
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/cookie.rb(CGI::Cookie.parse): add requirexibbar2013-04-181-0/+1
| | | | | | for standalone require 'cgi/cookie' .[Bug #7997] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_cipher.rb: Correct a typonaruse2013-04-182-3/+9
| | | | | | | by jgls <joerg@joergleis.com> https://github.com/ruby/ruby/pull/291 fix GH-291 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix .travis.yml for current known Linux failurenaruse2013-04-181-14/+14
| | | | | | And revert branches and notification change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-04-19svn2013-04-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_rinda.rb: use spawnnobu2013-04-181-5/+9
| | | | | | | * test/rinda/test_rinda.rb (TupleSpaceProxyTest#test_take_bug_8215): use more portable spawn instead of fork. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* "garbage" (noun) is uncountable.kazu2013-04-181-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix ChangeLog duplicated by wrong mergenaruse2013-04-181-38/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Overwrite Ruby's path for cgi in testsnaruse2013-04-181-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (clean-ext): remove timestamps.naruse2013-04-181-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/rubysocket.h (SOCKLEN_MAX): Expression simplified.naruse2013-04-181-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Oops, I forgot to use JST in the ChangeLog entry.naruse2013-04-181-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* iseq: reduce array allocations for simple sequencesnaruse2013-04-181-0/+15
| | | | | | | | | | | | | | | | | * compile.c (iseq_add_mark_object): Use new rb_iseq_add_mark_object(). * insns.def (setinlinecache): Ditto. * iseq.c (rb_iseq_add_mark_object): New function to allocate iseq->mark_ary on demand. [Bug #8142] * iseq.h (rb_iseq_add_mark_object): Ditto. * iseq.c (prepare_iseq_build): Avoid allocating mark_ary until needed. * iseq.c (rb_iseq_build_for_ruby2cext): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* iseq.c: remove duplicated strings for file pathsnaruse2013-04-181-0/+5
| | | | | | | * iseq.c (iseq_location_setup): re-use existing string when iseq has the same path and absolute_path. [Bug #8149] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* assertions.rb: remove UNASSIGNEDnaruse2013-04-181-0/+5
| | | | | | | * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert): UNASSIGNED is not a valid message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e