summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-13sync_default_gems.rb: expand links to PRs of the upstreamNobuyoshi Nakada
2021-07-13[ruby/error_highlight] Support a file that has no final newlineYusuke Endoh
https://github.com/ruby/error_highlight/commit/9d671284cb
2021-07-13[ruby/error_highlight] Support hard tabsYusuke Endoh
Now, the highlight line is created by replacing non-tab characters with spaces, and keeping all hard tabs as-is. This means the highlight line has the completely same indentation as the code snippet line. Fixes #7 https://github.com/ruby/error_highlight/commit/38f20fa542
2021-07-13* 2021-07-13 [ci skip]git
2021-07-13Expose `rb_obj_is_fiber`.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/4646
2021-07-12[ruby/error_highlight] Update a test for multibyte charactersYusuke Endoh
https://github.com/ruby/error_highlight/commit/2fc70d7f8e
2021-07-12[ruby/error_highlight] Stop showing a code snippet if it has non-ascii ↵Yusuke Endoh
characters See https://github.com/ruby/error_highlight/issues/4 https://github.com/ruby/error_highlight/commit/c20efd3961
2021-07-12Avoid calling `fstat` on things we already know are valid sockets.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/4645
2021-07-12* 2021-07-12 [ci skip]git
2021-07-12Show node IDs in dumpNobuyoshi Nakada
2021-07-11[ruby/date] Fixed markups for bold [ci skip]Nobuyoshi Nakada
https://github.com/ruby/date/commit/404f9d2096
2021-07-11[ruby/date] Fix comparison with Float::INFINITYJeremy Evans
Fixes [Bug #17945] https://github.com/ruby/date/commit/953d907238
2021-07-11[DOC] Move mailing-list URLs to footnotes [ci skip]Nobuyoshi Nakada
2021-07-11Move core_assertions.rb from test/unitNobuyoshi Nakada
This file contains extended assertions for ruby core which do not belong to test/unit.
2021-07-11Move rb_str_escape function declarationS-H-GAMELINKS
Notes: Merged: https://github.com/ruby/ruby/pull/4607
2021-07-11* 2021-07-11 [ci skip]git
2021-07-11[ruby/irb] Show LANG and LC_ALL env by irb_infoaycabta
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> https://github.com/ruby/irb/commit/b431742430
2021-07-10Remove half-defined Reline on LoadErrorNobuyoshi Nakada
When fiddle is not avaiable, reline/terminfo depending on it also fails.
2021-07-10Skip fiddle tests if fiddle is not avaiableNobuyoshi Nakada
2021-07-10Get rid of conflict in ccan/listNobuyoshi Nakada
Undefine LIST_HEAD from BSD-origin sys/queue.h.
2021-07-10* 2021-07-10 [ci skip]git
2021-07-10[ruby/irb] Pass local variables from workspace binding to lexerJeremy Evans
This fixes at least an issue where irb will incorrectly assume code opens a heredoc when it does not, such as this code: ```ruby s1 = 'testing' s2 = 'this' s2 <<s1 p s1 s1 ``` Ruby parses the `s2 <<s1` as `s2.<<(s1)`, not as a heredoc, because `s2` is a local variable in scope. irb was using ripper without letting ripper know that `s2` was a local variable, so ripper would lex it as a heredoc instead of a method call. Fix the situation by prepending a line at line 0 with all local variable definitions in scope whenever lexing. This fixes the heredoc issue, and potentially other issues that depend on whether an identifier is a local variable or not. Fixes [Bug #17530] https://github.com/ruby/irb/commit/4ed2187f76
2021-07-09Remove no longer needed include files (Unicode Version 12.1.0)Martin Dürst
2021-07-09Update bundled_gemsKazuhiro NISHIYAMA
2021-07-09* 2021-07-09 [ci skip]git
2021-07-09Added missing declarations in readline.h bundled with macOS 10.13Nobuyoshi Nakada
2021-07-08Update bundled_gemsKazuhiro NISHIYAMA
2021-07-08mkmf.rb: try linking at try_varNobuyoshi Nakada
To check for variables accessible but not declared.
2021-07-08rbinstall.rb: just call File.basename directlyNobuyoshi Nakada
2021-07-08Ubuntu: remove pthread coroutine which is done in CompilationsNobuyoshi Nakada
2021-07-08Split test of Hash.[] and add assertion for default value/procNobuyoshi Nakada
For a73f13c9070a5189947641638398cbffb8d012d8.
2021-07-08[ruby/stringio] Suppress a sign-compare warningNobuyoshi Nakada
https://github.com/ruby/stringio/commit/a88c070e0b
2021-07-08Adapt test_emoji_breaks.rb to Unicode 13.0.0/Emoji 13.0Martin Dürst
- Add UNICODE_VERSION,... to deal with new location of some of the emoji-related data files. - Introduce class BreakFile to handle various file properties. - Adapt main code to use BreakFile.
2021-07-08Fix ruby_version guards in Unicode/Emoji version specsMartin Dürst
Correct version guards in ruby_version in Unicode/Emoji version specs to correctly use exclusive range endings.
2021-07-08Add directory and include files for Unicode version 13.0.0Martin Dürst
- Add directory enc/unicode/13.0.0 - Add include files casefold.h and name2ctype.h for Unicode version 13.0.0
2021-07-08Add new Unicode/Emoji version checks to spec/ruby/library/rbconfigMartin Dürst
- Limit Unicode version 12.1.0 to Ruby versions 2.6.3 - 3.0 - Check that Ruby version 3.1 has Unicode version 13.0.0 - Limit Unicode Emoji version 12.1 to Ruby versions 2.7 - 3.0 - Check that Ruby version 3.1 has Unicode Emoji version 13.0
2021-07-08Update lib/unicode_normalize/tables.rb to Unicode version 13.0.0Martin Dürst
2021-07-08Adjust tool/enc-unicode.rb to deal with new location of some emoji filesMartin Dürst
- Change location of file emoji-data.txt - Change range of files in emoji directory ([stz] is for emoji-sequences.txt, emoji-test.txt, and emoji-zwj-sequences.txt) - Make sure that version of all emoji files is checked against Emoji version
2021-07-08Update common.mk to deal with Unicode version 13.0.0Martin Dürst
- Change Unicode version to 13.0.0 - Change Emoji version to 13.0 - Adjust to moved locations of emoji-data.txt and emoji-variation-sequences.txt by splitting these files from $(UNICODE_EMOJI_FILES) and putting them into a new group $(UNICODE_UCD_EMOJI_FILES)
2021-07-08* 2021-07-08 [ci skip]git
2021-07-07Shared libruby also needs MAINLIBS for jemallocNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4632
2021-07-07Refactor --with-jemalloc optionNobuyoshi Nakada
Find jemalloc header first, then using the found header, try [with mangle, without mangle] x [no more additional libraries, adding jemalloc] combination. Notes: Merged: https://github.com/ruby/ruby/pull/4632
2021-07-07comment about the situation [ci skip]卜部昌平
Notes: Merged: https://github.com/ruby/ruby/pull/4631
2021-07-07configure: add -Wl,--no-as-needed卜部昌平
It is reported that combination of `--enable-shared --with-jemalloc` breaks on Debian bullseye (testig). Deeper investigation revealed that this system's `ld(1)` is patched, to turn `ld --as-needed` on by default. This linker flag strips "unnecessary" library dependencies from an executable. In case of `ruby(1)` (of `--enable-shared`), because everything is in `libruby.so`, the binary itself doesn't include any calls to `malloc(3)` at all. So in spite of our explicit `-ljemalloc` flag, it is ignored. Libc's one is chosen instead. This is not what we want. Let's force our `ruby(1)` link what we want. Fixes https://github.com/ruby/ruby/pull/4627 The author would like to acknowledge Akihiko Odaki <akihiko.odaki@gmail.com> for their contributions. Notes: Merged: https://github.com/ruby/ruby/pull/4631
2021-07-07gc.c: use each_stack_location for emscriptenYusuke Endoh
follow up of e4e416380d4b1b36ca1cc2e1e1ed993c9be694bb
2021-07-07Sync RubyGems and Bundler with upstreamHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4634
2021-07-07Sync latest bundler & rubygems development versionDavid Rodríguez
Notes: Merged: https://github.com/ruby/ruby/pull/4533
2021-07-07Refactor rb_str_export and rb_str_export_locale function'sS-H-GAMELINKS
Notes: Merged: https://github.com/ruby/ruby/pull/4628
2021-07-07* 2021-07-07 [ci skip]git
2021-07-06Store the dup'd CDHASH in the object list during IBF loadAaron Patterson
Since b2fc592c304 nothing was holding a reference to the dup'd CDHASH during IBF loading. If a GC happened to run during IBF load then the copied hash wouldn't have anything to keep it alive. We don't really want to keep the originally loaded CDHASH hash, so this patch just overwrites the original hash with the copied / modified hash. [Bug #17984] [ruby-core:104259] Notes: Merged: https://github.com/ruby/ruby/pull/4630