Nobuyoshi Nakada
0396050f5a
Cast `RUBY_ATOMIC_PTR_CAS` arguments
...
As well as `RUBY_ATOMIC_PTR_EXCHANGE` and `RUBY_ATOMIC_PTR_LOAD`.
2024-06-07 10:42:41 +09:00
Jeremy Evans
029d92b898
Disable __builtin_setjmp usage on linux-aarch64
...
It is questionable whether __builtin_setjmp should default to yes
at all, but since it appears to still have problems on this platform,
it seems safest to disable it.
Fixes [Bug #14480 ]
2024-06-06 15:46:41 -07:00
Aaron Patterson
8f7d08137e
remove unused variable
2024-06-06 15:31:21 -07:00
Jeremy Evans
ad29527920
Fix Module#define_method to change visibility when passed existing method body
...
Fixes [Bug #19749 ]
2024-06-06 15:02:04 -07:00
Aaron Patterson
f789b81652
remove debug output
2024-06-06 14:37:59 -07:00
Kevin Newton
cbc83c4a92
Remove circular parameter syntax error
...
https://bugs.ruby-lang.org/issues/20478
2024-06-06 16:29:50 -04:00
David Rodríguez
eb46b0924f
[rubygems/rubygems] Fix printing requirement based spec filters
...
I don't understand what was the idea of "!=" here.
https://github.com/rubygems/rubygems/commit/06d5f1dcf1
2024-06-06 18:53:33 +00:00
David Rodríguez
0fb73a8eda
[rubygems/rubygems] Avoid appending a final "/" when `fallback_timeout` is used in config
...
https://github.com/rubygems/rubygems/commit/a0af1baa2b
2024-06-06 18:53:31 +00:00
David Rodríguez
765d61593a
[rubygems/rubygems] Remove per uri options constant
...
I don't think we should add more of these.
https://github.com/rubygems/rubygems/commit/9eee9948cc
2024-06-06 18:53:30 +00:00
David Rodríguez
82b68bc358
[rubygems/rubygems] Move Bundler settings specific logic to Bundler
...
https://github.com/rubygems/rubygems/commit/7d1e8be2ce
2024-06-06 18:53:29 +00:00
David Rodríguez
da10d1ddea
[rubygems/rubygems] Avoid `is_a?` check before using `normalize_uri`
...
https://github.com/rubygems/rubygems/commit/31cb15d03f
2024-06-06 18:53:28 +00:00
David Rodríguez
60620509f4
[rubygems/rubygems] Remove unnecessary `.to_s`
...
The `normalize_uri` method always gives back a String.
https://github.com/rubygems/rubygems/commit/246953010c
2024-06-06 18:53:27 +00:00
David Rodríguez
61a80bd10d
[rubygems/rubygems] Truly ignore commented out settings
...
https://github.com/rubygems/rubygems/commit/e31df2d6ef
2024-06-06 18:53:25 +00:00
David Rodríguez
4d29d219b9
[rubygems/rubygems] Enable one spec on truffleruby that reproduces the Pathname problem
...
Recent refactorings in test suite to not load `pathname` for launching
Bundler subprocesses make some specs fail due to the warnings Ruby prints
when autoloading `pathname` under a namespace. But enabling this spec
also reproduces the hard error it produces on truffleruby.
https://github.com/rubygems/rubygems/commit/e47cd78081
2024-06-06 18:44:53 +00:00
David Rodriguez
da75df2f75
[rubygems/rubygems] Stop depending on `pathname` for subprocess launching
...
When launching bundler subprocesses for end to end testing, all of them
will load the `spec/support/rubygems_version_manager.rb` file passed as
a ruby's `-r` flag.
Unfortunately this file depends on `pathname`, so unless we drop that
dependency, we can't really test support for including the `pathname`
gem in the `Gemfile`.
This commit implements some refactorings to avoid loading `pathname`
inside `bundler` test subprocesses.
https://github.com/rubygems/rubygems/commit/c1f948788c
2024-06-06 18:44:52 +00:00
David Rodriguez
9579c3d988
[rubygems/rubygems] Reuse `git` helper when possible
...
https://github.com/rubygems/rubygems/commit/f7c7bae940
2024-06-06 18:44:43 +00:00
David Rodriguez
b5a7f63961
[rubygems/rubygems] Respect `GEM_COMMAND` in non ruby-core mode
...
Not that I need it, but reads better.
https://github.com/rubygems/rubygems/commit/db3eca7b92
2024-06-06 18:44:42 +00:00
David Rodriguez
b5949ad62a
[rubygems/rubygems] Simplify check for ruby-core setup
...
https://github.com/rubygems/rubygems/commit/77bc6f1ecc
2024-06-06 18:44:41 +00:00
David Rodriguez
4720b7d257
[rubygems/rubygems] The `system_gem_path` helper method already joins internally
...
https://github.com/rubygems/rubygems/commit/10f2ce1afb
2024-06-06 18:44:41 +00:00
David Rodriguez
f0d5df733b
[rubygems/rubygems] The `default_bundle_path` helper method already joins internally
...
https://github.com/rubygems/rubygems/commit/6b3f555211
2024-06-06 18:44:40 +00:00
David Rodriguez
7fbc9ffb89
[rubygems/rubygems] The `home` helper method already joins internally
...
https://github.com/rubygems/rubygems/commit/279740ed52
2024-06-06 18:44:39 +00:00
David Rodriguez
30d028eab6
[rubygems/rubygems] The `bundled_app` helper method already joins internally
...
https://github.com/rubygems/rubygems/commit/57576e27a1
2024-06-06 18:44:38 +00:00
David Rodriguez
f5c6a395a5
[rubygems/rubygems] The `tmp` test helper already joins internally
...
https://github.com/rubygems/rubygems/commit/2d9eeadb62
2024-06-06 18:44:37 +00:00
David Rodríguez
c8161a4eae
[rubygems/rubygems] Autoload `pathname` at the top level
...
Otherwise Ruby >= 3.2 gives a warning which makes several specs fail,
and truffleruby rejects it at all.
https://github.com/rubygems/rubygems/commit/ae2878484f
2024-06-06 18:44:35 +00:00
Kevin Newton
7b7d1586ee
[ruby/prism] Reject additional patterns under splat in target
...
https://github.com/ruby/prism/commit/90d570aa50
2024-06-06 16:44:43 +00:00
Nobuyoshi Nakada
e323dbb1bd
Make subclasses to define methods
2024-06-07 00:50:30 +09:00
Nobuyoshi Nakada
ec7babd12d
[Feature #19998 ] Untyped Data API has been marked as deprecated
2024-06-07 00:49:52 +09:00
Tanaka Akira
9f469ad187
[DOC] Time uses the proleptic Gregorian calendar.
2024-06-07 00:25:38 +09:00
Kevin Newton
78d7b470ec
[ruby/prism] Add some code samples
...
https://github.com/ruby/prism/commit/f5c883af56
2024-06-06 14:15:55 +00:00
Kevin Newton
b0059980d0
[ruby/prism] Add some samples for using prism APIs
...
https://github.com/ruby/prism/commit/6a4fe21088
2024-06-06 14:15:50 +00:00
Nobuyoshi Nakada
27321290d9
[Bug #20521 ] ripper: Clean up strterm
2024-06-06 20:43:56 +09:00
tomoya ishida
f465045dd6
[ruby/reline] Remove instance variable @first_char
...
(https://github.com/ruby/reline/pull/717 )
When Reline reads EOF, Reline.readline should return nil if and only if input is empty
https://github.com/ruby/reline/commit/cc74b3686a
2024-06-06 11:20:29 +00:00
Jean Boussier
fbb61a26e7
Mark old Data API as deprecated
...
[Feature #19998 ]
2024-06-06 11:44:27 +02:00
Baron Bloomer
d4aff75a45
[ruby/logger] Add support for symbols in #shift_age
...
Resolves issue: https://github.com/ruby/logger/issues/46
https://github.com/ruby/logger/commit/83502c2107
2024-06-06 09:07:49 +00:00
Hiroshi SHIBATA
1a09285795
Revert "Update bundled_gems"
...
This reverts commit ba72cfa661
.
https://github.com/ruby/ruby/actions/runs/9396582605/job/25878058017#step:10:788
```
../../../../../../src/.bundle/gems/rbs-3.5.0/ext/rbs_extension/location.h:23:25: error: zero size arrays are an extension [-Werror,-Wzero-length-array]
23 | rbs_loc_entry entries[0];
| ^
1 error generated.
```
2024-06-06 17:31:17 +09:00
Hiroshi SHIBATA
ba72cfa661
Update bundled_gems
2024-06-06 16:06:33 +09:00
Kevin Newton
6f3c1e1def
[PRISM] Sync latest prism
2024-06-05 20:04:12 -04:00
Burdette Lamar
0b31986909
[DOC] Doc for module Errno ( #10913 )
2024-06-05 16:27:00 -04:00
Jean Boussier
33f92b3c88
Don't add `+YJIT` to `RUBY_DESCRIPTION` until it's actually enabled
...
If you start Ruby with `--yjit-disable`, the `+YJIT` shouldn't be
added until `RubyVM::YJIT.enable` is actually called. Otherwise
it's confusing in crash reports etc.
2024-06-05 20:53:49 +02:00
Kevin Newton
fa038f838f
[PRISM] Strip out common.mk for pm_string_list
2024-06-05 14:40:03 -04:00
Kevin Newton
46c3e609a3
[ruby/prism] Fix up documentation for regexp structs
...
https://github.com/ruby/prism/commit/78d9f20e9d
2024-06-05 14:40:03 -04:00
Kevin Newton
d13112b779
[ruby/prism] Parse all regular expressions
...
https://github.com/ruby/prism/commit/11e0e204ce
2024-06-05 14:40:03 -04:00
Kevin Newton
3cb866ce35
[ruby/prism] Add Onigmo to other gemfiles
...
https://github.com/ruby/prism/commit/499ec1c3f1
2024-06-05 14:40:03 -04:00
Kevin Newton
2a9c20c317
[ruby/prism] Add Onigmo errors for invalid groups
...
https://github.com/ruby/prism/commit/27e7685dd4
2024-06-05 14:40:03 -04:00
Kevin Newton
0406efaf05
[ruby/prism] Add Onigmo error for invalid repeat and empty group name
...
https://github.com/ruby/prism/commit/953601e3c0
2024-06-05 14:40:03 -04:00
Kevin Newton
d604287626
[ruby/prism] Add Onigmo error for empty char-class
...
https://github.com/ruby/prism/commit/2e02fa3b80
2024-06-05 14:40:03 -04:00
Kevin Newton
c3747d5a2e
[ruby/prism] Report onigmo errors for depth
...
https://github.com/ruby/prism/commit/e0e8bba8be
2024-06-05 14:40:03 -04:00
Kevin Newton
41f2734644
[ruby/prism] Change pm_regexp_parse to not return boolean
...
https://github.com/ruby/prism/commit/b03afbe857
2024-06-05 14:40:03 -04:00
Kevin Newton
65746055b4
[ruby/prism] Pass prism parser into regexp parser
...
https://github.com/ruby/prism/commit/c19b0fa185
2024-06-05 14:40:03 -04:00
Kevin Newton
ac70dd07e6
[ruby/prism] Remove unused string list struct
...
https://github.com/ruby/prism/commit/36c6851c85
2024-06-05 14:40:03 -04:00