Commit graph

77079 commits

Author SHA1 Message Date
Burdette Lamar
05f016cdad [ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP
(https://github.com/ruby/net-http/pull/126)

4700d0660b
2023-02-24 19:09:06 +00:00
Takashi Kokubun
f471f46184
YJIT: Use enum for expressing type diff (#7370) 2023-02-24 09:03:59 -05:00
Takashi Kokubun
d8d152e681
YJIT: Compress TempMapping (#7368) 2023-02-24 09:01:53 -05:00
Stan Lo
07403de5a8 [ruby/irb] Cleanup completion tests
(https://github.com/ruby/irb/pull/520)

* Remove redundant completion test

The test case was introduced to guard an old implementation, which relied
on `Module#name`. Commit:

8827d18274

However, the current implementation has avoided calling `Module#name`
completely, so the test case is no longer necessary. Commit:

88311ce3c8

* Remove unnecessary pend
2023-02-24 13:34:40 +00:00
Akinori MUSHA
5d5ff6e5ed [ruby/set] Set#merge does not take keyword arguments as a Hash
ca1c9532a9
2023-02-24 11:48:08 +00:00
Akinori MUSHA
454ac4cbb2 [ruby/set] Set#merge takes many enumerable objects like Hash#merge! does
becaca994d
2023-02-24 11:48:07 +00:00
Kaíque Kandy Koga
aff41a3669 Add information about runirb in make help 2023-02-24 19:44:36 +09:00
Takashi Kokubun
1fdaa06660 Fix a warning on typedef
../gc.c:13317:1: warning: ‘typedef’ is not at beginning of declaration [-Wold-style-declaration]
13317 | } typedef weakkeymap_entry_t;
      | ^
2023-02-23 10:13:13 -08:00
Takashi Kokubun
b9f9440e95 YJIT: Trivial fixes in codegen.rs 2023-02-23 10:08:26 -08:00
Takashi Kokubun
5444dde738
YJIT: Skip type checks on splat args and expandarray if possible (#7363)
YJIT: Skip type checks on splat args and expandarray

if possible
2023-02-23 10:03:34 -08:00
Alan Wu
c3cd191092 YJIT: Add make yjit-smoke-test [ci skip]
I have this as a shell command and Maxime told me that she finds it
useful, too. I tested this on a release build and a dev build.

Note I intentional didn't put `$(Q)` in front of everything so `make`
echos the command it runs.
2023-02-23 12:12:57 -05:00
Burdette Lamar
7c47c2617a [ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP
(https://github.com/ruby/net-http/pull/125)

2ea20380fc
2023-02-23 16:51:58 +00:00
Jean Boussier
2a5354e593 Implement ObjectSpace::WeakKeyMap basic allocator
[Feature #18498]
2023-02-23 16:01:57 +01:00
Mercedes Bernard
9406245dbc [rubygems/rubygems] lint fix again
118d28ad27
2023-02-23 08:50:06 +00:00
Mercedes Bernard
3d766122c8 [rubygems/rubygems] lint fix
de3b69f1a7
2023-02-23 08:50:05 +00:00
Mercedes Bernard
10a393c25d [rubygems/rubygems] add safe_load_marshal for gem::version and gem::spec
2ea2ead1b3
2023-02-23 08:50:05 +00:00
Mercedes Bernard
e965133f56 [rubygems/rubygems] test Bundler::Fetcher that error raised when attempting load unexpected class
795e796a9e
2023-02-23 08:50:04 +00:00
Mercedes Bernard
68995c21be [rubygems/rubygems] test rubygems_integration that error raised when attempting load unexpected class
9798718b3b
2023-02-23 08:50:04 +00:00
Mercedes Bernard
ffc202738b [rubygems/rubygems] add test for private load_marshal method
3a772125b8
2023-02-23 08:50:03 +00:00
Mercedes Bernard
583137fe56 [rubygems/rubygems] make Bundler.load_marshal private
4909d071d2
2023-02-23 08:50:03 +00:00
Mercedes Bernard
d5994eb436 [rubygems/rubygems] safe marshal gem specs when inflating
5c5d0c5350
2023-02-23 08:50:02 +00:00
Mercedes Bernard
3d5ec8401f [rubygems/rubygems] safe marshal gem versions when fetching Marshal.specs.4.8.gz
23880353c1
2023-02-23 08:50:02 +00:00
Nobuyoshi Nakada
3b567eb491
[Bug #19459] Remove unnecessary always-true checks (#7362)
`length` is a required argument for `IO::Buffer#read` and
`IO::Buffer#write` methods, and `argc` is already checked with
`rb_check_arity`.  Also fix the call-seq of `IO::Buffer#read`.
2023-02-23 18:40:13 +13:00
Nobuyoshi Nakada
da0e6b99c7 Move dump_machine_register definitions 2023-02-23 11:25:56 +09:00
Takashi Kokubun
e9e4e1cb46
YJIT: Introduce Opnd::Stack (#7352) 2023-02-22 16:22:41 -05:00
git
4f48debdcf * remove trailing spaces. [ci skip] 2023-02-22 21:09:22 +00:00
Peter Zhu
29ec8e151b Make GC faster when RGENGC_CHECK_MODE >= 2
We shouldn't run gc_verify_internal_consistency after every GC step
when RGENGC_CHECK_MODE >= 2, only when GC has finished. Running it
on every GC step makes it too slow.
2023-02-22 16:09:05 -05:00
Matt Valentine-House
220cdbeea5
[lldb] Add a print_flags command (#7358) 2023-02-22 14:26:28 -05:00
Burdette Lamar
4edb2a29f6 [ruby/net-http] [DOC] Enhanced RDoc for Net:HTTP
(https://github.com/ruby/net-http/pull/124)

aaf26b21d6
2023-02-22 13:58:36 +00:00
Nobuyoshi Nakada
b112ae9971
Skip failing test on MSWin 2023-02-22 22:14:26 +09:00
Samuel Giddins
6232e1b9c0 [rubygems/rubygems] Skip extension test on jruby
38ee82c297
2023-02-22 08:42:21 +00:00
Samuel Giddins
151ae9790f [rubygems/rubygems] Better teardown
5fa0ebf09b
2023-02-22 08:42:20 +00:00
Samuel Giddins
a17b1b19b1 [rubygems/rubygems] Always join with a string
Gem.path_separator can also be a regexp...

7e6e56a5f3
2023-02-22 08:42:20 +00:00
Samuel Giddins
0ca3a095be [rubygems/rubygems] Only update env if var exists
Will save on an error if it would be nil from an exception happening during that line

d6797a04e9
2023-02-22 08:42:19 +00:00
Samuel Giddins
616a7e1f6c [rubygems/rubygems] Nil out Gem.configuration after tests
3135ad91d4
2023-02-22 08:42:19 +00:00
Samuel Giddins
ae5deb1ebc [rubygems/rubygems] Use assert_raise instead of assert_raises
For ruby-core compat

c8f85c91a8
2023-02-22 08:42:19 +00:00
Samuel Giddins
931db21208 [rubygems/rubygems] Add tests covering pre-releases for gem exec
f6877c29b9
2023-02-22 08:42:18 +00:00
Samuel Giddins
80bfa1b30a [rubygems/rubygems] Fix resetting env in gem exec, and make sure it is set for gem exec gem
13a6dd4992
2023-02-22 08:42:18 +00:00
Samuel Giddins
2dd9698350 [rubygems/rubygems] Allow gem exec gem
a767f7b9be
2023-02-22 08:42:17 +00:00
Samuel Giddins
47d4f73ee7 [rubygems/rubygems] Remove platform option for gem exec
Also fix native extensions that load dependencies

a06f9870c7
2023-02-22 08:42:17 +00:00
Samuel Giddins
612ebd10c0 [rubygems/rubygems] Ensure dependencies are updated by default when running gem exec
664f3e1e5f
2023-02-22 08:42:16 +00:00
Samuel Giddins
3f0f9a7942 [rubygems/rubygems] Add gem exec description
dac1609fd5
2023-02-22 08:42:16 +00:00
Samuel Giddins
d81be0609b [rubygems/rubygems] Add specs for gem exec
3078e5834e
2023-02-22 08:42:16 +00:00
Samuel Giddins
cbe14cc8e6 [rubygems/rubygems] Add gem exec command
ca69a317f3
2023-02-22 08:42:15 +00:00
Nobuyoshi Nakada
693e4dec23
Prohibit GIT after setting readonly 2023-02-22 14:40:13 +09:00
小MAO钓鱼
65ef20d2a7
Add support for LoongArch (#7343)
* vm_dump.c: Dump machine registers on loongarch64 Linux.

* coroutines: Support for native loongarch64 coroutines.

---------

Co-authored-by: zangruochen <zangruochen@loongson.cn>
2023-02-22 13:11:33 +09:00
dependabot[bot]
2798b13e33 Bump actions/cache from 3.2.5 to 3.2.6
Bumps [actions/cache](https://github.com/actions/cache) from 3.2.5 to 3.2.6.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](6998d139dd...69d9d449ac)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-22 11:56:36 +09:00
Nobuyoshi Nakada
d025ff29c4
Clone bundled gem sources only if GIT is available 2023-02-22 10:23:06 +09:00
Nobuyoshi Nakada
ac5a949c2a
Refine exception messages when git failed 2023-02-22 10:23:05 +09:00
Hiroshi SHIBATA
015bf5c461
Removed accidentally commits with ruby/readline-ext
Partly reverted 1ddda4c0d7
2023-02-22 10:20:20 +09:00