aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* iseq.c: narrow down protected regionnobu2015-12-241-30/+31
| | | | | | | | * iseq.c (rb_iseq_compile_with_option): narrow down protected region, and check/convert/prepare arguments before setting base_block which needs to roll back. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: added entry for CGI.escapeHTML optimization.hsbt2015-12-242-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a ticket number [ci skip]kazu2015-12-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* deprecate exposed internal functionsnobu2015-12-245-18/+36
| | | | | | | | | * error.c (rb_compile_error_with_enc, rb_compile_error), (rb_compile_bug): deprecate internal functions. * parse.y (parser_yyerror): construct exception message with source code and carret. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* preserve source file name encodingnobu2015-12-245-40/+73
| | | | | | | | * compile.c (append_compile_error), parse.y (compile_error): preserve encoding of source file name in exceptions. * error.c (rb_compile_error_str, rb_compile_bug_str): add. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: reduce redundancy w.r.t Socket+IO [ci skip]normal2015-12-241-16/+8
| | | | | | | | No need to mention the same things in the same document multiple times. Use numeric references to point to previously-mentioned items. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (fake.rb): $(arch)-fake.rb must depend miniruby becausenaruse2015-12-242-1/+6
| | | | | | it may depend miniruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (ripper.c): r50045 wrongly replace $(PWD) with ../..naruse2015-12-242-1/+6
| | | | | | It is the top of build directory, not topsrcdir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove empty section [ci skip]kazu2015-12-241-2/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo [ci skip]kazu2015-12-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove duplicated ticket number [ci skip]kazu2015-12-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/vcs.rb (IO.popen): Refactor. Avoid assigning in condition.sorah2015-12-242-2/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/file2lastrev.rb: Fix ArgumentError to work on Ruby 1.8.7.sorah2015-12-242-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/vcs.rb (IO.popen): Enable on Ruby 1.9 where chdir option is notsorah2015-12-242-3/+11
| | | | | | | | | supported on IO.popen * tool/vcs.rb (IO.popen): Fix NoMethodError. I guess r49705 was not tested... :/ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: renameko12015-12-242-1/+69
| | | | | | | | | | | | | | "Implementation changes" section to "Supported platform changes" section. * NEWS: add "Implementation improvements" and add several entries. * NEWS: add NEWS entries by Eric Wong. [ruby-core:72450] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-12-24svn2015-12-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io/console: fix gem build failure on Windowsnobu2015-12-235-4/+20
| | | | | | | | | | | * ext/io/console/extconf.rb: fix gem build failure on Windows. only win32_vk.inc is included in the gem and no dependencies for the header, so that gperf will not be mandatory. [ruby-core:72453] [Bug #11866] * ext/io/console/io-console.gemspec: include depend file and win32_vk header. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rb_readwrite_syserr_failnobu2015-12-236-19/+30
| | | | | | | * io.c (rb_readwrite_syserr_fail): works with the given errno than thread local errno. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* prefer rb_syserr_failnobu2015-12-2312-112/+125
| | | | | | | | * file.c, io.c, util.c: prefer rb_syserr_fail with saved errno over setting errno then call rb_sys_fail, not to be clobbered potentially and to reduce thread local errno accesses. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: get rid of macro redefinitionnobu2015-12-231-1/+2
| | | | | | | * configure.in (__STDC_WANT_LIB_EXT1__): get rid of redefinition to suppress warnings by gcc5. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [DOC] Fix typosa_matsuda2015-12-2310-12/+12
| | | | | | | | | | | | | | | | | * benchmark.rb * getoptlong.rb * irb.rb * net/http.rb * net/http/header.rb * net/imap.rb * optparse.rb * pstore.rb * webrick.rb * xmlrpc.rb [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c: Fix document. Default value of the firstyui-knk2015-12-232-3/+10
| | | | | | | | argument of `String#split` is not `$;` but `nil`. When `nil` is passed as first argument, `$;` is used. [ci skip] [Bug #11729] [ruby-dev:49378] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/socket/init.c (rsock_init_sock): reject reserved FDsnormal2015-12-222-1/+6
| | | | | | [ruby-core:72445] [Bug #11862] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: add hint for Redmine URLs with issue number [ci skip]normal2015-12-221-1/+2
| | | | | | | This may not be obvious to folks who do not follow Ruby development. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r53253. naruse fixed it differently in r53244normal2015-12-222-6/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/socket/test_basicsocket.rb: attempt fix for [ruby-cvs:60402]normal2015-12-222-1/+6
| | | | | | I'm not sure how fstat on fd=-1 can succeed on some systems... git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: define __STDC_WANT_LIB_EXT1__nobu2015-12-222-0/+7
| | | | | | | * configure.in (__STDC_WANT_LIB_EXT1__): necessary to use memset_s in strict C99 mode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* regexec.c: fix build with direct threaded VMnobu2015-12-222-187/+197
| | | | | | | | * regexec.c (match_at): move direct threaded VM code to get rid of mixed declarations and code, and enable it only for gcc since it depends on a gcc extension. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gems/bundled_gems: Upgrade the did_you_mean gem to 1.0.0yuki2015-12-223-1/+17
| | | | | | | * NEWS: Add news about the did_you_mean gem git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix typo in contributing docs [ci skip]nobu2015-12-222-1/+6
| | | | | | | * doc/contributing.rdoc: [DOC] remove an extra word "here". [Fix GH-1169] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* regexec.c: enable direct threaded VMnobu2015-12-222-0/+9
| | | | | | | * regexec.c (USE_DIRECT_THREADED_VM): enable direct threaded VM by the default. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-12-23svn2015-12-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_rdoc_generator_json_index.rb: open in binmodenobu2015-12-221-1/+1
| | | | | | | * test/rdoc/test_rdoc_generator_json_index.rb (test_generate_gzipped): open a gzipped file in binary mode, since it is binary. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io-console.gemspec: BSD-2-Clausenobu2015-12-222-2/+3
| | | | | | | * ext/io/console/io-console.gemspec: change the license to BSD-2-Clause since "ruby" is no longer valid license as gem. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix r53231: raise Errno::EBADF like other OSesnaruse2015-12-221-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c: do not expose internal singleton classnobu2015-12-226-1/+56
| | | | | | | | | * gc.c (internal_object_p): should not expose singleton classes without a metaclass. based on patches by ko1 and shugo. [Bug #11740] * class.c (rb_singleton_class_object_p): added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io-console.gemspec: bump upnobu2015-12-223-1/+8
| | | | | | * ext/io/console/io-console.gemspec: bump up to 0.4.4. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: Added news entry of Psych 2.0.17hsbt2015-12-222-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: Added news entry of RDoc 4.2.1hsbt2015-12-222-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.gemspec: bump version to 1.2.8.mrkn2015-12-222-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc.rb: bump version to 4.2.1. It contains following fixes.hsbt2015-12-228-7/+18
| | | | | | | | | | | https://github.com/rdoc/rdoc/pull/340 https://github.com/rdoc/rdoc/pull/341 https://github.com/rdoc/rdoc/pull/367 https://github.com/rdoc/rdoc/pull/368 * lib/rdoc/*: ditto. * test/rdoc/*: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych.rb: bump version to 2.0.17hsbt2015-12-223-3/+8
| | | | | | * ext/psych/psych.gemspec: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c: move vm_callee_setup_block_arg() (and relatedko12015-12-222-82/+89
| | | | | | | | | | | functions) to the latter location. This moving recovers performance a little. [Bug #11829] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: no exception on dummy encodingnobu2015-12-223-10/+14
| | | | | | | * string.c (str_compat_and_valid): as scrub does nothing for dummy encoding string now, incompatible encoding is not a matter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* escape.c: should not freezenobu2015-12-223-10/+32
| | | | | | | | * ext/cgi/escape/escape.c (optimized_escape_html): CGI.escapeHTML should return unfrozen new string. [ruby-core:72426] [Bug #11858] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* escape.c: Preserve original statenobu2015-12-213-1/+25
| | | | | | | | * ext/cgi/escape/escape.c (preserve_original_state): Preserve original state for tainted and frozen. [Fix GH-1166] [ruby-dev:49451] [Bug #11855] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-12-22svn2015-12-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* avoid rb_bug on BasicSocket.for_fd(-1)normal2015-12-213-1/+18
| | | | | | | | * ext/socket/init.c (rsock_init_sock): check FD after validating * test/socket/test_basicsocket.rb (test_for_fd): new [ruby-core:72418] [Bug #11854] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (struct ivar_update): rename "extended" to "iv_extended"ngoto2015-12-212-6/+12
| | | | | | | | to avoid name conflict with /usr/include/floatingpoint.h on Solaris. [Bug #11853] [ruby-dev:49448] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert r53228 because this patch breaks rubyspecko12015-12-214-50/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e