summaryrefslogtreecommitdiff
path: root/common.mk
AgeCommit message (Collapse)Author
2025-12-20[Bug #21792] Build rubyspec-capiext only when excuting `test-spec`Mike Dalessio
rubyspec-capiext is only needed for running specs, not for building or installing Ruby.
2025-12-19Fix rbs test failure caused by minitest-6 (#15643)Soutaro Matsumoto
* Fix rbs test failure caused by minitest6 * Bundle minitest-6.0.0
2025-12-10JITs: Drop cargo and use just rustc for release combo buildAlan Wu
So we don't expose builders to network flakiness which cannot be worked around using cargo's --offline flag.
2025-12-02Win32: Clean timestamp directory for platformNobuyoshi Nakada
2025-11-27Reorganize page documentations (#15154)Stan Lo
Re-organize page docs
2025-11-27Clean prism directoryNobuyoshi Nakada
2025-11-21Win: quote equal sign in command lineNobuyoshi Nakada
`cmd.exe` splits the command line also by equal signs, not only by space characters.
2025-11-19Revert "[Bug #21697] Keep revision.h outside VCS"Nobuyoshi Nakada
This reverts commit 8986115e0a2a989f2b2ea5945f02c7a13989d640. `RELEASE_DATE` including `YEAR`, `MONTH`, `DAY` are mandatory, while `REVISION` is not.
2025-11-19[Bug #21697] Keep revision.h outside VCSNobuyoshi Nakada
2025-11-14Adapt to Unicode directory changesMari Imaizumi
https://www.unicode.org/Public/emoji/ReadMe.txt > This directory contains data files for versions 1.0 to 16.0 of Unicode Emoji. > Starting with Unicode 17.0.0, the data files for Unicode Emoji are published in > https://www.unicode.org/Public/<version>/emoji/ > together with the related files in > https://www.unicode.org/Public/<version>/ucd/emoji/
2025-11-14[Feature #21275] Bump Unicode version to 17.0.0Mari Imaizumi
2025-11-09[DOC] Sort undocumented items by locationsNobuyoshi Nakada
2025-11-07update referenced filenames from namespace to boxSatoshi Tagomori
2025-10-08Let test-tool accept $(TESTS) like test-all doesTakashi Kokubun
2025-09-28ripper: Fix dependency for generated ripper sourcesNobuyoshi Nakada
Missed at c89f5191706549bb1d7e0277fc07a413714ddecc.
2025-09-16Suppress verification messagesNobuyoshi Nakada
`log.showSignature` configuration and `--no-show-signature` option was added at git 2.10.0.
2025-09-16Expect `git -C <path>` to workNobuyoshi Nakada
This option is available since git 1.8.5 that was released in 2013.
2025-09-11ZJIT: Add support for stats_allocatorAiden Fox Ivey
* Using the shared jit crate, support for a single global_allocator can function * Solves --zjit-mem-size
2025-09-05ZJIT: Invalidate local variables on EP escape (#14448)Takashi Kokubun
2025-08-25Fix dependency of unicode_normalize/tables.rb when no baserubyNobuyoshi Nakada
2025-08-19Gererate prism source files dependencies from template.rbNobuyoshi Nakada
Update included file list automatically.
2025-08-18Define targets for packages also in common.mkNobuyoshi Nakada
2025-08-18Gererate prism source files dependencies from template.rbNobuyoshi Nakada
2025-08-18Fix dependencies of generated prism sources for NMakeNobuyoshi Nakada
The VPATH rule of NMake is different from others. Abandon using them in the rules for the generated source, locate them in the top source directory, as well as the generated library files of prism.
2025-08-12Use `$(SRC_FILE)` and `$(OS_DEST_FILE)`Nobuyoshi Nakada
NMake combines VPATH and stem with a backslash. The resulting source name is embedded verbatim, backslash included, into the generated file using the `#line` pragma (e.g., "src\gc.rb"). This causes the warning "C4129: Unrecognized character escape sequence".
2025-08-12NMake needs caret to escape a hash signNobuyoshi Nakada
2025-08-12Handle preperly comments in middle of lines in gems/bundled_gemsNobuyoshi Nakada
2025-08-04[DOC] Fix rdoc coverages for rdoc-srcdirNobuyoshi Nakada
2025-07-30ZJIT: Prepare for sharing JIT hooks with ZJIT (#14044)Takashi Kokubun
2025-07-26Rename builtin_binary.inc as .rbbinNobuyoshi Nakada
Distinguish between platform-dependent ".rbbin" and platform- independent ".inc" files.
2025-07-25Split autogenerated dependency to depend file from common.mkHiroshi SHIBATA
2025-07-25Flush out-of-date gems at extracting bundled gemsNobuyoshi Nakada
2025-07-24Support `cause:` in `Thread#raise` and `Fiber#raise`. (#13967)Samuel Williams
* Add support for `cause:` argument to `Fiber#raise` and `Thread#raise`. The implementation behaviour is consistent with `Kernel#raise` and `Exception#initialize` methods, allowing the `cause:` argument to be passed to `Fiber#raise` and `Thread#raise`. This change ensures that the `cause:` argument is handled correctly, providing a more consistent and expected behavior when raising exceptions in fibers and threads. [Feature #21360] * Shared specs for Fiber/Thread/Kernel raise. --------- Co-authored-by: Samuel Williams <samuel.williams@shopify.com>
2025-07-21Convert global symbol table to concurrent setPeter Zhu
2025-07-16Suppress gcc 15 unterminated-string-initialization warningsNobuyoshi Nakada
2025-07-15pathname.rbinc conflicts with `lib/pathname.rb` in our test suite.Hiroshi SHIBATA
We can use `pathname.rb` after merging `lib/pathname.rb` to `pathname_builtin.rb`.
2025-07-15Move builtin methods to pathname.rbinc from lib/pathname.rbHiroshi SHIBATA
2025-07-15Make Pathname to embedded classHiroshi SHIBATA
2025-07-11Update dependencies for addition of set.h to public headersJeremy Evans
2025-07-10Sort `COMMONOBJS` alphabeticallyNobuyoshi Nakada
2025-07-09ZJIT: Mark profiled objects when marking ISEQ (#13784)Takashi Kokubun
2025-07-07Rename `ractor_safe_set` into `concurrent_set`Jean Boussier
There's nothing ractor related in them, and the classic terminology for these sort of data structures is `concurrent-*`, e.g. concurrent hash.
2025-07-03Get transcoding to work across ractors by locking certain operationsLuke Gruber
Ex: `str.encode` and `str.encode!` work across ractors now. The global table `transcoder_table` needs a lock around each st_lookup/st_insert, and it's a two-level table so the second level also needs to be locked around insertion/deletion. In addition to this, the transcoder entries (values in the second-level hash table) need to be locked around retrieving them and loading them as they are loaded lazily. The transcoding objects (`Encoding::Converter`) can't be made shareable, so their operations don't need to be locked.
2025-07-03Remove old `bundle.rb` script usageDavid Rodríguez
2025-06-27Extract Ractor safe table used for frozen stringsPeter Zhu
This commit extracts the Ractor safe table used for frozen strings into ractor_safe_table.c, which will allow it to be used elsewhere, including for the global symbol table.
2025-06-24Disallow forking from non-main ractorJean Boussier
[Bug #17516] `fork(2)` only leave the calling thread alive in the child. Because of this forking from the non-main ractor can easily leave the VM in a corrupted state. It may be possible in the future to carefully allow forking from non-main Ractor, but shot term it's preferable to add this restriction.
2025-06-18Now irb is a bundled gem and needs rubygemsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/13651
2025-06-12Only use regex internal reg_cache when in main ractorLuke Gruber
Using this `reg_cache` is racy across ractors, so don't use it when in a ractor. Also, its use across ractors can cause a regular expression created in 1 ractor to be used in another ractor (an isolation bug). Notes: Merged: https://github.com/ruby/ruby/pull/13598
2025-06-12Turn `rb_classext_t.fields` into a T_IMEMO/class_fieldsJean Boussier
This behave almost exactly as a T_OBJECT, the layout is entirely compatible. This aims to solve two problems. First, it solves the problem of namspaced classes having a single `shape_id`. Now each namespaced classext has an object that can hold the namespace specific shape. Second, it open the door to later make class instance variable writes atomics, hence be able to read class variables without locking the VM. In the future, in multi-ractor mode, we can do the write on a copy of the `fields_obj` and then atomically swap it. Considerations: - Right now the `RClass` shape_id is always synchronized, but with namespace we should likely mark classes that have multiple namespace with a specific shape flag. Notes: Merged: https://github.com/ruby/ruby/pull/13411
2025-06-11Simplify `make test-bundler`David Rodríguez
Notes: Merged: https://github.com/ruby/ruby/pull/13520