Commit graph

67695 commits

Author SHA1 Message Date
Martin Dürst
6072239121 Remove no longer needed include files (Unicode Version 12.1.0) 2021-07-09 16:22:38 +09:00
Kazuhiro NISHIYAMA
23ed8ef440
Update bundled_gems 2021-07-09 15:39:08 +09:00
git
f3e4c3400e * 2021-07-09 [ci skip] 2021-07-09 08:54:05 +09:00
Nobuyoshi Nakada
fbe9b691bd
Added missing declarations in readline.h bundled with macOS 10.13 2021-07-09 08:52:35 +09:00
Kazuhiro NISHIYAMA
a7c85ccb18
Update bundled_gems 2021-07-08 20:21:49 +09:00
Nobuyoshi Nakada
524513be39
mkmf.rb: try linking at try_var
To check for variables accessible but not declared.
2021-07-08 18:18:35 +09:00
Nobuyoshi Nakada
d6cf4c0c99
rbinstall.rb: just call File.basename directly 2021-07-08 17:58:25 +09:00
Nobuyoshi Nakada
b90ca734f3
Ubuntu: remove pthread coroutine which is done in Compilations 2021-07-08 17:57:47 +09:00
Nobuyoshi Nakada
7a2383b5c1
Split test of Hash.[] and add assertion for default value/proc
For a73f13c907.
2021-07-08 16:47:30 +09:00
Nobuyoshi Nakada
771f6dd75d
[ruby/stringio] Suppress a sign-compare warning
a88c070e0b
2021-07-08 16:43:22 +09:00
Martin Dürst
3b36e34b90 Adapt test_emoji_breaks.rb to Unicode 13.0.0/Emoji 13.0
- 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-08 14:45:03 +09:00
Martin Dürst
146a943d9a Fix ruby_version guards in Unicode/Emoji version specs
Correct version guards in ruby_version in Unicode/Emoji version
specs to correctly use exclusive range endings.
2021-07-08 14:45:03 +09:00
Martin Dürst
323ff38c04 Add directory and include files for Unicode version 13.0.0
- Add directory enc/unicode/13.0.0
- Add include files casefold.h and name2ctype.h for Unicode
  version 13.0.0
