summaryrefslogtreecommitdiff
path: root/defs
AgeCommit message (Collapse)Author
2024-01-13[DOC] Add known_errors documentsNobuyoshi Nakada
Incorporate from The Open Group. https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/errno.h.html
2023-12-25Refresh NEWS.md at starting new development [ci skip]Nobuyoshi Nakada
2023-10-11Fix error when gems/src is read-onlyKazuhiro NISHIYAMA
When I shared srcdir as read-only in lima-vm, `make install` causes following error: ``` Update rbs to 33813a60752624d58dfe5ae770b39bfaf29fbaf1 error: cannot open .git/FETCH_HEAD: Read-only file system ``` I cannot find any ignore option for `git checkout --detach` when already checked out. So I add `if`.
2023-09-26Download Unicode files once [ci skip]Nobuyoshi Nakada
2023-09-21`.NOTPARALLEL` with prerequisites needs recent GNU MakeNobuyoshi Nakada
GNU Make prior to 4.4 just ignores the prerequisites, and runs everything in serial.
2023-09-13Enable `.NOTPARALLEL` on `ripper_srcs`Nobuyoshi Nakada
And add special treats only for old GNU make.
2023-09-11Split commit recipe and pass more macrosNobuyoshi Nakada
2023-08-17RJIT: Remove macros inherited from MJIT but no longer usedNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/8224
2023-08-15Use `::` form workflow commandsNobuyoshi Nakada
2023-08-14Fix test and precheck order for old GNU MakeNobuyoshi Nakada
2023-08-11Fix test-bundler dependenciesNobuyoshi Nakada
2023-08-11Fix order of test-syntax-suggest-prepare for old GNU MakeNobuyoshi Nakada
2023-07-30Extract common variablesNobuyoshi Nakada
2023-07-10Serially update only the ripper source, even with old GNU makeNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/8049
2023-05-12Use Lrama LALR parser generator instead of Bisonv3_3_0_preview1Yuichiro Kaneko
https://bugs.ruby-lang.org/issues/19637 Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> Notes: Merged: https://github.com/ruby/ruby/pull/7798 Merged-By: yui-knk <spiketeika@gmail.com>
2023-04-18Emit special instruction for array literal + .(hash|min|max)Aaron Patterson
This commit introduces a new instruction `opt_newarray_send` which is used when there is an array literal followed by either the `hash`, `min`, or `max` method. ``` [a, b, c].hash ``` Will emit an `opt_newarray_send` instruction. This instruction falls back to a method call if the "interested" method has been monkey patched. Here are some examples of the instructions generated: ``` $ ./miniruby --dump=insns -e '[@a, @b].max' == disasm: #<ISeq:<main>@-e:1 (1,0)-(1,12)> (catch: FALSE) 0000 getinstancevariable :@a, <is:0> ( 1)[Li] 0003 getinstancevariable :@b, <is:1> 0006 opt_newarray_send 2, :max 0009 leave $ ./miniruby --dump=insns -e '[@a, @b].min' == disasm: #<ISeq:<main>@-e:1 (1,0)-(1,12)> (catch: FALSE) 0000 getinstancevariable :@a, <is:0> ( 1)[Li] 0003 getinstancevariable :@b, <is:1> 0006 opt_newarray_send 2, :min 0009 leave $ ./miniruby --dump=insns -e '[@a, @b].hash' == disasm: #<ISeq:<main>@-e:1 (1,0)-(1,13)> (catch: FALSE) 0000 getinstancevariable :@a, <is:0> ( 1)[Li] 0003 getinstancevariable :@b, <is:1> 0006 opt_newarray_send 2, :hash 0009 leave ``` [Feature #18897] [ruby-core:109147] Co-authored-by: John Hawthorn <jhawthorn@github.com> Notes: Merged: https://github.com/ruby/ruby/pull/6090
2023-04-08Replace arch_flags for universal build [ci skip]Nobuyoshi Nakada
2023-03-08BundledGem.dummy_spec needs to checkout revision after cloning repository.Hiroshi SHIBATA
The current BundledGem.dummy_spec always called from master branch. It caused to CI faiulres like http://rubyci.s3.amazonaws.com/ubuntu/ruby-master/log/20230305T001003Z.fail.html.gz Notes: Merged: https://github.com/ruby/ruby/pull/7475
2023-03-06s/MJIT/RJIT/Takashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/7462
2023-03-06Drop obsoleted MJIT header (#7458)Takashi Kokubun
RJIT doesn't need this. Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2023-02-22Move dummy gemspec file creation for extract-gems-sequentialNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/7347
2023-02-22Use git directories instead of gemspec files as dependencyNobuyoshi Nakada
Minitest repository does not commit its gemspec file. Notes: Merged: https://github.com/ruby/ruby/pull/7347
2023-02-19No validation for bundled gemsYusuke Endoh
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) ``` Notes: Merged: https://github.com/ruby/ruby/pull/7339
2023-02-16Move `attached_object` into `rb_classext_struct`Jean Boussier
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. Notes: Merged: https://github.com/ruby/ruby/pull/7309
2023-02-13Override release date in Makefile if possibleNobuyoshi Nakada
2023-02-08Add TAGS rule [ci skip]Nobuyoshi Nakada
2023-01-26Link RUBYSPEC_CAPIEXT against the built libraryNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/7186
2023-01-26Need gemspec files instead of cloned directoriesNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/7146
2023-01-26Fixed clone nameHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/7146
2023-01-26Use timestamp files to track test revision of bundled gemsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/7146
2023-01-26[Bug #19340] Fix bundle gems with test revisionNobuyoshi Nakada
Build temporary gem package from cloned repository if test revision is set. Notes: Merged: https://github.com/ruby/ruby/pull/7146
2023-01-20Run `after-update` in the same main make process [ci skip]Nobuyoshi Nakada
2023-01-05Extract only one revision in header [ci skip]Nobuyoshi Nakada
Both of `$(srcdir)/revision.h` and `revision.h` exist because they are the same file when in-place build.
2022-12-28Test bundler and bundled gems by examNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/7009
2022-12-28Order test-bundler-parallel dependencyNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/7009
2022-12-26Reset ABI version [ci skip]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/7022
2022-12-26make matz [ci skip]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/7022
2022-12-24Fix test-syntax-suggest orderNobuyoshi Nakada
Prepare for test-syntax-suggest after other tests finished.
2022-12-23Test syntax_suggest by `make check`Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/7010
2022-12-17Use a BOP for Hash#defaultJohn Hawthorn
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> Notes: Merged: https://github.com/ruby/ruby/pull/6945
2022-12-11[Bug #19182] Unicode updating targets do not need to run for each filesNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6899
2022-12-10[Bug #19181] Separate the rule for unicode_normalize/tables.rb timestampNobuyoshi Nakada
It should depends on only existing data files (except for the tools), unless `ALWAYS_UPDATE_UNICODE=yes`. Notes: Merged: https://github.com/ruby/ruby/pull/6898
2022-12-08Introduce `IO.new(..., path:)` and promote `File#path` to `IO#path`. (#6867)Samuel Williams
Notes: Merged-By: ioquatix <samuel@codeotaku.com>
2022-11-29Fix dependencies of outdate-bundled-gemsNobuyoshi Nakada
Extract new gems then remove outdated gem directories.
2022-11-29Refine outdate-bundled-gemsNobuyoshi Nakada
2022-11-13Control non-parallel parts with `.WAIT` if availableNobuyoshi Nakada
2022-11-13Force to update revision.h when commits differNobuyoshi Nakada
2022-09-21reserved_word: just use gperf 3.1 declaration卜部昌平
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(). Notes: Merged: https://github.com/ruby/ruby/pull/6358
2022-09-17Always generate non-empty revision.hTakashi Kokubun
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.
2022-09-12Revert "defs/gmake.mk: no _FORTIFY_SOURCE unless optimization"Nobuyoshi Nakada
This reverts commit b8c376cb9d91854fd40f6e06f07773404899b54f, as it seems no longer needed probably. Notes: Merged: https://github.com/ruby/ruby/pull/6356