Activity
From 09/19/2020 to 09/25/2020
09/25/2020
-
11:11 PM Bug #17191 (Closed): 3.0.0-preview1 fails to install using BSD make
- On OpenBSD (which doesn't use GNU make by default), `./configure` and `make` work correctly for 3.0.0-preview1, but `...
-
10:52 PM Revision 137fa5b2 (git): Fibers should update themselves on compaction
- We should let fibers update their own references on compaction. I don't
think we need the thread to update the assoc... -
10:06 PM Feature #17143: Improve support for warning categories
- I've updated my pull request to only allow specific categories, and limit the currently allowed categories to `:depre...
-
07:43 PM Feature #17143: Improve support for warning categories
- matz (Yukihiro Matsumoto) wrote in #note-5:
> Adding category to the warning seems a good idea. But I have the follo... -
05:04 AM Feature #17143: Improve support for warning categories
- - I'm not against adding the category keyword. However,
- I guess it is quite hard for us to +1 the "Add categories... -
04:58 AM Feature #17143: Improve support for warning categories
- Adding category to the warning seems a good idea. But I have the following concerns:
* Category should be specifie... -
08:36 PM Bug #15661: Disallow concurrent Dir.chdir with block
- I've added a pull request for this: https://github.com/ruby/ruby/pull/3591
-
05:30 AM Bug #15661: Disallow concurrent Dir.chdir with block
- It's hard to estimate how big the incompatibility is. But I'd like to try it.
I hope we don't see any big problem.
... -
08:15 PM Feature #16994: Sets: shorthand for frozen sets of symbols / strings
- [email protected] wrote:
> Remaining issues:
>
> * Name? `%ws` would be the first two character specifier after `%... -
04:26 AM Feature #16994 (Feedback): Sets: shorthand for frozen sets of symbols / strings
- We are going to introduce built-in set, but not in 3.0 (too little time to implement it before 3.0 release).
After m... -
08:13 PM Revision 8b42474a (git): Enhanced RDoc for String#succ (#3590)
- * Enhanced RDoc for String#succ
-
07:55 PM Bug #15712 (Closed): DateTime#=== should be defined and compare date and time instead of just the date
- DateTime deprecation documentation was added to date: https://github.com/ruby/date/commit/58ca6e6a3ee20c72a77266e0f74...
-
05:21 AM Bug #15712: DateTime#=== should be defined and compare date and time instead of just the date
- I admit it is a bug. But we consider use of `DateTime` should be discouraged. So we keep this **bug** behavior for co...
-
07:41 PM Bug #17190 (Closed): Not working multiple assignment by rightward assignment statement
- For example. It is foo.rb
```rb
42, 42 => a, b
p a
p b
```
I expected it.
```sh
42
42
```
But, Rea... -
07:13 PM Bug #17189: test_thread.rb in testsuite deadlocks with musl libc 1.2.1
- From my reading of the test source, it seems to be testing the ability to do various async-signal-unsafe things after...
-
05:56 PM Bug #17189 (Closed): test_thread.rb in testsuite deadlocks with musl libc 1.2.1
- When we build ruby-2.7.1 in alpine linux the test suite deadlocks in `test_thread.rb`.
There are multiple processe... -
06:13 PM Feature #14394: Class.descendants
- While I needed `Class#descendants` many times, I never had a need for `Module#descendants`. But I can think of its us...
-
04:57 PM Feature #14394: Class.descendants
- > Is there a use-case for mod.descendants where mod is a module and not a class?
Not that I know of. Active Suppor... -
02:01 PM Feature #14394: Class.descendants
- byroot (Jean Boussier) wrote in #note-20:
> I'm not sure `Module#descendants` is really useful, but I don't see any ... -
11:19 AM Feature #14394: Class.descendants
- > (and Kernel.descendants is the same but with Kernel extra).
I'm not sure `Module#descendants` is really useful, ... -
10:41 AM Feature #14394: Class.descendants
- byroot (Jean Boussier) wrote in #note-18:
> I don't think modules are a concern. At least in the Active Support imple... -
10:27 AM Feature #14394: Class.descendants
- > `self < self # => self`
I made a mistake meant `=> false`.
> I expect Object.descendants to be quite slow
... -
10:22 AM Feature #14394: Class.descendants
- byroot (Jean Boussier) wrote in #note-16:
> > self should be is contained or not?
>
> I don't think it should no. `s... -
10:08 AM Feature #14394: Class.descendants
- > self should be is contained or not?
I don't think it should no. `self < self # => self`.
> singleton classes ... -
06:12 AM Feature #14394: Class.descendants
- let's clear:
* `self` should be is contained or not? AS's method doesn't contain.
* singleton classes should be e... -
06:07 AM Feature #14394 (Feedback): Class.descendants
- Accepted.
Although on some implementation, `#descendants` can be slow since it may be implemented by scanning whol... -
04:27 PM Revision 24820d50 (git): Return nil when argument to ObjectSpace.internal_class_of is T_IMEMO
- The added test case crashes the interpreter because it makes
ObjectSpace.internal_class_of return the second VALUE sl... -
04:24 PM Bug #17144: Tempfile.open { ... } does not unlink the file
- Tempfile.open would be useful when an user want to remove the file by GC.
Tempfile.create doesn't provide the featur... -
09:30 AM Bug #17144: Tempfile.open { ... } does not unlink the file
- OK, https://github.com/ruby/tempfile/pull/4 is the PR that reverts it and already applied to ruby master.
I will t... -
04:45 AM Bug #17144 (Closed): Tempfile.open { ... } does not unlink the file
- To keep compatibility, we are not going to change the behavior of `Tempfile.open`. But to reduce the confusion, docum...
-
03:50 PM Feature #8948: Frozen regex
- I think at least interpolated regexp (`/a#{i}b/`) should be frozen though, like Range objects.
-
03:44 PM Feature #8948 (Assigned): Frozen regex
- > If so this should be postponed on introducing parallelization.
Reconsider about it? (freeze all regexp)
- 03:34 PM Revision 3a00f2a0 (git): ext/readline/depend: update-deps --fix
-
03:30 PM Revision 722a1e47 (git): RBIMPL_ALIGNAS: reorder #ifdef blocks
- Since r63443, `-std=gnu99 -D_XOPEN_SOUCE=x00` is added to Solaris'
`CPPFLAGS`. `CPPFLAGS` is shared among `CC` / `CX... - 03:27 PM Revision f7c41182 (git): * 2020-09-26 [ci skip]
-
03:20 PM Revision b271bd73 (git): test/net/smtp/test_smtp.rb: Stop io leaks
- `make test-all` was very noisy by warnings like
```
Leaked file descriptor: Net::TestSMTP#test_start_with_position_a... -
03:09 PM Feature #15504: Freeze all Range objects
- Eregon (Benoit Daloze) wrote in #note-10:
> Related, should Enumerator::ArithmeticSequence be frozen too?
new tic... -
01:58 PM Feature #15504: Freeze all Range objects
- Great!
Related, should Enumerator::ArithmeticSequence be frozen too? -
01:17 PM Feature #15504 (Closed): Freeze all Range objects
- Applied in changeset commit:git|0096d2b895395df5ab8696d3b6d444dc1b7730b6.
----------
freeze all Range objects.
Matz... -
11:53 AM Feature #15504: Freeze all Range objects
- Ok, I freeze all Ranges except sub-classes.
https://github.com/ruby/ruby/pull/3583 -
08:49 AM Feature #15504: Freeze all Range objects
- I agree with making ranges frozen. I don't see any particular case that could be broken by frozen ranges.
Since ther... - 02:56 PM Revision 8119e5b0 (git): memory_view.c: prevent "warning: instance variable __memory_view__ not initialized"
-
02:45 PM Revision abdd3c56 (git): test/ruby/test_enumerator.rb: check the deprecation warning
- by explicitly setting `Warning[:deprecated] = true`.
I removed "capture_io" at 79063d8cbfb7ce4740774289252a2a20dc9a5d... -
02:39 PM Revision 0db5324e (git): test/ruby/test_memory_view.rb: prevent "assigned but unused variable - members"
-
02:38 PM Revision 79063d8c (git): test/ruby/test_enumerator.rb: remove capture_io that is no longer needed
- The deprecation warning was disabled, and the code to check the warning
was removed at 996af2ce086249e904b2ce95ab2fcd... -
02:37 PM Revision e4b2c4fc (git): t/json/json_common_interface_test.rb: fix wrong indentation
- to prevent:
```
test/json/json_common_interface_test.rb:182: warning: mismatched indentations at 'end' with 'def' at... -
02:31 PM Bug #17188 (Closed): Freeze Encoding objects for Ractor
- Currently Encoding objects are not frozen:
```
$ ruby -ve 'p Encoding::US_ASCII.frozen?'
ruby 3.0.0dev (2020-09-25... -
01:41 PM Feature #17056: Array#index: Allow specifying the position to start search as in String#index
- Hi,
fatkodima (Dima Fatko) wrote in #note-8:
> to avoid updating all of them, I would prefer just add start inde... -
11:07 AM Feature #17056: Array#index: Allow specifying the position to start search as in String#index
Eregon (Benoit Daloze) wrote in #note-7:
> What if a block is given, and one want to use a start index? (for effic...-
10:11 AM Feature #17056: Array#index: Allow specifying the position to start search as in String#index
- What if a block is given, and one want to use a start index? (for efficiency and not run the block for the first `sta...
-
06:23 AM Feature #17056: Array#index: Allow specifying the position to start search as in String#index
- Accepted.
How do you think about end index? Do we need it? If so, should we add end index to `String#index` as we... -
01:16 PM Revision 0096d2b8 (git): freeze all Range objects.
- Matz want to try to freeze all Range objects.
[Feature #15504] -
12:34 PM Revision f4328d7f (git): [ruby/readline-ext] Remove unnecessary header files from depend
- https://github.com/ruby/readline-ext/commit/f9783c0739
- 12:32 PM Revision c04c34df (git): memory_view.h: brush up the description in the comment
- 12:16 PM Revision 56012d2f (git): NEWS.md: Add memory view entry
- The memory view interface added at 890bc2cdde is experimental new C-API
set. This feature permits extension librarie... -
12:06 PM Feature #13767 (Closed): add something like python's buffer protocol to share memory between different narray like classes
- Fixed by https://github.com/ruby/ruby/commit/890bc2cdde4097390f3b71dfeaa36dd92ee0afe2
-
12:06 PM Feature #14722 (Closed): python's buffer protocol clone
- Fixed by https://github.com/ruby/ruby/commit/890bc2cdde4097390f3b71dfeaa36dd92ee0afe2
-
11:37 AM Revision caaa36b4 (git): prohibi method call by defined_method in other racotrs
- We can not call a non-isolated Proc in multiple ractors.
- 11:32 AM Revision 890bc2cd (git): Buffer protocol proposal (#3261)
- * Add buffer protocol
* Modify for some review comments
* Per-object buffer availability
* Rename to MemoryView fr... -
11:28 AM Revision 6eeacbbc (git): Extract assert assertion to assert_include and assert_not_include.
-
11:21 AM Feature #17187: Add connect_timeout to TCPSocket
- Pull Request: https://github.com/ruby/ruby/pull/3585
-
11:17 AM Feature #17187 (Closed): Add connect_timeout to TCPSocket
- Add connect_timeout to TCPSocket.new in the same way as Socket.tcp.
```ruby
TCPSocket.new("192.0.2.1", 1234, conn... -
10:21 AM Revision 8705dba1 (git): Update dependencies
-
10:21 AM Revision cd44febc (git): Add check_dependencies workflow
-
10:03 AM Feature #17184: No stdlib function to perform simple string replacement
- IMHO, rather than change the behavior of `gsub`, introducing a much simpler `String#replace(search, replace)` would m...
-
01:54 AM Feature #17184: No stdlib function to perform simple string replacement
- > I think we should remove special treatment of `\+`, etc in the replacement string for `sub/gsub(String, String)`.
... -
09:17 AM Feature #17173: open-uri で ciphers を設定したい
- net/http の ciphers を設定する ssl_ciphers キーワード引数を open-uri に加えるのはあり得ると思います。
-
08:28 AM Revision 81dc37b1 (git): assert_true is not provided by test-unit
- 08:28 AM Revision e30d1b09 (git): Fix pure parser with unclosed arrays / objects [Fix #314]
-
08:28 AM Revision 927a377a (git): [flori/json] Fix JSON.load_file doc
- https://github.com/flori/json/commit/cb61a00ba8
-
08:28 AM Revision 038252fe (git): [flori/json] Partial compliance with doc/method_documentation.rdoc
- https://github.com/flori/json/commit/6dfa885134
-
08:28 AM Revision 71f64e15 (git): [flori/json] Enhanced RDoc for JSON.dump (#443)
- * Enhanced RDoc for JSON.dump
https://github.com/flori/json/commit/03f1699ec4 - 08:28 AM Revision 3d5e8339 (git): bundle the LICENSE file in the gem
-
08:28 AM Revision de0e0ffa (git): [flori/json] Nodoc for recurse_proc
- https://github.com/flori/json/commit/f8c0fe2408
-
08:28 AM Revision e9096f79 (git): [flori/json] RDoc for JSON.load with proc
- https://github.com/flori/json/commit/a55c91934e
-
08:28 AM Revision 0089854f (git): [test] properly 'skip' test on JRuby
- an early return still caused ensure to execute,
setting JSON constant to `nil` for later tests! -
08:28 AM Revision f8d43e53 (git): unify json-java gemspec with the baseline
-
08:28 AM Revision 8c057bb8 (git): [flori/json] RDoc example for JSON.load
- https://github.com/flori/json/commit/e4eead665c
-
08:28 AM Revision 36b2177e (git): [flori/json] Enhance RDoc for JSON.parse
- https://github.com/flori/json/commit/33e64ef255
-
08:28 AM Revision 71b1bbad (git): [flori/json] Move options from #generate and #parse to common area
- https://github.com/flori/json/commit/20d7be605a
-
08:28 AM Revision c3614877 (git): [flori/json] Add `load_file` and `load_file!` methods, with tests. Fixes issue #386.
- https://github.com/flori/json/commit/0be363c99b
-
08:28 AM Revision e1659af3 (git): Add an option to escape forward slash character
- Squashed commit of the following:
commit 26d181059989279a79c433cedcd893b4f52e42ee
Author: Francois Chagnon <francois... -
08:08 AM Revision c5ea060e (git): Update NEWS about RBS (#3579)
-
07:14 AM Feature #13683: Add strict Enumerable#single
- A practical use case: When scraping a HTML document or something, sometimes we assume that an array length is 1.
`... -
07:12 AM Feature #13683: Add strict Enumerable#single
- Dan0042 (Daniel DeLorme) wrote in #note-25:
> > If collection is empty and a block was given, returns the block's re... -
07:00 AM Revision 25cfb0c0 (git): Range is based on Struct.
- Range can be shareable because it is implemented by Struct.
-
07:00 AM Revision 96739c42 (git): Frozen Struct can be shareable.
- A frozen Struct object which refers to shareable objects should be
shareable. -
06:53 AM Bug #17030: Enumerable#grep{_v} should be optimized for Regexp
- As far as we measured, there are still plenty of room for the optimization (for example, we don't need to allocate `M...
-
06:47 AM Revision 97416ae5 (git): Describe resolv_timeout in NEWS
-
06:39 AM Revision f2d1808e (git): Add comments for resolv_timeout
-
06:19 AM Feature #17134 (Closed): Add resolv_timeout to TCPSocket
- Applied in changeset commit:git|511fe23fa2bdf1f17faa91e0558be47b5bb62b2a.
----------
Add resolve_timeout to TCPSocke... -
06:19 AM Revision 511fe23f (git): Add resolve_timeout to TCPSocket [Feature #17134]
-
05:42 AM Feature #15628 (Assigned): init_inetsock_internal should fallback to IPv4 if IPv6 is unreachable
-
04:11 AM Revision b72f9200 (git): [ruby/psych] Forward keyword arguments in load_file and load_stream
- https://github.com/ruby/psych/commit/4e1dd37f09
-
04:11 AM Revision 8ea1021f (git): [ruby/psych] Bump version to 3.2.0
- https://github.com/ruby/psych/commit/181a727c90
- 04:11 AM Revision 263c4348 (git): [ruby/psych] Revert psych version
- https://github.com/ruby/psych/commit/55a294fcd0
- 04:11 AM Revision f794c928 (git): [ruby/psych] Update SNAKEYAML CVE-2017-18640
- to version 1.26
https://github.com/ruby/psych/commit/b2802135e7 -
04:11 AM Revision 33641e00 (git): Remove private_iv_get
- The only remaining use of this function was to get the internal
message object from an exception's hidden `mesg` inst... -
04:07 AM Revision 6081ba4a (git): refactoring a test code.
- make a test more clear.
-
03:53 AM Revision d247deda (git): Ractor.yield should raise if out-port is closed
- Ractor.yield should raise Ractor::ClosedError if current Ractor's
outgoing-port is closed. -
03:52 AM Revision 52865263 (git): frozen T_OBJECT can be shareable.
- If an T_OBJECT object is frozen and all ivars are shareable,
the object should be shareable. -
03:52 AM Revision fde13615 (git): should not check taint flag on rubyspec.
- Now taint flag is obsolete and it is used fro shareaable flag.
So we should not check this flag. -
02:38 AM Revision c6c241e4 (git): enrich comment
- Added description and URL about nested flexible array member.
-
02:38 AM Revision 4cc501bc (git): ext/-test-/RUBY_ALIGNOF: skip C++ when no compiler
- C++ compilers are optional. Skip C++ tests when they are absent.
-
02:38 AM Revision e75aed7a (git): RBIMPL_ALIGNOF: do not use constexpr
- Was definitely a bad idea to use constexpr. It is not ubiquitous.
-
02:38 AM Revision 0b77a86d (git): ext/-test-/RUBY_ALIGNOF: add minimalistic test
- Check if RUBY_ALIGNOF(double) is the alignment to store a double inside
of a struct. -
02:38 AM Revision 873fb1aa (git): ALLOCA_N: do not use RUBY_ALIGNOF
- Now that RUBY_ALIGNOF behaves like C11's _Alignof. This is not
necessarily the best stack arrangement. We can just ... -
02:38 AM Revision e9fb2bc8 (git): RBIMPL_ALIGNOF: do not use __alignof__
- It is reported that on a system of i386 System V ABI, GCC returns 8 for
__alignof__(double). OTOH the ABI defines al... -
02:38 AM Revision fe875be0 (git): rb_cv_have_alignas: not used any longer
- Availability of `alignas` is checked in include/ruby/internal/stdalign.h
now. That does not need this configure chec... -
01:53 AM Feature #16786: Light-weight scheduler for improved concurrency.
- Eregon (Benoit Daloze) wrote in #note-56:
> What's `Fiber#annotate`?
It's a way to add a description to what a fiber... -
01:01 AM Feature #13381: [PATCH] Expose rb_fstring and its family to C extensions
- Any of the earlier suggestions were good, such as "pool" or "deduped". But while "interned" is technically correct, i...
-
12:50 AM Revision 996af2ce (git): Disable deprecation warning by the default [Feature #16345]
- And `-w` option turns it on.
09/24/2020
-
11:38 PM Revision 83ff0f74 (git): Enhanced RDoc for String#match? (#3576)
- * Enhanced RDoc for String#match?
-
10:54 PM Revision 53acf668 (git): Revert "[ruby/webrick] Add test for shutdown_pipe"
- This reverts commit c06eab13290757fc326bb2a6e3ac25cd53e00894.
-
10:33 PM Revision c5960d51 (git): Revert "[ruby/webrick] Fix shutdown_pipe test issue"
- This reverts commit b8fdd38b2e01abcfd4cc8d007a3b3afb285f5ddb.
-
10:11 PM Bug #17186 (Closed): Integer overflow in "chr" error message (out of char range)
- Example:
```
irb(main):001:0> 300_000_000.chr
RangeError (300000000 out of char range)
irb(main):002:0> 3_000_0... -
06:23 PM Revision 38385d28 (git): Enhanced RDoc for String (#3574)
- Methods:
=~
match -
05:09 PM Bug #17185 (Closed): OpenSSL 1.1.1h failures
-
05:05 PM Bug #17185: OpenSSL 1.1.1h failures
- With the commits by @mame, both mingw & mswin are passing with 1.1.1h.
Thanks, Please close whenever. -
03:00 PM Bug #17185 (Closed): OpenSSL 1.1.1h failures
- Both mswin and mingw are currently failing, with the only obvious change being a change to OpenSSL 1.1.1h. Note that...
-
04:48 PM Feature #17184: No stdlib function to perform simple string replacement
- znz (Kazuhiro NISHIYAMA) wrote in #note-8:
> You can use `gsub("SCRIPT") { "replacement" }`.
I forgot about this ... -
04:46 PM Feature #17184: No stdlib function to perform simple string replacement
- sheerun (Adam Stankiewicz) wrote in #note-7:
> String doesn't have dup method
What do you mean? `"foo".dup # => "... -
03:45 PM Feature #17184: No stdlib function to perform simple string replacement
- Nice, it actually suits me.
I'll leave this issue open though, because I agree with what Benoit said above -
02:35 PM Feature #17184: No stdlib function to perform simple string replacement
- You can use `gsub("SCRIPT") { script }`.
If you do not want the special treatment of replacement, you should use `... -
01:33 PM Feature #17184: No stdlib function to perform simple string replacement
- String doesn't have dup method
-
12:50 PM Feature #17184: No stdlib function to perform simple string replacement
- @chrisseaton noticed the same issue a while ago.
`String#[]=` only replaces the first occurrence (and mutates the ... -
12:24 PM Feature #17184: No stdlib function to perform simple string replacement
- Little more advanced, but common usecase, which also doesn't have built-in function is replacing all strings in simpl...
-
12:20 PM Feature #17184: No stdlib function to perform simple string replacement
For now I'm using self-implemented function, but I wish there was something built-in:
```rb
class String
# S...-
12:02 PM Feature #17184: No stdlib function to perform simple string replacement
- byroot (Jean Boussier) wrote in #note-2:
> The intended API for that is `String[]=`, e.g.
Is there a non-mutable ... -
11:59 AM Feature #17184: No stdlib function to perform simple string replacement
- The intended API for that is `String[]=`, e.g.
```ruby
string["search"] = "replace"
```
-
11:56 AM Feature #17184: No stdlib function to perform simple string replacement
- The hash replacement form of gsub doesn't have this problem, strangely enough:
``` ruby
'mislocated cat, vindicating... -
11:37 AM Feature #17184 (Assigned): No stdlib function to perform simple string replacement
- I have following simple `build.rb`:
```rb
template = File.read('template.vim')
script = File.read('script.vim')
... -
03:55 PM Revision 6fe2a9fc (git): Enhanced RDoc for String (#3569)
- Makes some methods doc compliant with https://github.com/ruby/ruby/blob/master/doc/method_documentation.rdoc. Also, o...
- 03:26 PM Revision b30af31c (git): * 2020-09-25 [ci skip]
-
03:25 PM Revision 7ad3aff4 (git): Ractor#close_outgoping cancel Ractor.yield
- Ractor#close_outgoing should cancel waiting Ractor.yield. However,
yield a value by the Ractor's block should not can... -
01:20 PM Revision 757e185c (git): Revert "[ruby/webrick] Allow empty POST and PUT requests without content length"
- This reverts commit ed12019ce6abe87aac87ec77ac081d37b25180a2.
https://github.com/ruby/ruby/runs/1160423667?check_s... -
12:41 PM Revision 588ac990 (git): [ruby/webrick] Manually pick commit from upstream repo
- Fix test when run with US-ASCII encoding
https://github.com/ruby/webrick/commit/f402aafb36bbd43be54621405da550643a... -
12:37 PM Revision f64bea6d (git): [ruby/webrick] Allow shutdown_pipe to be passed in via @config
- https://github.com/ruby/webrick/commit/30152b4bf9
-
12:34 PM Revision c12c7fea (git): [ruby/webrick] Only run test_big_bodies test on Ruby 2.5+
- It was added after Ruby 2.5, and it looks like it never ran correctly
on Ruby <2.5.
https://github.com/ruby/webrick/... -
12:34 PM Revision ed12019c (git): [ruby/webrick] Allow empty POST and PUT requests without content length
- RFC 7230 section 3.3.3 allows for this.
Fixes #30
https://github.com/ruby/webrick/commit/069e9b1908 -
12:33 PM Revision 0fe64611 (git): [ruby/webrick] Allow EPROTOTYPE error when writing junk to a socket
- MacOS seems to raise this error in some cases.
https://github.com/ruby/webrick/commit/0f0c9f1e61 -
12:32 PM Revision b8fdd38b (git): [ruby/webrick] Fix shutdown_pipe test issue
- https://github.com/ruby/webrick/commit/9676704c60
-
12:31 PM Revision 4715a24d (git): [ruby/webrick] Ensure server port numbers are numeric and ensure they are stored as integers
- https://github.com/ruby/webrick/commit/86ed621e11
-
12:31 PM Revision c06eab13 (git): [ruby/webrick] Add test for shutdown_pipe
- https://github.com/ruby/webrick/commit/1daacc1849
-
12:30 PM Revision d969cf60 (git): [ruby/webrick] Do not use ensure in a block without begin
- This syntax is not supported until Ruby 2.5, and Webrick still
targets Ruby 2.3+.
https://github.com/ruby/webrick/co... -
12:22 PM Revision 96da24f2 (git): [ruby/webrick] Make readpartial limit chunk to appropriate size
- https://github.com/ruby/webrick/commit/e693f501bd
-
12:21 PM Revision 46ba416a (git): [ruby/webrick] Skip env-locale-sensitive CGI test on the "java" platform
- JRuby's environment variables are provided by the Java Development
Kit's (JDK's) classes, which present them as a map... -
10:39 AM Revision 0c611d7f (git): test/net/http/test_https.rb: The test logic was buggy
- The expected certs must be `[CA_CERT, SERVER_CERT]` before 1.1.1g and
`[SERVER_CERT]` after 1.1.1h. -
10:34 AM Revision 1917afa3 (git): test/net/http/test_https.rb: the order of verify_callback seems to vary
- ... depending upon the environment.
-
10:30 AM Revision 4405423c (git): test/ostruct/test_ostruct.rb: Prevent "method redefined; discarding old foo"
-
10:29 AM Revision 416bb11a (git): test/fiber/scheduler.rb: Prevent "instance variable @urgent not initialized"
-
10:20 AM Revision 07786edd (git): test/net/http/test_https.rb: Stop the error due to openssl 1.1.1h
- On some environments that uses OpenSSL 1.1.1h, the two tests now fail.
http://rubyci.s3.amazonaws.com/android29-x86_... -
09:39 AM Feature #10561: Improve function of Thread::Backtrace::Location #path and #absolute_path
- There is an extra difference that #absolute_path will also try to canonicalize the path and resolve symlinks, so then...
-
08:09 AM Revision 29ed16ff (git): add GC_GUARD
- We observed mark miss on this point so we add RB_GC_GUARD() to
avoid wrong free. -
08:09 AM Revision 4a588e70 (git): sync rb_gc_register_mark_object()
- rb_vm_t::mark_object_ary is global resource so we need to
synchronize to access it. -
01:32 AM Bug #17183: Float round working weirdly
- Agreed to @marcandre . This sounds like a real bug.
- 12:56 AM Revision e06f4a3b (git): Remove test for putiseq insn
- putiseq was removed from instruction set in 2b5bb8a0
-
12:17 AM Bug #16809: Fiber crashes with --with-coroutine=copy
- It looks like sometimes the copy coroutine implementation can segfault even on x86_64: https://travis-ci.org/github/r...
09/23/2020
-
11:17 PM Bug #10534 (Rejected): Enumerator methods other than "next" do not always respect "peek"
-
11:12 PM Bug #16455: coroutine ucontext uses deprecated POSIX getcontext/swapcontext/makecontext, absent in musl and uclibc
- Understood. The PR looks acceptable and the right fix.
My advice is to avoid the copy coroutine implementation if ... -
11:03 PM Feature #10561: Improve function of Thread::Backtrace::Location #path and #absolute_path
- I've improved the documentation for `#path` and `#absolute path` in commit:fae135c5b39db173bf97dfa3c3a34eb8fb230276. ...
-
10:55 PM Revision fae135c5 (git): Document difference between Thread::Backtrace::Location#{,absolute_}path
- They are usually the same, except for locations in the main script.
-
10:23 PM Feature #10637 (Assigned): Puppet orchestration on vagrant fails with Error: Non-HTTP proxy URI
- Currently, open-uri only supports http proxies, not https proxies (you can connect to https sites through an http pro...
-
10:20 PM Bug #17183: Float round working weirdly
- I think that's a bug. Looks different but maybe related to #14365.
-
10:07 PM Bug #17183: Float round working weirdly
- This is a known issue and not a bug. My bad. I cannot delete the ticket
-
09:34 PM Bug #17183 (Closed): Float round working weirdly
- I encountered this issue when casting a specific float with a especific round argument.
```
0.5.round(15)
=> 0.5... -
10:11 PM Bug #10749 (Closed): Possible overflow in GC::Profiler report on 2.2.0
-
10:01 PM Bug #10684 (Rejected): Block arity changes through Enumerable methods
- 06:52 PM Revision 502c3ff0 (git): * 2020-09-24 [ci skip]
-
06:52 PM Revision 637d1cc0 (git): Improve the performance of super
- This PR improves the performance of `super` calls. While working on some
Rails optimizations jhawthorn discovered tha... -
06:01 PM Feature #17143: Improve support for warning categories
- ko1 (Koichi Sasada) wrote in #note-3:
> My concern is, arbitrary categories make filtering difficult on Warning.warn... -
05:44 PM Feature #17143: Improve support for warning categories
- My concern is, arbitrary categories make filtering difficult on Warning.warn method.
Another concern is, "what is th... -
05:35 AM Feature #17143: Improve support for warning categories
- ko1 (Koichi Sasada) wrote in #note-1:
> Let me clear the proposal. Your PR seems to allow any categories (and any cl... -
04:57 AM Feature #17143: Improve support for warning categories
- Let me clear the proposal. Your PR seems to allow any categories (and any class of object). Is it intentional?
-
03:37 PM Feature #17134: Add resolv_timeout to TCPSocket
- It receives `resolv_timeout` as a keyword argument to specify name resolution timeout.
Example:
```ruby
# it rai... -
05:15 AM Feature #17134: Add resolv_timeout to TCPSocket
- Could you describe API changes more?
-
02:40 PM Bug #16809 (Assigned): Fiber crashes with --with-coroutine=copy
- OpenBSD/sparc64 (which uses copy coroutine) is similarly broken in regards to fibers. Even something simple like `ru...
-
11:00 AM Bug #16809: Fiber crashes with --with-coroutine=copy
- I've tested copy coroutine. Unfortunately today it is broken completely: hangs, segfaults, etc.
-
02:10 PM Bug #12468 (Closed): Logger: Can not rotate (log shifting failed. closed stream)
-
01:01 PM Revision b717f734 (git): Revert "Manually merged from https://github.com/rubygems/rubygems/pull/2636"
- 31a6eaabc165d8a222e176f2c809d90622d88ec2 is obsoleted with
https://github.com/rubygems/rubygems/pull/3820 -
12:06 PM Revision a4684161 (git): bump Bundler's version to 2.2.0.rc.1
-
12:02 PM Revision 31a6eaab (git): Manually merged from https://github.com/rubygems/rubygems/pull/2636
- Enable Style/EmptyLinesAroundClassBody rubocop cop.
-
11:28 AM Revision f56fc720 (git): bundle-package.* was removed at upstream repo
-
08:47 AM Revision b57c5467 (git): strip trailing spaces [ci skip]
-
08:38 AM Revision 5cc72881 (git): Update the version number of rubygems and bundler at NEWS.md
-
07:23 AM Feature #13381: [PATCH] Expose rb_fstring and its family to C extensions
- Would you like a patch?
-
06:07 AM Feature #13381: [PATCH] Expose rb_fstring and its family to C extensions
- I'm now positive "interned_str" instead of "interned".
-
02:44 AM Revision 9a8f5f0a (git): Fix call-seq [ci skip]
- `encoding` can be not only an encoding name, but also an Encoding object.
```
s = String.new('foo', encoding: Encodi... -
01:59 AM Revision ba889100 (git): Bundle rbs gem as bundled gems (#3496)
- * Added rbs as bundled gems
* Added the missing dependencies for rbs gem -
12:43 AM Feature #4917: `NilClass#to_ary`
- y_feldblum (Jay Feldblum) wrote in #note-6:
> This minor performance issue becomes a huge problem when NilClass#meth... -
12:09 AM Revision e380f788 (git): Removed rb_find_file_ext_safe and rb_find_file_safe
09/22/2020
-
11:08 PM Bug #16455: coroutine ucontext uses deprecated POSIX getcontext/swapcontext/makecontext, absent in musl and uclibc
- ioquatix (Samuel Williams) wrote in #note-7:
> It is fixed: https://github.com/ruby/ruby/pull/2995
Hello, you hav... -
10:44 PM Bug #11778 (Closed): recv_io with mode breaks when klass arg is kind of BasicSocket
- Applied in changeset commit:git|ed27c2514c2f4140546dce2e8f5f64cb91712c47.
----------
Update UnixSocket#recv_io tests... -
09:11 PM Bug #11778: recv_io with mode breaks when klass arg is kind of BasicSocket
- I don't think this is a bug. If you pass a non-nil mode argument to `recv_io`, you should ensure that `klass.for_fd`...
-
10:44 PM Revision ed27c251 (git): Update UnixSocket#recv_io tests to handle receiving a UnixSocket
- Receiving UnixSocket works fine if you don't provide a mode, and
I think it is reasonable to expect that you should n... -
09:32 PM Revision b904b729 (git): Enhanced RDoc for String (#3565)
- Makes some methods doc compliant with https://github.com/ruby/ruby/blob/master/doc/method_documentation.rdoc. Also, o...
-
08:40 PM Revision 3d474e19 (git): Rudimentary support for disassembling rb_iseq_t
- I need to disassemble instruction sequences while debugging, so I wrote
this.
Usage is like this:
```
(lldb) p iseq... -
08:08 PM Bug #12136 (Closed): OpenStruct.new(format: :bar).send :format # => too few arguments
-
08:06 PM Bug #12251 (Closed): DelegateClass(OpenStruct) behavior in 2.3.0 different from 2.2
- The OpenStruct changes were reverted starting around commit:e026e186f4a01aa3f6cd02ae6ef33f44f129361c, so you once aga...
-
08:02 PM Bug #12258 (Closed): RDoc bug when handling comments in C code examples
-
07:07 PM Bug #17007 (Assigned): SystemStackError when using super inside Module included and lexically inside refinement
- To restore compatibility with Ruby 2.7 and fix #17182, I've reverted commit:eeef16e190cdabc2ba474622720f8e3df7bac43b ...
-
07:05 PM Bug #17182 (Closed): Refinements behavior is broken
- Applied in changeset commit:git|179384a66862d5ef7413b6f4850b97d0becf4ec9.
----------
Revert "Prevent SystemStackErro... -
06:00 PM Bug #17182: Refinements behavior is broken
- After some more thought, I think it's better to revert my fix and reopen #17007. Here's a PR for that, I plan on mer...
-
04:00 PM Bug #17182 (Assigned): Refinements behavior is broken
- This is discussed in https://bugs.ruby-lang.org/issues/17007#note-4. I'm not sure whether the previous behavior is s...
-
03:47 PM Bug #17182 (Closed): Refinements behavior is broken
- Calling the methods defined by Refinements via `super` from a singleton method breaks the behavior.
```ruby
cla... -
07:04 PM Revision 179384a6 (git): Revert "Prevent SystemStackError when calling super in module with activated refinement"
- This reverts commit eeef16e190cdabc2ba474622720f8e3df7bac43b.
This also reverts the spec change.
Preventing the Sys... -
06:30 PM Bug #12468: Logger: Can not rotate (log shifting failed. closed stream)
- I can't test cygwin, but I've added a pull request to logger that should fix this by treating cygwin like mswin and m...
-
06:12 PM Bug #12708 (Closed): Net::IMAP : Mail To address is not correct when uid_fetch is called.
-
04:20 PM Revision f3dddd77 (git): Add a comment about why we're checking the finalizer table
- 04:01 PM Revision 3c808898 (git): * 2020-09-23 [ci skip]
-
03:57 PM Revision 8b41e9b6 (git): Revert "Pin values in the finalizer table"
- If an object has a finalizer flag set on it, prevent it from moving.
This partially reverts commit 1a9dd31910699c7cd... -
12:45 PM Bug #17175: Ruby 2.5: OpenSSL related test failures
- > As a information, openssl 2.1.2 is used on Ruby 2.5.8.
openssl 2.1.2 is used for both Ruby 2.5.8 and Ruby 2.7.1.... -
07:40 AM Feature #17135: Improve performance of Integer#size method
- I try to improve performance of `Integer#size` in C code with refer to `TrueClass#to_s`
```c
static VALUE rb_c... -
02:35 AM Bug #17181 (Closed): Hash with default block breaks after transforming values
- Applied in changeset commit:git|df14c758fc705c49c2aaf4c9276a8f7229438fbf.
----------
Make hash returned by Hash#tran... -
12:58 AM Bug #17181: Hash with default block breaks after transforming values
- PR: https://github.com/ruby/ruby/pull/3563
-
02:35 AM Revision df14c758 (git): Make hash returned by Hash#transform_values not have a default
- This sets an explicit default of nil. There is probably a better
approach of removing the default.
Fixes [Bug #17181]
09/21/2020
-
09:59 PM Bug #17181: Hash with default block breaks after transforming values
- jeremyevans0 (Jeremy Evans) wrote in #note-1:
> Thanks for the report. I can confirm the issue. It looks like `rb_... -
09:54 PM Bug #17181: Hash with default block breaks after transforming values
- Thanks for the report. I can confirm the issue. It looks like `rb_hash_transform_values` is missing `COPY_DEFAULT(r...
-
04:57 PM Bug #17181 (Closed): Hash with default block breaks after transforming values
- I found a problem with Hashes that use a default proc.
```ruby
x = Hash.new { |h, k| h[k] = [] }
x[:a] << 1
x[:... - 04:28 PM Revision 7ee166ed (git): * 2020-09-22 [ci skip]
-
04:27 PM Revision c6c5d4b3 (git): Comply with guide for method doc: string.c (#3528)
- Methods:
::new
#length
#bytesize
#empty?
#+
#*
#% -
03:29 PM Bug #17175: Ruby 2.5: OpenSSL related test failures
- As my experiment, I tried to run the tests on the Ruby 2.5.8 by regular user after changing the crypto policy by root...
-
11:55 AM Bug #17175: Ruby 2.5: OpenSSL related test failures
- Hi Greg L,
Thanks for taking a look at this!
> Sorry for the delay. I used to get pinged here, but it stopped a w... -
01:55 AM Bug #17175: Ruby 2.5: OpenSSL related test failures
- I suspect that the ruby/ruby commit mentioned above will help, also see the commits @rhenium did listed in https://gi...
-
02:22 PM Revision 82998918 (git): Make Thread#join always convert its argument, as before 70f08f1eed
-
02:04 PM Revision 2b73e6ba (git): Simplify the implementation of Scheduler#block
- * This shows block() with a timeout is similar to #kernel_sleep and also
does not need to change `@blocking`. -
01:58 PM Revision 0fa1c82b (git): Make it clear the first field of join_arg is the waiting thread
- * And not some list of sort.
-
01:54 PM Revision c19bcf38 (git): Fix Thread leak in Thread#join specs
-
01:50 PM Feature #17145: Ractor-aware `Object#deep_freeze`
- ko1 (Koichi Sasada) wrote in #note-8:
> For Ractor, it is very clear. Another candidate is `to_shareable`
Methods... -
09:06 AM Feature #16786: Light-weight scheduler for improved concurrency.
- What's `Fiber#annotate`?
-
12:22 AM Feature #16786: Light-weight scheduler for improved concurrency.
- With the help of @eregon, I have tidied up the implementation so that:
- We found and fixed a few bugs.
- Changing t... - 05:04 AM Revision 10d795cf (git): Add NEWS about `Fiber#backtrace` and `Fiber#backtrace_locations`.
- 03:28 AM Revision f7aa51b2 (git): Update NEWS & documentation relating to scheduler.
09/20/2020
- 11:48 PM Revision 70f08f1e (git): Make `Thread#join` non-blocking.
- 09:51 PM Revision 59617315 (git): * 2020-09-21 [ci skip]
- 09:51 PM Revision 501fff14 (git): When setting current thread scheduler to nil, invoke `#close`.
-
05:57 PM Feature #17145: Ractor-aware `Object#deep_freeze`
- Maybe `obj.shareable`? And that would then return as-is if already shareable, and make it shareable if not (deep free...
-
05:43 PM Misc #17180: Ractor and constant referencing
- For the Struct example above, probably it needs the "Matz" String to be frozen too, or `#deep_freeze` (#17145) to mar...
-
02:13 PM Revision b6d599d7 (git): Update heap_pages_himem after freeing pages
- 02:10 PM Revision be2efb11 (git): Fulfill missing tests and stabilize tests
- 02:10 PM Revision 398da711 (git): Validate name during initialization
- 02:10 PM Revision d5fa6615 (git): Add status to Ractor#inspect
- 11:39 AM Revision 84c4c7be (git): * 2020-09-20 [ci skip]
-
11:35 AM Revision 6987c899 (git): Remove from waiter in Mutex#lock with ensure when calling rb_scheduler_block()
- * Previously this could lead to an invalid waiter entry and then trying
to wake up that waiter would result in vari... -
11:23 AM Revision c10326d9 (git): bump patchlevel to 128
-
11:23 AM Revision 1b39a995 (git): Revert "statement experssion is a GCCism" to pass ICC CI.
- This reverts commit a6b50f379d4b71acac73ac6b22cbe2d2c5b50b3f.
-
07:19 AM Bug #17179: Unexpected warning during value assignment to setter
- jeremyevans0 (Jeremy Evans) wrote in #note-3:
> This is expected behavior in Ruby 2.7, due to keyword argument separ... -
03:11 AM Bug #17175: Ruby 2.5: OpenSSL related test failures
- @jaruga
Sorry for the delay. I used to get pinged here, but it stopped a while ago. Anyway, I'm not sure what th...
09/19/2020
-
11:19 PM Feature #17177: Include the current file name and the line number in the output of `p`
- What about the method name `inform`?
-
10:07 PM Bug #17179 (Rejected): Unexpected warning during value assignment to setter
- This is expected behavior in Ruby 2.7, due to keyword argument separation. The warning is valid because the code wil...
-
09:22 PM Bug #17179 (Rejected): Unexpected warning during value assignment to setter
- ```ruby
some_instance = Class.new { def some_setter=(a:, b:); end }.new
setter_params = { a: 1, b: 2 }
some_instan... -
09:33 PM Misc #17180: Ractor and constant referencing
- Another example:
```ruby
Person = Struct.new(:name)
CREATOR = Person.new("Matz").freeze
parser = Ractor.new { CREAT... -
09:24 PM Misc #17180 (Open): Ractor and constant referencing
- Hey there.
From a high level, this bug report is describing my experience building something simple with Ractor wi... -
02:34 PM Feature #17047: Support parameters for MAIL FROM and RCPT TO
- I am new to Ruby development. Please let me know if I need to do anything else to get this patch accepted.
-
08:47 AM Revision 73a626c0 (git): [ruby/io-wait] update required_ruby_version
- As d387029f39d976565c955377117103499d47ff09 made io/wait
unbuildable with older versions, drop older versions tentati... -
08:40 AM Revision 702cebf1 (git): strip trailing spaces [ci skip]
-
12:07 AM Revision 6cb6d5ab (git): Add assertions when inline caches are copied to MJIT
- This is a temporary commit to try to find a GC issue. It seems like
mjit is pointing at a moved address in the call ...
Also available in: Atom