summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-01* 2019-05-01git
2019-05-01Add exception support in `Range#first`.manga_osyo
Closes: https://github.com/ruby/ruby/pull/2163
2019-04-30Change Accept-Encoding from `*` to `identity`Kazuhiro NISHIYAMA
When `Accept-Encoding` is `*`, http://www.unicode.org/Public/12.1.0/ucd/ returns gzipped content now. So set `identity`.
2019-04-30Use redirect keyword arguments instead of ">"NAKAMURA Usaku
2019-04-30Use array mode of `system` instead of `shellescape`Nobuyoshi Nakada
`&.` is not available in ruby 2.0.
2019-04-30String#[] with index to extract matched substring safelyNobuyoshi Nakada
2019-04-30Must use IO::NULL instead of platform dependent filenameNAKAMURA Usaku
2019-04-30Skip on Windows now when using reline because it causes hang of whole testsNAKAMURA Usaku
2019-04-30**Must** use IO::NULL for null deviceNAKAMURA Usaku
2019-04-30`from` is not nil but `""` on shallow clone [ci skip]Kazuhiro NISHIYAMA
2019-04-30Forgotten to removeNAKAMURA Usaku
2019-04-30Use Ripper for IRBaycabta
The debug option of IRB is deleted because it's just for IRB's pure Ruby parser.
2019-04-30Use Encoding::UTF_8 if RELINE_TEST_ENCODING doesn't existaycabta
2019-04-30Move Win32API to Reline::Win32APIaycabta
2019-04-30Use Encoding::UTF_8 if Encoding.default_external is Encoding::IBM437aycabta
2019-04-30Add Reline as a fallback library for Readlineaycabta
* lib/reine.rb, lib/reline/*: Reline is a readline stdlib compatible library. * lib/readline.rb: Readline uses a fallback to Reline when ext/readline doesn't exist. * tool/sync_default_gems.rb: add ruby/reline as a default gem. * appveyor.yml: add "set RELINE_TEST_ENCODING=Windows-31J" for test suit of Reline, and add "--exclude readline" to "nmake test-all" on Visual Studio builds because of strange behavior. * spec/ruby/library/readline/spec_helper.rb: skip Reline as with RbReadline.
2019-04-30Skip the spec on Windows because RUBY_EXE is RUNRUBY and it calls ruby as ↵NAKAMURA Usaku
grandchild
2019-04-30Revert previous commit; it was meaninglessNAKAMURA Usaku
2019-04-30* expand tabs.git
2019-04-30Use CreateToolhelp32Snapshot instead of NtQueryInformationProcess to get ↵NAKAMURA Usaku
ppid on Windows Try to get rid of a spec error.
2019-04-30* 2019-04-30git
2019-04-30Merge .timeKazuhiro NISHIYAMA
2019-04-29Use 10 chars as RUBY_REVISION in snapshot tooKazuhiro NISHIYAMA
2019-04-29avoid passing NULL to memsetUrabe, Shyouhei
`GC::Profiler.enable; GC::Profiler.clear` tries to clear objspace->profile.records but it has never been allocated before. Thus the MEMCPY took NULL argument before this changeset. The objspace->profile.records is allocated appropriately elsewhere. Why not juts free it if any? That should work.
2019-04-29glibc says memcpy cannot take NULLUrabe, Shyouhei
At least since 2004, glibc's <string.h> annotates memcpy as __attribute__((__nonnull__)). This basedir is passed to it. When LOAD_RELATIVE is not defined and MJIT_SEARCH_BUILD_DIR is not set, this variable is never updated. Should initialize with meaningful default value.
2019-04-29glibc says memcpy cannot take NULLUrabe, Shyouhei
At least since 2004, glibc's <string.h> annotates memcpy as __attribute__((__nonnull__)). On the other hand the argv here, which is passed from rb_funcallv, may be NULL. Practically this should never be a serious problem but for maximum safety, let's avoid passing NULL here.
2019-04-29suppress some UBSAN sanitizersUrabe, Shyouhei
They are not "undefined". UBSAN reports them because it thinks they are "often unintentional". We see the report rather annoying.
2019-04-29this variable is not guaranteed alignedUrabe, Shyouhei
No problem for unaligned-ness because we never dereference.
2019-04-29fix typoUrabe, Shyouhei
2019-04-29Fixed HERETERM_LENGTH_MAX on IL32LLP64Nobuyoshi Nakada
2019-04-29Refactored rb_strterm_heredoc_tNobuyoshi Nakada
2019-04-29Disallow also CR in here-doc identifierNobuyoshi Nakada
* parse.y (heredoc_identifier): CR in here-document identifier might or might not result in a syntax error, by the EOL code. make a syntax error regardless of the EOL code.
2019-04-29Make only `mesg` can be assigned with default `fname`Nobuyoshi Nakada
2019-04-29parse.y: fix here-doc identifier with newlineNobuyoshi Nakada
* parse.y (heredoc_identifier): quoted here-document identifier must end within the same line. the only corner case that here-document identifier can contain a newline is that the closing qoute is placed at the beginning of the next line, and has been warned since 2.4. ```ruby <<"EOS " # warning: here document identifier ends with a newline EOS ```
2019-04-29Reduce debug outputKazuhiro NISHIYAMA
because I found machine clock problem see r67347 https://travis-ci.org/ruby/ruby/jobs/525784924 https://travis-ci.community/t/mtime-of-source-codes-are-sometimes-newer-than-build-time-clock-skew/3215
2019-04-29iseq.c: removed unnecessary zero-fillsNobuyoshi Nakada
2019-04-29NEWS: Moved "Integer#[] with range" to "Core classes updates"Nobuyoshi Nakada
2019-04-28CLOCK_MONOTONIC_RAW_APPROX seems less precise than advertised on macOSBenoit Daloze
* https://travis-ci.org/ruby/ruby/builds/525651487
2019-04-28Update to ruby/spec@7de852dBenoit Daloze
2019-04-28Update to ruby/mspec@c25d63dBenoit Daloze
2019-04-28Move the check for CentOS CLOCK_MONOTONIC_RAW next to othersBenoit Daloze
* Fixes "No behavior expectation was found in the example" * https://rubyci.org/logs/rubyci.s3.amazonaws.com/centos6/ruby-trunk/log/20190428T093004Z.fail.html.gz
2019-04-29Fully support Git in tool/merger.rbTakashi Kokubun
as both backport source repository and backport destination repository.
2019-04-29Add more debug print for random CI failure on osx TravisKazuhiro NISHIYAMA
and remove `git status` with noisy rvm trace log see r67347
2019-04-29Add "Integer#[] with range" to NEWSYusuke Endoh
2019-04-29* remove trailing spaces.git
2019-04-29tool/merger.rb: Avoid making too-deep indentationTakashi Kokubun
because it's hard to understand what's going on when indentation depth is too deep. Sorry for polluting git blame, but most of the Merger's lines are updated recently anyway.
2019-04-29Support `tool/merger.rb removetag` under GitTakashi Kokubun
repository.
2019-04-29* 2019-04-29git
2019-04-29Support `tool/merger.rb tag` under Git repositoryTakashi Kokubun
2019-04-28* expand tabs.git