summaryrefslogtreecommitdiff
path: root/defs
Commit message (Collapse)AuthorAgeFilesLines
* Move dummy gemspec file creation for extract-gems-sequentialNobuyoshi Nakada2023-02-221-0/+6
|
* Use git directories instead of gemspec files as dependencyNobuyoshi Nakada2023-02-221-3/+3
| | | | Minitest repository does not commit its gemspec file.
* No validation for bundled gemsYusuke Endoh2023-02-191-1/+1
| | | | | | | | | | | | | | https://github.com/mame/ruby/actions/runs/4208869556/jobs/7305356097 ``` WARNING: open-ended dependency on irb (>= 1.5.0) is not recommended if irb is semantically versioned, use: add_runtime_dependency 'irb', '~> 1.5', '>= 1.5.0' WARNING: open-ended dependency on reline (>= 0.3.1) is not recommended if reline is semantically versioned, use: add_runtime_dependency 'reline', '~> 0.3', '>= 0.3.1' WARNING: See http://guides.rubygems.org/specification-reference/ for help /usr/lib/ruby/2.7.0/rubygems/specification_policy.rb:418:in `error': specification has warnings (Gem::InvalidSpecificationException) ```
* Move `attached_object` into `rb_classext_struct`Jean Boussier2023-02-161-1/+0
| | | | | | Given that signleton classes don't have an allocator, we can re-use these bytes to store the attached object in `rb_classext_struct` without making it larger.
* Override release date in Makefile if possibleNobuyoshi Nakada2023-02-131-0/+7
|
* Add TAGS rule [ci skip]Nobuyoshi Nakada2023-02-082-0/+22
|
* Link RUBYSPEC_CAPIEXT against the built libraryNobuyoshi Nakada2023-01-261-1/+1
|
* Need gemspec files instead of cloned directoriesNobuyoshi Nakada2023-01-261-2/+2
|
* Fixed clone nameHiroshi SHIBATA2023-01-261-1/+1
|
* Use timestamp files to track test revision of bundled gemsNobuyoshi Nakada2023-01-261-4/+13
|
* [Bug #19340] Fix bundle gems with test revisionNobuyoshi Nakada2023-01-261-7/+8
| | | | | Build temporary gem package from cloned repository if test revision is set.
* Run `after-update` in the same main make process [ci skip]Nobuyoshi Nakada2023-01-201-0/+4
|
* Extract only one revision in header [ci skip]Nobuyoshi Nakada2023-01-051-1/+1
| | | | | Both of `$(srcdir)/revision.h` and `revision.h` exist because they are the same file when in-place build.
* Test bundler and bundled gems by examNobuyoshi Nakada2022-12-281-1/+1
|
* Order test-bundler-parallel dependencyNobuyoshi Nakada2022-12-281-0/+1
|
* Reset ABI version [ci skip]Nobuyoshi Nakada2022-12-261-3/+6
|
* make matz [ci skip]Nobuyoshi Nakada2022-12-261-0/+7
|
* Fix test-syntax-suggest orderNobuyoshi Nakada2022-12-241-1/+1
| | | | Prepare for test-syntax-suggest after other tests finished.
* Test syntax_suggest by `make check`Nobuyoshi Nakada2022-12-231-2/+4
|
* Use a BOP for Hash#defaultJohn Hawthorn2022-12-171-0/+1
| | | | | | | | | | | | | | | | | | | | On a hash miss we need to call default if it is redefined in order to return the default value to be used. Previously we checked this with rb_method_basic_definition_p, which avoids the method call but requires a method lookup. This commit replaces the previous check with BASIC_OP_UNREDEFINED_P and a new BOP_DEFAULT. We still need to fall back to rb_method_basic_definition_p when called on a subclasss of hash. | |compare-ruby|built-ruby| |:---------------|-----------:|---------:| |hash_aref_miss | 2.692| 3.531| | | -| 1.31x| Co-authored-by: Daniel Colson <danieljamescolson@gmail.com> Co-authored-by: "Ian C. Anderson" <ian@iancanderson.com> Co-authored-by: Jack McCracken <me@jackmc.xyz>
* [Bug #19182] Unicode updating targets do not need to run for each filesNobuyoshi Nakada2022-12-111-0/+5
|
* [Bug #19181] Separate the rule for unicode_normalize/tables.rb timestampNobuyoshi Nakada2022-12-101-11/+0
| | | | | It should depends on only existing data files (except for the tools), unless `ALWAYS_UPDATE_UNICODE=yes`.
* Introduce `IO.new(..., path:)` and promote `File#path` to `IO#path`. (#6867)Samuel Williams2022-12-081-0/+1
|
* Fix dependencies of outdate-bundled-gemsNobuyoshi Nakada2022-11-291-6/+14
| | | | Extract new gems then remove outdated gem directories.
* Refine outdate-bundled-gemsNobuyoshi Nakada2022-11-291-2/+1
|
* Control non-parallel parts with `.WAIT` if availableNobuyoshi Nakada2022-11-131-0/+4
|
* Force to update revision.h when commits differNobuyoshi Nakada2022-11-131-0/+13
|
* reserved_word: just use gperf 3.1 declaration卜部昌平2022-09-212-2/+2
| | | | | | | | The reason why this was commented out was because of gperf 3.0 vs 3.1 differences (see [Feature #13883]). Five years passed, I am pretty confident that we can drop support of old versions here. Ditto for uniname2ctype_p(), onig_jis_property(), and zonetab().
* Always generate non-empty revision.hTakashi Kokubun2022-09-171-13/+0
| | | | | | | | | | Non-GNU make seems to generate empty revision.h, but it doesn't make sense since https://github.com/ruby/ruby/pull/6382. Also the $(HAVE_BASERUBY:yes=tmp) hack doesn't seem to be working on OpenBSD. I'll remove it to focus on fixing RubyCI first, and then deal with baseruby-missing environments. At least a snapshot should have revision.h and it might work fine though.
* Revert "defs/gmake.mk: no _FORTIFY_SOURCE unless optimization"Nobuyoshi Nakada2022-09-121-4/+0
| | | | | This reverts commit b8c376cb9d91854fd40f6e06f07773404899b54f, as it seems no longer needed probably.
* Generate token ID indexes in id.defNobuyoshi Nakada2022-09-081-1/+3
| | | | | Separate the logic accross the tables from the template view for id.h.
* SCRIPTBINDIR is ok if it just exists [ci skip]Nobuyoshi Nakada2022-08-311-3/+2
|
* Scripts under libexec may not be considered to be placed in binNobuyoshi Nakada2022-08-311-1/+1
|
* Adjust space-width for help messageHiroshi SHIBATA2022-08-221-3/+3
|
* Suppress detached head warnings [ci skip]Nobuyoshi Nakada2022-08-181-1/+4
| | | | Check out the revisions for testing as "detached" from the beginning.
* Get rid of `-C` option for very old `git`Nobuyoshi Nakada2022-08-051-2/+1
|
* Ignore revision to test unless HAVE_GITNobuyoshi Nakada2022-08-051-0/+2
|
* Clone upstream gem repositories for testNobuyoshi Nakada2022-08-051-7/+15
|
* Copy from cloned gem sources in parallelNobuyoshi Nakada2022-08-051-10/+36
|
* Move to tool/lib/bundled_gem.rbNobuyoshi Nakada2022-08-051-2/+2
|
* Copy from bundled gem source for testNobuyoshi Nakada2022-08-051-0/+4
|
* Use configured GITNobuyoshi Nakada2022-08-051-34/+34
|
* `Gem.unpack` extracts gems so able to executeNobuyoshi Nakada2022-07-171-2/+1
| | | | | | | | Creates simple bin stubs to load the extracted executable files. After only extracted under `gems` directory, the gems are considered installed but the executable scripts are not found. Also the second argument is now the parent of the previous second and third arguments.
* Set `SDKROOT` to empty value [ci skip]Nobuyoshi Nakada2022-07-061-1/+1
| | | | So `RbConfig::CONFIG["includedir"]` does not start with double slash.
* mac: Remove debug option fro MJIT_DEBUGFLAGSNobuyoshi Nakada2022-06-271-1/+4
| | | | | Not to generate .dSYM directories by MJIT runs, which are left in large numbers after each test.
* Split YJIT rules for CODEOWNERSNobuyoshi Nakada2022-06-021-54/+1
|
* Use `$(CHDIR)` so works with symlink [ci skip]Nobuyoshi Nakada2022-05-271-1/+1
|
* Revert "Stop rebuilding miniruby always [ci skip]"Nobuyoshi Nakada2022-05-271-1/+1
| | | | This reverts commit 2f5edfa47d06c9605a5a0aa3ad72d7fef4d44fa3.
* Stop rebuilding miniruby always [ci skip]Nobuyoshi Nakada2022-05-261-1/+1
|
* Rust YJITAlan Wu2022-04-271-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In December 2021, we opened an [issue] to solicit feedback regarding the porting of the YJIT codebase from C99 to Rust. There were some reservations, but this project was given the go ahead by Ruby core developers and Matz. Since then, we have successfully completed the port of YJIT to Rust. The new Rust version of YJIT has reached parity with the C version, in that it passes all the CRuby tests, is able to run all of the YJIT benchmarks, and performs similarly to the C version (because it works the same way and largely generates the same machine code). We've even incorporated some design improvements, such as a more fine-grained constant invalidation mechanism which we expect will make a big difference in Ruby on Rails applications. Because we want to be careful, YJIT is guarded behind a configure option: ```shell ./configure --enable-yjit # Build YJIT in release mode ./configure --enable-yjit=dev # Build YJIT in dev/debug mode ``` By default, YJIT does not get compiled and cargo/rustc is not required. If YJIT is built in dev mode, then `cargo` is used to fetch development dependencies, but when building in release, `cargo` is not required, only `rustc`. At the moment YJIT requires Rust 1.60.0 or newer. The YJIT command-line options remain mostly unchanged, and more details about the build process are documented in `doc/yjit/yjit.md`. The CI tests have been updated and do not take any more resources than before. The development history of the Rust port is available at the following commit for interested parties: https://github.com/Shopify/ruby/commit/1fd9573d8b4b65219f1c2407f30a0a60e537f8be Our hope is that Rust YJIT will be compiled and included as a part of system packages and compiled binaries of the Ruby 3.2 release. We do not anticipate any major problems as Rust is well supported on every platform which YJIT supports, but to make sure that this process works smoothly, we would like to reach out to those who take care of building systems packages before the 3.2 release is shipped and resolve any issues that may come up. [issue]: https://bugs.ruby-lang.org/issues/18481 Co-authored-by: Maxime Chevalier-Boisvert <maximechevalierb@gmail.com> Co-authored-by: Noah Gibbs <the.codefolio.guy@gmail.com> Co-authored-by: Kevin Newton <kddnewton@gmail.com>