Andrew Konchin
5afc830130
[ruby/openssl] Do not require test file in a forked process in tests
...
ae784673d7
2023-01-27 11:30:13 +09:00
Samuel Williams
1b06cd3f09
Pass through line_offset
argument correctly (but it was always 0). ( #7177 )
2023-01-27 14:49:26 +13:00
Samuel Giddins
70829928cb
[rubygems/rubygems] Deprecate Gem::List
...
It is unused, we will remove it in the next major version
c3f6c27d6d
2023-01-26 21:41:48 +00:00
Aaron Patterson
88f2b94065
Revert "Limit maximum number of IVs on a shape"
...
This reverts commit 78fcc9847a
.
2023-01-26 11:04:55 -05:00
Nobuyoshi Nakada
6422fef90c
Fix target_cpu
at runtime
2023-01-26 16:31:08 +09:00
Nobuyoshi Nakada
9794e49c88
Link RUBYSPEC_CAPIEXT against the built library
2023-01-26 16:31:08 +09:00
Nobuyoshi Nakada
00ee1d128f
Get rid of duplicate "--disable=gems" options
2023-01-26 16:31:08 +09:00
Hiroshi SHIBATA
545ade21a2
Enable code-coverage result for test-spec
2023-01-26 15:32:29 +09:00
Hiroshi SHIBATA
2d98127131
Filter spec directory for code coverage
2023-01-26 14:05:01 +09:00
Hiroshi SHIBATA
6608d47bed
Enable code-coverage result for test-syntax-suggest
2023-01-26 13:52:20 +09:00
Hiroshi SHIBATA
069b6f88e2
Ignore all of tool directory from code coverage, It contains tool/test and etc.
2023-01-26 13:52:20 +09:00
Hiroshi SHIBATA
8662d70a8b
Ignore vendored libraries by rubygems from code coverage
2023-01-26 13:52:20 +09:00
Hiroshi SHIBATA
98e84f3f7a
filter coverage result with vendored libraries and test code
2023-01-26 13:52:20 +09:00
Hiroshi SHIBATA
eb2670e32d
[ruby/reline] Revert "correct Win32API capitalization for JRuby"
...
This reverts commit d6e7c9e1d9
.
c47a5b684c
2023-01-26 04:27:52 +00:00
Nobuyoshi Nakada
be6a347ace
Need gemspec files instead of cloned directories
2023-01-26 12:50:39 +09:00
Hiroshi SHIBATA
7eef4547b1
Fixed clone name
2023-01-26 12:50:39 +09:00
Nobuyoshi Nakada
7a4f7fc14d
Use timestamp files to track test revision of bundled gems
2023-01-26 12:50:39 +09:00
Nobuyoshi Nakada
17f5631c6e
[Bug #19340 ] Fix bundle gems with test revision
...
Build temporary gem package from cloned repository if test revision is
set.
2023-01-26 12:50:39 +09:00
Jemma Issroff
78fcc9847a
Limit maximum number of IVs on a shape
...
Create SHAPE_MAX_NUM_IVS (currently 50) and limit all shapes to that
number of IVs. When a shape has more than 50 IVs, fallback to the
obj_too_complex shape which uses hash lookup for ivs.
2023-01-25 14:48:28 -05:00
Hiroshi SHIBATA
5e1e5af2e7
Support simplecov-0.22.0.
...
simplecov-0.22.0 no longer support pre-0.18 result format. result data needs
`lines` key for coverage data.
2023-01-25 16:47:05 +09:00
yui-knk
e82cef1762
Remove not used argument from tokenize_ident
...
This has not been used since 5e59be3edd
2023-01-25 10:52:37 +09:00
Peter Zhu
5eeebd68cf
Remove function ary_recycle_hash
...
Freeing the memory of a Hash should be done by the garbage collector
and not by array functions. This could potentially leak memory if
ary_recycle_hash was not implemented properly.
2023-01-24 13:34:21 -05:00
Nobuyoshi Nakada
5a73e131d7
Add tests for variables in END
block shared with the toplevel
2023-01-24 16:36:33 +09:00
dependabot[bot]
98081ac7cc
[rubygems/rubygems] Bump rb-sys
...
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys ) from 0.9.56 to 0.9.58.
- [Release notes](https://github.com/oxidize-rb/rb-sys/releases )
- [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.56...v0.9.58 )
---
updated-dependencies:
- dependency-name: rb-sys
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-24 01:35:42 +00:00
dependabot[bot]
e23e8f4a6b
[rubygems/rubygems] Bump rb-sys in /test/rubygems/test_gem_ext_cargo_builder/custom_name
...
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys ) from 0.9.56 to 0.9.58.
- [Release notes](https://github.com/oxidize-rb/rb-sys/releases )
- [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.56...v0.9.58 )
---
updated-dependencies:
- dependency-name: rb-sys
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 22:14:19 +00:00
Hiroshi SHIBATA
fe733fb668
svn.ruby-lang.org is already EOL
2023-01-23 19:40:42 +09:00
Nobuyoshi Nakada
1e2523fad7
Silence dozens of useless warnings from ranlib
on macOS [ci skip]
2023-01-23 19:02:36 +09:00
Yusuke Nakamura
a22ed3e99d
Fix homepage url in gemspec
...
GitHub Pages now hosted on *.github.io
2023-01-23 17:06:15 +09:00
Hiroshi SHIBATA
4981206b49
update-coverage needs to build ruby and all C-ext libraries
2023-01-23 15:14:02 +09:00
Hiroshi SHIBATA
d9fd048351
[rubygems/rubygems] blade is hosted under ruby-lang.org now
...
00fdef8a41
2023-01-23 05:55:46 +00:00
Hiroshi SHIBATA
5abb2ef153
blade is hosted under ruby-lang.org now
2023-01-23 13:07:29 +09:00
Hiroshi SHIBATA
d8751c0aa7
[ruby/cgi] blade is hosted under ruby-lang.org now
...
826ba3140c
2023-01-23 03:41:54 +00:00
Talal Al-Humaidi
93bb415516
[DOC] Change local method to local variable in assignment docs
2023-01-23 11:48:44 +09:00
Jean Boussier
8fded5f5d1
[ruby/psych] Fix RestrictedYAMLTree allowing the Symbol class should allow all symbols
...
Ref: https://github.com/ruby/psych/pull/495
That's how it works for `safe_load`:
```ruby
>> YAML.safe_load(':foo', permitted_classes: [Symbol])
=> :foo
```
So `safe_dump` should mirror that.
592a75a656
2023-01-23 02:07:23 +00:00
Kazuhiro NISHIYAMA
d623210811
[DOC] Fix a link [ci skip]
2023-01-23 09:34:03 +09:00
Kouhei Yanagita
20a85ab611
Fix Integer#ceildiv to respect #coerce ( #7118 )
...
Fixes [Bug #19343 ]
2023-01-22 18:53:02 +09:00
Nobuyoshi Nakada
cad09f7098
Adjust braces [ci skip]
2023-01-22 11:32:19 +09:00
Samuel Williams
f5ea43a2e6
More coverage tests & specs. ( #7171 )
...
* Add spec for eval and line coverage.
* Add test for main file coverage.
2023-01-22 13:49:13 +13:00
Samuel Williams
2c93c55401
Ensure main file has default coverage if required. ( #7169 )
...
* Extract common code for coverage setup.
2023-01-22 10:51:59 +13:00
Samuel Williams
3e7fdf2953
Windows build instructions documentation. ( #6956 )
...
Windows build instructions.
2023-01-22 00:13:16 +13:00
Samuel Williams
5cdf312d2c
Add doc/distribution.md
to help reduce some of the confusion. ( #6856 )
2023-01-22 00:12:17 +13:00
Nobuyoshi Nakada
418b03c750
tool/leaked-globals: ignore function typedef [ci skip]
2023-01-21 19:26:16 +09:00
Aaron Patterson
06b62cbbdd
Add offsetof
so we can get the offset of members
...
I want to get the offset of fields inside structs, but I don't want to
instantiate the struct. I need to embed the offsets inside machine
code, and I can't get the offsets without calling `new` on the struct.
This commit adds an `offset` method so you can get the offset of a
member without instantiating anything. You can do:
```ruby
C.rb_control_frame_t.offsetof(:sp) #=> 8
```
I don't think this implementation is perfect, you can only get immediate
fields. But it is better than nothing!
2023-01-20 14:11:05 -08:00
Takashi Kokubun
887d21613c
YJIT: Avoid BorrowError on GC.compact ( #7164 )
2023-01-20 13:07:03 -08:00
Peter Zhu
4e037075ae
Fix typo in RHASH_ST_CLEAR
...
We should be setting as.st and not as.ar.
2023-01-20 15:58:17 -05:00
Jeremy Evans
ffd52412ab
Document thread-safety issues with Hash default_proc
...
Fixes [Bug #19237 ]
2023-01-20 08:36:06 -08:00
Matt Valentine-House
0457e43423
Remove unused struct member thgroup->group
2023-01-20 11:01:03 -05:00
Jimmy Miller
36fa4f13ca
YJIT: get rid of unneeded .into()
2023-01-20 10:57:41 -05:00
Nobuyoshi Nakada
15328302dc
In UNALIGNED_MEMBER_PTR
cast through void
pointer
...
Suppress warnings shown even with `-Waddress-of-packed-member`
disabled in gcc 11.
2023-01-21 00:30:34 +09:00
Nobuyoshi Nakada
f0f2535c4d
Add queue_list
and szqueue_list
macros
2023-01-21 00:30:34 +09:00