Граф коммитов

73552 Коммитов

Автор SHA1 Сообщение Дата
Takashi Kokubun 06eb9af8c0
Add mjit-bindgen workflow (#6327) 2022-09-05 01:06:37 -07:00
Takashi Kokubun c2986f7d28
Fix warnings from private_constant
`private_constant *constants` seems to be warned for some reason
2022-09-05 00:27:49 -07:00
Takashi Kokubun d77c037a16
Automatically detect 64bit platforms 2022-09-04 23:25:35 -07:00
Takashi Kokubun 967fe334bb
s390x seems like a 64bit architecture 2022-09-04 23:23:03 -07:00
Hiroshi SHIBATA 3eca1e438d Merge 16c3535413 2022-09-05 14:37:12 +09:00
Takashi Kokubun 3767c6a90d
Ruby MJIT (#6028) 2022-09-04 21:53:46 -07:00
Takashi Kokubun 277498e2a2
Attempt to fix test-bundler
f7cf641469 broke spec/bundler/install/gems/resolving_spec.rb:356.
This line seems to impact that test, so I slightly modified the
implementation for that spec's case.
2022-09-04 21:45:13 -07:00
Nobuyoshi Nakada 4d469472e2
Debugging snapshot [ci skip] 2022-09-05 13:08:23 +09:00
Mike Dalessio 45fe7f7575
[rubygems/rubygems] Feature: `bundle add` supports `--path` option
https://github.com/rubygems/rubygems/commit/32bee01fbe
2022-09-05 11:43:14 +09:00
David Rodríguez f7cf641469
[rubygems/rubygems] Fix resolution hanging on musl platforms
After recent musl support was added, Bundler started hanging in musl
platforms. I identified the issue where valid candidates were being
filtered out because their platform was specified as a string, and thus
`Gem::Platform.match_spec?` which under the hood ends up calling
`Gem::Platform#===` would return `nil`, because it does not support
comparing platforms to strings.

In particular, `Bundler::EndpointSpecification`'s platform coming from
the API was not instantiated as a `Gem::Platform`, hence the issue.

Also, this spec surfaced another issue where a bug corrected in
`Gem::Platform#match_platforms` had not been yet backported to Bundler.
So this commit also backports that to get the spec green across RubyGems
versions.

Finally, the fix in `Bundler::EndpointSpecification` made a realworld
spec start failing. This spec was faking out `rails-4.2.7.1` requirement
on Bundler in the `Gemfile.lock` file to be `>= 1.17, < 3` when the real
requirement is `>= 1.17, < 2`. Due to the bug in
`Bundler::EndpointSpecification`, the real requirement provided by the
compact index API (recorded with VCR) was being ignored, and the
`Gemfile.lock` fake requirement was being used, which made the spec
pass. This is all expected, and to fix the issue I changed the spec to
be really realworld and don't fake any Bundler requirements.

https://github.com/rubygems/rubygems/commit/faf4ef46bc
2022-09-05 11:43:14 +09:00
Nobuyoshi Nakada 1420333455
Fix fake.rb expansion from preprocessed version.h 2022-09-05 11:25:42 +09:00
Nobuyoshi Nakada 85a483169f
Use cross compiling settings as fake.rb for snapshots 2022-09-05 11:16:20 +09:00
Nobuyoshi Nakada 68a092a469
Set fake.rb variables by command line arguments
Then fallbacks to preprocessed version.h.
2022-09-05 11:16:20 +09:00
Takashi Kokubun f6d569b7c0
Call appropriate hooks on MJIT's fork
This takes care of signal_self_pipe and other things.
2022-09-04 18:22:25 -07:00
Nobuyoshi Nakada 51291ade70
Remove extra semicolons at the top level [ci skip] 2022-09-05 00:16:47 +09:00
git e83183b498 * 2022-09-05 [ci skip] 2022-09-05 00:00:20 +09:00
Nobuyoshi Nakada 76664905a5
Ignore fake.rb for snapshot 2022-09-04 23:59:55 +09:00
Jean Boussier bbe5ec7846 rb_int_range_last: properly handle non-exclusive range
[Bug #18994]
2022-09-04 11:16:11 +02:00
Takashi Kokubun cfa40e225a
Prefer stdbool for MJIT options
same motivation as d6f21b308b
2022-09-03 20:01:51 -07:00
git 13a59747c8 * 2022-09-04 [ci skip] 2022-09-04 03:01:51 +09:00
Nobuyoshi Nakada 45004bba6b
fake.rb needs id.h 2022-09-04 02:07:11 +09:00
Nobuyoshi Nakada 0111dc5b79
[DOC] Escape backqoute method not to be converted to smart quotes 2022-09-03 23:47:46 +09:00
Nobuyoshi Nakada baf050100d
[DOC] Remove extra page-dir prefix to fix broken link 2022-09-03 23:26:07 +09:00
Burdette Lamar fe865c5262
[DOC] Enhanced RDoc for Time (#6320)
Treats:
    #yday
    #dst?
    #zone
    #to_a
    #strftime
2022-09-03 08:36:44 -05:00
Nobuyoshi Nakada 2767cb2825
Now fake.rb is needed to prepare sources 2022-09-03 21:57:17 +09:00
Nobuyoshi Nakada a01271c1c4
BOOTSTRAPRUBY needs fake.rb when cross-compiling 2022-09-03 21:37:24 +09:00
Nobuyoshi Nakada 7b11247b4d
Fix potential target type confliction [ci skip] 2022-09-03 21:02:29 +09:00
Nobuyoshi Nakada 7c67d0fd79
Make sources by BASERUBY if available instead of miniruby 2022-09-03 19:25:29 +09:00
Nobuyoshi Nakada 8f13d75a8c
Generate the prelude sources by common-srcs 2022-09-03 19:20:03 +09:00
Nobuyoshi Nakada 6f5305e0d2
Exclude LIBPATHENV wrapper from PREP 2022-09-03 19:20:03 +09:00
Nobuyoshi Nakada 21a5da3c4c
Check if MSys shell can run a command with a drive letter 2022-09-03 19:20:03 +09:00
Nobuyoshi Nakada d8f81ffdff
builtin.c includes mini_builtin.c when cross-compiling 2022-09-03 19:20:03 +09:00
Nobuyoshi Nakada 652a624891
miniruby may not be built when cross-compiling 2022-09-03 19:19:55 +09:00
Nobuyoshi Nakada c4f2f2ef2b
Reuse macros defined in Makefile.in 2022-09-03 18:42:42 +09:00
Nobuyoshi Nakada bc5b9be1ee
Move duplicate dependencies 2022-09-03 15:01:05 +09:00
Burdette Lamar c8c90e459e
Enhanced RDoc for Tim[DOC] (#6319) 2022-09-02 14:11:53 -05:00
git 6bb2a43ca3 * 2022-09-03 [ci skip] 2022-09-03 03:28:11 +09:00
Nobuyoshi Nakada 1b8a644b44 [ruby/reline] Fix a typo [ci skip]
https://github.com/ruby/reline/commit/33bf80e757
2022-09-03 03:27:58 +09:00
Nobuyoshi Nakada 5044832fec
`w_bigfixnum` is used only for large FIXNUM 2022-09-02 22:11:12 +09:00
Hiroshi SHIBATA 0d2422cf63 [ruby/reline] Workaround for padding width with Aracritty on macOS
https://github.com/ruby/reline/commit/fb4136c8a7
2022-09-02 16:09:51 +09:00
Hiroshi SHIBATA 7ff50ee35c [ruby/reline] Added some of abstruct methods for cursor
https://github.com/ruby/reline/commit/f5fa30d595
2022-09-02 16:09:50 +09:00
git f069bc79f2 * append newline at EOF. [ci skip] 2022-09-02 15:57:18 +09:00
Hiroshi SHIBATA 740d530bb0
Added doc about `test-syntax-suggest` 2022-09-02 15:30:46 +09:00
Hiroshi SHIBATA e7a8e3e91f
Added entries about test-bundler-parallel and BUNDLER_SPECS 2022-09-02 15:25:54 +09:00
Nobuyoshi Nakada 92d2476208
Adjust styles [ci skip] 2022-09-02 14:49:42 +09:00
Nobuyoshi Nakada b5cf356447 Consider Complex from Complex cases
The assertions that "an argument of a Complex constructor must not be
a Complex" may not hold for some Numeric objects.
2022-09-02 14:33:23 +09:00
Nobuyoshi Nakada 9212d96307 [Bug #18937] Coerce non-real non-Numeric into Complex at comparisons 2022-09-02 14:33:23 +09:00
Nobuyoshi Nakada a9b59e24f4 Turn `f_zero_p` to `bool` 2022-09-02 14:33:23 +09:00
Takashi Kokubun e896b33860
Test --enable-yjit on aarch64 as well (#6313) 2022-09-01 20:05:49 -07:00
Takashi Kokubun fb5fa84f83
Remove workarounds for slow compilation on Cirrus (#6310)
Remove workarounds for slow compilation
2022-09-01 20:05:13 -07:00