Project

General

Profile

Activity

From 06/18/2019 to 06/24/2019

06/24/2019

11:25 PM Bug #12615 (Assigned): Pathname#rename does not work across filesystem boundaries.
I do not think this is a bug. `Pathname#rename` operates exactly like `File.rename`, which like `rename(2)`, require ... jeremyevans0 (Jeremy Evans)
11:01 PM Bug #12712 (Closed): IRB won't work after input `%q_abc\_def\_ghi_`
This appears to have been fixed between 2.6 and 2.7.0-preview1:
```
$ irb26
irb(main):001:0> %q_abc\_def\_ghi_
...
jeremyevans0 (Jeremy Evans)
10:57 PM Bug #12724 (Closed): Net::HTTP#post_form and #get_response do not use ENV proxy as default
Fixed by commit:67723c1e4673253b2f4a2c7204ccab9d0daaaeb9. jeremyevans0 (Jeremy Evans)
10:47 PM Bug #12932 (Third Party's Issue): [BUG] Segmentation fault at 0x00000000000078
This crash appears to occur in the `di_binding` C function in the debug_inspector C extension:
https://github.com/...
jeremyevans0 (Jeremy Evans)
10:36 PM Bug #13028 (Closed): Binding#irb upon exiting makes _ retain the value of the last expression and never change it
This appears to have been fixed between 2.5 and 2.6:
```
$ irb25
irb(main):001:0> binding.irb
irb(main):001:0> ...
jeremyevans0 (Jeremy Evans)
10:16 PM Bug #13071 (Closed): bug in the Ruby interpreter or extension libraries
jeremyevans0 (Jeremy Evans)
10:13 PM Bug #13106 (Rejected): Timeout does not wait for more than 120 seconds
jeremyevans0 (Jeremy Evans)
10:11 PM Bug #13142 (Assigned): Forwardable regression: cannot delegate to a constant since 2.4.0
From my testing, it looks like Ruby 2.2 was the first release to stop supporting nested constant lookup in `delegate`... jeremyevans0 (Jeremy Evans)
09:34 PM Bug #13275 (Closed): RDoc bug for "Document-method: []"
Fixed: https://github.com/ruby/rdoc/issues/452 jeremyevans0 (Jeremy Evans)
09:11 PM Bug #13337: Eval and Later Defined Local Variables
This is as specified here
https://github.com/ruby/spec/blob/db74bf3313b4d49650417ba91b4e2d67cc253dc5/core/kernel/e...
chrisseaton (Chris Seaton)
09:05 PM Bug #13337: Eval and Later Defined Local Variables
ko1 (Koichi Sasada) wrote:
> This is specification.
>
> (1) parse `example` method and define `foo`.
> (2) In `e...
jeremyevans0 (Jeremy Evans)
09:10 PM Bug #13323 (Third Party's Issue): bug - workers - postgresql listen/notify
This crash happens inside a 3rd party C extension (pg): https://github.com/ged/ruby-pg/blob/e399861022f7c8c5419bfc7ca... jeremyevans0 (Jeremy Evans)
08:30 PM Bug #13284 (Closed): IA64 ruby 2.4 miniruby segfault
Ruby has dropped support for IA64. jeremyevans0 (Jeremy Evans)
06:48 PM Bug #13661 (Rejected): DateTime.parse parses strings with a month abbreviation after a word boundary as a valid date
`{Date,DateTime}.parse` use a loose parsing. They assume that somewhere in the string, there is something representi... jeremyevans0 (Jeremy Evans)
06:40 PM Bug #13691 (Rejected): Word- and symbol array literals not valid where regular array is
jeremyevans0 (Jeremy Evans)
06:39 PM Bug #13695 (Closed): Issue with require and require_relative with symlinked directories
jeremyevans0 (Jeremy Evans)
06:36 PM Bug #13727 (Closed): Not able to set program_name for new Syslog::Logger
jeremyevans0 (Jeremy Evans)
06:27 PM Bug #13837 (Closed): Class attributes get overshadowed by local variables
valerauko (Balint Erdos) wrote:
> I still can't consider this correct behavior. Aren't the multi-line and the single...
jeremyevans0 (Jeremy Evans)
06:23 PM Bug #13851 (Closed): getting "can't modify string; temporarily locked" on non-frozen instances
jeremyevans0 (Jeremy Evans)
06:19 PM Bug #13907 (Assigned): Operation not permitted (Errno::EPERM) when adjusting .irbrc_history file permissions
I'm not sure if this is a bug or not. However, considering that irb ignores permission issues on `.irbrc` (not inten... jeremyevans0 (Jeremy Evans)
05:49 PM Feature #15955 (Closed): UnboundMethod#apply
I'd love a way to apply an UnboundMethod to a receiver and list of args without having to first `bind` it. I've ended... nelhage (Nelson Elhage)
05:44 PM Bug #13947 (Rejected): Incorreсt string parsing in Date.parse
jeremyevans0 (Jeremy Evans)
05:41 PM Bug #13961 (Closed): String#unpack の warning メッセージが SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
Fixed by commit:027cf467a4d093275b9c18fe694337765ff00213. jeremyevans0 (Jeremy Evans)
05:35 PM Bug #14026 (Feedback): RUBY ERROR ON DIVISION with FDIV
So it looks like there was a behavior change between Ruby 2.3 and 2.4, in that `Integer#fdiv` with a BigDecimal argum... jeremyevans0 (Jeremy Evans)
05:15 PM Bug #14099 (Feedback): heap-use-after-free (WRITE of size 8) in rb_obj_write (include/ruby/ruby.h:1484)
I tried this example with the current master branch using OpenBSD's use-after-free checking (with Clang 7), and it ra... jeremyevans0 (Jeremy Evans)
05:09 PM Bug #14069 (Assigned): Document order of elements in Set
I believe the fact that sets are currently insertion ordered due to the use of hash is an implementation detail, and ... jeremyevans0 (Jeremy Evans)
03:19 PM Revision e09afd15 (git): * 2019-06-25
git[bot]
03:18 PM Revision 9c19cd52 (git): Refactor calculation of corresponding token depth
aycabta (aycabta .)
11:27 AM Feature #15954: 簡単にマルチスレッドを一度に合流させる
matz (Yukihiro Matsumoto) wrote:
> ライブラリでスレッドを作ったりしている可能性もあるので「自分以外全部join」はマズいんじゃないかなあと思います。
> Since required libra...
sawa (Tsuyoshi Sawada)
11:17 AM Feature #15954 (Rejected): 簡単にマルチスレッドを一度に合流させる
ライブラリでスレッドを作ったりしている可能性もあるので「自分以外全部join」はマズいんじゃないかなあと思います。
Since required libraries may create threads inside, joinin...
matz (Yukihiro Matsumoto)
10:18 AM Feature #15954 (Rejected): 簡単にマルチスレッドを一度に合流させる
現在いるスレッド以外の全てのスレッドを現在のスレッドに合流させたいときは多いと思います。
その場合、一つの方法は、スレッドを生成するときにそれらを配列に蓄えておき、あとでその配列の各要素のスレッドに対して`join`をすることで...
sawa (Tsuyoshi Sawada)
10:26 AM Bug #15708: Implicit numbered argument decomposes an array
説明をありがとうこざいます。バクでないことは分かったので、閉じて下さい。 sawa (Tsuyoshi Sawada)
09:57 AM Misc #15930: DevelopersMeeting20190711Japan
* [Feature #15950]Allow negative length in `Array#[]`, `Array#[]=`, `Array#slice`, `Array#slice!`, `String#[]`, `Stri... sawa (Tsuyoshi Sawada)
07:09 AM Revision 518adcca (git): Try using arm32 implementation for fibers.
Samuel Williams
07:01 AM Revision 4275f090 (git): remove UNREACHABLE
naruse (Yui NARUSE)
04:52 AM Bug #15953 (Closed): Wrong heap size given to ruby_sized_xfree when freeing shared root arrays
Applied in changeset commit:git|97b4fe2ff6bffe8728952236f2027aa6242f8f40.
----------
array.c: Wrong heap size given ...
luke-gru (Luke Gruber)
04:34 AM Revision 97b4fe2f (git): array.c: Wrong heap size given to ruby_sized_xfree when freeing shared roots
Fixes [Bug #15953]
Closes: https://github.com/ruby/ruby/pull/2253
luke-gru (Luke Gruber)
03:59 AM Feature #15931 (Closed): encoding for CESU-8
Applied in changeset commit:git|7f64a0b4db7ee27a04579236950d88301c7bcabb.
----------
Add new encoding CESU-8 [Featur...
naruse (Yui NARUSE)
03:58 AM Revision 7f64a0b4 (git): Add new encoding CESU-8 [Feature #15931]
naruse (Yui NARUSE)
03:13 AM Revision 0e6396d2 (git): Try using arm64 implementation for fibers.
Samuel Williams
03:13 AM Revision abdbfeba (git): Use spaces for indentation in `configure.ac`.
Samuel Williams
02:27 AM Misc #15744: Improvement needed to documentation of 'Literals'
IMO, literals are purely syntactic constructs. That doesn't mean they always behave the same as objects created by ot... luke-gru (Luke Gruber)
02:25 AM Revision 5d4dfcd8 (git): * remove trailing spaces.
git[bot]
02:24 AM Revision a071bed7 (git): Print warning if not using native coroutine.
Samuel Williams
01:53 AM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
[email protected] wrote:
> Eric do you mind explaining where we got to with this and how
> to move forward?...
normalperson (Eric Wong)
01:24 AM Revision 0b36c90e (git): * 2019-06-24
git[bot]
01:12 AM Revision edbad4ad (git): httpstatus.rb 100% coverage
takewaka (勝和 竹若)
01:11 AM Revision c6229e7c (git): Adds WebAssembly MIME type
rob (rob gow)
01:11 AM Revision 11a60f9b (git): Remove extraneous spaces at the end of status line
Remove extraneous spaces after the status code that is
non-compliant with RFC, i.e `HTTP 200 OK `, to unnecessary
con...
nobu (Nobuyoshi Nakada)

06/23/2019

07:35 PM Bug #15953: Wrong heap size given to ruby_sized_xfree when freeing shared root arrays
PR here: https://github.com/ruby/ruby/pull/2253
I ran the `make test-all` suite with `#define ARRAY_DEBUG 1`, no f...
luke-gru (Luke Gruber)
07:25 PM Bug #15953 (Closed): Wrong heap size given to ruby_sized_xfree when freeing shared root arrays
In `ary_heap_free`, the macro `ARY_HEAP_CAPA` is used to pass on to `rb_sized_xfree`. However, `ARY_HEAP_CAPA` uses t... luke-gru (Luke Gruber)
02:12 PM Revision 97a7f463 (git): Max length of UNIX socket path is 104 bytes on macOS
nobu (Nobuyoshi Nakada)
02:10 PM Revision 50b2807a (git): Do not lengthen UNIX socket path
* spec/ruby/library/socket/unixsocket/recvfrom_spec.rb: do not
lengthen UNIX socket path, which is very stricted.
nobu (Nobuyoshi Nakada)
01:35 PM Revision bdcfba54 (git): vcs.rb: handle --dryrun option
nobu (Nobuyoshi Nakada)
01:28 PM Revision 096a45d3 (git): Update NEWS.
- Add note regarding IA64 removal.
- Add note about Thread allocation performance improvements.
Samuel Williams
04:47 AM Feature #15504: Freeze all Range objects
I guess @eregon came from #15950. Will `ary[-3..]` be as efficient as `ary[-3, 3]` by freezing and deduping a litera... mame (Yusuke Endoh)
04:17 AM Revision 5a187e26 (git): array.c add back shared array optimization to ary_ensure_room_for_unshift
Bug fix in commit ec8e5f5aa64e2a [Bug #15952] disabled an
optimization in this function.
Closes: https://github.com/...
luke-gru (Luke Gruber)

06/22/2019

11:34 PM Bug #15952 (Closed): Issue with Array#unshift, sometimes doesn't respect frozenness of array
Applied in changeset commit:git|ec8e5f5aa64e2a54cf1e303f2b012c98e8d521ba.
----------
array.c: always check frozennes...
luke-gru (Luke Gruber)
10:39 PM Bug #15952: Issue with Array#unshift, sometimes doesn't respect frozenness of array
PR here: https://github.com/ruby/ruby/pull/2251 luke-gru (Luke Gruber)
10:23 PM Bug #15952 (Closed): Issue with Array#unshift, sometimes doesn't respect frozenness of array
This should raise a `FrozenError`, but doesn't:
```ruby
a = [1] * 100
b = a[4..-1]
a.replace([1])
b.freeze
b....
luke-gru (Luke Gruber)
11:05 PM Revision ec8e5f5a (git): array.c: always check frozenness in Array#unshift. Fixes [Bug #15952]
Closes: https://github.com/ruby/ruby/pull/2251 luke-gru (Luke Gruber)
10:56 PM Revision 3840791b (git): Get rid of error with frozen string literal
[Bug #14194] nobu (Nobuyoshi Nakada)
10:42 PM Revision bebe8d13 (git): Disable frozen-string-literal to disable deduplication
[Bug #14194] nobu (Nobuyoshi Nakada)
10:37 PM Bug #14194 (Closed): --enable-frozen-string-literal ruby runner.rb cgi
Applied in changeset commit:git|2ad7a7f801c07f18150116b819530840eeefebf8.
----------
Get rid of error with frozen st...
MSP-Greg (Greg L)
03:37 PM Bug #14194: --enable-frozen-string-literal ruby runner.rb cgi
FYI,
Just ran ruby-loco with frozen string. Both test-all & spec are run parallel, and both crashed.
test-all ...
MSP-Greg (Greg L)
07:11 AM Bug #14194: --enable-frozen-string-literal ruby runner.rb cgi
nobu (Nobuyoshi Nakada) wrote:
> It doesn’t seem harmful, and tests should be independent from the condition.
I'm...
Eregon (Benoit Daloze)
05:49 AM Bug #14194: --enable-frozen-string-literal ruby runner.rb cgi
sorry, **should** be independent nobu (Nobuyoshi Nakada)
05:35 AM Bug #14194: --enable-frozen-string-literal ruby runner.rb cgi
It doesn’t seem harmful, and that test should be independent from the condition. nobu (Nobuyoshi Nakada)
03:32 AM Bug #14194: --enable-frozen-string-literal ruby runner.rb cgi
@jeremyevans0
Sorry for the tardy response, I had hoped to run a CI build with the flag set, but busy with other t...
MSP-Greg (Greg L)
10:36 PM Revision 2ad7a7f8 (git): Get rid of error with frozen string literal
[Bug #14194] MSP-Greg (Greg L)
05:49 PM Revision aa2f5058 (git): Make autoloading_const_entry static
nobu (Nobuyoshi Nakada)
04:47 PM Feature #10771 (Closed): An easy way to get the source location of a constant
Applied in changeset commit:git|93843830198ba436e2ea21a60a11758d47cf521b.
----------
Module#constant_source_location...
nobu (Nobuyoshi Nakada)
04:47 PM Revision c5c34863 (git): * expand tabs.
git[bot]
04:46 PM Revision ef524c13 (git): NEWS: Module#constant_source_location
[Feature #10771] nobu (Nobuyoshi Nakada)
04:46 PM Revision 93843830 (git): Module#constant_source_location [Feature #10771]
nobu (Nobuyoshi Nakada)
04:26 PM Revision 5084233b (git): Split global search for module
nobu (Nobuyoshi Nakada)
04:26 PM Revision 151843b9 (git): Hoisted out autoloading_const_entry
nobu (Nobuyoshi Nakada)
03:50 PM Bug #15951 (Closed): Issue with Array#rindex when rb_equal call modifies receiver
Applied in changeset commit:git|c033dc3073839e3578f1ba25d53b837974b56474.
----------
Fix issue with Array#rindex whe...
luke-gru (Luke Gruber)
03:30 PM Bug #15951: Issue with Array#rindex when rb_equal call modifies receiver
PR here: https://github.com/ruby/ruby/pull/2250 luke-gru (Luke Gruber)
03:20 PM Bug #15951 (Closed): Issue with Array#rindex when rb_equal call modifies receiver
Hi, this causes out of bounds RARRAY_AREF call in `rb_ary_rindex` in trunk branch, and results in a segmentation faul... luke-gru (Luke Gruber)
03:49 PM Revision c033dc30 (git): Fix issue with Array#rindex when rb_equal modifies receiver array
Fixes [Bug #15951]
Closes: https://github.com/ruby/ruby/pull/2250
luke-gru (Luke Gruber)
03:37 PM Bug #13498 (Closed): Weakref, Weakmap and define_finalizer don't work on frozen objects
Applied in changeset commit:git|f3c81b4e90ec492382e299573f2c3ac272adbb5f.
----------
Frozen objects in WeakMap
* gc...
nobu (Nobuyoshi Nakada)
03:37 PM Revision fd9ac1e7 (git): * 2019-06-23
git[bot]
03:31 PM Revision f3c81b4e (git): Frozen objects in WeakMap
* gc.c (wmap_aset): bypass check for frozen and allow frozen
object in WeakMap. [Bug #13498]
nobu (Nobuyoshi Nakada)
02:48 PM Revision f5e29044 (git): Use EXEEXT
* test/lib/minitest/unit.rb (MiniTest::Assertions.diff): use
`EXEEXT` configured value instead of switching by hard...
nobu (Nobuyoshi Nakada)
02:38 PM Feature #15504: Freeze all Range objects
I think it would make sense to freeze Range literals.
Adding methods to Range might be reasonable, but singleton m...
Eregon (Benoit Daloze)
02:38 PM Revision f738eeab (git): golf_prelude.rb: suppress the redefining warning
nobu (Nobuyoshi Nakada)
02:29 PM Feature #15950: Allow negative length in `Array#[]`, `Array#[]=`, `Array#slice`, `Array#slice!`, `String#[]`, `String#[]=`, `String#slice`, `String#slice!`
sawa (Tsuyoshi Sawada) wrote:
> And needless to say, this proposal would be irrelevant to Ruby beginners who insist ...
Eregon (Benoit Daloze)
12:12 PM Feature #15950: Allow negative length in `Array#[]`, `Array#[]=`, `Array#slice`, `Array#slice!`, `String#[]`, `String#[]=`, `String#slice`, `String#slice!`
shevegen (Robert A. Heiler) wrote:
> ```ruby
> "abcdefgh"[0, -3] # => "fgh"
> ```
>
> I guess my brain got conf...
sawa (Tsuyoshi Sawada)
07:04 AM Feature #15950 (Rejected): Allow negative length in `Array#[]`, `Array#[]=`, `Array#slice`, `Array#slice!`, `String#[]`, `String#[]=`, `String#slice`, `String#slice!`
sawa (Tsuyoshi Sawada) wrote:
> But to take the last n characters, we need to use n in two arguments: in the index (...
Eregon (Benoit Daloze)
06:58 AM Feature #15950: Allow negative length in `Array#[]`, `Array#[]=`, `Array#slice`, `Array#slice!`, `String#[]`, `String#[]=`, `String#slice`, `String#slice!`
Hmm. I do not necessarily doubt that it may be useful (at the least for
some users), but that also actually surpris...
shevegen (Robert A. Heiler)
06:03 AM Feature #15950: Allow negative length in `Array#[]`, `Array#[]=`, `Array#slice`, `Array#slice!`, `String#[]`, `String#[]=`, `String#slice`, `String#slice!`
Negative **offset** is allowed, but negative **length** has never been allowed, IIRC. nobu (Nobuyoshi Nakada)
03:09 AM Feature #15950 (Rejected): Allow negative length in `Array#[]`, `Array#[]=`, `Array#slice`, `Array#slice!`, `String#[]`, `String#[]=`, `String#slice`, `String#slice!`
To take the first n characters of a string, using `[]` is straightforward:
```ruby
"abcdefgh"[0, 3] # => "abc"
`...
sawa (Tsuyoshi Sawada)
09:39 AM Revision bad66f3e (git): Show timed out threads
* test/lib/test/unit/assertions.rb (assert_join_threads): kill and
show timed out threads.
nobu (Nobuyoshi Nakada)
04:57 AM Feature #9948 (Closed): Safely insert an object into an array
marcandre (Marc-Andre Lafortune)
02:41 AM Feature #9948: Safely insert an object into an array
I withdraw this proposal. Please close it. sawa (Tsuyoshi Sawada)
01:56 AM Bug #15820: Backport 5e23b1138f1 (Fix potential memory leak)
ruby_2_6 r67712 merged revision(s) 5e23b1138f16af0defb184d7deeffadfd2ce3c04. nagachika (Tomoyuki Chikanaga)
01:56 AM Revision f5022fcf (git): merge revision(s) 5e23b1138f16af0defb184d7deeffadfd2ce3c04: [Backport #15820]
Fix potential memory leak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67712 b2dd03c8-39d4-4d8f-98...
nagachika (Tomoyuki Chikanaga)
12:29 AM Revision 4d650bc2 (git): Fix over-expansion
* test/lib/minitest/unit.rb (MiniTest::Assertions#mu_pp_for_diff):
do not expand escaped backslash followed by 'n'.
nobu (Nobuyoshi Nakada)

06/21/2019

11:52 PM Feature #15947: ENV.merge!
Thank you! kachick (Kenichi Kamiya)
04:26 PM Feature #15947 (Closed): ENV.merge!
Applied in changeset commit:git|d01fd821875b989affc36e54e98f5dd67f47062e.
----------
Alias ENV.merge! as ENV.update
...
kachick (Kenichi Kamiya)
04:23 PM Feature #15947: ENV.merge!
This looks good to me, I'll merge it.
Thank you for the PR.
Eregon (Benoit Daloze)
03:51 AM Feature #15947 (Closed): ENV.merge!
ENV basically has hash like methods.
So I would like to apply an alias `ENV.merge!` that behavior is same as `ENV.up...
kachick (Kenichi Kamiya)
05:48 PM Bug #14241 (Assigned): Time.strptime() doesn't support the directive "%W".
I agree this is a bug that should be fixed. Attached is a patch that implements support for %U/%W/%u/%w in `Time#str... jeremyevans0 (Jeremy Evans)
04:37 PM Bug #14252 (Closed): Refined Method Visibility Lost with Dynamic Dispatch and Reflection
Ruby 2.6.0 started honoring refinements in `Kernel#public_send`. jeremyevans0 (Jeremy Evans)
04:25 PM Revision d01fd821 (git): Alias ENV.merge! as ENV.update
[Feature #15947]
Closes: https://github.com/ruby/ruby/pull/2246
kachick (Kenichi Kamiya)
04:21 PM Revision 3b2d11ad (git): Use different names for autoload constants in specs for clarity
Eregon (Benoit Daloze)
04:21 PM Revision e5e811e4 (git): Add extra spec from https://github.com/ruby/ruby/pull/2173
byroot (Jean Boussier)
04:16 PM Revision 2f2fc939 (git): Always define RUBY_RELEASE_DATETIME
nobu (Nobuyoshi Nakada)
03:31 PM Revision c79131df (git): Treat closing token with starting token at head of 2nd line correctly
v =
if true # starting token at head of 2nd line
3
end # closing token
aycabta (aycabta .)
03:31 PM Revision 5e208866 (git): Do auto indent only when closing token at first of line
if true
3; end # this isn't auto-indented
aycabta (aycabta .)
03:03 PM Revision d1fa0f61 (git): * 2019-06-22
git[bot]
02:48 PM Revision 8a1dd9b8 (git): Revert RUBY_RELEASE_DATE to date only
nobu (Nobuyoshi Nakada)
02:04 PM Revision 1c7e303b (git): Constified unusable chars
nobu (Nobuyoshi Nakada)
01:48 PM Bug #15946 (Closed): Undefined behavior can occur with memcpy in String#sub!
Applied in changeset commit:git|8f51da5d41f0642d5a971e4223d1ba14643c6398.
----------
Get rid of undefined behavior
...
nobu (Nobuyoshi Nakada)
01:48 PM Bug #15946: Undefined behavior can occur with memcpy in String#sub!
Thank you.
`s3` doesn't seem to need to share `s`.
nobu (Nobuyoshi Nakada)
12:37 AM Bug #15946 (Closed): Undefined behavior can occur with memcpy in String#sub!
Hi, I've found an overlapping memcpy in an odd situation:
```ruby
s = "hello there this is a long string and cant...
luke-gru (Luke Gruber)
01:48 PM Revision 551ef274 (git): * expand tabs.
git[bot]
01:42 PM Revision 8f51da5d (git): Get rid of undefined behavior
* string.c (rb_str_sub_bang): str and repl can be same.
[Bug #15946]
nobu (Nobuyoshi Nakada)
12:35 PM Revision 50841eca (git): Support irregular auto indent
v =
if true
3
end # this "end" is auto-indented correctly
aycabta (aycabta .)
09:02 AM Revision 38ccb8f7 (git): Remove a duplicate test
shugo (Shugo Maeda)
08:53 AM Revision 16729f64 (git): Remove duplicate functions
nobu (Nobuyoshi Nakada)
08:43 AM Bug #15949 (Closed): Enumerator::Lazy should support filter_map
Applied in changeset commit:git|702cf3ec9051914c8ef5a353580e0e74f7ec7005.
----------
Enumerator::Lazy should support...
shugo (Shugo Maeda)
08:39 AM Bug #15949 (Closed): Enumerator::Lazy should support filter_map
filter_map has been added to Enumerable, but it's not supported by Enumerator::Lazy.
```
p (1..).lazy.filter_map ...
shugo (Shugo Maeda)
08:43 AM Revision 432b28af (git): * expand tabs.
git[bot]
08:42 AM Revision 702cf3ec (git): Enumerator::Lazy should support filter_map
Fixes [Bug #15949] shugo (Shugo Maeda)
08:40 AM Revision 35392ff0 (git): Fix an example [ci skip]
nobu (Nobuyoshi Nakada)
08:29 AM Feature #15777 (Closed): autoload?(cname, inherit=true)
Applied in changeset commit:git|fb85a428605265a8fd449b0702a4dd88cb6f3b20.
----------
Add an optional `inherit` argum...
byroot (Jean Boussier)
08:13 AM Feature #15777: autoload?(cname, inherit=true)
The new patch looks fine to me.
@nobu I'll let you merge it since you did most of the review.
Eregon (Benoit Daloze)
08:29 AM Revision c997f7da (git): * expand tabs.
git[bot]
08:28 AM Revision 5b7cc63d (git): Turned `recur` into `int` [Feature #15777]
nobu (Nobuyoshi Nakada)
08:28 AM Revision fb85a428 (git): Add an optional `inherit` argument to Module#autoload?
[Feature #15777]
Closes: https://github.com/ruby/ruby/pull/2173
byroot (Jean Boussier)
08:11 AM Revision 887163be (git): Fix call-seq of lazy.filter_map [ci skip]
znz (Kazuhiro NISHIYAMA)
07:35 AM Feature #15948 (Open): ENV.update takes multiple hashes as Hash#update
Follow https://bugs.ruby-lang.org/issues/15111
For consistency, I'd like ENV.update takes multiple hashes.
github...
kachick (Kenichi Kamiya)
07:31 AM Revision 0174285e (git): * expand tabs.
git[bot]
07:28 AM Revision 06a622b7 (git): Lazy filter_map
nobu (Nobuyoshi Nakada)
06:29 AM Revision 4149fd60 (git): Fix small typo on block_scanf example [ci-skip]
Closes: https://github.com/ruby/ruby/pull/2247 esparta (Espartaco Palma)

06/20/2019

11:53 PM Bug #14317 (Rejected): Date.strptime(..., "%U") fails if first day of the week is not in the 0th week.
I do not think this is a bug. It is reasonable for `Date.strptime` to assume a value of 0/Sunday for `:cwday`/`%u` i... jeremyevans0 (Jeremy Evans)
11:36 PM Feature #14278: Ambiguous Exception for OpenSSL::HMAC.digest
I do not think the current error message is a bug, and changing the message would be considered a feature. In genera... jeremyevans0 (Jeremy Evans)
11:09 PM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
Eric do you mind explaining where we got to with this and how to move forward? ioquatix (Samuel Williams)
09:50 PM Bug #14358 (Assigned): URI.encode_www_form_component doesn't encode bad chars properly
I agree this is a bug that should be fixed, and the patch is a proper way to fix it. Attached is an updated patch th... jeremyevans0 (Jeremy Evans)
08:27 PM Bug #14429 (Assigned): Overzealous escaping of + in Shellwords
While the current code is not really a bug (Shellwords.escape does not guarantee to only escape when required), I agr... jeremyevans0 (Jeremy Evans)
08:07 PM Bug #14376 (Closed): OpenSSL::X509::Store#verify_callback= requires Qtrue, not just truthy
jeremyevans0 (Jeremy Evans)
08:04 PM Bug #14466 (Assigned): Errno::ECONNRESET or Errno::EPIPE raised instead of HTTPResponse returned when POSTing with large body
I tried this example against an nginx instance, and received normal HTTP error codes (413 or 404 depending on payload... jeremyevans0 (Jeremy Evans)
07:20 PM Feature #15777: autoload?(cname, inherit=true)
> Is it necessary to export rb_autoload_at_p?
> Do you have the plan to use it in extension libraries?
~~No I hav...
byroot (Jean Boussier)
06:49 AM Feature #15777: autoload?(cname, inherit=true)
byroot (Jean Boussier) wrote:
> Let me know if you desire further changes.
Fix the bug first.
In `rb_autoload_at...
nobu (Nobuyoshi Nakada)
05:22 AM Feature #15777: autoload?(cname, inherit=true)
Is it necessary to export `rb_autoload_at_p`?
Do you have the plan to use it in extension libraries?
nobu (Nobuyoshi Nakada)
07:18 PM Feature #15936: on_error in lieu of rescue, raise
duerst (Martin Dürst) wrote:
> kylemacey (Kyle Macey) wrote:
>
> > This is coming from a need that I personally f...
kylemacey (Kyle Macey)
07:17 PM Feature #15936: on_error in lieu of rescue, raise
jeremyevans0 (Jeremy Evans) wrote:
> kylemacey (Kyle Macey) wrote:
> > What would be a thought on using another key...
kylemacey (Kyle Macey)
07:00 PM Bug #14485: For File#path.tainted? and File#to_path.tainted? should match original.tainted?
I agree that `File#path` should not be tainted unless the path given was tainted. Attached is a patch that fixes the... jeremyevans0 (Jeremy Evans)
06:26 PM Bug #14539 (Closed): Duplicate range in character class warning
This spurious warning appears in ruby 2.5.5, but not in ruby 2.6.3. Please upgrade to Ruby 2.6.3. This should be fi... jeremyevans0 (Jeremy Evans)
06:20 PM Revision fde842fe (git): Clean coroutine and timestamp directories
nobu (Nobuyoshi Nakada)
06:14 PM Bug #14569 (Feedback): Ruby dumps core involving XML file
Can you try 2.5.5? It seems likely the problem is fixed there. jeremyevans0 (Jeremy Evans)
06:00 PM Bug #14612 (Assigned): IPv6 address inconsistency (downcase vs. upcase)
I agree that Ruby should consistently use lowercase for IPv6 addresses. However, I don't think we should introduce a... jeremyevans0 (Jeremy Evans)
05:45 PM Bug #14614 (Feedback): Error when running `make update-gems`
The error indicates `executable host ruby is required. use --with-baseruby option.` Does the error happen if you use... jeremyevans0 (Jeremy Evans)
05:35 PM Bug #12289 (Third Party's Issue): Segmentation fault at 0x00000000000020 ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
This was a bug in `curb`, apparently fixed by https://github.com/taf2/curb/commit/01b715a59fbd4914713104dbf04c1aece2b... jeremyevans0 (Jeremy Evans)
05:35 PM Bug #14774 (Third Party's Issue): Segmentation fault with Curb gem
This was a bug in `curb`, apparently fixed by https://github.com/taf2/curb/commit/01b715a59fbd4914713104dbf04c1aece2b... jeremyevans0 (Jeremy Evans)
05:30 PM Bug #14795 (Closed): Should 'net/http' require 'net/http/status' ?
jeremyevans0 (Jeremy Evans)
05:28 PM Bug #14822 (Closed): [POP3/SSL] net/protocol.rb:44: warning: verify_hostname requires hostname to be set
Applied in changeset commit:git|4a5e07d8e17a0f62810f983114a88cb1011f971b.
----------
Avoid verbose warning when usin...
jeremyevans (Jeremy Evans)
05:27 PM Bug #14822: [POP3/SSL] net/protocol.rb:44: warning: verify_hostname requires hostname to be set
I can reproduce this issue, and have confirmed your fix removes the warning. It would have been helpful to mention t... jeremyevans0 (Jeremy Evans)
05:28 PM Revision 2ee1c762 (git): * 2019-06-21
git[bot]
05:22 PM Revision 4a5e07d8 (git): Avoid verbose warning when using Net::POP3 with SSL
Patch from Jos Kamphorst.
Fixes [Bug #14822]
jeremyevans (Jeremy Evans)
04:59 PM Bug #14848 (Rejected): Net/HTTP doesn't take verify_callback into account when OpenSSL::SSL::VERIFY_NONE
I believe this is expected behavior and not a bug. From the man page for `SSL_CTX_set_verify` (https://www.openssl.o... jeremyevans0 (Jeremy Evans)
03:35 PM Bug #15152 (Closed): Thread Crashes
jeremyevans0 (Jeremy Evans)
03:34 PM Bug #15159 (Third Party's Issue): Some options of win32screenshot gem not working with Ruby 2.5.1.
The segfault is in a external gem (rautomation) that uses FFI: https://github.com/jarmo/RAutomation/blob/7314a7e6f8bb... jeremyevans0 (Jeremy Evans)
03:27 PM Bug #15191 (Closed): Segfault in bignum.c bigtrunc()
jeremyevans0 (Jeremy Evans)
02:39 PM Feature #15945: Option to truncate in `String#ljust`, `String#rjust`, and `String#center`
I do not have any particular pro/con opinion per se as far as the feature itself
is suggested; if anything then I am...
shevegen (Robert A. Heiler)
12:00 PM Feature #15945 (Open): Option to truncate in `String#ljust`, `String#rjust`, and `String#center`
Sometimes, I need to adjust a string to an exact length: Pad if shorter, and truncate if longer. To do that, I need t... sawa (Tsuyoshi Sawada)
01:27 PM Revision 93356576 (git): Revert "Removed needless file with the upstream repository."
This reverts commit 5bbfca7b1d4be89d4728203b4610de17bccbefd7. hsbt (Hiroshi SHIBATA)
11:51 AM Revision 1f0762ad (git): Suppress messages from mkmf
nobu (Nobuyoshi Nakada)
11:12 AM Revision 9e7a8a43 (git): Only ignore build directories.
Samuel Williams
10:39 AM Bug #15841: SegFault in OpenSSL::PKey::RSA#private_encrypt
I creaated a PR, https://github.com/ruby/openssl/pull/258 , about remaining issues.
> 2. if rsa.set_key had called...
thekuwayama (tomoya kuwayama)
10:36 AM Revision f607e433 (git): Transition root fiber into state FIBER_TERMINATED.
During fork, it's possible that threads with root fibers are terminated,
but fiber state is not updated. `fiber_verif...
Samuel Williams
09:20 AM Revision 3077cb69 (git): Restore $VERBOSE
nobu (Nobuyoshi Nakada)
08:41 AM Revision e31602b7 (git): Suppress warnings
nobu (Nobuyoshi Nakada)
08:40 AM Revision e6fbdde2 (git): Fix a typo [ci skip]
znz (Kazuhiro NISHIYAMA)
07:37 AM Feature #9456 (Closed): Include bin/racc with ruby
I merged bin/racc at https://github.com/ruby/ruby/compare/1a2546c...754df26. hsbt (Hiroshi SHIBATA)
07:11 AM Revision 3aa8691d (git): Added and update the racc entries on doc/*.
hsbt (Hiroshi SHIBATA)
07:11 AM Revision 557bcd87 (git): Added racc entry to NEWS.
hsbt (Hiroshi SHIBATA)
07:11 AM Revision 5bbfca7b (git): Removed needless file with the upstream repository.
hsbt (Hiroshi SHIBATA)
07:11 AM Revision 71ebf6d8 (git): Update sync task for the directory structure of cparse and ignore JRuby files.
hsbt (Hiroshi SHIBATA)
07:11 AM Revision 45e939f5 (git): Added gemspec of racc generated from upstream for the default gems.
1.4.16.pre.1 is the teemporary version. It may be changed 1.5.0 or others. hsbt (Hiroshi SHIBATA)
07:00 AM Revision c4c47b79 (git): Disable auto indent when move cursor up or down
This commit suppresses a strange behavior below:
if true
1[cursor]
end
and press down key
if true
1
end
aycabta (aycabta .)
04:48 AM Feature #15940: Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
I think this change makes a lot of sense, not only because of the memory savings, but also because of the streamlinin... duerst (Martin Dürst)
04:44 AM Revision e4cafa39 (git): Ensure that vm_stack is cleared in `thread_cleanup_func_before_exec`.
If `vm_stack` is left dangling in a forked process, the gc attempts to scan
it, but it is invalid and will cause a se...
Samuel Williams
04:32 AM Feature #15942 (Third Party's Issue): gem: Warn on known vulnerable packages
What @shevegen says: raise it at https://github.com/rubygems/rubygems, please. duerst (Martin Dürst)
04:25 AM Bug #15944 (Closed): Simultaneous line feeding and scrolling doesn't work well with irb on tmux
See attached capture.
I just entered `1+1` repeatedly.
(`1+1` doesn't matter, whatever can cause the same behavio...
hasumikin (hitoshi hasumi)
03:30 AM Revision c26c5144 (git): Revert failed attempt at fixing invalid usage of vm_stack.
Samuel Williams
02:55 AM Revision 7d9d1ed4 (git): Don't clear cfp, it causes problems.
Samuel Williams
02:16 AM Revision 15c4f6ae (git): Skip `rb_ec_clear_vm_stack` for now.
Samuel Williams
01:41 AM Revision 19931099 (git): * remove trailing spaces.
git[bot]
01:41 AM Revision dbc2b89b (git): Ensure `vm_stack` is cleared after fork.
Samuel Williams
12:07 AM Revision 6bf1285b (git): Fix typo in VM_ASSERT.
Samuel Williams

06/19/2019

11:56 PM Revision 62648372 (git): Set `cfp` to null (along with vm_stack) in `rb_fiber_close`.
Samuel Williams
11:32 PM Revision 25049a6e (git): Extra assertions around thread.
Samuel Williams
11:31 PM Revision 91c4ef01 (git): Don't try to dereference NULL cfp.
Samuel Williams
10:35 PM Misc #15943 (Closed): Add Bug Triaging Guide
I would like to add a bug triaging guide to the repository at `doc/bug_triaging.rdoc`, giving recommendations for tri... jeremyevans0 (Jeremy Evans)
09:46 PM Bug #15938: Error thrown undeterministically: `RegexpError: empty range in char class`
dlee (David Lee) wrote:
> Thank you for the update. We know that Ruby 2.5+ has fixed this issue, but we were hoping ...
jeremyevans0 (Jeremy Evans)
08:46 PM Bug #15938: Error thrown undeterministically: `RegexpError: empty range in char class`
Jeremy,
Thank you for the update. We know that Ruby 2.5+ has fixed this issue, but we were hoping the fix could be...
dlee (David Lee)
12:10 PM Bug #15938 (Rejected): Error thrown undeterministically: `RegexpError: empty range in char class`
`\w` cannot be an edge of range in char-class, as it is not a single char. nobu (Nobuyoshi Nakada)
01:38 AM Bug #15938 (Closed): Error thrown undeterministically: `RegexpError: empty range in char class`
I was able to reproduce your issue. However, Ruby 2.4 is in security maintenance phase. As this does not appear to be... jeremyevans0 (Jeremy Evans)
01:30 AM Bug #15938: Error thrown undeterministically: `RegexpError: empty range in char class`
FYI, these errors are deterministically thrown in ruby versions 2.5+, albeit with a different error message: `unmatch... dlee (David Lee)
01:17 AM Bug #15938 (Rejected): Error thrown undeterministically: `RegexpError: empty range in char class`
When instantiating a Regexp, we only sometimes see `RegexpError: empty range in char class`.
To reproduce:
`100.t...
dlee (David Lee)
09:38 PM Bug #14563: irb in irb raises a FATAL error
I was able to reproduce this issue with the current master branch. I'm not sure why it occurs, though. The thread t... jeremyevans0 (Jeremy Evans)
09:23 PM Feature #15942: gem: Warn on known vulnerable packages
I think this may be better to raise at https://github.com/rubygems/rubygems - while some
ruby core members contribut...
shevegen (Robert A. Heiler)
06:44 PM Feature #15942 (Third Party's Issue): gem: Warn on known vulnerable packages
In comparison to RubyGems, NPM offers builtin warnings when users attempt to install packages with known vulnerabilit... mcandre (Andrew Pennebaker)
07:55 PM Bug #14879: Time#+ and Time#- do not preserve receiver's utc_offset if ENV['TZ'] is modified after receiver is created
Using Ruby 2.6's new timezone support for Time, I think you can get the behavior you want, so that time calculations ... jeremyevans0 (Jeremy Evans)
07:36 PM Bug #15941: Issue with String#scrub when given block and receiver is modified in block
Patch lgtm, thanks! luke-gru (Luke Gruber)
05:48 PM Bug #15941: Issue with String#scrub when given block and receiver is modified in block
I can confirm this issue, and agree that handling it similarly to `String#gsub` makes sense. Attached is a patch tha... jeremyevans0 (Jeremy Evans)
04:10 PM Bug #15941: Issue with String#scrub when given block and receiver is modified in block
I guess the solution here would be something similar to `String#gsub`, with `str_mod_check`. luke-gru (Luke Gruber)
04:00 PM Bug #15941 (Closed): Issue with String#scrub when given block and receiver is modified in block
This should cause a segmentation fault:
```ruby
s = "abc\u3042\xE3\x80"
loop do
s.scrub{|bytes| s << "more ...
luke-gru (Luke Gruber)
07:31 PM Bug #14894 (Closed): Segfault loading iseqs
jeremyevans0 (Jeremy Evans)
07:21 PM Bug #15432 (Closed): Float の NaN のみを含む配列比較のテスト
Applied in changeset commit:git|a0af60c7f2d852faa6d3263874224dd7950bda43.
----------
Remove spec testing undefined b...
jeremyevans (Jeremy Evans)
07:20 PM Revision a0af60c7 (git): Remove spec testing undefined behavior
Fixes [Bug #15432] jeremyevans (Jeremy Evans)
07:07 PM Bug #15857 (Closed): <=> の右辺が <=> を実装していない場合の振る舞い
Applied in changeset commit:git|b9ef35e4c6325864e013ab6e45df6fe00f759a47.
----------
Implement Complex#<=>
Implemen...
jeremyevans (Jeremy Evans)
07:07 PM Revision 208cc6e3 (git): * 2019-06-20
git[bot]
07:07 PM Revision fdfe51d1 (git): * expand tabs.
git[bot]
07:04 PM Bug #14960 (Closed): Segmentation fault
jeremyevans0 (Jeremy Evans)
06:58 PM Bug #15120 (Third Party's Issue): Segfault when using ActiveRecord
This appears to be an issue in the mysql2 gem. It is similar to https://github.com/brianmario/mysql2/issues/1036#iss... jeremyevans0 (Jeremy Evans)
06:53 PM Bug #15021 (Closed): Segfault when compiling certain code on Ruby 2.5.1
jeremyevans0 (Jeremy Evans)
06:46 PM Bug #14965 (Third Party's Issue): Segmentation fault at 0x0000000000000000
This segfault occurs in a 3rd party C extension: https://github.com/ruby-gnome2/ruby-gnome2/blob/master/glib2/ext/gli... jeremyevans0 (Jeremy Evans)
06:00 PM Bug #15935 (Closed): Memory leak triggered by String#encode, possibly elsewhere too
jeremyevans0 (Jeremy Evans)
05:50 PM Revision b9ef35e4 (git): Implement Complex#<=>
Implement Complex#<=> so that it is usable as an argument when
calling <=> on objects of other classes (since #coerce...
jeremyevans (Jeremy Evans)
05:04 PM Bug #15926: Edge case issue with String#uminus
luke-gru (Luke Gruber) wrote:
> Hi Jeremy, thanks for the patch. I agree with the strategy of just dealing with this...
jeremyevans0 (Jeremy Evans)
01:33 PM Bug #15926: Edge case issue with String#uminus
Hi Jeremy, thanks for the patch. I agree with the strategy of just dealing with this in `str_uminus` directly instead... luke-gru (Luke Gruber)
02:07 AM Bug #15926: Edge case issue with String#uminus
I agree that this is a bug. I'm not sure if `rb_fstring`'s behavior should be changed (hopefully a more knowledgeabl... jeremyevans0 (Jeremy Evans)
03:55 PM Feature #15940: Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
In order to provide some data, I counted the duplicates in a Redmine heap dump (`ObjectSpace.dump_all`):
Here the ...
byroot (Jean Boussier)
03:00 PM Feature #15940 (Assigned): Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
Patch: https://github.com/ruby/ruby/pull/2242
It's not uncommon for symbols to have literal string counterparts, e...
byroot (Jean Boussier)
02:24 PM Feature #15777: autoload?(cname, inherit=true)
@nobu I edited the patch the way you suggested. Let me know if you desire further changes. byroot (Jean Boussier)
02:10 PM Revision 65944e96 (git): test/racc/test_racc_command.rb: Extend the timeout
test_opal, test_ruby18, and test_ruby22 are slow tests.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-ad7f67/r...
mame (Yusuke Endoh)
02:05 PM Revision 2abe548f (git): Don't change vm_stack/cfp without acquiring gvl first.
Samuel Williams
12:59 PM Bug #15933: OpenURI: Assign default charset for HTTPS as well as HTTP
Updated patch attached gareth (Gareth Adams)
12:52 PM Feature #15939 (Assigned): Dump symbols reference to their fstr in ObjectSpace.dump()
Patch: https://github.com/ruby/ruby/pull/2240
Symbols wether they are dynamic or static do hold a reference onto t...
byroot (Jean Boussier)
11:40 AM Revision ab6d8d0b (git): Adjust indent
nobu (Nobuyoshi Nakada)
11:34 AM Feature #15894 (Closed): Remove support for IA64
Okay, it was merged. ioquatix (Samuel Williams)
09:16 AM Feature #15894: Remove support for IA64
Here is PR: https://github.com/ruby/ruby/pull/2241 ioquatix (Samuel Williams)
05:51 AM Feature #15894: Remove support for IA64
Sounds reasonable.
Matz.
matz (Yukihiro Matsumoto)
11:33 AM Revision 659eda7f (git): * expand tabs.
git[bot]
11:30 AM Revision d17344cf (git): Remove IA64 support.
Samuel Williams
09:35 AM Revision 40f8c82b (git): Partly revert directory structure for cparse.
It break the some build environment. hsbt (Hiroshi SHIBATA)
09:19 AM Revision b93508b3 (git): * remove trailing spaces, append newline at EOF.
git[bot]
09:18 AM Revision 754df262 (git): Added binstub for racc executables.
hsbt (Hiroshi SHIBATA)
09:18 AM Revision 2b4024da (git): Temporary disabled to invoke assert_output_unchanged.
Because some environment created the different results from test fixtures. hsbt (Hiroshi SHIBATA)
09:18 AM Revision e892c2f9 (git): Restore ruby/ruby change for extconf.rb.
hsbt (Hiroshi SHIBATA)
09:18 AM Revision d7103218 (git): Workaround for the external file for racc test
hsbt (Hiroshi SHIBATA)
09:17 AM Revision 8a3bd06d (git): use TEMP_DIR.
hsbt (Hiroshi SHIBATA)
09:17 AM Revision 4cca8c4d (git): Use Test::Unit instead of Minitest and fixed test error with ruby repo.
Co-authored-by: Nobuyoshi Nakada <[email protected]> hsbt (Hiroshi SHIBATA)
09:17 AM Revision 2272d6ae (git): Restore test_dir and update prefix for Dir.mktmpdir.
hsbt (Hiroshi SHIBATA)
09:17 AM Revision 9ea1fc27 (git): Try to use Dir.mktmpdir.
hsbt (Hiroshi SHIBATA)
09:17 AM Revision 4e218282 (git): Added sync task for racc
hsbt (Hiroshi SHIBATA)
09:17 AM Revision c110b59a (git): Fixed path for ruby core repository.
hsbt (Hiroshi SHIBATA)
09:17 AM Revision 1a2546c2 (git): Backport racc-1.4.15 from upstream.
hsbt (Hiroshi SHIBATA)
08:39 AM Revision cbe06cd3 (git): * remove trailing spaces, expand tabs.
git[bot]
08:39 AM Revision 3e5b885c (git): Rework debug conditional.
Samuel Williams
08:39 AM Revision cb5da39f (git): Use shared implementation of `rb_ec_initialize_vm_stack`.
Samuel Williams
08:39 AM Revision 71470380 (git): Update `stack_start` and `stack_maxsize` according to stack direction.
Samuel Williams
08:39 AM Revision dee0cfbb (git): Specify that size is non-committed memory.
Samuel Williams
08:39 AM Revision 561c9bcf (git): Make sure `alloca` fast path is used (inline assembler).
Samuel Williams
08:39 AM Revision 7cc7269b (git): Use default stack size for worker thread (no th pointer available).
Samuel Williams
08:39 AM Revision 9cb4e772 (git): Handle (empty) backtrace when thread is not born yet.
Samuel Williams
08:39 AM Revision 5855af73 (git): Basic assertions for thread initialization.
Samuel Williams
08:39 AM Revision 8121a523 (git): Use stack size defaults for win32 threads.
Samuel Williams
08:39 AM Revision b8e4bea7 (git): Track how stack was allocated for `cont_free`.
Samuel Williams
08:39 AM Revision 4b3b781c (git): Ensure execution context is cleared after thread is finished.
Samuel Williams
08:39 AM Revision 38791145 (git): Better handling of root fiber.
Samuel Williams
08:39 AM Revision 7c7a1c22 (git): Fix handling of vm_stack_size and avoid trying to deallocate it.
Samuel Williams
08:39 AM Revision b24603ad (git): Move vm stack init into thread.
Samuel Williams
08:39 AM Revision 69195fd9 (git): Show thread and fiber limits as part of bootstrap tests.
Samuel Williams
08:39 AM Revision 3fd83cb6 (git): Improve benchmarks and tests for threads.
Samuel Williams
08:39 AM Revision a6a4e860 (git): Ignore `/build*`.
Samuel Williams
07:15 AM Feature #15936: on_error in lieu of rescue, raise
kylemacey (Kyle Macey) wrote:
> This is coming from a need that I personally face often on the utilities I work on...
duerst (Martin Dürst)
02:31 AM Feature #15936: on_error in lieu of rescue, raise
kylemacey (Kyle Macey) wrote:
> What would be a thought on using another keyword that doesn't actually _rescue_ an e...
jeremyevans0 (Jeremy Evans)
01:56 AM Feature #15936: on_error in lieu of rescue, raise
shevegen (Robert A. Heiler) wrote:
> Hmmm.
>
> I have not made up my mind so I can not even say whether this may ...
kylemacey (Kyle Macey)
07:04 AM Bug #15160 (Closed): ArgumentError: year too big to marshal
Applied in changeset commit:git|e690df1f1ef4f791295448f9192d6e027400ee72.
----------
Marshal distant past/future
[F...
nobu (Nobuyoshi Nakada)
06:26 AM Revision e690df1f (git): Marshal distant past/future
[Feature #15160] nobu (Nobuyoshi Nakada)
05:39 AM Revision 8797f483 (git): New buffer for shared string
* string.c (rb_str_init): allocate new buffer if the string is
shared. [Bug #15937]
nobu (Nobuyoshi Nakada)
01:45 AM Bug #15937: Segmentation fault when String#initialize given same string with capacity field
I no longer get the segfault if in `rb_str_init`, `return str` is added right after existing check of `(orig == str)`... luke-gru (Luke Gruber)
01:37 AM Bug #15937: Segmentation fault when String#initialize given same string with capacity field
Sorry, I forgot `puts s` in second script. I still get the segfault even in trunk with your patch, but the embedded s... luke-gru (Luke Gruber)
12:57 AM Bug #15937 (Closed): Segmentation fault when String#initialize given same string with capacity field
Applied in changeset commit:git|28678997e40869f5591eae60edd9757334426ffb.
----------
Preserve the string content at ...
nobu (Nobuyoshi Nakada)
12:48 AM Bug #15937: Segmentation fault when String#initialize given same string with capacity field
I can't reproduce the buffer corruption nor the segfault, but found the content was cleared on a short string.
Which...
nobu (Nobuyoshi Nakada)
01:09 AM Revision 148f50fc (git): Update homebrew on Travis
because Travis is crashing like "Error: Your Homebrew is outdated.
Please run `brew update`."
https://travis-ci.org/r...
k0kubun (Takashi Kokubun)
12:44 AM Revision 28678997 (git): Preserve the string content at self-copying
* string.c (rb_str_init): preserve the embedded content when
self-copying with a capacity. [Bug #15937]
nobu (Nobuyoshi Nakada)
12:19 AM Revision d009e321 (git): Use IRB.conf[:AUTO_INDENT] setting in multiline mode
aycabta (aycabta .)

06/18/2019

11:29 PM Revision c9729329 (git): * 2019-06-19
git[bot]
11:28 PM Revision 85ff2d74 (git): Avoid auto indent in prompt when dynamic auto indent
aycabta (aycabta .)
10:23 PM Feature #15936: on_error in lieu of rescue, raise
Hmmm.
I have not made up my mind so I can not even say whether this may be interesting
or not.
But I think jus...
shevegen (Robert A. Heiler)
06:28 PM Feature #15936 (Open): on_error in lieu of rescue, raise
A common bad pattern in ruby is to rescue any exception and accidentally clobber the exception.
```
begin
som...
kylemacey (Kyle Macey)
07:48 PM Bug #15937: Segmentation fault when String#initialize given same string with capacity field
NOTE: I didn't attach a patch or proof of concept fix because I don't know how you want to handle this edge case. The... luke-gru (Luke Gruber)
07:41 PM Bug #15937 (Closed): Segmentation fault when String#initialize given same string with capacity field
Reproduction steps:
string buffer corruption:
```ruby
s = "mystring"
s.__send__(:initialize, s, capacity: 1000)...
luke-gru (Luke Gruber)
03:48 PM Feature #5400: Remove flip-flops in 2.0
rovf (Ronald Fischer) wrote:
> Do NOT remove this useful feature!!! I used it a lot already in Perl, and now using...
CodeGnome (Todd Jacobs)
12:47 PM Feature #5400: Remove flip-flops in 2.0
judofyr (Magnus Holm) wrote:
> Nobody knows them. Nobody uses them. Let's just get rid of flip-flops, shall we?
D...
rovf (Ronald Fischer)
03:41 PM Misc #15930: DevelopersMeeting20190711Japan
* [Feature #5400] Remove flip-flops in 2.0
* Strong objections.
nobu (Nobuyoshi Nakada)
02:08 PM Bug #15807: Range#minmax is slow and never returns for endless ranges
I think it would make sense for `Enumerable#minmax` to just be `[min, max]`, and be overridden on some classes if use... Eregon (Benoit Daloze)
12:58 PM Revision 84903b31 (git): Fix auto indent crash when blank input
aycabta (aycabta .)
12:58 PM Revision 32e65e9e (git): Print starting debug message with RELINE_STDERR_TTY
aycabta (aycabta .)
12:22 PM Revision af800b8c (git): Now test-bundler is not working on macOS either
Let's stop reporting the failure until it gets stable.
We can see the build status on console with this config anyway.
k0kubun (Takashi Kokubun)
12:20 PM Feature #15665: Cannot compile socket extension on Mojave
@nobu Please update, or is there any reason that this should be a feature instead of a bug? franklinyu (Franklin Yu)
12:02 PM Bug #15933: OpenURI: Assign default charset for HTTPS as well as HTTP
phluid61 (Matthew Kerwin) wrote:
>
> The entire registry is available as [XML](https://www.iana.org/assignments/me...
gareth (Gareth Adams)
09:24 AM Bug #15933: OpenURI: Assign default charset for HTTPS as well as HTTP
gareth (Gareth Adams) wrote:
>
> The [IANA registry](https://www.iana.org/assignments/media-types/media-types.xhtm...
phluid61 (Matthew Kerwin)
08:13 AM Bug #15933: OpenURI: Assign default charset for HTTPS as well as HTTP
Thanks Matthew,
I've now paid more attention to which RFCs are obsolete and which are still active.
phluid61 (M...
gareth (Gareth Adams)
11:58 AM Revision 235e72f1 (git): Implement auto indent for multiline
aycabta (aycabta .)
08:42 AM Bug #15929: Array#minmax is much slower than calling both #min and #max
jeremyevans0 (Jeremy Evans) wrote:
> We cannot use this approach. [...]
I see, thanks for the explanation!
janosch-x (Janosch Müller)
08:39 AM Misc #15925: Speed up SortedSet#min, #max, #sum etc.?
jeremyevans0 (Jeremy Evans) wrote:
> Your recommended implementation greatly improves performance.
I fear this b...
janosch-x (Janosch Müller)
08:31 AM Revision e6aa0a61 (git): [DOC] non-nil `$,`,`$;` will be deprecated [ci skip]
```
% ruby -e '$,=""; $;=""'
-e:1: warning: non-nil $, will be deprecated
-e:1: warning: non-nil $; will be deprecate...
znz (Kazuhiro NISHIYAMA)
04:40 AM Revision 8b3774be (git): Fix memory leak
* string.c (str_make_independent_expand): free independent buffer.
[Bug# 15935]
Co-Authored-By: luke-gru (Luke Gru...
nobu (Nobuyoshi Nakada)
03:21 AM Bug #15934 (Closed): String#b can lead to memory corruption
Applied in changeset commit:git|9dec4e8fc3a6018261834b5ac9b9877f787b97ca.
----------
String#b: Don't depend on depen...
alanwu (Alan Wu)
03:21 AM Revision c770c98a (git): * expand tabs.
git[bot]
03:18 AM Revision 9dec4e8f (git): String#b: Don't depend on dependent string
Registering a string that depend on a dependent string as fstring
can lead to use-after-free. See c06ddfe and 3f95620...
alanwu (Alan Wu)
 

Also available in: Atom