summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-12Fix typo [ci skip]nobu
* man/ruby.1: fix double word typo. [Fix GH-1194] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-12* 2016-01-13svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-12iseq.c: mark parents of wrapped iseqnobu
* iseq.c (iseqw_mark): as wrapped iseq is isolated from the call stack, it needs to take care of its parent and ancestors, so that they do not become orphans. [ruby-core:72620] [Bug #11928] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-12* common.mk: update URL and name for the Ruby spec suite.eregon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-12correction to proper wordsorah
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-12* lib/forwardable.rb: Convert given accessors to String.sorah
r53381 changed to accept only Symbol or String for accessors, but there are several rubygems that pass classes (e.g. Array, Hash, ...) as accessors. Prior r53381, it was accepted because Class#to_s returns its class name. After r53381 given accessors are checked with define_method, but it accepts only Symbol or String, otherwise raises TypeError. def_delegator Foo, :some_method This change is to revert unwanted incompatibility. But this behavior may change in the future. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-12string.c: made a variable name more grammatically correctduerst
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-12string.c: minor grammar fix [ci skip]duerst
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-12fix test to follow r53503naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-12* remove trailing spaces.svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-12test/ruby/enc/test_casing_options.rb: Tests for optionduerst
parsing/checking for upcase/downcase/capitalize/swapcase (see r53503; with Kimihito Matsui) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-12* remove trailing spaces.svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-12string.c: Added option parsing/checking for upcase/downcase/duerst
capitalize/swapcase (with Kimihito Matsui git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-12* 2016-01-12svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-12escape bracketsnobu
* configure.in: escape char class brackets in regexp. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-11include/ruby/oniguruma.h: Added flags needed for upcase/downcaseduerst
Unicode addition (with Kimihito Matsui) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-11configure.in: check API versionnobu
* configure.in: check if the API version number is consistent with the program version number. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-11* 2016-01-11svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-11io.h: remove old macrosnobu
* include/ruby/io.h (RB_IO_BUFFER_INIT, RB_IO_FPTR_NEW): remove old macros only for internal use and obsolete since 2.2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-10compile.c: fix lhs splat in massignnobu
* compile.c (compile_massign_lhs): when index ends with splat, append rhs value to it like POSTARG, since VM_CALL_ARGS_SPLAT splats the last argument only. [ruby-core:72777] [Bug #11970] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-10ext/-test-: reduce feature namesnobu
* ext/-test-/**/extconf.rb: bring up extension libraries which have same name as the parent directory to reduce feature names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-10missing.h: remove explicit_bzero_by_memset_snobu
* include/ruby/missing.h (explicit_bzero_by_memset_s): remove inline implementation by memset_s, which needs a macro before including headers and can cause problems in extension libraries by the order of the macro and headers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-10io.c: remove obsolete rb_deferr global variablenormal
This was made obsolete by r4190 back in July 2003. Furthermore, this existed less than 3 months as it was only introduced in r3782. So with absolutely no references to rb_deferr, I doubt any vim plugin would care anymore. ChangeLog: fixup indent of my previous commit, oops :X git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-10ChangeLog: fixup indent for r53488normal
Oops :x git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-10insns.def: description [ci skip]nobu
* insns.def: [DOC] add missing English description. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-10* 2016-01-10svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-10stdlib: avoid extra calls to eliminate "\n" from Base64normal
We may use the '0' (zero) to avoid adding the line feed. Furthermore, the '*' (asterisk) modifier is not needed for a single-element arrays. * ext/psych/lib/psych/visitors/yaml_tree.rb (visit_String): eliminate chomp * lib/net/http.rb (connect): eliminate delete * lib/net/http/header.rb (basic_encode): ditto * lib/net/imap.rb (authenticate): eliminate gsub (self.encode_utf7): shorten delete arg * lib/net/smtp.rb (base64_encode): eliminate gsub * lib/open-uri.rb (OpenURI.open_http): eliminate delete * lib/rss/rss.rb: ditto * lib/securerandom.rb (base64): ditto (urlsafe_base64): eliminate delete! * lib/webrick/httpauth/digestauth.rb (split_param_value): eliminate chop * lib/webrick/httpproxy.rb (do_CONNECT): eliminate delete (setup_upstream_proxy_authentication): ditto [ruby-core:72666] [Feature #11938] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09test_hash.rb: add testnobu
* test/ruby/test_hash.rb (test_try_convert): Add test for Hash.try_convert. [Fix GH-1190] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09openssl: fix examples [ci skip]nobu
* ext/openssl/ossl.c: Add missing variables to documentation examples. [Fix GH-1189] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09symbol.h: unexpected safe callnobu
* symbol.h (is_attrset_id): ASET is an attrset ID. fix unexpected safe call instead of an ordinary ASET. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09nmake VPATHnobu
* ext/rbconfig/sizeof/depend (sizes.c): add nmake VPATH prefix. reapply r53482 with '#' as separator not to be removed in make-snapshot. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09Revert r53482 "nmake VPATH"naruse
it breaks `make dist`. http://rubyci.s3.amazonaws.com/tk2-243-31075/ruby-trunk/log/20160109T034902Z.fail.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09nmake VPATHnobu
* ext/rbconfig/sizeof/depend (sizes.c): add nmake VPATH prefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09probes.h including dummy headernobu
* Makefile.in, win32/Makefile.sub (probes.h): include dummy header instead of copying. * common.mk (probes.dmyh): add nmake VPATH prefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09fix rc files conflict in parallel buildnobu
* cygwin/GNUmakefile.in (%.rc): generate .rc files separately to get rid of conflict in parallel build. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09vcs.rb: srcdir accessornobu
* tool/vcs.rb (VCS#srcdir): add accessor for VCS::GIT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09use stringized macrosnobu
* version.h (RUBY_COPYRIGHT): use stringized macros, RUBY_BIRTH_YEAR_STR and RUBY_RELEASE_YEAR_STR. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09RUBY_PROGRAM_VERSION from RUBY_VERSIONnobu
* configure.in, win32/setup.mak: extract RUBY_PROGRAM_VERSION from RUBY_VERSION in version.h instead of RUBY_API_VERSION numbers in include/ruby/version.h, and cut it into version numbers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09extract version from version.hnobu
* tool/mkconfig.rb: extract version numbers from version.h but not from API version in include/ruby/version.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09RUBY_RELEASE_DATE in verconf.mknobu
* win32/setup.mak (verconf.mk): extract RUBY_RELEASE_DATE without quotation marks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09fix library teenynobu
* configure.in, win32/Makefile.sub: fix teeny of library version to 0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09configure.in: RUBY_PROGRAM_VERSIONnobu
* configure.in: use $(RUBY_PROGRAM_VERSION) instead of the triplet macros. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09revert r53459, r53427, r53314nobu
Revert "* tool/make-snapshot: fix for the changes of version.h in r53314." Revert "* version.h (RUBY_BUILD_VERSION_STR_3): Workaround for old version of" Revert "program version from API version" git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-08* gc.c: rename PAGE_* to HEAP_PAGE_* because PAGE_SIZE is usedko1
in Mac OS X. * test/ruby/test_gc.rb: catch up this fix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-08* gc.c: PAGE_BITMAP_PLANES (the number of bitmap) is 4, not 3.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-08* 2016-01-09svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-08* gc.c: rename constant names HEAP_* to PAGE_*.ko1
Keys of GC::INTERNAL_CONSTANTS are also renamed. * test/ruby/test_gc.rb: catch up this fix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-08* doc/regexp.rdoc: [DOC] Elaborate on the \G anchor. [ci skip]knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-08* gc.c: remove heap_page::body. Instead of this field,ko1
heap_page::start field works well. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-08iseq.c: volatile only on gcc4.8nobu
* iseq.c (rb_iseq_compile_with_option): no volatile on gcc other than 4.8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e