Hiroshi SHIBATA
3d6baad7fa
Added syntax_suggest entry to NEWS
2022-08-22 11:40:38 +09:00
git
61ab06fe8a
Update default gems list at 490af8dbdb
[ci skip]
2022-08-19 01:03:07 +00:00
git
b3718edee2
Update bundled gems list at 2022-08-18
2022-08-18 07:04:23 +00:00
Nobuyoshi Nakada
0617cba197
[DOC] Add the link to [Feature #18809 ]
2022-08-13 11:23:47 +09:00
Kouhei Yanagita
d1d1c9ba7a
Add a NEWS entry about Integer#ceildiv [ci skip]
2022-08-13 09:29:15 +09:00
git
2ebb428fd9
Update default gems list at 1b32a4c7bb
[ci skip]
2022-08-10 12:52:38 +00:00
git
1139bc8c20
Update bundled gems list at 2022-08-10
2022-08-10 07:05:11 +00:00
git
dcf0bb3032
Update default gems list at 5c9ce54757
[ci skip]
2022-08-08 14:59:56 +00:00
Kazuhiro NISHIYAMA
1520936aa7
Fix a link [ci skip]
2022-08-01 12:34:03 +09:00
Akinori MUSHA
d050f162a7
Mention Enumerator.product/Enumerator::Product in the NEWS.md
2022-07-30 20:05:14 +09:00
git
1052ad4e48
Update bundled gems list at 156da55c16
[ci skip]
2022-07-13 06:46:52 +00:00
git
e99e1f0f3f
Update bundled gems list at 2022-07-12
2022-07-12 07:03:23 +00:00
git
53afacd036
Update bundled gems list at 2022-07-06
2022-07-06 07:03:41 +00:00
git
b92fb78696
Update bundled gems list at 2022-07-04
2022-07-04 07:03:51 +00:00
git
3124422bc8
Update bundled gems list at e0c6e288f0
[ci skip]
2022-07-01 06:53:37 +00:00
git
c0b5124043
Update default gems list at 50e13870bf
[ci skip]
2022-06-25 09:11:16 +00:00
git
641a732909
Update bundled gems list at 2022-06-21
2022-06-21 07:05:34 +00:00
Nobuyoshi Nakada
1e9939dae2
[Feature #18788 ] Support options as `String` to `Regexp.new`
...
`Regexp.new` now supports passing the regexp flags not only as an
`Integer`, but also as a `String. Unknown flags raise errors.
2022-06-20 19:35:12 +09:00
Nobuyoshi Nakada
ab2a43265c
Warn suspicious flag to `Regexp.new`
...
Now second argument should be `true`, `false`, `nil` or Integer.
This flag is confused with third argument some times.
2022-06-20 19:35:12 +09:00
git
271bcc0c1c
Update bundled gems list at 150bd6e242
[ci skip]
2022-06-20 02:45:22 +00:00
git
daf086c0e1
Update bundled gems list at 2022-06-15
2022-06-15 07:01:39 +00:00
Jeremy Evans
7cda7fbbdc
Add Module#undefined_instance_methods
...
Implements [Feature #12655 ]
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2022-06-06 09:57:32 -07:00
git
ab7f8e32aa
Update default gems list at fde4519af8
[ci skip]
2022-05-25 09:09:04 +00:00
git
6ba394ce30
Update bundled gems list at 2022-05-21
2022-05-21 07:07:14 +00:00
git
e3434118c2
Update default gems list at bcdbfe4b6e
[ci skip]
2022-05-20 09:02:36 +00:00
git
093c516ce5
Update default gems list at 6b6d7df39d
[ci skip]
2022-05-18 01:04:36 +00:00
Samuel Williams
32de6097b2
Fix various autoload race conditions. ( #5898 )
...
* Add RUBY_VM_CRITICAL_SECTION for detecting unexpected context switch.
* Prevent race between GC mark and autoload setup.
* Protect race on autoload state.
* Avoid potential race condition when allocating `autoload_featuremap`.
* Add NEWS entry for autoload fixes.
2022-05-15 16:07:12 +12:00
git
0161dc3edc
Update default gems list at ecf32dbfc0
[ci skip]
2022-05-09 09:21:02 +00:00
git
95bb7e0a25
Update default gems list at a370eb5a63
[ci skip]
2022-05-09 09:19:47 +00:00
git
99f490475f
Update default gems list at 30632efeaa
[ci skip]
2022-05-09 07:48:37 +00:00
git
546f6ce432
Update default gems list at fbbe7ac7e3
[ci skip]
2022-05-09 07:36:53 +00:00
git
98e3fdb444
Update bundled gems list at 25eb63fa7f
[ci skip]
2022-05-08 14:05:55 +00:00
git
840dbe1cbf
Update default gems list at cd2613b6a4
[ci skip]
2022-04-27 20:57:25 +00:00
Tim Smith
810b9c344a
Resolve several markedown warnings
...
- Spaces before and after blocks.
- Single spaces after sentences everywhere
Signed-off-by: Tim Smith <tsmith@mondoo.com>
2022-04-19 08:32:37 +09:00
git
566fb7fa7d
Update default gems list at 2aca566a10
[ci skip]
2022-04-15 21:35:19 +00:00
git
1f3448f524
Update bundled gems list at 8197ae35f9
[ci skip]
2022-04-06 14:57:47 +00:00
Benoit Daloze
573005983a
Give some tips on how to find the missing ruby2_keywords
2022-04-05 11:54:57 +02:00
Benoit Daloze
d3f659d3f9
Add NEWS entry for Bug #18625 to help adding ruby2_keywords in the missing places
2022-04-05 11:42:02 +02:00
git
dcc3c2858f
Update bundled gems list at e73d76027e
[ci skip]
2022-04-02 10:29:56 +00:00
git
7dfea79ebf
Update bundled gems list at b3a05827c7
[ci skip]
2022-04-01 05:44:35 +00:00
git
f24abc0bb2
Update default gems list at 06f94d1784
[ci skip]
2022-04-01 04:57:20 +00:00
git
f380a25520
Update default gems list at 8a38419b73
[ci skip]
2022-03-31 15:23:12 +00:00
Jeremy Evans
79b59fee16
Update NEWS for proc autosplat change
2022-03-30 11:39:27 -07:00
Jeremy Evans
5d43969e92
Update NEWS for TracePoint#enable target_thread default change
2022-03-29 18:33:16 -07:00
Nobuyoshi Nakada
282baa6943
[DOC] Move the entry for [Feature #18571 ]
2022-03-28 15:03:41 +09:00
Kazuhiro NISHIYAMA
4e580bd67a
Fix a link [ci skip]
2022-03-28 10:59:35 +09:00
Hiroshi SHIBATA
c3555e3da4
Added entry of Psych changes for #18571
2022-03-28 10:43:10 +09:00
Jeremy Evans
f79765abe8
Update NEWS for {Kernel,TracePoint}#binding change
2022-03-25 14:33:24 -07:00
git
04591e1be7
Update default gems list at 4c4a1e2035
[ci skip]
2022-03-24 12:39:01 +00:00
Kazuhiro NISHIYAMA
bbd29fe0b6
Fix a link [ci skip]
2022-03-22 09:49:32 +09:00
Shugo Maeda
2fdfd499db
Add a NEWS entry about [Feature #18598 ] [ci skip]
2022-03-18 11:53:36 +09:00
Jeremy Evans
b6804d62f8
Make Proc#parameters support lambda keyword for returning parameters as if lambda
...
This makes it easier to use Proc#parameters to build wrappers.
Implements [Feature #15357 ]
2022-03-17 11:52:02 -07:00
git
df6f2b645f
Update default gems list at fadc7a150c
[ci skip]
2022-03-17 08:29:21 +00:00
Kazuhiro NISHIYAMA
9d6cc7e4c0
Fix a link [ci skip]
2022-03-14 07:52:40 +09:00
Martin Dürst
2672502457
mention Unicode Version 14.0.0
2022-03-13 09:19:52 +09:00
git
7f5440756e
Update default gems list at bd18623307
[ci skip]
2022-03-10 13:59:25 +00:00
git
ff7eb85125
Update default gems list at 9c531ca524
[ci skip]
2022-03-07 11:09:43 +00:00
git
c1790f8c11
Update default gems list at 7f7db124ee
[ci skip]
2022-03-03 08:56:31 +00:00
git
bec492c77e
Update default gems list at eb40ff73bf
[ci skip]
2022-02-28 11:10:22 +00:00
git
43cc4f66c2
Update bundled gems list at 2022-02-23
2022-02-23 07:00:29 +00:00
Kazuhiro NISHIYAMA
1f3fe3801b
Fix links [ci skip]
2022-02-21 00:44:19 +09:00
Shugo Maeda
c8817d6a3e
Add String#byteindex, String#byterindex, and MatchData#byteoffset ( #5518 )
...
* Add String#byteindex, String#byterindex, and MatchData#byteoffset [Feature #13110 ]
Co-authored-by: NARUSE, Yui <naruse@airemix.jp>
2022-02-19 19:10:00 +09:00
Kazuki Tsujimoto
db6b23c76c
Find pattern is no longer experimental [Feature #18585 ]
2022-02-19 18:45:49 +09:00
Akinori MUSHA
ac32b7023a
Mention Set as a new builtin class to NEWS
2022-02-18 11:56:24 +09:00
git
66b9ca8426
Update default gems list at f07a2613e3
[ci skip]
2022-02-10 08:19:42 +00:00
git
ea6b6f1ad3
Update bundled gems list at d4a8c04dc7
[ci skip]
2022-02-02 04:26:22 +00:00
git
804dca7b0c
Update default gems list at fc4fbeef28
[ci skip]
2022-02-01 04:22:40 +00:00
Koichi ITO
f924e05b68
[DOC] Fix a typo in the NEWS.md
...
Follow up of https://github.com/ruby/ruby/commit/fbb3cab .
2022-01-31 07:38:10 +09:00
Takashi Kokubun
fbb3cab956
Add a NEWS entry about [Feature #16806 ]
2022-01-29 00:32:38 -08:00
Nobuyoshi Nakada
e3b5cc8836
NEWS: `Fixnum` and `Bignum` are removed finally [Feature #12005 ]
2022-01-25 23:10:20 +09:00
git
c6a19b77a2
Update default gems list at 328e6bf3b3
[ci skip]
2022-01-24 01:57:23 +00:00
Kazuhiro NISHIYAMA
54568c949b
Fix a link [ci skip]
2022-01-18 22:57:21 +09:00
Takashi Kokubun
c0d18a1aa2
[ruby/erb] Revert "Remove safe_level and further positional arguments ( https://github.com/ruby/erb/pull/7 )"
...
This reverts commit 5133efa06f
.
While we already handled this deprecation in many libraries, we noticed
that some (e.g. sprockets) relied on the format of `ERB.version` and
2b4182eb10
broke such handling.
Given that the `ERB.version` change was released at 3.1 and it's
obviously new, I'll skip this removal in 3.2 and postpone this to a
future version.
2022-01-17 12:39:17 -08:00
Takashi Kokubun
728304093c
Update NEWS.md about ERB.new
2022-01-15 13:53:57 -08:00
Jeremy Evans
a93cc3e23b
Make Hash#shift return nil for empty hash
...
Fixes [Bug #16908 ]
2022-01-14 12:17:57 -08:00
Jeremy Evans
ca3d405242
Fix constant assignment evaluation order
...
Previously, the right hand side was always evaluated before the
left hand side for constant assignments. For the following:
```ruby
lhs::C = rhs
```
rhs was evaluated before lhs, which is inconsistant with attribute
assignment (lhs.m = rhs), and apparently also does not conform to
JIS 3017:2013 11.4.2.2.3.
Fix this by changing evaluation order. Previously, the above
compiled to:
```
0000 putself ( 1)[Li]
0001 opt_send_without_block <calldata!mid:rhs, argc:0, FCALL|VCALL|ARGS_SIMPLE>
0003 dup
0004 putself
0005 opt_send_without_block <calldata!mid:lhs, argc:0, FCALL|VCALL|ARGS_SIMPLE>
0007 setconstant :C
0009 leave
```
After this change:
```
0000 putself ( 1)[Li]
0001 opt_send_without_block <calldata!mid:lhs, argc:0, FCALL|VCALL|ARGS_SIMPLE>
0003 putself
0004 opt_send_without_block <calldata!mid:rhs, argc:0, FCALL|VCALL|ARGS_SIMPLE>
0006 swap
0007 topn 1
0009 swap
0010 setconstant :C
0012 leave
```
Note that if expr is not a module/class, then a TypeError is not
raised until after the evaluation of rhs. This is because that
error is raised by setconstant. If we wanted to raise TypeError
before evaluation of rhs, we would have to add a VM instruction
for calling vm_check_if_namespace.
Changing assignment order for single assignments caused problems
in the multiple assignment code, revealing that the issue also
affected multiple assignment. Fix the multiple assignment code
so left-to-right evaluation also works for constant assignments.
Do some refactoring of the multiple assignment code to reduce
duplication after adding support for constants. Rename struct
masgn_attrasgn to masgn_lhs_node, since it now handles both
constants and attributes. Add add_masgn_lhs_node static function
for adding data for lhs attribute and constant setting.
Fixes [Bug #15928 ]
2022-01-14 11:00:26 -08:00
Jean Boussier
8d05047d72
Add a Module#const_added callback
...
[Feature #17881 ]
Works similarly to `method_added` but for constants.
```ruby
Foo::BAR = 42 # call Foo.const_added(:FOO)
class Foo::Baz; end # call Foo.const_added(:Baz)
Foo.autoload(:Something, "path") # call Foo.const_added(:Something)
```
2022-01-14 11:30:07 +01:00
Koichi Sasada
9de380860d
add a NEWS entry of `Proc#dup`.
2022-01-13 17:45:25 +09:00
Kazuhiro NISHIYAMA
533bc77170
Fix typo [ci skip]
2022-01-07 09:44:33 +09:00
manga_osyo
1bfccba775
Add bugs.ruby links.
2022-01-07 01:13:04 +09:00
git
2db7952e59
Update bundled gems list at 2022-01-06
2022-01-06 07:02:37 +00:00
Nobuyoshi Nakada
3e417a554b
NEWS: "taintedness" and "trustedness" methods are removed
2022-01-06 11:32:27 +09:00
Nobuyoshi Nakada
ac0d27eb58
NEWS: Separate removed constants section
2022-01-06 11:20:55 +09:00
Nobuyoshi Nakada
e38d583391
NEWS: Links to the tickets to remove deprecated features
2022-01-05 18:27:16 +09:00
Nobuyoshi Nakada
1272a331b4
NEWS: Removal of `Kernel#=~` [Feature #15231 ]
2022-01-05 18:18:43 +09:00
Shugo Maeda
54198c7b97
Add Module#refinements and Refinement#refined_class [Feature #12737 ]
2022-01-05 17:47:29 +09:00
Shugo Maeda
21ee5341f8
Add Module.used_refinements
2022-01-05 16:58:23 +09:00
git
30c03f9e93
Update default gems list at 6f53425825
[ci skip]
2022-01-02 06:06:11 +00:00
Nobuyoshi Nakada
6f53425825
NEWS: Removed constants
2022-01-02 15:05:02 +09:00
git
b2a88063d6
Update default gems list at 6d1b406dc8
[ci skip]
2022-01-02 02:29:48 +00:00
Nobuyoshi Nakada
f59b2e440e
NEWS: Removed methods
2021-12-31 23:59:50 +09:00
Nobuyoshi Nakada
60e9aa5733
NEWS: Removed C APIs
2021-12-31 23:59:04 +09:00
Jeremy Evans
f53dfab95c
Add support for anonymous rest and keyword rest argument forwarding
...
This allows for the following syntax:
```ruby
def foo(*)
bar(*)
end
def baz(**)
quux(**)
end
```
This is a natural addition after the introduction of anonymous
block forwarding. Anonymous rest and keyword rest arguments were
already supported in method parameters, this just allows them to
be used as arguments to other methods. The same advantages of
anonymous block forwarding apply to rest and keyword rest argument
forwarding.
This has some minor changes to #parameters output. Now, instead
of `[:rest], [:keyrest]`, you get `[:rest, :*], [:keyrest, :**]`.
These were already used for `...` forwarding, so I think it makes
it more consistent to include them in other cases. If we want to
use `[:rest], [:keyrest]` in both cases, that is also possible.
I don't think the previous behavior of `[:rest], [:keyrest]` in
the non-... case and `[:rest, :*], [:keyrest, :**]` in the ...
case makes sense, but if we did want that behavior, we'll have to
make more substantial changes, such as using a different ID in the
... forwarding case.
Implements [Feature #18351 ]
2021-12-30 14:37:42 -08:00
git
6d57290210
Update bundled gems list at 2021-12-29
2021-12-29 07:02:15 +00:00
git
7fbd93e60f
Update default gems list at d75f7078c8
[ci skip]
2021-12-29 01:03:36 +00:00
git
f486566f13
Update default gems list at d6311cb1ca
[ci skip]
2021-12-27 01:48:03 +00:00
git
18da9359de
Update bundled gems list at 2322967f3e
[ci skip]
2021-12-26 06:51:28 +00:00
git
2322967f3e
Update default gems list at 1698010bb1
[ci skip]
2021-12-26 06:38:45 +00:00
git
a91605c9da
Update default gems list at 53b3c044fc
[ci skip]
2021-12-25 14:12:38 +00:00
Kazuhiro NISHIYAMA
53b3c044fc
Copy NEWS.md to doc/NEWS-3.1.0.md and update for 3.2.0
2021-12-25 23:11:43 +09:00
Nobuyoshi Nakada
1ad42f8a76
Update default gems list at 8247b193c0
[ci skip]
2021-12-25 18:43:37 +09:00
Nobuyoshi Nakada
14e550052b
NEWS: mention Time.new argument error more
...
Show an example of Time.new with perhaps unexpected results in
earlier versions.
2021-12-25 18:24:39 +09:00
Nobuyoshi Nakada
42eb9bf37a
Fix the names of Thread::Queue and method for the cross-reference
2021-12-25 17:45:22 +09:00
Nobuyoshi Nakada
30374b4fb7
NEWS: Put spaces to make Method and UnboundMethod links
2021-12-25 17:42:27 +09:00
aycabta
dba24e6a1a
Add IRB Improvements section to NEWS.md
2021-12-25 17:05:39 +09:00
Nobuyoshi Nakada
0abf781ab4
NEWS: Mention about more strict conversions for [Feature #17485 ]
2021-12-25 13:14:54 +09:00
git
70aa7734e9
Update default gems list at 0f1fbc6421
[ci skip]
2021-12-25 04:13:21 +00:00
git
63d75d38cb
Update default gems list at 40c20110d5
[ci skip]
2021-12-25 02:04:23 +00:00
git
d100c91445
Update default gems list at da6a5e3ed1
[ci skip]
2021-12-24 22:45:36 +00:00
git
2b2115318b
Update default gems list at efce9ecf72
[ci skip]
2021-12-24 18:38:28 +00:00
Alan Wu
cab8b88a16
NEWS: Adapt YJIT support status to include OpenBSD
...
We don't run YJIT CI checks on OpenBSD so can't claim that we provide
first-class maintenance support. However, as of
3b2b28d035
, YJIT can at least boot on OpenBSD.
2021-12-24 12:35:24 -05:00
Alan Wu
b81faf4b1f
Less bravado in YJIT performance claims
...
YJIT can't improve performance of non Ruby software of course.
2021-12-24 11:59:57 -05:00
git
628e845843
Update default gems list at 90239c4163
[ci skip]
2021-12-24 15:47:38 +00:00
Koichi Sasada
38b3adc4cb
add a NEWS entry about cvar inline cache
2021-12-25 00:01:21 +09:00
git
4767cf0cb5
Update default gems list at f9712b029b
[ci skip]
2021-12-24 14:21:17 +00:00
Soutaro Matsumoto
8d940e3032
Bundle RBS 2.0.0 ( #5330 )
...
* Bundle RBS 2.0.0
* Update NEWS.md
2021-12-24 22:54:45 +09:00
git
babc200ee8
Update default gems list at 67aab88a22
[ci skip]
2021-12-24 11:10:13 +00:00
git
f2592f2812
Update default gems list at 35d779c57b
[ci skip]
2021-12-24 09:04:07 +00:00
git
d81046b2d6
Update default gems list at 03f16d37bf
[ci skip]
2021-12-24 08:12:56 +00:00
git
167dd73c6c
Update default gems list at 1a1550ba5d
[ci skip]
2021-12-24 05:41:11 +00:00
git
e029560b22
Update default gems list at b0ad6cb371
[ci skip]
2021-12-24 02:20:07 +00:00
git
eba05029b0
Update default gems list at 65d35502bd
[ci skip]
2021-12-23 17:30:04 +00:00
git
1eafa85206
Update bundled gems list at a6b2757d0572db1dc3f079a9cdd42c [ci skip]
2021-12-23 18:25:48 +09:00
git
ddfbf531de
Update default gems list at d5019949b5
[ci skip]
2021-12-23 04:01:26 +00:00
git
1f94ae019f
Update default gems list at de841e2e28
[ci skip]
2021-12-23 01:10:18 +00:00
git
c529014b9d
Update default gems list at 231f2c26b8efd14ce3fd8961292db8 [ci skip]
2021-12-23 09:44:45 +09:00
git
2c31f325f5
Update default gems list at ac4e0978ee
[ci skip]
2021-12-22 11:30:17 +00:00
Koichi Sasada
779039a4e0
add ref to the ticket
2021-12-22 02:49:19 +09:00
Yuki Nishijima
cdb7d699d0
Revert commits for did_you_mean
...
This reverts commit 4560091b1c
.
This reverts commit a6f76122a2
.
This reverts commit e59b18a637
.
This reverts commit 505dfae05d
.
2021-12-21 22:10:03 +09:00
git
e59b18a637
Update default gems list at 505dfae05d
[ci skip]
2021-12-21 10:08:36 +00:00
Hiroshi SHIBATA
12fa4f2ace
Added Psych 4 incompatibility to NEWS
...
[Bug #17866 ][ruby-core:103866]
2021-12-21 19:02:59 +09:00
Kazuhiro NISHIYAMA
69470cc5e9
Fix a typo [ci skip]
2021-12-21 17:44:48 +09:00
git
10a2273e99
Update default gems list at f51811ca75894f5227fb2dd9f2f61f [ci skip]
2021-12-21 15:27:05 +09:00
Jeremy Evans
3bd5f27f73
Remove Class#descendants
2021-12-20 11:02:15 -08:00
git
7700e9a5cc
Update bundled gems list at 2021-12-20
2021-12-20 09:50:16 +00:00
git
4db88173d8
Update default gems list at 706c7a27fa
[ci skip]
2021-12-20 09:26:42 +00:00
Hiroshi SHIBATA
24f7a41aed
Update logger version on NEWS
2021-12-20 18:02:19 +09:00
git
145f7c094f
Update bundled gems list at 2021-12-20
2021-12-20 07:05:44 +00:00
Hiroshi SHIBATA
7867a76e69
Update pp version on NEWS
2021-12-20 12:46:11 +09:00
Kazuhiro NISHIYAMA
ae58b71eeb
Sort URLs by issue numbers [ci skip]
2021-12-19 23:43:39 +09:00
Kazuki Tsujimoto
3f2b581840
Add news about allowing omission of parentheses in one-line pattern matching
2021-12-19 21:37:08 +09:00
git
6a1365d725
Update bundled gems list at 2021-12-17
2021-12-17 19:21:56 +00:00
git
74b58dd690
Update bundled gems list at 2021-12-17
2021-12-17 16:18:25 +00:00
Kazuhiro NISHIYAMA
9ac52e8ed3
Fix a typo [ci skip]
2021-12-17 22:30:23 +09:00
Yusuke Endoh
4639336b05
NEWS.md: Fix a typo
2021-12-17 20:34:25 +09:00
Masataka Pocke Kuwabara
d524b9dec9
NEWS.md: Add link to `rbs collection` documentation
2021-12-17 13:54:23 +09:00
Yusuke Endoh
58333c94d5
NEWS.md: Describe changes of RBS
2021-12-17 13:46:09 +09:00
git
c4c78343e0
Update stdlib version at 693a561cfa
[ci skip]
2021-12-16 17:58:00 +00:00
Matheus Richard
41d4902c27
Improve wording on NEWS.md
2021-12-16 20:02:07 +09:00
git
fbd21a81f3
Update stdlib version at 333865e56f
[ci skip]
2021-12-15 12:52:15 +00:00
git
1fc80754dd
Update stdlib version at 9f87c0cc6d
[ci skip]
2021-12-15 10:47:15 +00:00
Kazuhiro NISHIYAMA
de01011da3
Update stdlib version [ci skip]
2021-12-15 18:53:16 +09:00
git
583e06e28f
Update stdlib version at ded33ed5b8
[ci skip]
2021-12-15 09:00:47 +00:00
Kazuhiro NISHIYAMA
7d50142a9b
Remove unused footnote [ci skip]
2021-12-15 16:59:10 +09:00
Jean Boussier
9e00f8267d
NEWS.md document String#unpack offset and Marshal.load freeze arguments
2021-12-14 16:42:53 +01:00
Takashi Kokubun
1a63468831
Prepare for removing RubyVM::JIT ( #5262 )
2021-12-13 23:07:46 -08:00
Kazuhiro NISHIYAMA
a2839d7178
Update stdlib version [ci skip]
2021-12-14 16:06:50 +09:00
Kazuhiro NISHIYAMA
877160121a
NEWS.md: Mention colorize command of un.rb
...
https://github.com/ruby/un/pull/1
2021-12-14 09:28:09 +09:00
Takashi Kokubun
11b8aaa26a
Rename --jit to --mjit ( #5248 )
...
* Rename --jit to --mjit
[Feature #18349 ]
* Fix a few more --jit references
* Fix MJIT Actions
* More s/jit/mjit/ and re-introduce --disable-jit
* Update NEWS.md
* Fix test_bug_reporter_add
2021-12-13 16:08:01 -08:00
Peter Zhu
94494a565d
[ci skip] NEWS.md: Update Variable Width Allocation
2021-12-13 10:20:13 -05:00
Nobuyoshi Nakada
4926647bf2
NEWS.md: sort [ci skip]
2021-12-14 00:03:37 +09:00
Peter Zhu
774b04408f
[ci skip] NEWS.md: Add Variable Width Allocation
2021-12-13 09:53:31 -05:00
Nobuyoshi Nakada
a08d8180e2
NEWS.md: One more surrounding brackets for the ticket
2021-12-13 21:20:55 +09:00
Nobuyoshi Nakada
7ececae453
NEWS.md: move of Random::Formatter [Feature #18190 ]
2021-12-13 19:15:31 +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
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
Kazuhiro NISHIYAMA
d3c8f7b1cd
Fix a typo [ci skip]
2021-12-13 11:11:57 +09:00
Kazuhiro NISHIYAMA
c91fb5db59
Update stdlib versions [ci skip]
2021-12-11 14:01:19 +09: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
Nobuyoshi Nakada
bb3f17bd98
More indentation in NEWS.md [ci skip]
...
The current Markdown implementation of RDoc requires list contents
to be indented 4 columns except for the first paragraph.
Maybe fixed as other implementations in the future.
2021-12-07 22:00:23 +09:00
Kazuhiro NISHIYAMA
91e9d27629
Fix a link [ci skip]
2021-12-07 15:02:08 +09:00
Yusuke Endoh
dfd9728c87
NEWS.md: Describe the change of the default width of `pp`
...
[Feature #12913 ]
2021-12-07 12:07:28 +09:00
Koichi Sasada
4c39fae4de
add a NEWS entry for `mandatory_only?`
2021-12-07 02:03:30 +09:00
Koichi Sasada
87664b5cc8
add a NEWS entry about GC.total_time
2021-12-07 02:03:30 +09:00
Koichi Sasada
660687e6fa
add NEWS about the improvement of `Struct`
2021-12-07 02:03:30 +09:00
Kazuhiro NISHIYAMA
00a941ac4b
Update stdlib versions [ci skip]
2021-12-05 20:34:25 +09:00
Kazuhiro NISHIYAMA
20dfc7621c
Sort URLs by issue numbers [ci skip]
2021-12-05 20:31:58 +09:00
Nobuyoshi Nakada
19f037e452
More indentation in NEWS.md [ci skip]
...
The current Markdown implementation of RDoc requires list contents
to be indented 4 columns except for the first paragraph.
Maybe fixed as other implementations in the future.
2021-12-05 19:23:42 +09:00
Junichi Ito
e818193784
Fix wrong indentation in NEWS.md [ci skip]
2021-12-05 19:07:06 +09:00
John Hawthorn
3be067234f
NEWS for [GH-#5146] [ci skip] ( #5210 )
2021-12-03 12:58:09 -08:00
Jean Boussier
c0c2b31a35
Add Class#subclasses
...
Implements [Feature #18273 ]
Returns an array containing the receiver's direct subclasses without
singleton classes.
2021-11-23 10:50:44 +01:00
Jeremy Evans
4adb012926
Anonymous block forwarding allows a method to forward a passed
...
block to another method without having to provide a name for the
block parameter.
Implements [Feature #11256 ]
Co-authored-by: Yusuke Endoh mame@ruby-lang.org
Co-authored-by: Nobuyoshi Nakada nobu@ruby-lang.org
2021-11-18 14:17:57 -08:00
Jeremy Evans
ab737b1919
Update documentation for Module#{private,public,protected,module_function}
...
Also, update NEWS for this change and the Kernel#load change.
2021-11-18 10:51:14 -08:00
Samuel Williams
4b89034218
IO::Buffer for scheduler interface.
2021-11-10 19:21:05 +13:00
Kazuhiro NISHIYAMA
56b90cf944
Fix a typo and add `IO.` [ci skip]
2021-11-10 14:09:08 +09:00
Kazuhiro NISHIYAMA
1d609707b4
Fix a link [ci skip]
2021-11-09 11:30:03 +09:00
Peter Zhu
e014c9d607
[ci skip] Update NEWS.md for [Feature #18290 ]
2021-11-08 16:41:03 -05:00
Yusuke Endoh
aa5bccfc65
NEWS.md: Mention Process._fork [[Feature #17795 ]]
2021-11-09 03:38:42 +09:00
Kazuhiro NISHIYAMA
ffd8592ebc
Update stdlib version
2021-10-29 10:58:56 +09:00
osyo-manga
d51ba1e1be
Add changes Enumerable#each_cons and each_slice in NEWS [ci skip]
2021-10-28 18:21:27 +09:00
Kazuhiro NISHIYAMA
9fc2f5375d
Sort URLs by issue numbers [ci skip]
2021-10-27 16:55:29 +09:00
Kazuhiro NISHIYAMA
219f54152a
Update stdlib versions
2021-10-27 16:22:04 +09:00
Jeremy Evans
717ab0bb2e
Add Class#descendants
...
Doesn't include receiver or singleton classes.
Implements [Feature #14394 ]
Co-authored-by: fatkodima <fatkodima123@gmail.com>
Co-authored-by: Benoit Daloze <eregontp@gmail.com>
2021-10-26 12:35:21 -07:00
Kazuhiro NISHIYAMA
aa09c8dae0
Fix links [ci skip]
2021-10-25 08:38:44 +09:00
Sutou Kouhei
53dcb3541b
NEWS: StringScanner 3.0.1 is released
2021-10-24 05:57:48 +09:00
Sutou Kouhei
76e277a081
NEWS: CSV 3.2.1 is released
2021-10-24 05:57:33 +09:00
Sutou Kouhei
7246c5b811
NEWS: Fiddle 1.1.0 is released
2021-10-23 06:03:57 +09:00
Koichi Sasada
199ba9c377
update NEWS about last commits.
2021-10-23 01:38:05 +09:00
Maxime Chevalier-Boisvert
32a8cb965c
Add link to YJIT blog post to NEWS.md
...
Requested by @nurse
2021-10-21 12:49:58 -04:00
Hiroshi SHIBATA
d74f1e1623
Added version of readline-ext
2021-10-21 21:19:16 +09:00
Hiroshi SHIBATA
03fd60937d
Update the merged versions of default gems.
2021-10-21 21:07:23 +09:00
Shugo Maeda
6606597109
Deprecate include/prepend in refinements and add Refinement#import_methods instead
...
Refinement#import_methods imports methods from modules.
Unlike Module#include, it copies methods and adds them into the refinement,
so the refinement is activated in the imported methods.
[Bug #17429 ] [ruby-core:101639]
2021-10-21 16:31:54 +09:00
Maxime Chevalier-Boisvert
8684946b21
Add bit about YJIT to NEWS.md
2021-10-20 19:15:45 -04:00
Hiroshi SHIBATA
5322745b29
Added entries about default gems and bundled gems
2021-10-20 20:13:09 +09:00
Yusuke Endoh
7c01cf4908
NEWS.md: Add error_highlight section
2021-10-20 11:05:05 +09:00
Koichi Sasada
07b87f7979
add NEWS entries about debug.gem
2021-10-20 10:18:54 +09:00
卜部昌平
e2976fd1f6
add NEWS entry for https://github.com/ruby/ruby/pull/4815
2021-09-22 17:59:28 +09:00
Nobuyoshi Nakada
aa3d8388c0
NEWS for [Feature #18172 ] [ci skip]
2021-09-16 19:55:31 +09:00
Shugo Maeda
5f1385bec0
Add a newline [ci skip]
2021-09-16 17:31:39 +09:00
Shugo Maeda
81fd91ab1b
Add details of Hash value ommission [ci skip]
2021-09-16 17:29:48 +09:00
Shugo Maeda
297f9b8d4c
Add documentation and tests for keyword argument value omission
...
[Feature #14579 ]
2021-09-11 20:23:36 +09:00
Nobuyoshi Nakada
d05ef38865
[DOC] NEWS for [Feature #14579 ] [ci skip]
2021-09-11 19:20:16 +09:00
Nobuyoshi Nakada
8e832ea031
[DOC] Fixed indents in NEWS.md [ci skip]
2021-09-11 19:19:39 +09:00
Kazuhiro NISHIYAMA
d7da5ca5e1
Fix links [ci skip]
2021-08-22 22:27:29 +09:00
Martin Dürst
21fd83a823
Mention update to Unicode Version 13.0.0 and Emoji Version 13.1
...
Mention the update to Unicode Version 13.0.0 and Unicode Emoji
Version 13.1 in NEWS.md. This completes issue #17750 . [ci skip]
2021-08-17 17:08:59 +09:00
Takashi Kokubun
ee362302c0
Revert "Pause an MJIT worker when JIT is cancelled"
...
This reverts commit b64f81c817
.
It seems to cause a problem in --jit / --jit-wait CIs. Reverting for now.
2021-08-13 09:13:09 -07:00
Takashi Kokubun
ac4d53bd46
Don't cancel JIT-ed code on TracePoint :class
...
events get enabled
2021-08-12 23:26:44 -07:00
Takashi Kokubun
b64f81c817
Pause an MJIT worker when JIT is cancelled
2021-08-12 23:15:34 -07:00
Takashi Kokubun
b3f8c491ef
Print JIT cancel when all JIT-ed code is cancelled
2021-08-12 23:11:38 -07:00
Kazuhiro NISHIYAMA
a97837de1a
Fix a link [ci skip]
2021-08-05 17:25:17 +09:00
Nobuyoshi Nakada
8cc18703cf
[NEWS] added [Feature #17798 ] [ci skip]
2021-07-23 12:43:51 +09:00
Nobuyoshi Nakada
5385731374
[NEWS] adjusted formats [ci skip]
2021-07-23 12:41:01 +09:00
Kazuki Tsujimoto
eed5e8f796
One-line pattern matching is no longer experimental
...
https://github.com/ruby/dev-meeting-log/blob/master/DevelopersMeeting20210715Japan.md#feature-17724-make-the-pin-operator-support-instanceclassglobal-variables-jeremyevans0
2021-07-17 11:13:52 +09:00
Nobuyoshi Nakada
301d194ee3
Add Integer.try_convert [Feature #15211 ]
2021-07-16 17:49:53 +09:00
Nobuyoshi Nakada
25689024cf
Added code fence to the example in [Feature #17724 ] [ci skip]
2021-07-16 11:26:30 +09:00
Jeremy Evans
fa87f72e1e
Add pattern matching pin support for instance/class/global variables
...
Pin matching for local variables and constants is already supported,
and it is fairly simple to add support for these variable types.
Note that pin matching for method calls is still not supported
without wrapping in parentheses (pin expressions). I think that's
for the best as method calls are far more complex (arguments/blocks).
Implements [Feature #17724 ]
2021-07-15 09:56:02 -07:00
NARUSE, Yui
835c63cd88
Add tests and NEWS [Feature #18008 ]
2021-07-15 18:21:49 +09:00
Patrik Ragnarsson
8f62f12c35
Fix typo in flag in NEWS.md
2021-07-15 16:16:51 +09:00
Samuel Williams
42130a64f0
Replace copy coroutine with pthread implementation.
2021-07-01 11:23:03 +12:00
Kazuhiro NISHIYAMA
87e52ee38b
Fix a link [ci skip]
2021-06-23 09:23:54 +09:00
Samuel Williams
eef3c08edc
Fix NEWS formatting.
2021-06-22 23:18:40 +12:00
Samuel Williams
e01fa2f6ff
Add fiber scheduler news.
2021-06-22 23:16:29 +12:00
Takashi Kokubun
31b9ce365d
Note about 07c05b6fe9
2021-06-02 22:26:27 -07:00
Takashi Kokubun
028f1887c2
Change the default --jit-max-cache to 10000
...
This is useful for large applications like Rails.
https://k0kubun.medium.com/ruby-3-jit-can-make-rails-faster-756310f235a
2021-05-31 22:01:04 -07:00
NARUSE, Yui
9ddc767434
Add NEWS about 46655156dc
...
* Add Thread#native_thread_id [Feature #17853 ]
2021-05-26 15:18:16 +09:00
Yusuke Endoh
167cff6a5d
NEWS.md: mention lib/objspace/trace.rb [Feature #17762 ]
2021-05-17 08:50:23 +09:00
Jeremy Evans
50c54d40a8
Evaluate multiple assignment left hand side before right hand side
...
In regular assignment, Ruby evaluates the left hand side before
the right hand side. For example:
```ruby
foo[0] = bar
```
Calls `foo`, then `bar`, then `[]=` on the result of `foo`.
Previously, multiple assignment didn't work this way. If you did:
```ruby
abc.def, foo[0] = bar, baz
```
Ruby would previously call `bar`, then `baz`, then `abc`, then
`def=` on the result of `abc`, then `foo`, then `[]=` on the
result of `foo`.
This change makes multiple assignment similar to single assignment,
changing the evaluation order of the above multiple assignment code
to calling `abc`, then `foo`, then `bar`, then `baz`, then `def=` on
the result of `abc`, then `[]=` on the result of `foo`.
Implementing this is challenging with the stack-based virtual machine.
We need to keep track of all of the left hand side attribute setter
receivers and setter arguments, and then keep track of the stack level
while handling the assignment processing, so we can issue the
appropriate topn instructions to get the receiver. Here's an example
of how the multiple assignment is executed, showing the stack and
instructions:
```
self # putself
abc # send
abc, self # putself
abc, foo # send
abc, foo, 0 # putobject 0
abc, foo, 0, [bar, baz] # evaluate RHS
abc, foo, 0, [bar, baz], baz, bar # expandarray
abc, foo, 0, [bar, baz], baz, bar, abc # topn 5
abc, foo, 0, [bar, baz], baz, abc, bar # swap
abc, foo, 0, [bar, baz], baz, def= # send
abc, foo, 0, [bar, baz], baz # pop
abc, foo, 0, [bar, baz], baz, foo # topn 3
abc, foo, 0, [bar, baz], baz, foo, 0 # topn 3
abc, foo, 0, [bar, baz], baz, foo, 0, baz # topn 2
abc, foo, 0, [bar, baz], baz, []= # send
abc, foo, 0, [bar, baz], baz # pop
abc, foo, 0, [bar, baz] # pop
[bar, baz], foo, 0, [bar, baz] # setn 3
[bar, baz], foo, 0 # pop
[bar, baz], foo # pop
[bar, baz] # pop
```
As multiple assignment must deal with splats, post args, and any level
of nesting, it gets quite a bit more complex than this in non-trivial
cases. To handle this, struct masgn_state is added to keep
track of the overall state of the mass assignment, which stores a linked
list of struct masgn_attrasgn, one for each assigned attribute.
This adds a new optimization that replaces a topn 1/pop instruction
combination with a single swap instruction for multiple assignment
to non-aref attributes.
This new approach isn't compatible with one of the optimizations
previously used, in the case where the multiple assignment return value
was not needed, there was no lhs splat, and one of the left hand side
used an attribute setter. This removes that optimization. Removing
the optimization allowed for removing the POP_ELEMENT and adjust_stack
functions.
This adds a benchmark to measure how much slower multiple
assignment is with the correct evaluation order.
This benchmark shows:
* 4-9% decrease for attribute sets
* 14-23% decrease for array member sets
* Basically same speed for local variable sets
Importantly, it shows no significant difference between the popped
(where return value of the multiple assignment is not needed) and
!popped (where return value of the multiple assignment is needed)
cases for attribute and array member sets. This indicates the
previous optimization, which was dropped in the evaluation
order fix and only affected the popped case, is not important to
performance.
Fixes [Bug #4443 ]
2021-04-21 10:49:19 -07:00
Nobuyoshi Nakada
b6bb4623eb
NEWS for [Feature #15198 ] [ci skip]
2021-04-16 16:12:10 +09:00
Nobuyoshi Nakada
9143d21b1b
Enumerable#tally with the resulting hash [Feature #17744 ]
2021-03-26 16:29:21 +09:00
Kazuki Tsujimoto
21863470d9
Pattern matching pin operator against expression [Feature #17411 ]
...
This commit is based on the patch by @nobu.
2021-03-21 15:14:31 +09:00
Kazuhiro NISHIYAMA
31b19ba84e
Fix a link [ci skip]
2021-03-16 14:07:27 +09:00
Nobuyoshi Nakada
18a3bf5a0e
NEWS of [Feature #12194 ] [ci skip]
2021-03-15 22:36:05 +09:00