2021-07-08 14:45:03 +09:00
Martin Dürst
ba357bace2 Add new Unicode/Emoji version checks to spec/ruby/library/rbconfig
- 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-08 14:45:03 +09:00
Martin Dürst
99cd0e1f79 Update lib/unicode_normalize/tables.rb to Unicode version 13.0.0 2021-07-08 14:45:03 +09:00
Martin Dürst
94fc4b1869 Adjust tool/enc-unicode.rb to deal with new location of some emoji files
- 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-08 14:45:03 +09:00
Martin Dürst
b6113a3fd8 Update common.mk to deal with Unicode version 13.0.0
- 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 14:45:03 +09:00
git
6185b8a0ef * 2021-07-08 [ci skip] 2021-07-08 00:53:46 +09:00
Nobuyoshi Nakada
372d94b6ba
Shared libruby also needs MAINLIBS for jemalloc 2021-07-07 23:40:04 +09:00
Nobuyoshi Nakada
e8d9539373
Refactor --with-jemalloc option
Find jemalloc header first, then using the found header, try [with
mangle, without mangle] x [no more additional libraries, adding
jemalloc] combination.
2021-07-07 23:40:04 +09:00
卜部昌平
82d425515d comment about the situation [ci skip] 2021-07-07 20:31:20 +09:00
卜部昌平
737e4432b9 configure: 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.
2021-07-07 20:31:20 +09:00
Yusuke Endoh
1293042307 gc.c: use each_stack_location for emscripten
follow up of e4e416380d
2021-07-07 17:17:52 +09:00
Hiroshi SHIBATA
c082c6eb7c Sync RubyGems and Bundler with upstream 2021-07-07 15:31:52 +09:00
David Rodríguez
6e2240a2f9 Sync latest bundler & rubygems development version 2021-07-07 13:30:20 +09:00
S-H-GAMELINKS
9952e9358e Refactor rb_str_export and rb_str_export_locale function's 2021-07-07 12:31:43 +09:00
git
b1b7f997ae * 2021-07-07 [ci skip] 2021-07-07 09:48:59 +09:00
Aaron Patterson
2599d1a8df Store the dup'd CDHASH in the object list during IBF load
Since b2fc592c30 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]
2021-07-06 17:48:40 -07:00
Nobuyoshi Nakada
91258ed449
Enable libruby-relative on FreeBSD 2021-07-06 21:26:14 +09:00
Nobuyoshi Nakada
166d148355
Fix check for malloc_conf when no library is required 2021-07-06 21:02:41 +09:00
Nobuyoshi Nakada
c5e6fa4853
Moved native coroutine type checking message
Not to be interleaved by fallback checking messages
2021-07-06 21:02:40 +09:00
Nobuyoshi Nakada
afd4cfcf22
Try "so" attribute if "smso" is not found 2021-07-06 21:02:40 +09:00
Hiroshi SHIBATA
9accb92ba1
Bump up Rake-13.0.4 2021-07-06 20:27:12 +09:00
Hiroshi SHIBATA
02a3cac658 [ruby/rdoc] Bump version to 6.3.2
0a3a674583
2021-07-06 11:02:14 +09:00
Nobuyoshi Nakada
8a5e161cd9
Set ENCSTATIC in rbconfig.rb [Bug #17929] 2021-07-06 02:13:56 +09:00
Nobuyoshi Nakada
eecc4570cd
Found library is not usable if the header is not found 2021-07-06 01:17:38 +09:00
git
e359d637ee * 2021-07-06 [ci skip] 2021-07-06 01:16:04 +09:00
Nobuyoshi Nakada
1dfe75b0be
Fixed 'maybe_unused' attribute
```
../../../src/ext/bigdecimal/bigdecimal.c:303:5: error: 'maybe_unused' attribute cannot be applied to types
    ENTER(1);
    ^
```
2021-07-06 01:13:54 +09:00
Nobuyoshi Nakada
3db7f6353f
Suppress unused-but-set-variable warning 2021-07-06 00:09:27 +09:00
Nobuyoshi Nakada
3dacc14fd3 [ruby/rdoc] Fix links without paths
424bd5db4d
2021-07-05 11:34:37 +09:00
Nobuyoshi Nakada
f88a9097a4 [ruby/rdoc] Fix for explicit http link
caf234665c
2021-07-05 11:34:35 +09:00
Nobuyoshi Nakada
7c8aa0a5d2 [ruby/rdoc] Allow a label in a link to another document text
85bb2d33bb
2021-07-05 11:34:33 +09:00
Nobuyoshi Nakada
46ab28d6c9 [ruby/rdoc] Fix assertions which look very likely unintended
dc7c890a3d
2021-07-05 11:34:31 +09:00
aycabta
caa123b50e [ruby/rdoc] Support ActiveSupport::Concern.included
ref. 168ddaa08a/activerecord/lib/active_record/core.rb (L9-L20)

a2d651dade

Co-authored-by: Fumiaki MATSUSHIMA <mtsmfm@gmail.com>
2021-07-05 11:34:29 +09:00
Nobuyoshi Nakada
2f3edf28f3 [ruby/rdoc] Prefer omit to pend
These conditions are not temporary, rather platform dependent.

https://github.com/ruby/rdoc/pull/815#discussion_r654660411

92545fa250
2021-07-05 11:34:27 +09:00
Ulysse Buonomo
ec9a9af375 [ruby/rdoc] Fix chained inclusion ancestors_of
Fixes #814

Signed-off-by: Ulysse Buonomo <buonomo.ulysse@gmail.com>

b45f747216
2021-07-05 11:34:25 +09:00
xstnztk
c7d1989986 [ruby/rdoc] Document 'ruby:' to show core documentation in ri
ri supports 'ruby:' as a kind of "pseudo gem name" to display files of the core Ruby documentation such as syntax and NEWS. Add the appropriate documentation to the description of options shown by "ri --help".

a0e5df6702
2021-07-05 11:34:22 +09:00
Nobuyoshi Nakada
cca2f7ab14
programs will be made from exts
`programs` after `exts` overwrites programs built with extension
libraries when static-linked-ext.
2021-07-05 11:17:42 +09:00
git
e127c85fac * 2021-07-05 [ci skip] 2021-07-05 10:22:42 +09:00
Nobuyoshi Nakada
0a32cefabd
Add domain check macros 2021-07-04 22:15:59 +09:00