aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* optparse.rb: into kwdargnobu2016-01-064-13/+33
| | | | | | | * lib/optparse.rb (OptionParser#order!): add `into` optional keyword argument to store the results. [Feature #11191] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* id.h.tmpl: no optparse herenobu2016-01-051-2/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix wrong class name.hsbt2016-01-051-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_string.rb(test_chr): added test for String#chrhsbt2016-01-052-0/+12
| | | | | | [fix GH-1179] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_numeric.rb (test_nonzero_p): added test for String#nonzero?hsbt2016-01-052-0/+17
| | | | | | [fix GH-1187] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* leakchecker.rb: remove temporary measurenobu2016-01-0514-8/+78
| | | | | | | | | | | | | * lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#watcher): make watcher thread restartable. * lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#terminate): new method to terminate watcher thread. * test/lib/leakchecker.rb (LeakChecker#find_threads): revert r46941. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Clarify object references examplenobu2016-01-052-2/+7
| | | | | | | * doc/marshal.rdoc: Clarify object references example, that the reference is same object. [Fix GH-1156] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enc/Makefile.in: get rid of nmake bugnobu2016-01-051-2/+1
| | | | | | | | * enc/Makefile.in (ECHO1): expand NULLCMD by configured value to get rid of a bug of nmake, that it can expand bare single name variable but cannot in substition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2016-01-05svn2016-01-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* stringio: binmode sets encoding to ASCII-8BITnormal2016-01-043-1/+27
| | | | | | | | | | | This should match the behavior of IO#binmode as far as treating content as ASCII-8BIT (binary). * ext/stringio/stringio.c (strio_binmode): implement to set encoding * test/stringio/test_stringio.rb (test_binmode): new test [ruby-core:72699] [Bug #11945] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r53431 "temporally revert r53411 to debug"naruse2016-01-042-1/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_ostruct.rb: sort method namesnobu2016-01-041-1/+1
| | | | | | | * test/ostruct/test_ostruct.rb (test_accessor_defines_method): should not depend on the order of methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: double quotesnobu2016-01-041-1/+1
| | | | | | | * common.mk (ext/socket/constdefs.c): use double quotes to get rid of escape by caret in nmake. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* temporally revert r53411 to debugnaruse2016-01-042-13/+1
| | | | | | http://rubyci.s3.amazonaws.com/unstable11s/ruby-trunk/log/20151225T162507Z.diff.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: generate socket constdefsnobu2016-01-041-1/+9
| | | | | | | | * common.mk (ext/socket/constdefs.c): generate platform indenpendent constant definitions beforehand under the source tree at updating the working copy. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* variable.c (rb_mod_deprecate_constant): [DOC] addedsho-h2016-01-042-0/+12
| | | | | | | documentation for Module#deprecate_constant. [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread_sync.c: [DOC] remove SizedQueue#close argument. [ci skip]sho-h2016-01-042-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.h (RUBY_BUILD_VERSION_STR_3): Workaround for old version ofngoto2016-01-042-1/+6
| | | | | | | Fujitsu C Compiler (fcc) on Solaris. [Bug #11944] [ruby-dev:49468] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: remove unnecessary preposition [ci skip]nobu2016-01-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: remove stale log [ci skip]nobu2016-01-041-5/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/coverage/test_coverage.rb: ignored test when enabled to coverage.hsbt2016-01-042-1/+6
| | | | | | It lead to crash with `make test-all`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Move a comment to the appropriate position.yui-knk2016-01-032-2/+8
| | | | | | | | | | The position of `/* fall through */` was moved by r52931. * insns.def (opt_case_dispatch): Move a comment to the appropriate position. [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* contributing.rdoc: update [ci skip]nobu2016-01-031-1/+13
| | | | | | | * doc/contributing.rdoc: mention some make targets, check, up, and love. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2016-01-04svn2016-01-031-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: up in helpnobu2016-01-031-0/+1
| | | | | | * common.mk (help): mention `up` target briefly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix defined? expressionsnobu2016-01-032-2/+8
| | | | | | | | * lib/rubygems/security.rb (DIGEST_ALGORITHM, KEY_ALGORITHM): should check same name as the used constants. [ruby-core:72674] [Bug #11940] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.in: drop dependencynobu2016-01-031-1/+1
| | | | | | | * Makefile.in (aclocal.m4): drop the dependency of aclocal.m4 for broken autotools installations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aclocal.m4: addnobu2016-01-033-2/+24
| | | | | | | * aclocal.m4: add fallback file for non-aclocal environments. [ruby-core:72683] [Bug #11942] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use `rb_method_visibility_t` instead of `int` in `rb_print_undef`yui-knk2016-01-035-6/+15
| | | | | | | | | | | * eval_error.c (rb_print_undef): Use `rb_method_visibility_t` instead of `int`. * eval_intern.h (rb_print_undef): ditto * proc.c (mnew_internal): ditto * vm_method.c (rb_export_method): ditto [Misc #11649] [ruby-core:71311] [fix GH-1078] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2016-01-03svn2016-01-031-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* acinclude.m4: renamenobu2016-01-034-2/+11
| | | | | | | * acinclude.m4: rename aclocal.m4, which should be generated by aclocal. [ruby-core:72675] [Bug #11941] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread_sync.c: remove unnecessary casts for queue_sleepnormal2016-01-022-2/+7
| | | | | | | | | | | | | | "Qfalse" and "(VALUE)0" are equivalent, and do not matter for an ignored argument, either. Additionally, there's no reason to cast the pointer to rb_thread_sleep_deadly when we already have a queue_sleep wrapper. * thread_sync.c (queue_do_pop): avoid cast with Qfalse (rb_szqueue_push): ditto, use queue_sleep wrapper git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow ERB subclass to add token easily. [Feature #11936]seki2016-01-023-54/+137
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: use nd_tagnobu2016-01-024-3/+24
| | | | | | | * parse.y (regexp): set_yylval_num sets u1, should use nd_tag instead of nd_state. [ruby-core:72638] [Bug #11932] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r53409 "parse.y: yylval.num should be u3"naruse2016-01-023-17/+1
| | | | | | It introduces SEGV git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: yylval.num should be u3nobu2016-01-023-1/+17
| | | | | | | * parse.y (set_yylval_num): should be used as nd_state, set to u3. [ruby-core:72638] [Bug #11932] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2016-01-02svn2016-01-011-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ostruct.rb: Fix case of frozen object with initializer.marcandre2016-01-013-2/+8
| | | | | | Bug revealed by RubySpec [ruby-core:72639] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: mention about CSV's liberal_parsing option.kazu2016-01-012-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: added missing reference for GitHubhsbt2016-01-011-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/NEWS-2.3.0: fix double words typo.hsbt2016-01-012-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: adjust call_info countnobu2016-01-012-17/+29
| | | | | | | * compile.c (remove_unreachable_chunk): decrease count of call_info in removed instructions. fix up r53402. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: remove unreferred labelnobu2016-01-012-0/+8
| | | | | | | * compile.c (remove_unreachable_chunk): remove unreferred label to optimize away unreachable chunk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Adding a liberal_parsing option to CSV. Patch by Braden Anderson.jeg22016-01-013-4/+51
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkconfig.rb: SDKROOTnobu2016-01-012-1/+7
| | | | | | | | * tool/mkconfig.rb (RbConfig): prefix SDKROOT to oldincludedir not includedir, the latter is outside the ruby installation. [ruby-core:72496] [Bug #11881] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add test for Enumerator::Lazy#takenobu2015-12-312-0/+11
| | | | | | | | * test/ruby/test_lazy_enumerator.rb (test_take_bad_arg): Add test code in case of Enumerator::Lazy#take called with negative number. [ruby-dev:49467] [Bug #11933] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: single-quote indented heredocnobu2015-12-313-76/+99
| | | | | | | | * parse.y (parser_here_document): update indent for each line in indented here document with single-quotes. [ruby-core:72479] [Bug #11871] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2016-01-01svn2015-12-311-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ostruct.rb: deferred accessorsnobu2015-12-312-0/+11
| | | | | | | | * lib/ostruct.rb (freeze): define deferred accessors before freezing to get rid of an error when just reading frozen OpenStruct. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ostruct.rb: Fix new_ostruct_member to correctly avoid redefinitionmarcandre2015-12-313-1/+23
| | | | | | [#11901] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e