summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-04-21* configure.in: Revert using sigsetjmp by default due to performancecharliesome
problems on some systems (eg. older Linux) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-21* configure.in: Use sigsetjmp by default so jumping out of signalcharliesome
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
2013-04-21Replace use of obsolete variable `last-command-char` by @maser [fix GH-290]hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-20* test/csv/test_features.rb, test/logger/test_logger.rbakr
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
2013-04-20* lib/tempfile.rb (Tempfile.create): Close when the block exits.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-20* 2013-04-21svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-20* lib/webrick/httpauth/htpasswd.rb: Use Tempfile.create to avoidakr
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
2013-04-20* lib/tempfile.rb (Tempfile.create): New method.akr
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
2013-04-20marshal.c: use ivars of marshal_dump datanobu
* 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
2013-04-19Add example for String#scrubnaruse
[Feature #6321] [Feature #6752] [Bug #7967] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-19* string.c (str_scrub): add ruby method String#scrub which verify andnaruse
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-19* 2013-04-20svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-19* lib/matrix.rb: Fix typo in rdocmarcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-19Fixed ChangeLog typo found by @Nami-Doczzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-19Fixed comment typo, found by @ThePablickzzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-19* remove trailing spaces.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-19* README.EXT.ja (Data_Wrap_Struct): Remove a description aboutkou
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
2013-04-19Add --disable-gems for tests which doesn't use rubygemsnaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-19* lib/net/imap.rb (body_type_msg): should acceptshugo
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
2013-04-19test_module.rb: renamenobu
* 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
2013-04-19* lib/cgi/session.rb: update use rescue nil all becausexibbar
session delete shoud try all pattern. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-19* remove trailing spaces.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-19* lib/cgi/session.rb: update use rescue Errno::ENOENT becausexibbar
session delete shoud try all pattern. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-19* lib/cgi/session.rb: update rescue in delete session filexibbar
only Errno::ENOENT.[Bug #7940] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-19marshal.c: no duplicated encodingnobu
* 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
2013-04-19ChangeLog: remove garbagenobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-19configure.in: -g and -fstack-protector flags can't worknobu
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
2013-04-18* lib/cgi/cookie.rb: refactoring.xibbar
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-18* lib/cgi/cookie.rb(CGI::Cookie.parse): add requirexibbar
for standalone require 'cgi/cookie' .[Bug #7997] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-18* test/openssl/test_cipher.rb: Correct a typonaruse
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
2013-04-18Fix .travis.yml for current known Linux failurenaruse
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-18* 2013-04-19svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-18test_rinda.rb: use spawnnobu
* 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
2013-04-18"garbage" (noun) is uncountable.kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-18Fix ChangeLog duplicated by wrong mergenaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-18Overwrite Ruby's path for cgi in testsnaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-18* common.mk (clean-ext): remove timestamps.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-18* ext/socket/rubysocket.h (SOCKLEN_MAX): Expression simplified.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-18Oops, I forgot to use JST in the ChangeLog entry.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-18iseq: reduce array allocations for simple sequencesnaruse
* 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
2013-04-18iseq.c: remove duplicated strings for file pathsnaruse
* 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
2013-04-18assertions.rb: remove UNASSIGNEDnaruse
* 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
2013-04-18thread.c: fix overflow on Windowsnaruse
* thread.c (sleep_timeval): get rid of overflow on Windows where timeval.tv_sec is not time_t but mere long. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-18Run test-all on travis-cinaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-18vm_method.c: fix visibility on anonymous modulenobu
* vm_method.c (rb_mod_public_method): fix visibility on anonymous module. set visibility of singleton method, not method in base class. [ruby-core:54404] [Bug #8284] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-18dir.c: not skip dot directories if matchingnobu
* dir.c (glob_helper): should skip dot directories only for recursion, but should not if matching to the given pattern. [ruby-core:54387] [Bug #8283] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-18pack.c: refix unpack base64nobu
* pack.c (pack_unpack): increase buffer size to fix buffer overflow, and fix garbages just after unpacking without missing paddings. [Bug #8286] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-18Increase capacity for skipping paddingsnaruse
fix for r40342 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-18* pack.c (pack_unpack): output characters even if the input doesn'tnaruse
have paddings. [Bug #8286] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-17* 2013-04-18svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e