ruby/ext
Aaron Patterson 8ef30bcc04
Fix GC compatibility: Don't stash encodings in global constants
This value should either be pinned, or looked up when needed at runtime.
Without pinning, the GC may move the encoding object, and that could
cause a crash.

In this case it is easier to find the value at runtime, and there is no
performance penalty (as Ruby caches encoding indexes).  We can shorten
the code, be compaction friendly, and incur no performance penalty.
2021-02-01 12:20:34 -08:00
..
-test- Get rid of defining methods for tests in core classes 2021-01-09 22:38:06 +09:00
bigdecimal [ruby/bigdecimal] [Doc] Fix the comment of BigDecimal_div2 [ci skip] 2021-01-22 14:07:32 +09:00
cgi/escape cgi/escape is ractor-safe 2020-12-20 04:22:29 +09:00
continuation sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
coverage Expose atomic operation macros with RUBY prefix 2020-12-24 11:43:21 +09:00
date [ruby/date] Define dummy RUBY_TYPED_FROZEN_SHAREABLE for old Ruby 2020-12-23 18:32:24 +09:00
dbm sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
digest [ruby/digest] Remove .gitignore and .travis.yml from gemspec 2020-12-21 17:46:30 +09:00
etc [ruby/etc] Added fallback definition of RUBY_ATOMIC_EXCHANGE 2021-01-11 11:39:12 +09:00
fcntl sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
fiddle [fiddle] Update to 1.0.6 2020-12-23 23:40:04 +09:00
gdbm sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
io [ruby/io-console] Rubygems 3.2 supports --platform option 2021-01-16 19:42:53 +09:00
json Fix GC compatibility: Don't stash encodings in global constants 2021-02-01 12:20:34 -08:00
monitor Fix a typo [ci skip] 2021-01-05 23:10:39 +09:00
nkf sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
objspace objspace_dump.c: Handle allocation path and line missing 2021-01-20 10:48:13 -08:00
openssl support Ruby 2.x for openssl 2020-12-19 02:05:08 +09:00
pathname Forward keyword arguments for Pathname#each_line [Bug #17589] 2021-01-29 14:27:53 +09:00
psych [ruby/psych] Bump version to 3.3.0 2020-12-23 19:53:21 +09:00
pty [DOC] Fix grammar: "is same as" -> "is the same as" 2021-01-05 15:13:53 +01:00
racc/cparse ext/racc/cparse is ractor-safe 2020-12-20 04:22:29 +09:00
rbconfig/sizeof sed -i '/rmodule.h/d' 2020-08-27 16:42:06 +09:00
readline Get rid of inconsistent dll linkages against vcpkg readline 2020-12-27 19:35:27 +09:00
ripper Fix Ripper with heredoc. 2021-01-17 12:58:13 +09:00
rubyvm Added depend files 2019-07-14 01:31:29 +09:00
socket [DOC] Fix grammar: "is same as" -> "is the same as" 2021-01-05 15:13:53 +01:00
stringio Removed rb_cData entity 2020-12-22 02:51:49 +09:00
strscan [strscan] Fix license comment and files 2020-12-18 14:25:48 +09:00
syslog Promote syslog to default gems 2020-09-10 20:42:53 +09:00
win32 [DOC] Fix grammar: "is same as" -> "is the same as" 2021-01-05 15:13:53 +01:00
win32ole Add string encoding IBM720 alias CP720 (#3803) 2020-11-22 22:23:40 +09:00
zlib zlib is ractor-safe 2020-12-18 14:09:32 +09:00
.document Remove unnecessary files from .document 2020-12-20 16:00:13 +09:00
extmk.rb transcode-tblgen.rb: make silent a little when just -v 2020-12-29 17:45:19 +09:00
Setup Removed sdbm entries from toolchanins 2020-06-19 08:26:47 +09:00
Setup.atheos Removed sdbm entries from toolchanins 2020-06-19 08:26:47 +09:00
Setup.nt Removed sdbm entries from toolchanins 2020-06-19 08:26:47 +09:00