Kevin Newton
aeb53cb50e
[ruby/yarp] More documentation for desugar compiler
...
https://github.com/ruby/yarp/commit/4a6df3c2a4
2023-09-27 12:10:23 -04:00
Kevin Newton
b18e05b18f
[ruby/yarp] Split up compiler versus visitor
...
https://github.com/ruby/yarp/commit/2e6baa3f19
2023-09-27 12:10:23 -04:00
Kevin Newton
3cec94624b
Rename compiler test to iseq test
2023-09-27 12:10:23 -04:00
Kevin Newton
0517ca3aac
Delete mutation visitor manually so sync can run
2023-09-27 12:10:23 -04:00
Kevin Newton
2a4a55f896
[ruby/yarp] Move DSL into its own file
...
https://github.com/ruby/yarp/commit/3d34404d80
2023-09-27 12:10:23 -04:00
Kevin Newton
1c049c64c0
[ruby/yarp] Move BasicVisitor below ParseResult in yarp.rb
...
https://github.com/ruby/yarp/commit/d51014582a
2023-09-27 12:10:23 -04:00
Kevin Newton
28cc144b63
[ruby/yarp] Move more features under autoload
...
https://github.com/ruby/yarp/commit/2f1f3fa448
2023-09-27 12:10:23 -04:00
Kevin Newton
af8d475281
[ruby/yarp] Move dispatcher into its own autoload
...
https://github.com/ruby/yarp/commit/52bd001ea2
2023-09-27 12:10:23 -04:00
Kevin Newton
be861053c5
[ruby/yarp] Use less magical numbers for regular expression flags
...
https://github.com/ruby/yarp/commit/c6a0abdd24
2023-09-27 12:10:23 -04:00
eileencodes
2bc243b3dc
[YARP] Implement regex flags
...
This fixes the TODO in the code that was passing 0 instead of the regex
flags.
2023-09-27 11:25:53 -04:00
Jemma Issroff
2000cf9183
[YARP] Implemented BlockArgumentNode ( #8499 )
2023-09-27 11:08:54 -04:00
Nobuyoshi Nakada
5b36c11e21
Out of place jumps are valid in defined?
2023-09-27 21:53:01 +09:00
Nobuyoshi Nakada
29e5fca718
Syntax check of retry
in the parser
2023-09-27 21:53:01 +09:00
Nobuyoshi Nakada
ff8278e52c
Fix error token location
2023-09-27 21:53:01 +09:00
Nobuyoshi Nakada
9fd342f8d2
Block exits are now syntax error in ripper
2023-09-27 21:53:01 +09:00
Nobuyoshi Nakada
e1250a5f97
Syntax check of block exits in the parser
2023-09-27 21:53:01 +09:00
Nobuyoshi Nakada
50520cc193
[DOC] Missing comment markers
2023-09-27 16:18:05 +09:00
Nobuyoshi Nakada
262a0cc868
[DOC] Missing comment marker
2023-09-27 15:50:37 +09:00
Ry Biesemeyer
bece880874
[rubygems/rubygems] Centralize logic using Pathname#relative_path_from
...
To avoid potential crashes when trying to jump from a drive to another
on Windows, and take the change refactor things a bit.
https://github.com/rubygems/rubygems/commit/7c9a9a431a
2023-09-27 05:20:58 +00:00
David Rodriguez
a812f1fed0
[rubygems/rubygems] Reword a couple of error messages
...
When a path does not make a lot of sense.
https://github.com/rubygems/rubygems/commit/d173c79e9a
2023-09-27 05:20:57 +00:00
krororo
bc664609df
[rubygems/rubygems] Refactor full sha revision match logic
...
https://github.com/rubygems/rubygems/commit/f0d8255ebd
2023-09-27 05:18:10 +00:00
krororo
fbee93fc19
[rubygems/rubygems] Fix bundle install when older revisions of git source
...
https://github.com/rubygems/rubygems/commit/a30712c0fc
2023-09-27 05:18:10 +00:00
David Rodriguez
57c3e45ee8
[rubygems/rubygems] Fix bundle lock --minor --update <dep>
edge case
...
When the latest allowed minor of `dep` adds a new dependency, that new
dependency would be incorrectly resolved to the latest minor of the
first major version.
https://github.com/rubygems/rubygems/commit/fd50c9d4f3
2023-09-27 03:29:37 +00:00
Kevin Newton
705bd6439d
[ruby/yarp] Ensure newlines are sorted in newline test
...
https://github.com/ruby/yarp/commit/3bfefc44c4
2023-09-26 18:23:59 +00:00
Kevin Newton
a436805d3b
[ruby/yarp] Remove visitor usage to not rely on overriding visit
...
https://github.com/ruby/yarp/commit/6903860981
2023-09-26 18:07:55 +00:00
Peter Zhu
154bd04ee2
[DOC] Fix link in process.c
2023-09-26 11:28:36 -04:00
BurdetteLamar
a40ab12768
[DOC] Refactor doc in process.c
2023-09-26 11:26:19 -04:00
Nobuyoshi Nakada
8bbaa81454
Clean also YARP build directory [ci skip]
2023-09-27 00:16:56 +09:00
Adam Hess
ef59175a68
fix iseq kwargs table and original_iseq leaks
...
[bug #19903 ]
Co-authored-by: Peter Zhu <peter@peterzhu.ca>
2023-09-26 11:12:21 -04:00
Haldun Bayhantopcu
3f511a1d09
[ruby/yarp] Check predicate of while and until
...
https://github.com/ruby/yarp/commit/f57a6066b5
2023-09-26 15:08:25 +00:00
elfham
3f1cfc43bd
[ruby/reline] Fix config.rb to File.expand_path $include path in
...
inputrc
(https://github.com/ruby/reline/pull/592 )
* Fix config.rb to File.expand_path $include path in inputrc
* fix bug of test_include_expand_path on Windows
https://github.com/ruby/reline/commit/4d34e52d0b
2023-09-26 13:08:20 +00:00
tomoya ishida
c2c0a083f0
[ruby/irb] Disable pager in show-source test
...
(https://github.com/ruby/irb/pull/720 )
https://github.com/ruby/irb/commit/5669efa4c1
2023-09-26 10:06:17 +00:00
Kouhei Yanagita
4199e49cad
Optimize Range#bsearch by reducing the number of Integer#+ calls
2023-09-26 17:31:10 +09:00
Kouhei Yanagita
91042ec0ae
Add benchmarks for Range#bsearch
2023-09-26 17:31:10 +09:00
Nobuyoshi Nakada
6d7730ab98
Run crash report test processes without RUBY_ON_BUG
...
These processes are to be crashed, avoid running debugger.
2023-09-26 17:25:08 +09:00
Yusuke Endoh
8233572d45
Prevent warnings: "unused literal ignored"
...
```
[24688/26146] TestParse#test_named_capture_in_block(eval at /home/chkbuild/chkbuild/tmp/build/20230926T063004Z/ruby/test/ruby/test_parse.rb:999):1: warning: unused literal ignored
(eval at /home/chkbuild/chkbuild/tmp/build/20230926T063004Z/ruby/test/ruby/test_parse.rb:999):1: warning: unused literal ignored
(eval at /home/chkbuild/chkbuild/tmp/build/20230926T063004Z/ruby/test/ruby/test_parse.rb:999):1: warning: unused literal ignored
(eval at /home/chkbuild/chkbuild/tmp/build/20230926T063004Z/ruby/test/ruby/test_parse.rb:999):1: warning: unused literal ignored
(eval at /home/chkbuild/chkbuild/tmp/build/20230926T063004Z/ruby/test/ruby/test_parse.rb:999):1: warning: unused literal ignored
(eval at /home/chkbuild/chkbuild/tmp/build/20230926T063004Z/ruby/test/ruby/test_parse.rb:999):1: warning: possibly useless use of + in void context
= 0.00 s
```
2023-09-26 17:01:24 +09:00
Yusuke Endoh
55a297c840
Prevent warnings: "unused literal ignored"
...
The test emits many warnings under `RUBYOPT=-w`
```
[22699/26146] YARP::CompilerTest#test_FloatNode<compiled>:1: warning: unused literal ignored
<compiled>:1: warning: unused literal ignored
<compiled>:1: warning: unused literal ignored
<compiled>:1: warning: unused literal ignored
= 0.00 s
```
2023-09-26 16:42:47 +09:00
Nobuyoshi Nakada
6b66b5fded
[Bug #19902 ] Update the coderange regarding the changed region
2023-09-26 15:35:40 +09:00
Nobuyoshi Nakada
f0d8278607
Run crash report test processes without RUBY_ON_BUG
...
These processes are to be crashed, avoid running debugger.
2023-09-26 14:28:49 +09:00
Nobuyoshi Nakada
5eef125afe
Dump backtraces to an arbitrary stream when using libprocstat
2023-09-26 09:02:37 +09:00
Nobuyoshi Nakada
d2cc4437a1
Labels cannot at the end of block
2023-09-26 08:31:51 +09:00
dependabot[bot]
78cb795491
[rubygems/rubygems] Bump rb-sys
...
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys ) from 0.9.81 to 0.9.82.
- [Release notes](https://github.com/oxidize-rb/rb-sys/releases )
- [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.81...v0.9.82 )
---
updated-dependencies:
- dependency-name: rb-sys
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
https://github.com/rubygems/rubygems/commit/780fb19b03
2023-09-25 18:16:47 +00:00
dependabot[bot]
78af64d08f
[rubygems/rubygems] Bump rb-sys
...
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys ) from 0.9.81 to 0.9.82.
- [Release notes](https://github.com/oxidize-rb/rb-sys/releases )
- [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.81...v0.9.82 )
---
updated-dependencies:
- dependency-name: rb-sys
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
https://github.com/rubygems/rubygems/commit/f48d03aabd
2023-09-25 18:16:03 +00:00
Jun Aruga
295862e22a
[ruby/zlib] Workaround: Fix test failures on Ubuntu jammy s390x.
...
This commit fixes the test failures on the zlib in Ubuntu jammy s390x.
According to the <https://packages.ubuntu.com/jammy-updates/zlib1g > -
`zlib_1.2.11.dfsg-2ubuntu9.2.debian.tar.xz`,
the zlib deb package is applying the patch 410.patch (madler/zlib#410 ), and
configured by `./configure --dfltcc` on Ubuntu jammy s390x. The `--dfltcc`
is to enable the deflate algorithm in hardware.
It produces a different (but still valid) compressed byte stream, and causes
the test failures in ruby/zlib. As a workaround, set the environment variable
`DFLTCC=0` disabling the implementation in zlib on s390x to the failing tests.
Note we need to test in a child Ruby process with `assert_separately` to test
on the `DFLTCC=0` set by the parent Ruby process.
https://github.com/ruby/zlib/commit/9f3b9c470c
2023-09-25 17:59:04 +00:00
Nobuyoshi Nakada
ca2594535d
Add a missing label
2023-09-26 02:15:38 +09:00
Nobuyoshi Nakada
1527246a7e
Download Unicode files once [ci skip]
2023-09-26 02:09:57 +09:00
Nobuyoshi Nakada
cbb38331dd
Fix build on FreeBSD
2023-09-26 02:07:32 +09:00
elfham
766b06dfa3
[ruby/reline] Update to Unicode 15.1.0
...
(https://github.com/ruby/reline/pull/591 )
https://github.com/ruby/reline/commit/c2fc1f771a
2023-09-25 14:28:21 +00:00
Nobuyoshi Nakada
904413997f
[Feature #19790 ] [DOC] Fix the manual page as crash report
...
Also add missing `%f` and `%F`.
2023-09-25 23:22:52 +09:00
Nobuyoshi Nakada
e2a5f0469c
Use named references for method/class/module definitions
2023-09-25 23:04:09 +09:00