Project

General

Profile

Activity

From 08/05/2022 to 08/11/2022

08/11/2022

08:09 PM Revision 5e3e4bc9 (git): [ruby/rdoc] Mods to section Text Markup (https://github.com/ruby/rdoc/pull/916)
https://github.com/ruby/rdoc/commit/5506d4d67e burdettelamar (Burdette Lamar)
04:43 PM Revision 8a3f401b (git): [ruby/rdoc] Improvements to Text Markup examples (https://github.com/ruby/rdoc/pull/915)
https://github.com/ruby/rdoc/commit/d00ddfe57c burdettelamar (Burdette Lamar)
03:48 PM Bug #16842 (Closed): `inspect` prints the UTF-8 character U+0085 (NEXT LINE) verbatim even though it is not printable
Applied in changeset commit:git|49517b3bb436456407e0ee099c7442f3ab5ac53d.
----------
Fix inspect for unicode codepoi...
jeremyevans (Jeremy Evans)
03:47 PM Revision a677aa0f (git): * 2022-08-12 [ci skip]
git[bot]
03:47 PM Revision 49517b3b (git): Fix inspect for unicode codepoint 0x85
This is an inelegant hack, by manually checking for this specific
code point in rb_str_inspect. Some testing indicat...
jeremyevans (Jeremy Evans)
01:51 PM Revision c361cf44 (git): [ruby/rdoc] [DOC] Make example formats explicit and consistent (https://github.com/ruby/rdoc/pull/913)
https://github.com/ruby/rdoc/commit/7e6ef6c855 burdettelamar (Burdette Lamar)
01:08 PM Bug #18962 (Closed): Ripper.lex does not handle \0, ^D and ^Z correctly.
Ripper.lex does not end with \0, ^D and ^Z, and it contains weird tokens including "\u0000"
~~~ruby
# for syntax ok...
tompng (tomoya ishida)
10:17 AM Bug #18247 (Closed): weird results for `Array#slice` or `Array#[]` with argument of type `Enumerator::ArithmeticSequence`
Applied in changeset commit:git|cfb9624460a295e4e1723301486d89058c228e07.
----------
Fix Array#[] with ArithmeticSeq...
jeremyevans (Jeremy Evans)
10:16 AM Revision cfb96244 (git): Fix Array#[] with ArithmeticSequence with negative steps (#5739)
* Fix Array#[] with ArithmeticSequence with negative steps
Previously, Array#[] when called with an ArithmeticSequen...
jeremyevans (Jeremy Evans)
08:45 AM Revision 32d1ce96 (git): Fix race conditions when cleaning extensions
Clean built directories by `make distclean`, and then clean leftover
makefiles for skipped extensions.
nobu (Nobuyoshi Nakada)
08:45 AM Revision 0c9803b0 (git): The "gems" build directory was rename as ".bundle"
nobu (Nobuyoshi Nakada)
08:43 AM Revision 26054c74 (git): Fix paths of exts.mk to clean
exts.mk files are one level under the top of extension directories. nobu (Nobuyoshi Nakada)
03:06 AM Feature #18809: Add Numeric#ceildiv
Are there any blocking issues?
If exist, I will work to resolve them.
kyanagi (Kouhei Yanagita)
02:34 AM Revision 74d95744 (git): Add `--enable-devel` configure option
Since `RUBY_DEVEL` in cppflags has no effect in the configure script
and makefiles.
nobu (Nobuyoshi Nakada)

08/10/2022

09:37 PM Feature #18949: Deprecate and remove replicate and dummy encodings
Thank you for the response.
It's true synchronization is required for a number of read operations, but I think the m...
Dan0042 (Daniel DeLorme)
04:40 PM Feature #18949: Deprecate and remove replicate and dummy encodings
Dan0042 (Daniel DeLorme) wrote in #note-26:
> Can you clarify this please? With a max limit you need synchronization ...
Eregon (Benoit Daloze)
04:12 PM Feature #18949: Deprecate and remove replicate and dummy encodings
Eregon (Benoit Daloze) wrote in #note-25:
> But a max limit is not nearly as helpful as a fixed number of encodings ...
Dan0042 (Daniel DeLorme)
10:20 AM Feature #18949: Deprecate and remove replicate and dummy encodings
duerst (Martin Dürst) wrote in #note-24:
> @Eregon: If you want, you can add this issue to the developers' meeting n...
Eregon (Benoit Daloze)
04:23 AM Feature #18949: Deprecate and remove replicate and dummy encodings
@Eregon: If you want, you can add this issue to the developers' meeting next week. I will be in Switzerland, but I sh... duerst (Martin Dürst)
09:18 PM Revision 9fc401b6 (git): [ruby/rdoc] Treat text markup (italic, bold, monofont) as blocks (https://github.com/ruby/rdoc/pull/911)
https://github.com/ruby/rdoc/commit/dc88f1b425 burdettelamar (Burdette Lamar)
08:32 PM Bug #18435 (Closed): Calling `protected` on ancestor method changes result of `instance_methods(false)`
matz (Yukihiro Matsumoto) wrote in #note-11:
> I thought it was OK to accept this behavior, but it caused issues lik...
jeremyevans0 (Jeremy Evans)
08:02 PM Revision ff42e235 (git): Revert "Add {Method,UnboundMethod}#{public?,private?,protected?}"
This reverts commit 27278150685e738f84105d09843d3ba371146c7a and
58dc8bf8f15df9a33d191074e8a5d4946a3d59d5.
Visibilit...
jeremyevans (Jeremy Evans)
08:02 PM Bug #18826 (Closed): Symbol#to_proc inconsistent, sometimes calls private methods
Applied in changeset commit:git|bfa6a8ddc84fffe0aef5a0f91b417167e124dbbf.
----------
Only allow procs created by Sym...
jeremyevans (Jeremy Evans)
08:02 PM Revision bfa6a8dd (git): Only allow procs created by Symbol#to_proc to call public methods
Fixes [Bug #18826]
Co-authored-by: Nobuyoshi Nakada <[email protected]>
jeremyevans (Jeremy Evans)
06:41 PM Revision d115a060 (git): * 2022-08-11 [ci skip]
git[bot]
06:40 PM Revision 26bed719 (git): [DOC] Adding a few standards-based formats (#6227)
burdettelamar (Burdette Lamar)
06:24 PM Feature #18885: End of boot advisory API for RubyVM
> Is there any point to precompute inline caches if there is no fork?
Yes, the first "request" (or whatever your u...
byroot (Jean Boussier)
06:21 PM Feature #18885: End of boot advisory API for RubyVM
I think the terminology used here might cause some confusion in the discussion.
"End of boot" makes it sound like ...
Dan0042 (Daniel DeLorme)
05:48 PM Feature #17330: Object#non
byroot (Jean Boussier) wrote in #note-13:
> I also think `not` would be a better name for it
Since there is already ...
Dan0042 (Daniel DeLorme)
04:53 PM Feature #18959: Handle gracefully nil kwargs eg. **nil
Monkeypatching nil.to_hash seems a veeeery bad idea. For example
```ruby
h = {"y"=>"!"}
"xyz".sub(/y/, h) #=> "x...
Dan0042 (Daniel DeLorme)
04:46 PM Feature #18961 (Open): Introduce support for pattern matching all elements of an array
When pattern matching arrays, often times we want to assert that a given array's elements all match a pattern.
For...
zeke (Zeke Gabrielse)
02:01 PM Revision a661aac9 (git): Bundle unreleased RBS (#6228)
soutaro (Soutaro Matsumoto)
12:52 PM Revision 2ebb428f (git): Update default gems list at 1b32a4c7bb2e1ceb456b191ca88289 [ci skip]
git[bot]
12:51 PM Revision 1b32a4c7 (git): [ruby/error_highlight] Bump version
https://github.com/ruby/error_highlight/commit/6edf0a0a5d mame (Yusuke Endoh)
12:19 PM Revision 3a580090 (git): [ruby/error_highlight] Make backtrace_location keyword work
We had to keep backtrace_location before opts is overwritten.
https://github.com/ruby/error_highlight/commit/2735e4681a
mame (Yusuke Endoh)
10:30 AM Misc #18954: DevMeeting-2022-08-18
* [Feature #18949] Deprecate and remove replicate and dummy encodings (eregon)
* I will try to attend the dev meet...
Eregon (Benoit Daloze)
09:53 AM Bug #18751: Regression on master for Method#== when comparing public with private method
I still think we should stop hiding ZSUPER method entries, it causes way more confusion than it helps and this bug, a... Eregon (Benoit Daloze)
09:37 AM Revision 99e7fa5b (git): [ruby/error_highlight] Make ErrorHighlight.spot accept Exception (https://github.com/ruby/error_highlight/pull/25)
... and move things from core_ext.rb to base.rb.
This will confine CRuby-dependent things to ErrorHighlight.spot.
ht...
mame (Yusuke Endoh)
07:05 AM Revision 1139bc8c (git): Update bundled gems list at 2022-08-10
git[bot]
05:19 AM Revision b7e492fa (git): Regen YJIT bindings
jeremyevans (Jeremy Evans)
05:19 AM Revision 9363b042 (git): Optimize duparray/expandarray -> putobject/expandarray
There's no point in making a copy of an array just to expand it. Saves
an unnecessary array allocation in the multipl...
jeremyevans (Jeremy Evans)
05:19 AM Revision fc4b4f2e (git): Expand newarray/expandarray optimization for unequal operands
This optimizes unbalanced multiple assignment cases such as:
```ruby
a.b, c.d = e, f, g
a.b, c.d, e.f = g, h
```
Pr...
jeremyevans (Jeremy Evans)
05:19 AM Revision 7922fd65 (git): Update multiple assignment benchmarks to include non-literal array cases
This allows them to show the effect of the previous newarray/expandarray
to swap/opt_reverse optimization. This show...
jeremyevans (Jeremy Evans)
05:19 AM Revision 5089b6ac (git): Add peephole optimizer for newarray(X)/expandarray(X, 0) -> opt_reverse(X)
This renames the reverse instruction to opt_reverse, since now it
is only added by the optimizer. Then it uses as a ...
jeremyevans (Jeremy Evans)
05:19 AM Revision d9167491 (git): Revert "Remove reverse VM instruction"
This reverts commit 5512353d97250e85c13bf10b9b32e750478cf474. jeremyevans (Jeremy Evans)
05:19 AM Revision 9f8abd28 (git): Add peephole optimizer for newarray(2)/expandarray(2, 0) -> swap
An optimization for multiple assignment in the popped case to avoid
array allocation was lost in my fix to make multi...
jeremyevans (Jeremy Evans)
05:14 AM Feature #17468 (Closed): Deprecate RUBY_DEVEL
Applied in changeset commit:git|357352af5ee37bf31ba4468ee242ea5a10158461.
----------
Do not enable RUBY_DEVEL by RUB...
jeremyevans (Jeremy Evans)
05:13 AM Revision 3569d130 (git): * 2022-08-10 [ci skip]
git[bot]
05:13 AM Revision 357352af (git): Do not enable RUBY_DEVEL by RUBY_PATCHLEVEL
This makes RUBY_DEVEL not enabled automatically. It still can be
enabled manually.
Test manually using RUBY_DEVEL i...
jeremyevans (Jeremy Evans)

08/09/2022

07:26 PM Misc #18954: DevMeeting-2022-08-18
* [Bug #18955] Kernel#sprintf - %c ignores a non-ASCII character's encoding (jeremyevans0)
* Do we want the %c form...
jeremyevans0 (Jeremy Evans)
04:54 PM Bug #18957 (Rejected): StringIO#printf doesn't ignore initial String value
jeremyevans0 (Jeremy Evans)
04:52 PM Bug #18953 (Rejected): `Array#uniq` doesn't evaluate the given block when the size of the array is one
jeremyevans0 (Jeremy Evans)
04:52 PM Bug #18952 (Third Party's Issue): rb_aligned_free: munmap failed
jeremyevans0 (Jeremy Evans)
01:44 PM Bug #18960: Module#using raises RuntimeError when called at toplevel from wrapped script
Pull Request: https://github.com/ruby/ruby/pull/6226 shioyama (Chris Salzberg)
01:38 PM Bug #18960 (Closed): Module#using raises RuntimeError when called at toplevel from wrapped script
I noticed that this file works when loaded with `load`, but fails if you pass `true` (or a module) as the `wrap` argu... shioyama (Chris Salzberg)
12:08 PM Feature #18949: Deprecate and remove replicate and dummy encodings
duerst (Martin Dürst) wrote in #note-21:
> It references RFC 2781 (see https://www.rfc-editor.org/rfc/rfc2781). That...
Eregon (Benoit Daloze)
11:52 AM Feature #18949: Deprecate and remove replicate and dummy encodings
duerst (Martin Dürst) wrote in #note-20:
> I think it should be okay to in your implementation assume a maximum numb...
Eregon (Benoit Daloze)
06:49 AM Feature #18949: Deprecate and remove replicate and dummy encodings
Eregon (Benoit Daloze) wrote in #note-19:
> duerst (Martin Dürst) wrote in #note-15:
> > > Or just an instance va...
duerst (Martin Dürst)
06:29 AM Feature #18949: Deprecate and remove replicate and dummy encodings
Eregon (Benoit Daloze) wrote in #note-18:
> Replicate (`Encoding#replicate`) and extra dummy encodings (`rb_define...
duerst (Martin Dürst)
11:11 AM Revision ff07e5c2 (git): Skip poisoned regions
Poisoned regions cannot be accessed without unpoisoning outside gc.c.
Specifically, debug.gem is terminated by Addres...
nobu (Nobuyoshi Nakada)
03:05 AM Revision 44264b4f (git): Merge rubygems/bundler HEAD.
Pick from https://github.com/rubygems/rubygems/commit/dfbb5a38114640e0d8d616861607f3de73ee0199 hsbt (Hiroshi SHIBATA)
02:02 AM Revision f8936b33 (git): Remove documentation about dev
dev is Shopify's internal tool that doesn't work if you use Intel
Homebrew on M1 (or rbenv, btw). Now that we maintai...
k0kubun (Takashi Kokubun)

08/08/2022

07:35 PM Revision 35b9cd1d (git): [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.28 to 0.9.29.
- [Release notes](https://github.com/oxid...
dependabot[bot]
07:02 PM Feature #18959: Handle gracefully nil kwargs eg. **nil
Oh wow, I didn't know that 😲 `def nil.to_hash = {}` works perfectly well! Many thanks! 🙏 LevLukomskyi (Lev Lukomskyi)
04:52 PM Feature #18959: Handle gracefully nil kwargs eg. **nil
This was also rejected in #9291. However, since this is a feature request with a use case, I guess it can be consider... jeremyevans0 (Jeremy Evans)
04:14 PM Feature #18959 (Open): Handle gracefully nil kwargs eg. **nil
The issue:
```ruby
def qwe(a: 1) end
qwe(**nil) #=> fails with `no implicit conversion of nil into Hash (TypeE...
LevLukomskyi (Lev Lukomskyi)
06:09 PM Revision 79fdf971 (git): Tentatively exclude the test that triggers ruby/psych#572
nobu (Nobuyoshi Nakada)
04:50 PM Revision 78bc2aae (git): [rubygems/rubygems] Bump rb-sys
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.28 to 0.9.29.
- [Release notes](https://github.com/oxid...
dependabot[bot]
04:33 PM Revision 9c13a6ce (git): [ruby/psych] Raise specific error when an anchor isn't defined
https://github.com/ruby/psych/commit/98fbd5247a Alexander Momchilov
04:33 PM Revision 4b9cdf4e (git): [ruby/psych] Update to squiggly heredocs in the file
https://github.com/ruby/psych/commit/42b43de997 Alexander Momchilov
04:33 PM Revision 38ea6b30 (git): [ruby/psych] Add test for missing anchor
https://github.com/ruby/psych/commit/5f08137ae6 Alexander Momchilov
04:33 PM Revision ea1efdf3 (git): [ruby/psych] Add test for anchor reuse
The spec calls this a "reuse" of an anchor
https://yaml.org/spec/1.2.2/#71-alias-nodes
https://github.com/ruby/psych...
Alexander Momchilov
04:32 PM Revision 54219ae8 (git): [ruby/psych] Raise specific error when aliases are not enabled
https://github.com/ruby/psych/commit/0c11ddcf46 Alexander Momchilov
04:31 PM Revision 71f89c28 (git): [ruby/psych] Don't hardcode expected alias names
https://github.com/ruby/psych/commit/b9ab19094f Alexander Momchilov
04:31 PM Revision 0b7cfdca (git): [ruby/psych] Test that recursive refs dump as aliases
https://github.com/ruby/psych/commit/d9f7289190 Alexander Momchilov
04:31 PM Revision c851bced (git): [ruby/psych] Clarify tests about parsing aliases
https://github.com/ruby/psych/commit/0bc30cb4cb Alexander Momchilov
03:00 PM Revision 1602443c (git): * 2022-08-09 [ci skip]
git[bot]
02:59 PM Revision dcf0bb30 (git): Update default gems list at 5c9ce5475736756891238a3e3fe581 [ci skip]
git[bot]
02:59 PM Revision 5c9ce547 (git): [ruby/date] bump up to 3.2.3
https://github.com/ruby/date/commit/dff37b3dd1 nobu (Nobuyoshi Nakada)
02:50 PM Revision e07d450d (git): [ruby/date] Fix Time#to_datetime before calendar reform
Time is always in the proleptic Gregorian calendar.
Also DateTime#to_time should convert to the Gregorian calendar fi...
nobu (Nobuyoshi Nakada)
02:49 PM Bug #18946 (Closed): Time#to_date returns incorrect date
Applied in changeset commit:git|e0dfa5967e7063da8b65dc3c062ef4652e246e34.
----------
[Bug #18946] Use Gregorian date...
nobu (Nobuyoshi Nakada)
03:02 AM Bug #18946: Time#to_date returns incorrect date
I checked commit history and found out that to_date has been use GREGORIAN calendar since 2011-05-31 and to_datetime ... matz (Yukihiro Matsumoto)
02:48 PM Revision 43239b23 (git): [Bug #18946] New tests for fixed Time/DateTime conversions
nobu (Nobuyoshi Nakada)
02:48 PM Revision e0dfa596 (git): [Bug #18946] Use Gregorian dates to test
nobu (Nobuyoshi Nakada)
01:26 PM Revision a24c607e (git): [DOC] Fix formatting issue in Enumerable
peterzhu2118 (Peter Zhu)
01:15 PM Revision 1cb77f23 (git): Update IO::Buffer#get_value benchmark
- The method was renamed from `get` to `get_value`
- Comparing to `String#unpack` isn't quite equivalent, `unpack1` i...
byroot (Jean Boussier)
12:14 PM Revision 289d2197 (git): [ruby/date] [DOC] Fix about calendars difference
https://github.com/ruby/date/commit/0ae93e26aa nobu (Nobuyoshi Nakada)
10:38 AM Feature #18949: Deprecate and remove replicate and dummy encodings
duerst (Martin Dürst) wrote in #note-15:
> Yes, exactly. I already said so in https://bugs.ruby-lang.org/issues/1894...
Eregon (Benoit Daloze)
10:09 AM Feature #18949: Deprecate and remove replicate and dummy encodings
nobu (Nobuyoshi Nakada) wrote in #note-17:
> Eregon (Benoit Daloze) wrote:
> > Replicate and dummy encodings seem t...
Eregon (Benoit Daloze)
02:35 AM Feature #18949: Deprecate and remove replicate and dummy encodings
Eregon (Benoit Daloze) wrote:
> Replicate and dummy encodings seem to clearly fall into this category, almost nobody...
nobu (Nobuyoshi Nakada)
02:28 AM Feature #18949: Deprecate and remove replicate and dummy encodings
Eregon (Benoit Daloze) wrote in #note-14:
> Could it be replaced by the BINARY encoding in programs using it?
Yes...
nobu (Nobuyoshi Nakada)
07:51 AM Feature #17330: Object#non
I also think `not` would be a better name for it:
```ruby
class Object
def not
self unless yield self
...
byroot (Jean Boussier)
07:36 AM Feature #18822: Ruby lack a proper method to percent-encode strings for URIs (RFC 3986)
+1, for context a similar issue we recently hit:
https://github.com/sporkmonger/addressable/issues/472
Turns out t...
sam.saffron (Sam Saffron)
07:20 AM Misc #18954: DevMeeting-2022-08-18
- [Feature #18944] Add `SizedQueue#push(timeout:)` (byroot)
- Matz said this should be required separately.
- W...
byroot (Jean Boussier)
12:42 AM Revision 1607c6d2 (git): [DOC] New doc about Julian/Gregorian (#70)
burdettelamar (Burdette Lamar)

08/07/2022

04:13 PM Revision 40f2078d (git): * 2022-08-08 [ci skip]
git[bot]
04:12 PM Revision 5beb75ce (git): [ruby/rdoc] Allow multiple footnotes without in-between blank lines
https://github.com/ruby/ruby/commit/e4e054e3ce40 used four footnotes
without blank lines. And the ChangeLog generate...
nobu (Nobuyoshi Nakada)
12:07 PM Revision 23a84d53 (git): [ruby/rdoc] [DOC] Removes remaining old Markup Reference (https://github.com/ruby/rdoc/pull/910)
https://github.com/ruby/rdoc/commit/4e44c9c6cf burdettelamar (Burdette Lamar)
09:25 AM Revision e5e6b87e (git): Create temporary file exclusively and clean
nobu (Nobuyoshi Nakada)
08:57 AM Revision 03f86565 (git): Silent backtrace from cve_2019_8325_spec.rb
Since the change at f310ac1cb2964f635f582862763b2155aacf2c12 to show
the backtraces by default, this test started to ...
nobu (Nobuyoshi Nakada)
08:01 AM Revision 0bb5525e (git): Fix files for gemspec files direct-under lib
Collected `files` lacked `lib` prefix. nobu (Nobuyoshi Nakada)
05:46 AM Revision f2423be4 (git): Duplicate libruby self path
When LOAD_RELATIVE, as `sopath` is truncated to the prefix path, make
the duplicate before it. Also make `rb_libruby...
nobu (Nobuyoshi Nakada)
04:09 AM Revision 591ee9d0 (git): [DOC] Add return values of rb_enc_mbcput
nobu (Nobuyoshi Nakada)
03:13 AM Feature #18949: Deprecate and remove replicate and dummy encodings
Eregon (Benoit Daloze) wrote in #note-14:
> znz (Kazuhiro NISHIYAMA) wrote in #note-10:
> > I think ISO-2022-JP is ...
duerst (Martin Dürst)

08/06/2022

10:47 PM Bug #18957: StringIO#printf doesn't ignore initial String value
Good point. I overlooked the difference between `r+` and `w+`. Thank you for clarification. andrykonchin (Andrew Konchin)
02:53 PM Bug #18957: StringIO#printf doesn't ignore initial String value
`StringIO` behaves like `File.open` with an `r+` mode.
```ruby
File.write("printf.txt", "1234567890")
f = File.o...
mame (Yusuke Endoh)
11:49 AM Bug #18957 (Rejected): StringIO#printf doesn't ignore initial String value
I've noticed that `StringIO#printf` diverges from `IO#printf` in the following way:
IO:
```ruby
File.write("pr...
andrykonchin (Andrew Konchin)
03:03 PM Revision 6d742c94 (git): * 2022-08-07 [ci skip]
git[bot]
03:02 PM Revision e545cfad (git): Stop using casted `rb_syswait` as `proc_syswait`
The argument of `rb_syswait` is now `rb_pid_t` which may differ from
`int`. Also it is an undefined behavior to take...
nobu (Nobuyoshi Nakada)
02:56 PM Revision f245b425 (git): Fix the sizes comparison
`proc_syswait` will be called with a `VALUE` argument. nobu (Nobuyoshi Nakada)
02:50 PM Bug #18767: IO.foreach hangs up when passes limit=0
I reopened this issue because there is reasonable doubt about the current situation, but I would like @matz 's judgme... mame (Yusuke Endoh)
11:58 AM Bug #18767: IO.foreach hangs up when passes limit=0
Hi, just a kind reminder.
Looks like the issue is accepted but the PR was closed and the fix isn't merged.
cc @jer...
andrykonchin (Andrew Konchin)
01:37 PM Misc #18954: DevMeeting-2022-08-18
* [Feature #18368] `Range#step` semantics for non-`Numeric` ranges (zverok)
* Proposal to reimplement `(a..b).step...
zverok (Victor Shepelev)
12:56 PM Feature #18949: Deprecate and remove replicate and dummy encodings
znz (Kazuhiro NISHIYAMA) wrote in #note-10:
> I think ISO-2022-JP is used for mail archives, and IRCnet even now.
...
Eregon (Benoit Daloze)
12:42 PM Feature #18949: Deprecate and remove replicate and dummy encodings
Usages of Encoding::UTF_32:
```
$ gem-codesearch 'Encoding::UTF_32\b'
/srv/gems/chupa-text-decomposer-html-1.0.3/test...
Eregon (Benoit Daloze)
12:28 PM Feature #18949 (Open): Deprecate and remove replicate and dummy encodings
This is a disappointing answer, it sounds like there was not enough time at the dev meeting to consider this issue pr... Eregon (Benoit Daloze)
11:54 AM Bug #18958 (Closed): Kernel#sprintf doesn't apply format sequence in some encodings
I've noticed that `sprintf` does nothing (at least for `%f`) when format string is in the following encodings:
- U...
andrykonchin (Andrew Konchin)
11:41 AM Bug #18956 (Closed): Kernel#sprintf - %c handles negative Integer argument in a confusing way
Integer argument for `%c `means a character codepoint.
I've noticed two outcomes when argument is negative:
- exc...
andrykonchin (Andrew Konchin)
11:25 AM Bug #18955 (Closed): Kernel#sprintf - %c ignores a non-ASCII character's encoding
I haven't found any similar existing issue so decided to create a new one.
I noticed that `sprintf("%c", string)` ...
andrykonchin (Andrew Konchin)
06:41 AM Revision 466a760e (git): [rubygems/rubygems] Fix yanked gems being unintentionally update when other gems are unlocked
This is a regression from a change intended to raise errors when user
puts a gem under an incorrect source in the Gem...
deivid (David Rodríguez)
06:41 AM Revision 8dd63b89 (git): [rubygems/rubygems] Move comment where the actual replacement happens
https://github.com/rubygems/rubygems/commit/d60acdf80d deivid (David Rodríguez)
06:41 AM Revision 4ea521f6 (git): [rubygems/rubygems] Remove unclear comment
https://github.com/rubygems/rubygems/commit/3a843c1ac7 deivid (David Rodríguez)
06:41 AM Revision af40af45 (git): [rubygems/rubygems] Extract `SourceList#get_with_fallback`
https://github.com/rubygems/rubygems/commit/9dbc4757a8 deivid (David Rodríguez)
01:52 AM Revision 27173e37 (git): Allow `RUBY_DEBUG_LOG` format to be empty
GCC warns of empty format strings, perhaps because they have no
effects in printf() and there are better ways than sp...
nobu (Nobuyoshi Nakada)
01:13 AM Revision 58c8b6e8 (git): Adjust styles [ci skip]
nobu (Nobuyoshi Nakada)

08/05/2022

08:02 PM Bug #18909: ARGF.readlines reads more than current file
mame (Yusuke Endoh) wrote in #note-14:
> Is this what you want?
>
> ```
> $ echo primo > a
> $ echo secundo >> ...
JohanJosefsson (Johan Josefsson)
06:34 PM Revision c433d36b (git): Test that File.read defaults to text mode
Co-authored-by: Nobuyoshi Nakada <[email protected]> alanwu (Alan Wu)
06:34 PM Revision ca8daf70 (git): [DOC] Mention Windows text mode EOF marker interpretation
I don't think this is super well known so it's worth mentioning as it
can be a pitfall.
See: https://docs.microsoft....
alanwu (Alan Wu)
06:34 PM Revision f1057393 (git): [DOC] Clarify that `IO.read` uses text mode
See: https://bugs.ruby-lang.org/issues/18882#note-13
[Bug #18882]
alanwu (Alan Wu)
06:05 PM Revision ce6dc9f6 (git): * 2022-08-06 [ci skip]
git[bot]
06:05 PM Revision 412da2c2 (git): Sync new doc in Date (#6215)
burdettelamar (Burdette Lamar)
05:57 PM Feature #18950: Hash#slice fails to copy default block
This could lead to surprising behavior, e.g.:
```ruby
cache = Hash.new { |h,k| cache[k] = {} }
cache[:a]
sliced =...
Eregon (Benoit Daloze)
12:58 PM Bug #18952: rb_aligned_free: munmap failed
We were able to get our application with ruby:3.1.2-slim-bullseye and MALLOC_ARENA_MAX=2 into production last night, ... mdomsch-sz (Matt Domsch)
11:47 AM Bug #18911 (Closed): Process._fork hook point is not called when Process.daemon is used
Applied in changeset commit:git|74817f3d37bb7153385f682f75e37713c4c8009d.
----------
[DOC] Process._fork does not ge...
ivoanjo (Ivo Anjo)
11:46 AM Revision 2f0d9e74 (git): Get rid of `-C` option for very old `git`
nobu (Nobuyoshi Nakada)
09:40 AM Revision 74817f3d (git): [DOC] Process._fork does not get called by Process.daemon
As discussed in [Bug #18911], I'm adding some documentation to
`Process._fork` to clarify that it is not expected to ...
ivoanjo (Ivo Anjo)
07:37 AM Revision f310ac1c (git): [rubygems/rubygems] Include backtrace with crashes by default
https://github.com/rubygems/rubygems/commit/3cc3bfd371 deivid (David Rodríguez)
07:36 AM Revision 5a9db237 (git): [rubygems/rubygems] Automatically remove "ruby" from lockfile if incomplete
https://github.com/rubygems/rubygems/commit/69d0b4e10b deivid (David Rodríguez)
03:40 AM Bug #18912: Build failure with Xcode 14 and macOS 13 (Ventura) Beta
After merging https://github.com/ruby/ruby/pull/6193. We could build Ruby.
But We have still failing tests:
```...
hsbt (Hiroshi SHIBATA)
12:55 AM Revision 73f0573c (git): Ignore revision to test unless HAVE_GIT
nobu (Nobuyoshi Nakada)
12:53 AM Revision 8fae1209 (git): Clone upstream gem repositories for test
nobu (Nobuyoshi Nakada)
12:52 AM Revision 57911712 (git): Load gemspec file at that directory
Gemspec files generated by old bundler run `git` without changing the
working directory.
Or some gemspec files expect...
nobu (Nobuyoshi Nakada)
12:52 AM Revision 661536ab (git): Copy from cloned gem sources in parallel
nobu (Nobuyoshi Nakada)
12:44 AM Revision 44a0a665 (git): Move to tool/lib/bundled_gem.rb
nobu (Nobuyoshi Nakada)
12:44 AM Revision 41516b35 (git): Extract bundled gems by BASERUBY
nobu (Nobuyoshi Nakada)
12:44 AM Revision 6a8f1a9e (git): Copy from bundled gem source for test
nobu (Nobuyoshi Nakada)
12:39 AM Revision 87d8d257 (git): Use configured GIT
nobu (Nobuyoshi Nakada)
 

Also available in: Atom