Nobuyoshi Nakada
d516910b61
Serially update only the ripper source, even with old GNU make
2023-07-10 16:36:03 +09:00
Nobuyoshi Nakada
9dcdffb8bf
Make the string index functions closer to symmetric
...
So that irregular parts may be more noticeable.
2023-07-09 18:45:51 +09:00
Nobuyoshi Nakada
5e79d5a560
Make `rb_str_rindex` return byte index
...
Leave callers to convert byte index to char index, as well as
`rb_str_index`, so that `rb_str_rpartition` does not need to
re-convert char index to byte index.
2023-07-09 16:39:28 +09:00
Nobuyoshi Nakada
e2257831ab
[Bug #19763 ] Raise same message exception for regexp
2023-07-09 16:21:02 +09:00
Stan Lo
4e2f98be39
[ruby/irb] Avoid using Reline as a module
...
(https://github.com/ruby/irb/pull/633 )
Using it as a module makes it harder to understand methods' source.
2023-07-09 06:25:08 +00:00
S-H-GAMELINKS
acd9c208d5
Move some macro for universal parser
2023-07-09 15:00:52 +09:00
yui-knk
b2bccf053b
Include ripper.h into `$distcleanfiles`
2023-07-09 13:02:25 +09:00
alitaso345
2903e9456f
Remove ISASCII definition
...
The ISASCII definition was moved to parse.y( https://github.com/ruby/ruby/pull/8029 ), but the old definition wasn't removed.
2023-07-09 08:16:00 +09:00
git
5f915108da
Update default gems list at 33e00b79a0
[ci skip]
2023-07-08 08:54:34 +00:00
Stan Lo
33e00b79a0
[ruby/reline] Bump version to 0.3.6
...
(https://github.com/ruby/reline/pull/565 )
https://github.com/ruby/reline/commit/2503ddb9a6
2023-07-08 08:53:46 +00:00
tomoya ishida
02f9b685e8
[ruby/reline] Ignore unhandled escape sequences
...
(https://github.com/ruby/reline/pull/522 )
* Add unassigned escape sequence matcher to KeyStroke
* Do not insert ESC and unassigned ESC+key to input buffer
2023-07-08 08:41:30 +00:00
S-H-GAMELINKS
8b2a0ec8df
Move ISASCII defination to parse.y
2023-07-08 15:26:55 +09:00
Nobuyoshi Nakada
3c4d788bfe
macos: symbols for `rb_execution_context_t` should be internal
2023-07-08 11:31:17 +09:00
Nobuyoshi Nakada
f052aa11f2
macos: try --enable-shared
2023-07-08 11:31:17 +09:00
Nobuyoshi Nakada
46fe9ba0f5
macos: set configure options in the compsite action
2023-07-08 11:31:17 +09:00
Nobuyoshi Nakada
cceb410087
leaked-globals: check leaked symbols in libruby.so if enable-shared
2023-07-08 11:31:17 +09:00
Nobuyoshi Nakada
28ae4e4628
leaked-globals: ignore Address Sanitizer symbols
2023-07-08 11:31:17 +09:00
Burdette Lamar
7f2bd17fad
[DOC] RDoc for dir.c ( #8037 )
2023-07-07 16:37:36 -04:00
Jemma Issroff
dadf17818c
Add ruby_globals to lldb for easier debugging ( #8041 )
2023-07-07 15:55:58 -04:00
Jemma Issroff
9e3a5cc54f
[ruby/yarp] Add a yp_location_for_node function to the C API
...
yp_location_for_node takes a parser and a node and returns the
location in a way that can be punned into ruby/ruby types
https://github.com/ruby/yarp/commit/75e06016a7
2023-07-07 17:46:47 +00:00
Jemma Issroff
31f83a6fea
[ruby/yarp] Add source to ParseResult
...
https://github.com/ruby/yarp/commit/f3802e03e0
2023-07-07 17:46:46 +00:00
Jemma Issroff
61efa9c823
[ruby/yarp] Remove bin/newlines
...
Since newlines are working, this bin/newlines is less helpful, and
we can remove the API for newlines
https://github.com/ruby/yarp/commit/b538460b99
2023-07-07 17:46:45 +00:00
Stan Lo
24d9e21f84
[ruby/reline] Reduce direct references to `Reline::IOGate`
...
(https://github.com/ruby/reline/pull/566 )
* Avoid referencing IOGate from IOGate classes
The only time those classes being used is when themselves being the IOGate.
So when referencing to IOGate, it's better to use `self` instead.
* Avoid referencing to IOGate from LineEditor directly
* Avoid referencing to IOGate from Core directly
* Reference to Reline.core directly
* Replace Reline::IOGate with Reline.core.io_gate
2023-07-07 17:27:25 +00:00
Hiroshi SHIBATA
a642a94b68
llvm-objcopy is not provided by Xcode Command Line Tools.
...
Revert "Disable YJIT if objcopy command is old"
This reverts commit 75f8781c08
.
2023-07-07 09:28:27 +09:00
Takashi Kokubun
48d95de6a6
YJIT: Use registers to pass stack temps to C calls ( #7920 )
...
* YJIT: Use registers to pass stack temps to C calls
* YJIT: Update comments in ccall
2023-07-06 15:51:01 -04:00
Jemma Issroff
06c2d3e0a0
Resync YARP ( #8036 )
...
It got out of sync again. After this re-sync, it should happen
cherry-picking automatically.
2023-07-06 13:26:26 -04:00
Benoit Daloze
055f7219bc
Improve ArgumentError message for Module#set_temporary_name
2023-07-06 18:27:13 +02:00
Benoit Daloze
9ee1877e4a
Ensure the name given to Module#set_temporary_name is not a valid constant path
...
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2023-07-06 18:27:13 +02:00
Benoit Daloze
e76022f41c
Specs for Module#set_temporary_name should be in their own file
2023-07-06 18:27:13 +02:00
Maxime Chevalier-Boisvert
2acb44e044
YJIT: add new stats counter for compiled ISEQ entry points ( #8032 )
...
* YJIT: add new stats counter for compiled ISEQ entry points
* Update yjit.rb
Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
---------
Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
2023-07-06 10:17:03 -04:00
Nobuyoshi Nakada
75f8781c08
Disable YJIT if objcopy command is old
...
Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
2023-07-06 21:16:00 +09:00
卜部昌平
20478cafe1
do not set environment variables
...
These variables were used only once.
2023-07-06 17:26:20 +09:00
Hiroshi SHIBATA
d287d8591c
[rubygems/rubygems] Avoid to use Base64 library because I have a plan to base64 gem to bundled gems in ruby/ruby.
...
https://github.com/rubygems/rubygems/commit/221797cfd1
2023-07-06 05:01:29 +00:00
Takashi Kokubun
57bf73225d
Add a NEWS entry for --yjit-exec-mem-size [ci skip]
2023-07-05 14:42:20 -07:00
Takashi Kokubun
9c1776e6b0
YJIT: Use --yjit-exec-mem-size=128 by default ( #8031 )
2023-07-05 14:21:02 -07:00
Takashi Kokubun
f314656c23
Skip a failing spec for the latest bigdecimal
2023-07-05 14:18:51 -07:00
Takashi Kokubun
f0f099a5ff
Disable clippy on Cirrus for now
2023-07-05 14:10:13 -07:00
Takashi Kokubun
7c9ce38cdb
Remove duplicated Rust installation
2023-07-05 14:10:13 -07:00
Jemma Issroff
163cdb4cd4
Deleted unnecessary YARP fuzzing doc file
2023-07-05 16:58:55 -04:00
Jemma Issroff
9614a61379
Fixed build scripts for YARP
2023-07-05 16:58:55 -04:00
Jemma Issroff
bfb933371d
Manual YARP resync
2023-07-05 16:58:55 -04:00
tomoya ishida
6f9d1b4b0f
[ruby/reline] Update Relin::IOGate dinamically when it is needed
...
(https://github.com/ruby/reline/pull/560 )
https://github.com/ruby/reline/commit/4680d1c9e0
2023-07-05 20:21:13 +00:00
cryptogopher
5f07f78e86
[ruby/bigdecimal] Update to_s doc examples
...
https://github.com/ruby/bigdecimal/commit/8a94a29cf1
2023-07-05 20:15:53 +00:00
cryptogopher
10f59dcbcd
[ruby/bigdecimal] Add .to_s('F') digit grouping for integer part
...
https://github.com/ruby/bigdecimal/commit/f63544d465
2023-07-05 20:15:52 +00:00
Takashi Kokubun
1dde9d7260
Explain why YJIT is disabled for clang<=9 [ci skip]
2023-07-05 10:10:51 -07:00
tomoya ishida
cd7166cc8f
[ruby/reline] Fix wrong byte_pointer passed to auto_indent_proc
...
(https://github.com/ruby/reline/pull/562 )
https://github.com/ruby/reline/commit/4348354604
2023-07-05 16:33:46 +00:00
Nobuyoshi Nakada
6a871baa3c
Note that YJIT requires FLONUM [ci skip]
2023-07-05 23:34:00 +09:00
卜部昌平
833b32f503
also disable yjit for clang < 10
...
They don't compile. I guess nobody actively maintain such old
compilers. Chances are the situation won't improve. Let's stop
testing yjit on them.
2023-07-05 23:13:40 +09:00
卜部昌平
dd7c590f8a
disable yjit when for non-flonum
...
YJIT does not interface with this flag.
2023-07-05 23:13:40 +09:00
Burdette Lamar
00f9231534
[DOC] RDoc for some of dir.c ( #8026 )
2023-07-05 09:45:54 -04:00