Nobuyoshi Nakada
93f0beca5e
Appveyor: Skip tests on if only document files changed [ci skip]
2021-12-13 19:14:50 +09:00
Kentaro Goto
914563ae87
NEWS.md: `ruby -run -e httpd` displays URLs to access [Feature #17847 ]
2021-12-13 18:08:35 +09:00
Nobuyoshi Nakada
c81d7d7c60
NEWS.md: RFC 3339 UTC for unknown offset local time [Feature #17544 ]
2021-12-13 14:28:59 +09:00
Yusuke Endoh
47a12c8888
LEGAL: mention error_highlight
2021-12-13 14:21:29 +09:00
Nobuyoshi Nakada
4ffb0bd641
NEWS.md: Mention `in:` option of Time.new [Feature #17485 ]
2021-12-13 14:20:42 +09:00
Yusuke Endoh
2c0de39287
NEWS.md: `--disable-gems` is now just for debugging. [Feature #17684 ]
2021-12-13 14:19:21 +09:00
Nobuyoshi Nakada
ff029f25ca
[DOC] Get rid of headings in list items
...
The current RDoc Markdown parser parses the list item starting
with `#` as a heading line.
2021-12-13 14:16:46 +09:00
Koichi Sasada
0ee127e5bb
add a NEWS entry for `TracePoint.allow_reenter`
2021-12-13 14:02:42 +09:00
Yusuke Endoh
1da1d74730
NEWS.md: `def foo = puts "Hello"` is now allowed [Feature #17398 ]
2021-12-13 14:01:40 +09:00
Yusuke Endoh
d463b407e6
NEWS.md: Mention suspendatble coverage [Feature #18176 ]
2021-12-13 13:53:34 +09:00
Yusuke Endoh
a6fb63d2a0
NEWS.md: Use more descriptive example for error_highlight
2021-12-13 13:49:39 +09:00
Nobuyoshi Nakada
9ad34da47f
[DOC] Mention RBOOL in extension.rdoc [Feature #13125 ]
2021-12-13 13:21:53 +09:00
Nobuyoshi Nakada
54f0e63a8c
Remove `NODE_DASGN_CURR` [Feature #18406 ]
...
This `NODE` type was used in pre-YARV implementation, to improve
the performance of assignment to dynamic local variable defined at
the innermost scope. It has no longer any actual difference with
`NODE_DASGN`, except for the node dump.
2021-12-13 12:53:03 +09:00
Kazuhiro NISHIYAMA
d3c8f7b1cd
Fix a typo [ci skip]
2021-12-13 11:11:57 +09:00
Yusuke Endoh
a692a1597f
ruby.c: Fix typo
2021-12-13 10:29:08 +09:00
Yusuke Endoh
8613c0c675
Introduce an option "--dump=insns_without_opt" for debugging purposes
2021-12-13 10:29:08 +09:00
git
84cd3964d9
* 2021-12-13 [ci skip]
2021-12-13 10:24:10 +09:00
Koichi Sasada
5164c2b36f
Pass UnboundMethod to 2nd arg of define_method
2021-12-13 10:23:52 +09:00
Koichi Sasada
fdfb43b2b1
fix Struct's setter arity
...
https://github.com/ruby/ruby/pull/5131/files#diff-b2553d23e6b1fe76e20608d06c25f6acca06279100f1a9c24febcd79a82fac3cR2689
2021-12-13 10:23:52 +09:00
Koichi Sasada
6659253cc6
Struct setter's parameters == `[:req, :_]`
...
fix [Bug #18405 ]
Note that the parameter name `_` is not a spec, so we shouldn't
rely on this behavior.
2021-12-13 10:23:52 +09:00
Koichi Sasada
4d0cb1a54b
add `method_def_aritry()`
2021-12-13 10:23:52 +09:00
git
2f79d6d3f2
Update bundled_gems at 2021-12-12
2021-12-12 07:12:13 +00:00
Nobuyoshi Nakada
e4b35b158a
[ruby/cgi] Check integer overflow in long range
...
https://hackerone.com/reports/1328463
https://github.com/ruby/cgi/commit/ccaf6027e0
2021-12-12 13:05:15 +09:00
git
fbd7337016
* 2021-12-12 [ci skip]
2021-12-12 08:45:23 +09:00
Alan Wu
3518b00d75
YJIT: Edit module documentation for clarity
...
Add an empty line before the module doc string so RDoc can find it.
While we are at it, edit for clarity. The file should already be
using frozen string literals since c10d5085a2
.
[ci skip]
2021-12-11 18:45:07 -05:00
Nobuyoshi Nakada
d7ef372c95
Remove the macOS badge [ci skip]
...
It is disabled for the throughput of CI for now.
2021-12-11 23:05:16 +09:00
Samuel Williams
b5c4570af4
[ruby/reline] Prefer wait_readable for fiber scheduler.
...
https://github.com/ruby/reline/commit/06b4aa31fd
2021-12-11 14:29:20 +09:00
Kazuhiro NISHIYAMA
c91fb5db59
Update stdlib versions [ci skip]
2021-12-11 14:01:19 +09:00
Yuta Saito
ecb2ff6050
intern/select/posix.h: remove unused parameter from rb_fd_dup
...
This unused parameter seems to be accidently introduced by https://github.com/ruby/ruby/commit/9e6e39c
2021-12-11 02:23:30 +09:00
Burdette Lamar
e5ff030f60
Enhanced RDoc for String ( #5234 )
...
Treated:
#to_i
#to_f
#to_s
#inspect
#dump
#undump
2021-12-10 10:50:13 -06:00
git
d6817d0538
* 2021-12-11 [ci skip]
2021-12-11 00:13:41 +09:00
Vyacheslav Alexeev
1a62a50c4f
[rubygems/rubygems] Add `github` and `ref` options to `bundle add`
...
https://github.com/rubygems/rubygems/commit/c3e54acab0
2021-12-11 00:13:25 +09:00
ima1zumi
5f1975a454
[ruby/reline] @convert_meta is true unless 8-bit characters
...
If Reline::IOGate.encoding contains 7-bit characters, convert-meta will set it On.
Because in readline(3):
> The default is On, but readline will set it to Off if the locale contains eight-bit characters.
As far as I know, 7-bit encoding used in terminals is only US-ASCII.
https://github.com/ruby/reline/commit/b71d1fa496
2021-12-10 22:19:14 +09:00
ima1zumi
519a945efc
[ruby/reline] Execute compress_meta_key if convert_meta is on
...
fix `#357`
When using 8-bit characters, it is better not to use `compress_meta_key`.
I believe not to use `compress_meta_key` unless `set convert-meta on` is written in the `.inputrc`.
The following is a quote from tmtm's comments.
> The behavior of this compress_meta_key method is similar to the behavior of convert-meta=on in readline, but readline turns off convert-meta if the locale contains 8bit characters.
> In readline(3):
> convert-meta (On)
> If set to On, readline will convert characters with the eighth
> bit set to an ASCII key sequence by stripping the eighth bit and
> prefixing it with an escape character (in effect, using escape
> as the meta prefix). The default is On, but readline will set
> it to Off if the locale contains eight-bit characters.
https://github.com/ruby/reline/commit/9491cc8542
Co-authored-by: TOMITA Masahiro <tommy@tmtm.org>
2021-12-10 22:19:14 +09:00
YO4
3a2ae5bb19
[ruby/reline] unleash real pasting speed
...
2700msec -> 410msec
read 80 console inputs at once
https://github.com/ruby/reline/commit/eb3ef7af98
2021-12-10 22:18:26 +09:00
YO4
74765a5a36
[ruby/reline] unleash pasting speed
...
https://github.com/ruby/reline/commit/074e407c62
2021-12-10 22:18:25 +09:00
YO4
aed21d6574
[ruby/reline] support input surrogate paird codepoint
...
support surrogate pair input
https://github.com/ruby/reline/commit/0b4acedc6a
2021-12-10 22:16:46 +09:00
YO4
66e14e2076
[ruby/reline] follow consolemode change
...
fix 'https://github.com/ruby/reline/issues/300 '
https://github.com/ruby/reline/commit/b2cc6805a8
2021-12-10 22:15:56 +09:00
Kevin Logan
eb2d3c19fe
[rubygems/rubygems] Properly fetch Gem#latest_spec_for with multiple sources
...
https://github.com/rubygems/rubygems/commit/a93ec63df3
2021-12-10 20:54:29 +09:00
David Rodríguez
0e60bc118b
[rubygems/rubygems] Ignore dependencies not actually locked from frozen check
...
Only needed if there can be no explicit global source (bundler < 3).
https://github.com/rubygems/rubygems/commit/73923f4af5
2021-12-10 19:09:55 +09:00
Nobuyoshi Nakada
30268d1de6
Prefer flat_map
2021-12-10 18:39:48 +09:00
Nobuyoshi Nakada
a5baf8d6bc
Revert zero-check for alloca
...
Something weird results in int-in-bool-context and
stringop-overflow warnings.
2021-12-10 18:39:48 +09:00
Yuta Saito
787daea6d2
Allow configuring TRANSIENT_HEAP_TOTAL_SIZE
...
Some platforms have memory resource limits, but theap's memory area is
too large for such situations. So allow configuring the size at
build-time.
2021-12-10 17:15:17 +09:00
git
0cefc2fbdf
Update bundled_gems at 2021-12-10
2021-12-10 07:01:36 +00:00
Kazuhiro NISHIYAMA
21749f7be3
Update stdlib versions [ci skip]
2021-12-10 14:55:03 +09:00
Jeremy Evans
2727815068
Add {Method,UnboundMethod}#{public?,private?,protected?}
...
These methods allow for checking whether the method has that
visibility.
Implements [Feature #11689 ]
2021-12-09 12:59:37 -08:00
Alan Wu
74159f7f3e
[DOC] Stop mentioning Qfalse==0 for C extensions
...
See [Feature #18397 ] for detail. Follow up for
b859397e1b
.
[ci skip]
Co-authored-by: Koichi Sasada <ko1@atdot.net>
2021-12-09 13:38:20 -05:00
Jemma Issroff
b859397e1b
[DOC] Stop recommending Qfalse==0 assumption to C extensions
...
Encourage use of RTEST(), direct Qfalse comparison, and remove references to
Qfalse == 0 in extension documentation.
See [Bug #18397 ] for detail.
[ci skip]
2021-12-09 11:23:51 -05:00
Nobuyoshi Nakada
bcc2bb28b0
Fix stack buffer overflow
...
https://hackerone.com/reports/1306859
2021-12-10 01:04:59 +09:00
Koichi Sasada
9873af0b1a
`TracePoint.allow_reentry`
...
In general, while TracePoint callback is running,
other registerred callbacks are not called to avoid
confusion by reentrace.
This method allow the reentrace. This method should be
used carefully, otherwize the callback can be easily called
infinitely.
[Feature #15912 ]
Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
2021-12-10 00:56:25 +09:00