summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-29merge revision(s) 53609: [Backport #12011]naruse
* marshal.c (r_object0): honor Marshal.load post proc value for TYPE_LINK. by Hiroshi Nakamura <nahi@ruby-lang.org> https://github.com/ruby/ruby/pull/1204 fix GH-1204 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-29merge revision(s) 53517,53519,53521,53522,53523,53526,53527:naruse
drop osx and clang because they are often fails and slow * .travis.yml: removed osx code. follow up with r53517 * .travis.yml: removed commented-out code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-29merge revision(s) 53557,53561: [Backport #11958]naruse
* ext/socket/option.c (check_size): extract a macro to check binary data size, with a consistent message. * ext/socket/option.c (sockopt_byte): fix error message, sizeof(int) differs from sizeof(unsigned char) in general. * ext/socket/option.c (sockopt_bool): relax boolean size to be one too not only sizeof(int). Winsock getsockopt() returns a single byte as a boolean socket option. [ruby-core:72730] [Bug #11958] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-29merge revision(s) 53346,53347,53348,53349,53391,53928: [Backport #11898]naruse
* process.c: use rb_w32_uchdir() instead of plain chdir() on Windows. reported by naruse via twitter. * process.c (rb_execarg_addopt): need to convert to ospath. * process.c (rb_execarg_parent_start1): need to convert the encoding to ospath's one. * process.c (rb_execarg_addopt): need to convert the encoding to ospath's one. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-29merge revision(s) 53435: [Backport #11945]naruse
* 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/branches/ruby_2_3@54353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-29merge revision(s) 53329: [Backport #11885]naruse
* io.c (io_getpartial): remove unused kwarg from template * test/ruby/test_io.rb (test_readpartial_bad_args): new [Bug #11885] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-29merge revision(s) 53299: [Backport #11870]naruse
* compile.c, cont.c, doc, man: fix common misspelling. [ruby-core:72466] [Bug #11870] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-29merge revision(s) 53411,53425: [Backport #11932]naruse
* parse.y (regexp): set_yylval_num sets u1, should use nd_tag instead of nd_state. [ruby-core:72638] [Bug #11932] * 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/branches/ruby_2_3@54350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-29merge revision(s) 53654:naruse
* gc.c (RVALUE_PAGE_WB_UNPROTECTED): fix a typo of argument name. [Fix GH-1221] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-22* test/ruby/test_math.rb: use 64 bits in test_override_bignum_to_fheadius
to ensure it's a bignum on all impls. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-22* test/ruby/test_math.rb: override tests must always put to_f backheadius
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-22* 2016-02-23svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-22* test/psych/test_emitter.rb: test_resizing_tags missingheadius
start_stream call, caused strict parsers like on JRuby to err. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-21merge revision(s) 53607:naruse
* Makefile.in (update-rubyspec): fix r53208 like r53451. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-19* 2016-01-20svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-19file.c: fix documentationheadius
* file.c: mode is optional, defaults to 0666. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-18merge revision(s) 53391: [Backport #11898]naruse
skip if locale is not UTF-8 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-14merge revision(s) 53535:naruse
* lib/uri/generic.rb (URI::Generic#to_s): change encoding to UTF-8 as Ruby 2.2/ by Koichi ITO <koic.ito@gmail.com> https://github.com/ruby/ruby/pull/1188 fix GH-1188 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-12merge revision(s) 53346,53347,53348,53349: [Backport #11898]naruse
* process.c: use rb_w32_uchdir() instead of plain chdir() on Windows. reported by naruse via twitter. * process.c (rb_execarg_addopt): need to convert to ospath. * process.c (rb_execarg_parent_start1): need to convert the encoding to ospath's one. * process.c (rb_execarg_addopt): need to convert the encoding to ospath's one. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-12merge revision(s) 53493: [Backport #11978]naruse
* 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/branches/ruby_2_3@53502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24Add ruby_2_3 branch to .travis.ymlnaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24merge revision(s) 53294:naruse
ignore exception is the address is IPv6 some environments disables IPv6 even if they have IPv6 addresses. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24v2.3.0p0naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24stable branch of Ruby 2.3naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24* 2015-12-25svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24revert deprecated functionsnobu
* error.c (rb_compile_error_with_enc, rb_compile_error), (rb_compile_bug): revert deprecate internal functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24fix typoskazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24iseq.c: narrow down protected regionnobu
* 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
2015-12-24* NEWS: added entry for CGI.escapeHTML optimization.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24add a ticket number [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24deprecate exposed internal functionsnobu
* 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
2015-12-24preserve source file name encodingnobu
* 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
2015-12-24NEWS: reduce redundancy w.r.t Socket+IO [ci skip]normal
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
2015-12-24* common.mk (fake.rb): $(arch)-fake.rb must depend miniruby becausenaruse
it may depend miniruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24* common.mk (ripper.c): r50045 wrongly replace $(PWD) with ../..naruse
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
2015-12-24remove empty section [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24fix a typo [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24remove duplicated ticket number [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24* tool/vcs.rb (IO.popen): Refactor. Avoid assigning in condition.sorah
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24* tool/file2lastrev.rb: Fix ArgumentError to work on Ruby 1.8.7.sorah
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24* tool/vcs.rb (IO.popen): Enable on Ruby 1.9 where chdir option is notsorah
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
2015-12-24* NEWS: renameko1
"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-23* 2015-12-24svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-23io/console: fix gem build failure on Windowsnobu
* 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
2015-12-23rb_readwrite_syserr_failnobu
* 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
2015-12-23prefer rb_syserr_failnobu
* 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
2015-12-23configure.in: get rid of macro redefinitionnobu
* 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
2015-12-23[DOC] Fix typosa_matsuda
* 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
2015-12-23* string.c: Fix document. Default value of the firstyui-knk
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
2015-12-22ext/socket/init.c (rsock_init_sock): reject reserved FDsnormal
[ruby-core:72445] [Bug #11862] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e