aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* iseq.c: mark parents of wrapped iseqnobu2016-01-124-0/+30
| | | | | | | | * 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
* * common.mk: update URL and name for the Ruby spec suite.eregon2016-01-122-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* correction to proper wordsorah2016-01-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/forwardable.rb: Convert given accessors to String.sorah2016-01-122-0/+18
| | | | | | | | | | | | | | | | 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
* string.c: made a variable name more grammatically correctduerst2016-01-122-18/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: minor grammar fix [ci skip]duerst2016-01-122-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix test to follow r53503naruse2016-01-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.svn2016-01-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/enc/test_casing_options.rb: Tests for optionduerst2016-01-122-0/+87
| | | | | | | 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
* * remove trailing spaces.svn2016-01-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: Added option parsing/checking for upcase/downcase/duerst2016-01-122-36/+98
| | | | | | capitalize/swapcase (with Kimihito Matsui git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2016-01-12svn2016-01-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* escape bracketsnobu2016-01-121-2/+2
| | | | | | * 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
* include/ruby/oniguruma.h: Added flags needed for upcase/downcaseduerst2016-01-112-0/+13
| | | | | | Unicode addition (with Kimihito Matsui) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: check API versionnobu2016-01-112-0/+9
| | | | | | | * 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-11svn2016-01-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io.h: remove old macrosnobu2016-01-111-8/+0
| | | | | | | * 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
* compile.c: fix lhs splat in massignnobu2016-01-103-4/+32
| | | | | | | | * 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
* ext/-test-: reduce feature namesnobu2016-01-1022-22/+22
| | | | | | | * 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
* missing.h: remove explicit_bzero_by_memset_snobu2016-01-103-13/+15
| | | | | | | | | * 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
* io.c: remove obsolete rb_deferr global variablenormal2016-01-102-2/+5
| | | | | | | | | | | | | 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
* ChangeLog: fixup indent for r53488normal2016-01-101-16/+16
| | | | | | Oops :x git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* insns.def: description [ci skip]nobu2016-01-101-9/+17
| | | | | | * 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-10svn2016-01-101-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* stdlib: avoid extra calls to eliminate "\n" from Base64normal2016-01-1011-16/+34
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* test_hash.rb: add testnobu2016-01-092-0/+13
| | | | | | | * 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
* openssl: fix examples [ci skip]nobu2016-01-092-0/+8
| | | | | | | * 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
* symbol.h: unexpected safe callnobu2016-01-093-1/+13
| | | | | | | * 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
* nmake VPATHnobu2016-01-092-2/+5
| | | | | | | | * 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
* Revert r53482 "nmake VPATH"naruse2016-01-092-5/+2
| | | | | | | 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
* nmake VPATHnobu2016-01-092-2/+5
| | | | | | * 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
* probes.h including dummy headernobu2016-01-093-9/+6
| | | | | | | | | * 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
* fix rc files conflict in parallel buildnobu2016-01-092-2/+3
| | | | | | | * 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
* vcs.rb: srcdir accessornobu2016-01-091-0/+2
| | | | | | * 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
* use stringized macrosnobu2016-01-091-2/+3
| | | | | | | * 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
* RUBY_PROGRAM_VERSION from RUBY_VERSIONnobu2016-01-095-12/+27
| | | | | | | | * 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
* extract version from version.hnobu2016-01-091-5/+5
| | | | | | | * 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
* RUBY_RELEASE_DATE in verconf.mknobu2016-01-092-13/+11
| | | | | | | * 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
* fix library teenynobu2016-01-093-5/+5
| | | | | | | * 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
* configure.in: RUBY_PROGRAM_VERSIONnobu2016-01-091-4/+4
| | | | | | | * 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
* revert r53459, r53427, r53314nobu2016-01-097-58/+14
| | | | | | | | 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
* * gc.c: rename PAGE_* to HEAP_PAGE_* because PAGE_SIZE is usedko12016-01-083-42/+49
| | | | | | | | | 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
* * gc.c: PAGE_BITMAP_PLANES (the number of bitmap) is 4, not 3.ko12016-01-082-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2016-01-09svn2016-01-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: rename constant names HEAP_* to PAGE_*.ko12016-01-083-42/+50
| | | | | | | | | 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
* * doc/regexp.rdoc: [DOC] Elaborate on the \G anchor. [ci skip]knu2016-01-082-1/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: remove heap_page::body. Instead of this field,ko12016-01-082-19/+19
| | | | | | | heap_page::start field works well. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* iseq.c: volatile only on gcc4.8nobu2016-01-081-2/+2
| | | | | | | * 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
* * gc.c: rename rb_heap_t::page_length to rb_heap_t::total_pages.ko12016-01-082-19/+26
| | | | | | | | | `page_length' is not clear (we may understand with length of a page). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_tempfile.rb: use assert_filenobu2016-01-081-4/+4
| | | | | | | * test/test_tempfile.rb (test_create_with{,out}_block): use assert_file for descriptive failure messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e