Activity
From 12/15/2021 to 12/21/2021
12/21/2021
-
10:52 PM Revision fff9b45f (git): Reverts the accidental commits for rubygems/bundler.
- We stay to the stable version for releasing Ruby 3.1.0.
Revert commits:
b86a7ba49252e00e19c22bbcdc821b5acc31ff92
ef973aa7aa65143a4f05d623c016d459426770d0 - 10:04 PM Revision d9570437 (git): Remove incorrectly added `update.rb` file.
- 09:57 PM Revision e3092035 (git): Extended interface for IO::Buffer & documentation.
-
07:22 PM Feature #14975: String#append without changing receiver's encoding
- `IO::Buffer` makes this less important.
-
06:12 PM Revision b86a7ba4 (git): [rubygems/rubygems] Fix error when gem specified twice in gemfile under different platforms
- https://github.com/rubygems/rubygems/commit/83bc87ca98
-
06:12 PM Revision ef973aa7 (git): [rubygems/rubygems] These commands shouldn't be failing, just warning
- https://github.com/rubygems/rubygems/commit/04b1ac72b9
- 05:49 PM Revision ad353773 (git): * 2021-12-22 [ci skip]
-
05:49 PM Revision 779039a4 (git): add ref to the ticket
-
04:22 PM Bug #18380: TestAddressResolve#test_socket_getnameinfo_domain_blocking test failures
- Still issue with commit:git|cdb7d699d0
-
04:19 PM Bug #18419: TestObjectSpace#test_finalizer_thread_raise deadlocks
- This might be outfall of the did_you_mean update, which was reverted. It seems that commit:git|cdb7d699d0 passes fine. I'll keep observing.
-
02:29 PM Bug #18419 (Rejected): TestObjectSpace#test_finalizer_thread_raise deadlocks
- Testing Ruby 3.1 commit:git|a6f76122a2, I have started to observe deadlock in `TestObjectSpace#test_finalizer_thread_raise`. I hope I am not just impatient, but I have not observer any issues testing previously with commit:git|74b58dd690
-
02:40 PM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
- nobu (Nobuyoshi Nakada) wrote in #note-19:
> Could you show `rbconfig.rb` file too?
Done -
12:44 PM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
- vo.x (Vit Ondruch) wrote in #note-18:
> No, unfortunately. Please see the attached Makefile. I think that the culprit is still the `arch_hdrdir = $(extout)/include/$(arch)`
Yes, it's the problem.
Could you show `rbconfig.rb` file too? -
11:16 AM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
- nobu (Nobuyoshi Nakada) wrote in #note-17:
> Does this fix it?
No, unfortunately. Please see the attached Makefile. I think that the culprit is still the `arch_hdrdir = $(extout)/include/$(arch)`
-
07:42 AM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
- Does this fix it?
https://github.com/ruby/ruby/pull/5318 -
07:01 AM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
- Note that we can reproduce the issue with `--includedir` configure option like that: `./configure --includedir=/usr/include && make -j && make install DESTDIR=/tmp/foo` also on Ubuntu with git repo.
@nobu is checking. -
01:10 PM Revision cdb7d699 (git): Revert commits for did_you_mean
- This reverts commit 4560091b1c99ab33db0d653b9dd2d977fe4676d5.
This reverts commit a6f76122a2395bd914daa0aa04fb5a6ce4e0c045.
This reverts commit e59b18a6379c55f15ccda85c27d6997d44ef5293.
This reverts commit 505dfae05d56d844ea150676edb8785... -
01:00 PM Revision 4560091b (git): * gems/default_gems: Make the SPELL_CHECKERS constant as compatible as possible
-
12:12 PM Feature #14394: Class.descendants
- Sorry for the last minute change. The biggest reason is that we still have several options, so I didn't want to restrict the future possibility.
For example, `Class#descendants` can either:
* behave as it was first introduced. `Modul... -
11:38 AM Feature #14394: Class.descendants
- Just curious about the motivation of the revert though. I sin mainly because of the potential `Module#descendants`?
Because unless I'm missing something, the potential future inclusion of `Module#descendants` would change the behavior... -
11:02 AM Feature #14394: Class.descendants
- Rails fixed in https://github.com/rails/rails/pull/43951, I'll see if we can get a 7.0.1 release before 3.1.0 is out.
-
11:03 AM Revision a6f76122 (git): * gems/default_gems: Fix CI builds
- 10:08 AM Revision e59b18a6 (git): Update default gems list at 505dfae05d56d844ea150676edb878 [ci skip]
-
10:03 AM Revision 505dfae0 (git): * gems/default_gems: Sync did_you_mean
-
10:02 AM Revision 12fa4f2a (git): Added Psych 4 incompatibility to NEWS
- [Bug #17866][ruby-core:103866]
-
09:21 AM Revision 48a0905d (git): Add missing '%' in format string
-
08:44 AM Revision 69470cc5 (git): Fix a typo [ci skip]
-
08:40 AM Revision b9aefdfc (git): Fix typos
-
08:09 AM Bug #17866 (Closed): Incompatible changes with Psych 4.0.0
- I discussed this with @naruse. We decided to bundle Psych 4 with Ruby 3.1. And we should note this incompatibility and migration way with Psych 3.3.2 to NEWS.
-
06:50 AM Revision 1855f901 (git): [ruby/irb] Check colorize option correctly to clear char attr and don't use it for tests
- https://github.com/ruby/irb/commit/de561cafeb
-
06:36 AM Revision 093aaeff (git): [ruby/irb] Add resetting char attr that I forgot
- https://github.com/ruby/irb/commit/b5f953dc33
- 06:27 AM Revision 10a2273e (git): Update default gems list at f51811ca75894f5227fb2dd9f2f61f [ci skip]
-
06:27 AM Revision 69dc2ea4 (git): Merge RubyGems-3.3.0 and Bundler-2.3.0
-
06:21 AM Revision ad450c9f (git): make `overloaded_cme_table` truly weak key map
- `overloaded_cme_table` keeps cme -> monly_cme pairs to manage
corresponding `monly_cme` for `cme`. The lifetime of the `monly_cme`
should be longer than `monly_cme`, but the previous patch losts the
reference to the living `monly_cme`.
... -
06:15 AM Bug #18414 (Closed): win32ole.gemspec installed on Linux?
- Applied in changeset commit:git|3c7e95966d6b9efd201170eb59b0e4a3c4eb6134.
----------
rbinstall.rb: install ext only when it's configured [Bug #18414] -
06:14 AM Revision 3c7e9596 (git): rbinstall.rb: install ext only when it's configured [Bug #18414]
-
05:26 AM Revision 9b917315 (git): Make the cache directory [ci skip]
-
04:40 AM Revision d58406ff (git): Ignore hung-ups after success on s390x-linux tentatively [ci skip]
-
04:34 AM Revision c29c2afa (git): Refactor setup_narg and extract finish_narg
- 04:22 AM Revision 02a9a72f (git): Tidy up fiber scheduler interface documentation for `address_resolve` and `timeout_after`.
-
02:03 AM Revision df48db98 (git): `mandatory_only_cme` should not be in `def`
- `def` (`rb_method_definition_t`) is shared by multiple callable
method entries (cme, `rb_callable_method_entry_t`).
There are two issues:
* old -> young reference: `cme1->def->mandatory_only_cme = monly_cme`
if `cme1` is young and `m...
12/20/2021
- 11:32 PM Revision 711342d9 (git): Update cont.c
-
11:32 PM Revision eae5a34b (git): Add SchedulerInterface#timeout_after and #address_resolve docs
-
11:32 PM Revision 224dfb2d (git): Document Fiber::SchedulerInterface#io_read and #io_write
-
11:28 PM Bug #18417 (Closed): IO::Buffer problems
- All the issues here have been addressed, except for:
(1) `get_value` / `set_value` type names have not changed, but the method name has changed.
(2) Using flags to indicate allocation strategy. I will review it and document the expec... -
11:19 AM Bug #18417: IO::Buffer problems
- Yes that all makes sense.
After spending some time today working on it, I decided I don't like the mutable/immutable terminology. The problem is, even if the buffer is "immutable", the underlying data can still change. This is the unf... -
11:15 AM Bug #18417: IO::Buffer problems
- > We need to be a little bit careful because string operations are not the primary point
Interesting! Because I started to document most of the usage from the point of view of some code mostly using `get` and `set`, but then I looked ... - 11:25 PM Revision 617687df (git): Rename IMMUTABLE to READONLY.
- 11:25 PM Revision 9fbf94ff (git): Improve interface for get/set/copy.
- 11:25 PM Revision 2de5dc53 (git): Fix handling of clear with offset and without length.
- 11:25 PM Revision c86bcd43 (git): Mark non-private mapped files as external.
- 11:25 PM Revision da46b8d8 (git): Default `IO::Buffer#get_string` to use BINARY encoding.
- 11:25 PM Revision c3d8d26a (git): Add tests for `IO::Buffer` `get`/`set`.
- 11:25 PM Revision 71bbc40f (git): Rename `to_str` -> `get_string` and add support for encodings.
- 11:25 PM Revision 49166fc7 (git): Improved exception usage/classes.
- 11:25 PM Revision 71bf5cef (git): Fix handling of frozens strings.
- 11:25 PM Revision 9de5c4ec (git): Fix mapping invalid non-file object.
-
10:28 PM Revision 6ad8cf70 (git): [DOC] Enhanced RDoc for IO (#5307)
- Treated:
#sync
#sync=
#fsync
#fdatasync
#fileno
#pid
#inspect
#to_io -
09:48 PM Revision 7bd25b97 (git): [rubygems/rubygems] Print warning when running potentially problematic rubygems + ruby combinations
- https://github.com/rubygems/rubygems/commit/d6df0b7de0
Co-authored-by: André Arko <andre@arko.net> -
09:48 PM Revision 01f95ede (git): [rubygems/rubygems] Rename `BUNDLE_SPEC_RUN` environment variable
- The `BUNDLE_` prefix should be reserved to first class settings that
should be listed when running `bundle config`. This one is just a hacky
environment variable that has not corresponding documented setting.
https://github.com/rubygems... -
09:48 PM Revision a350ed41 (git): [rubygems/rubygems] Remove ancient check
- https://github.com/rubygems/rubygems/commit/d647ab5607
-
09:13 PM Revision 39cf0b53 (git): Show whether object is garbage in rb_raw_obj_info()
- When using `rp(obj)` for debugging during development, it may be
useful to know that an object is soon to be swept. Add a new letter to
the object dump for whether the object is garbage. It's easy to forget
about lazy sweep. -
09:08 PM Feature #18402: Argument Labels
duerst (Martin Dürst) wrote in #note-6:
> Does this mean that both names can be used inside the method? And in that case, would they alias the same variable, or would there be two variables? Or can only one of the names be used inside...- 07:57 PM Revision 8b1b4e38 (git): [rubygems/rubygems] Skip find_in_unresolved_tree test for TruffleRuby due to longer runtime
- https://github.com/rubygems/rubygems/commit/36b8fbc508
-
07:23 PM Feature #14394: Class.descendants
- That's unfortunate. The very recently released Rails 7.0.0 will need to be updated, some code paths won't expect `Class#subclasses` being present, but not `Class#descendants`.
I'll update Rails tomorrow. -
07:04 PM Feature #14394 (Open): Class.descendants
- matz (Yukihiro Matsumoto) wrote in #note-33:
> Considering those facts, let up postpone introducing `Class#descendats` for 3.1.
Class#descendants removed at commit:3bd5f27f737c7d365b7d01c43d77a958c224ab16. We can potentially reintro... -
02:39 AM Feature #14394: Class.descendants
- `Module#descendants` has been proposed too in #9779.
In addition, upon the existence of newly introduced `Class#subclasses`, the need for `Class#descendants` is decreased.
Considering those facts, let up postpone introducing `Class#d... -
07:02 PM Revision 3bd5f27f (git): Remove Class#descendants
-
06:34 PM Feature #18408: Allow pattern match to set instance variables
- This worked originally (when this feature was called "rightward assignment"). But since it has been transformed into a pattern match (in the final 3.0 release), we lost the ability to assign to anything but local vars—that's what pattern...
-
05:01 PM Revision c57ac4c6 (git): Fix location of extensions in bundled gems when static-linked-ext
- Install bundled gem extension files to the gem extension directory
under DESTDIR, when static-linked-ext as well as non-static case. -
04:56 PM Revision 81f08edb (git): [DOC] Document Thread::Backtrace.limit
-
03:49 PM Revision 37aea9d7 (git): [ruby/reline] Finalize when exception occurred
- https://github.com/ruby/reline/commit/1f8a3aee43
Co-authored-by: Alex Gittemeier <me@a.lexg.dev> -
03:13 PM Revision c3a3f65b (git): [ruby/reline] Split off set_signal_handler method
- In some tests, the LineEditor#reset method is always called, but doesn't
need to set the signal handlers there, so cuts it out to a separate
method.
https://github.com/ruby/reline/commit/b143c4f5f9 -
03:13 PM Revision 95c61c8d (git): [ruby/reline] Remove unnecessary clearing signal handler
- https://github.com/ruby/reline/commit/7a758e73dc
- 03:11 PM Revision e54e99bd (git): * 2021-12-21 [ci skip]
-
03:05 PM Revision 6b67f063 (git): test/fiber/test_io_buffer.rb: fix file descriptor leaks
- I got the warning while running "make test-all":
Leaked file descriptor: TestFiberIOBuffer#test_write_nonblock: 9 : #<UNIXSocket:fd 9>
Closed file descriptor: TestFiberIOBuffer#test_read_write_blocking: 9
Leaked ... -
02:50 PM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
- So the basic scenarios seem to work as expected (unexpectedly for me, sorry). But this is the failing scenario, where I am using expanded tarball:
~~~
$ history
1 cd /builddir/build/BUILD/ruby-3.1.0-74b58dd690/
2 autoconf
... -
11:23 AM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
- mame (Yusuke Endoh) wrote in #note-12:
> Please answer to https://bugs.ruby-lang.org/issues/18373#note-3. I couldn't reproduce the issue by the following commands
> ...
This ^^ is one issue. The starting point should be something like:... -
09:57 AM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
- Please answer to https://bugs.ruby-lang.org/issues/18373#note-3. I couldn't reproduce the issue by the following commands
```
$ cd /tmp
$ git clone https://github.com/ruby/ruby.git
$ cd ruby
$ ./autogen.sh
$ ./configure
$ make
... -
02:42 PM Revision ac757b21 (git): [ruby/openssl] pkey: use EVP_PKEY_CTX_new_from_name() on OpenSSL 3.0
- Replace EVP_PKEY_CTX_new_id() with the new EVP_PKEY_CTX_new_from_name()
which takes the algorithm name in a string instead of in an NID.
https://github.com/ruby/openssl/commit/d6535d13d1 -
02:42 PM Revision 61e426ae (git): [ruby/openssl] pkey: assume a pkey always has public key components on OpenSSL 3.0
- OpenSSL 3.0's EVP_PKEY_get0() returns NULL for provider-backed pkeys.
This causes segfault because it was supposed to never return NULL
before.
We can't check the existence of public key components in this way on
OpenSSL 3.0. Let's just... -
02:42 PM Revision 2df917ed (git): [ruby/openssl] ssl: update test_options_disable_versions
- Use the combination of TLS 1.2 and TLS 1.3 instead of TLS 1.1 and TLS
1.2 so that will the test case will be run on latest platforms.
https://github.com/ruby/openssl/commit/e168df0f35 -
02:42 PM Revision 15eefd30 (git): [ruby/openssl] ssl: update test_accept_errors_include_peeraddr test case
- Use a different invalid data example to prevent SSLSocket#accept from
reaching EOF.
https://github.com/ruby/openssl/commit/2e089c1916 -
02:42 PM Revision 0b3482c0 (git): [ruby/openssl] ssl: add constants for new SSL_OP_* flags
- Add all SSL_OP_* constants defined in OpenSSL 3.0.0 which are not
specific to DTLS.
https://github.com/ruby/openssl/commit/b1ee2f23b2 -
02:42 PM Revision b2fb503d (git): [ruby/openssl] engine: disable OpenSSL::Engine on OpenSSL 3.0
- The entire ENGINE API is deprecated in OpenSSL 3.0 in favor of the new
"Provider" concept.
OpenSSL::Engine will not be defined when compiled with OpenSSL 3.0.
We would need a way to interact with providers from Ruby programs, but
since ... -
02:42 PM Revision 79a6f434 (git): [ruby/openssl] hmac: skip test_dup on OpenSSL 3.0 for now
- EVP_MD_CTX_copy() doesn't seem to work as intended on HMAC EVP_MD_CTX
on OpenSSL 3.0.0 and causes a double free. I haven't found the root
problem yet, but let's skip the test case for now.
https://github.com/ruby/openssl/commit/4699581639 -
02:42 PM Revision c1a7c6df (git): [ruby/openssl] hmac: fix wrong usage of EVP_DigestSignFinal()
- According to the manpage, the "siglen" parameter must be initialized
beforehand.
https://github.com/ruby/openssl/commit/6a60c7b2e7 -
02:42 PM Revision cfcdd2b4 (git): [ruby/openssl] cipher: update test_ciphers
- Do not attempt to actually use all algorithms. Not all algorithms listed
in OpenSSL::Cipher.ciphers are always available.
https://github.com/ruby/openssl/commit/91d04f991f -
02:42 PM Revision 8ebf5978 (git): [ruby/openssl] pkey: deprecate PKey#set_* methods
- OpenSSL 3.0 made EVP_PKEY immutable. This means we can only have a const
pointer of the low level struct and the following methods can no longer
be provided when linked against OpenSSL 3.0:
- OpenSSL::PKey::RSA#set_key
- OpenSSL::PKey... -
02:42 PM Revision b93ae542 (git): [ruby/openssl] pkey/ec: deprecate OpenSSL::PKey::EC#generate_key!
- OpenSSL::PKey::EC#generate_key! will not work on OpenSSL 3.0 because
keys are made immutable. Users should use OpenSSL::PKey.generate_key
instead.
https://github.com/ruby/openssl/commit/5e2e66cce8 -
02:42 PM Revision 0d698be0 (git): [ruby/openssl] pkey/dh: deprecate OpenSSL::PKey::DH#generate_key!
- OpenSSL::PKey::DH#generate_key! will not work on OpenSSL 3.0 because
keys are made immutable. Users should use OpenSSL::PKey.generate_key
instead.
https://github.com/ruby/openssl/commit/8ee6a582c7 -
02:42 PM Revision 50b90c5f (git): [ruby/openssl] pkey/ec: avoid using EC#public_key= in EC#dh_compute_key
- Similarly to DH#compute_key, work around it by constructing a
SubjectPublicKeyInfo. This should be considered as a temporary
implementation.
https://github.com/ruby/openssl/commit/fc9aabc18d -
02:42 PM Revision dc3f37c6 (git): [ruby/openssl] pkey/dh: avoid using DH#set_key in DH#compute_key
- DH#set_key will not work on OpenSSL 3.0 because keys are immutable.
For now, let's reimplement DH#compute_key by manually constructing a
DER-encoded SubjectPublicKeyInfo structure and feeding it to
OpenSSL::PKey.read.
Eventually, we sho... -
02:42 PM Revision df6589e4 (git): [ruby/openssl] pkey: use EVP_PKEY_dup() if available
- We can use it to implement OpenSSL::PKey::PKey#initialize_copy. This
should work on all key types, not just DH/DSA/EC/RSA types.
https://github.com/ruby/openssl/commit/66cd8cbaaf -
02:42 PM Revision c1a36ebf (git): [ruby/openssl] pkey: allocate EVP_PKEY on #initialize
- Allocate an EVP_PKEY when the content is ready: when #initialize
or #initialize_copy is called, rather than when a T_DATA is allocated.
This is more natural because the lower level API has been deprecated
and an EVP_PKEY is becoming the ... -
02:42 PM Revision 02a58fbf (git): [ruby/openssl] pkey: do not check NULL argument in ossl_pkey_new()
- Passing NULL to ossl_pkey_new() makes no sense in the first place, and
in fact it is ensured not to be NULL in all cases.
https://github.com/ruby/openssl/commit/316cb2a41f -
02:42 PM Revision 6ef0f272 (git): [ruby/openssl] pkey: use OSSL_DECODER to load encrypted PEM on OpenSSL 3.0
- OpenSSL 3.0 has rewritten routines to load pkeys (PEM_read_bio_* and
d2i_* functions) around the newly introduced OSSL_DECODER API.
This comes with a slight behavior change. They now decrypt and parse
each encountered PEM block, then ch... -
02:42 PM Revision 582606dc (git): [ruby/openssl] pkey: test parsing concatenated PEM string
- PEM-encoded private keys are sometimes stored together with irrelevant
PEM blocks, such as the corresponding X.509 certificate.
PEM_read_bio_*() family automatically skips unknown PEM blocks, but on
OpenSSL 3.0 we will be using the new ... -
12:48 PM Feature #18384: Pattern Match Object
- baweaver (Brandon Weaver) wrote:
> ### Current Viable Workarounds
> ...
In Ruby 3.1, we can omit parens:
```ruby
list_of_people.select { _1 in first_name: 'something' | /another/ }
```
Much readable, WDYT?
Can we go further ... -
12:39 PM Feature #17339: Semantic grouping with BigDecimal#to_s
- I will follow the consequence of #18410.
-
12:35 PM Bug #13754 (Third Party's Issue): bigdecimal with lower precision that Float
- This was fixed at https://github.com/ruby/bigdecimal/issues/94.
-
10:45 AM Revision 1c72c95d (git): test/ruby/test_ast.rb: Avoid a "method redefined" warning
-
10:33 AM Revision 26c9ef6a (git): [DOC] Skip tests if only NEWS.md changed
- 09:50 AM Revision 7700e9a5 (git): Update bundled gems list at 2021-12-20
-
09:36 AM Revision d2e63af4 (git): Update TypeProf to 0.21.0
-
09:26 AM Revision 87b968c9 (git): [ruby/psych] psych depends stringio only CRuby
- https://github.com/ruby/psych/commit/e7bbf26cb2
- 09:26 AM Revision 4db88173 (git): Update default gems list at 706c7a27fa00f72ec4f5d2f3af8151 [ci skip]
-
09:25 AM Revision 706c7a27 (git): [ruby/psych] Bump version to 4.0.3
- https://github.com/ruby/psych/commit/75ab76e788
-
09:02 AM Revision 24f7a41a (git): Update logger version on NEWS
-
09:01 AM Revision e22c8e63 (git): [ruby/logger] Bump version to 1.5.0
- https://github.com/ruby/logger/commit/cdeddb2f67
-
07:19 AM Revision 7b0f2d61 (git): [ruby/irb] Remove unnecessary space in regexp
- https://github.com/ruby/irb/commit/c24a8e2483
-
07:19 AM Revision b96ef768 (git): [ruby/irb] Add East Asian Ambiguous Width to irb_info command
- https://github.com/ruby/irb/commit/4cade4b7e5
- 07:05 AM Revision 145f7c09 (git): Update bundled gems list at 2021-12-20
-
06:52 AM Revision 6ccc15c2 (git): [ruby/reline] Rename an unused variable name for CI
- https://github.com/ruby/reline/commit/ba97f3bd87
-
05:54 AM Revision 7572e0c6 (git): [ruby/reline] Add a test for dialog proc with context
- https://github.com/ruby/reline/commit/2ce2696d6e
-
05:54 AM Revision bb122811 (git): [ruby/reline] Add an assertion for overwriting dialog proc with the same name
- https://github.com/ruby/reline/commit/96067bc13c
-
05:54 AM Revision cc072899 (git): [ruby/reline] Rename the variable "p" because it overlaps with the "p" method
- https://github.com/ruby/reline/commit/9bf2ca692e
-
05:54 AM Revision 145c1e06 (git): [ruby/reline] Add support for overwriting dialog proc with the same name
- https://github.com/ruby/reline/commit/16aa20c380
-
05:54 AM Revision c462e07a (git): [ruby/reline] Add Reline.dialog_proc(name_sym)
- https://github.com/ruby/reline/commit/7e5dbe4750
-
05:54 AM Revision ec517d60 (git): [ruby/reline] Add a test for Reline.add_dialog_proc
- https://github.com/ruby/reline/commit/c4bb1bfd79
-
05:53 AM Revision cf508d4d (git): [ruby/reline] Add space
- https://github.com/ruby/reline/commit/4b7fa6b213
-
05:51 AM Revision 2a8ff602 (git): [ruby/reline] windows jruby issue
- jruby needs terminal control with Windows API on classic console
https://github.com/ruby/reline/commit/b61bc43374 -
05:51 AM Revision 65cb250c (git): [ruby/reline] windows clear screen with \e 2 J
- Windows Terminal does smart screen clearing when \e 2 J (not clear entire screen but scrolls down just needed)
On consoles not support sequences, ruby still converts it to API call.
https://github.com/ruby/reline/commit/c00930dab9 -
05:51 AM Revision 2c415cda (git): [ruby/reline] windows improve scrolling
- ScrollConsoleScreenBuffer can't scroll window of Windows Terminal.
Use LF to sctoll.
Microsoft says
```In the virtual terminal sequences world, the size of the window and the size of the screen buffer are fixed to the same value.
```
ht... -
05:50 AM Revision a856489b (git): [ruby/reline] Revert "Add a space after a comma"
- This reverts commit https://github.com/ruby/reline/commit/6009b3ef7ab7.
To merge a Pull Request...
https://github.com/ruby/reline/commit/83021f4267 -
05:46 AM Revision 7dd0e91c (git): [ruby/reline] Revert "Add space"
- This reverts commit https://github.com/ruby/reline/commit/1bb071bcf5a9.
To merge a Pull Request...
https://github.com/ruby/reline/commit/e9fe1b1305 -
04:04 AM Revision 3bb6e4f6 (git): [DOC] Enhanced RDoc for IO (#5304)
- Treated:
::try_convert
#write
#<<
#flush
#tell
#seek
#pos=
#rewind
#eof -
03:46 AM Revision 7867a76e (git): Update pp version on NEWS
-
03:44 AM Revision 0a198e42 (git): [ruby/pp] Bump version to 0.3.0
- https://github.com/ruby/pp/commit/c66d1b9cdc
12/19/2021
-
10:42 PM Revision 1976b38f (git): [rubygems/rubygems] Add support in binstubs for trampolining bundler
- If `bundler _<version>_` is given, I guess the most reasonable approach
is to completely skip version switching, because the user is technically
opting out of it. But since binstubs completely remove this argument
from `ARGV` after proce... -
09:49 PM Revision 72db2e00 (git): [rubygems/rubygems] Error tracing should be printed to stderr
- https://github.com/rubygems/rubygems/commit/23178f7d7b
-
08:35 PM Bug #18417: IO::Buffer problems
- > (2) I am not sure that type names (:U8, :S8, :U16, :u16 and so on) introduced "from scratch" (?) is a good thing. From one point, they are kinda nice, and consistent. From another, we already have abbreviated names for the types in Arr...
-
08:18 PM Bug #18417: IO::Buffer problems
- Just for reference, link to the latest draft of the absolutely amazing documentation: https://github.com/ruby/ruby/pull/5302
-
08:08 PM Bug #18417: IO::Buffer problems
- Thanks so much for this awesome list of things we should try to address.
https://github.com/ruby/ruby/pull/5303
We are considering how `to_str` should work. Implicit conversion is useful but it could also introduce issues.
> Ano... -
06:22 PM Bug #18417: IO::Buffer problems
- (Got the latest `master`, updated the problems list :))
-
07:26 AM Bug #18417 (Closed): IO::Buffer problems
- Hello. While working for documentation for `IO::Buffer` (still WIP), I uncovered these problems. I believe at least some of them should be fixed before the release, though I understand not much time left.
The list is not final, probab... -
04:09 PM Revision a0f10a97 (git): [DOC] Add documentation for hash value omission syntax
- 03:50 PM Revision 1dd10e18 (git): [DOC] Add documentation for Random.rand and Random.seed
- 03:37 PM Revision 12ad53f4 (git): * 2021-12-20 [ci skip]
-
03:37 PM Revision f44367ef (git): [DOC] Addition to IO introduction (#5299)
- Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
-
02:43 PM Revision ae58b71e (git): Sort URLs by issue numbers [ci skip]
-
12:39 PM Bug #18415 (Closed): String#rpartition is not sufficiently greedy compared to String#partition
- Applied in changeset commit:git|e2ec97c4b823a0b2e0c31e7a6d77b1dcdc0dfada.
----------
[DOC] How to get the longest last match [Bug #18415] -
11:43 AM Bug #18415: String#rpartition is not sufficiently greedy compared to String#partition
- I agree that this is intentional and a documentation matter.
-
10:44 AM Bug #18415: String#rpartition is not sufficiently greedy compared to String#partition
- I think the actual result is expected. It is `partition`'s responsibility to match the left-most position possible, and it is `+`'s responsibility to match as long as possible from that position. Likewise, it is `rpartition`'s responsibi...
-
02:02 AM Bug #18415 (Closed): String#rpartition is not sufficiently greedy compared to String#partition
- ``` ruby
3.1.0-preview1 :043 > "...999...".partition /\d+/
=> ["...", "999", "..."]
3.1.0-preview1 :044 > "...999...".rpartition /\d+/
=> ["...99", "9", "..."]
```
Using the regex /\d+/, `partition` gives you all consecutiv... -
12:37 PM Revision 3f2b5818 (git): Add news about allowing omission of parentheses in one-line pattern matching
-
11:58 AM Feature #18418 (Open): Add Net::HTTP#security_level=
- ### Use Case:
I want to connect to an HTTP(S) server (using `Net::HTTP`) that cannot connect with security level[^1] 2 and needs to specify security level 1.
My server is a newer debian (docker image `ruby:3.0.3`, based on debian bul... -
11:27 AM Revision e2ec97c4 (git): [DOC] How to get the longest last match [Bug #18415]
-
11:26 AM Revision 0eb1c4ea (git): [ruby/irb] Add information about --extra-doc-dir option in the comments
- https://github.com/ruby/irb/commit/ac3d4b9e79
- 11:17 AM Revision 56811617 (git): Improve IO::Buffer resize and introduce ownership transfer.
-
05:56 AM Bug #18416 (Closed): Backport 6bef1ac62850be6d83a069ac3d3be0b8e2f3afcf
- This is a ticket for the backport management.
I don't know 6bef1ac62850be6d83a069ac3d3be0b8e2f3afcf is necessary in ruby_3_0. Just for memorandum. I will take a look into it later. -
03:14 AM Revision a81e0600 (git): [ruby/reline] Load correct version.rb from gemspec
- When merged to ruby/ruby, reline.gemspec file is located under
lib/reline, as the same as reline/version.rb. That is the latter
path relative from the former differs from the ruby/reline case,
and the reline/version.rb in the default lo... -
02:19 AM Revision 7159af34 (git): [ruby/reline] Clear dialog in pasting
- https://github.com/ruby/reline/commit/dabf5313e0
12/18/2021
- 11:25 PM Revision f3e30b26 (git): Default size for IO::Buffer.
-
09:15 PM Revision 6bef1ac6 (git): `rb_iseq_update_references()` cares `script_lines`
- and it fixes compaction issue:
http://rubyci.s3.amazonaws.com/freebsd12/ruby-master/log/20211218T203001Z.fail.html.gz -
08:59 PM Revision 45f21824 (git): YJIT: Implement intern
- `intern` showed up in the top 20 most frequent exit ops (granted with a
fairly small percentage) in a benchmark run by @jhawthorn on
github/github.
This implementation is similar to gen_anytostring, but with 1
stack pop instead of 2.
C... -
08:35 PM Revision dd29ba07 (git): `iseq_type_sym()` -> `iseq_type_id()`
- `iseq_type_sym()` returns `ID` (surprisingly!) so rename it
to `iseq_type_id()`. -
08:16 PM Revision 89a02d89 (git): add `rb_iseq_type()` to return iseq type in Symbol
- It is shorthand `ISeq#to_a[9]`.
-
07:13 PM Revision 52b1c765 (git): Manually sync https://github.com/ruby/error_highlight/commit/d2140d795ad0a06398db81739201877d431755db
-
07:00 PM Revision 6a51c3e8 (git): Make AST.of possible even under eval when keep_script_lines is enabled
- Now the following code works without an exception.
```
RubyVM.keep_script_lines = true
eval(<<END)
def foo
end
END
p RubyVM::AbstractSyntaxTree.of(method(:foo))
``` -
06:51 PM Revision acac2b81 (git): Make RubyVM::AbstractSyntaxTree.of raise for backtrace location in eval
- This check is needed to fix a bug of error_highlight when NameError
occurred in eval'ed code.
https://github.com/ruby/error_highlight/pull/16
The same check for proc/method has been already introduced since
64ac984129a7a4645efe5ac57c168... -
06:32 PM Revision 7e0e6f90 (git): What's Here for ENV (#5292)
- [DOC] What's Here for ENV
- 04:07 PM Revision 1ed520a9 (git): * 2021-12-19 [ci skip]
-
04:07 PM Revision 45de4025 (git): skip -v spec on MJIT
- fix this failure:
```
configure ... cppflags=-DMJIT_FORCE_ENABLE
...
make test-spec
1)
The -v command line option when used alone prints version and ends FAILED
Expected
"ruby 3.1.0dev (2021-12-18T10:10:42Z master 78c175280b) +MJIT [x8... -
03:34 PM Bug #17568 (Rejected): Thread.handle_interrupt is per-Thread but should probably be per-Fiber
- Closing since it seems intentional for some cases (Enumerator fibers).
- 11:19 AM Revision 235f523a (git): Fix spelling of DECLAIR_TYPE.
- 10:10 AM Revision 78c17528 (git): Fix code formatting.
- 10:10 AM Revision 1560cc16 (git): Introduce setup instructions for better parallelism.
- 06:15 AM Revision 75b5a480 (git): Initial hacking guide.
- 05:19 AM Revision 42d32311 (git): Introduce io_result wrapper for passing `[-errno, size]` in VALUE.
-
04:06 AM Revision 922a81a9 (git): Skip tests on pull requests labeled as Documentation
-
04:05 AM Revision 629c8f12 (git): Fix pull_request condition [ci skip]
-
01:33 AM Revision 424605da (git): [DOC] Cache stdgems list
-
01:18 AM Revision 1c49d809 (git): [ruby/reline] Remove unnecessary "*"
- https://github.com/ruby/reline/commit/7b50638e24
-
01:18 AM Revision 7f2123bc (git): [ruby/reline] Add a space after a comma
- https://github.com/ruby/reline/commit/6009b3ef7a
-
01:15 AM Revision adf6c092 (git): [ruby/reline] Change a test method name to more appropriate
- https://github.com/ruby/reline/commit/d014cc85b7
-
01:15 AM Revision 8cc01b66 (git): [ruby/reline] Add space
- https://github.com/ruby/reline/commit/1bb071bcf5
12/17/2021
-
11:38 PM Revision 66ec3217 (git): [ruby/pp] Add context to bind_call and skip 2.7+ test
- The bind_call definition here is added primarily to support
running the tests on JRuby 9.3, which only supports Ruby 2.6
features. The excluded test appears to depend on inspect behavior
that changed after Ruby 2.6.
With these two chang... -
11:38 PM Revision cc73dfb9 (git): [ruby/pp] Incorporate 2.6 versions of 2.7 methods needed
- * UnboundMethod#bind_call
* ruby2_keywords gem for testing
https://github.com/ruby/pp/commit/721d8cbd10 -
11:38 PM Revision 73da1c5e (git): [ruby/pp] Use etc instead of .so for broader compatibility
- The use of `etc.so` here requires that etc is always implemented
as a C extension on-disk. However at least one impl – JRuby –
currently implements it as an internal extension, loaded via a
Ruby script. This require should simply use the... -
11:38 PM Revision 5a6baaba (git): [ruby/pp] Only do RubyVM patches if class exists
- This class does not exist in any implementation except CRuby.
I would recommend moving this code somewhere else, like a separate
file loaded only on CRuby or into CRuby itself. For now this
change is sufficient to load the library on ot... -
11:38 PM Revision de6ef2ca (git): [ruby/benchmark] Freeze VERSION
- https://github.com/ruby/benchmark/commit/89b889b109
-
11:38 PM Revision e442ec4e (git): [ruby/logger] Removed loading old helper file and load Logger class by itself
- https://github.com/ruby/logger/commit/5ee0fd6e51
- 11:38 PM Revision 43755468 (git): [ruby/logger] Test cases
- https://github.com/ruby/logger/commit/40adb645e2
- 11:38 PM Revision a8b11b5c (git): [ruby/logger] Changes to datetime formatting
- Formatting a datetime should only pertain to itself and valid datetimes do not contain a space. Should there be a desire to show show a space between the datetime and the process pid in the formatted log, this formatting logic should tak...
-
11:26 PM Revision cc5fcae1 (git): YJIT: Remove double check for block arg handling
- Inline and remove iseq_supported_args_p(iseq) to remove a potentially
dangerous double check on `iseq->body->param.flags.has_block` and
`iseq->body->local_iseq == iseq`. Double checking should be fine at the
moment as there should be no ... -
11:26 PM Revision c2197bf8 (git): YJIT: Fix check for required kwargs
- Previously, YJIT would not check that all the required keywords were
specified in the case that there were optional arguments specified. In
this case YJIT would incorrectly call the method with invalid arguments. -
11:26 PM Revision 83aa6844 (git): YJIT: Allow iseq with both opt and kwargs
- Previously we mirrored the fast paths the interpreter had for having
only one of kwargs or optional args. This commit aims to combine the
cases and reduce complexity.
Though this allows calling iseqs which have have both optional and
ke... -
11:02 PM Revision 5588aa79 (git): What's Here for Symbol (#5289)
- * What's Here for Symbol
- 07:21 PM Revision 6a1365d7 (git): Update bundled gems list at 2021-12-17
-
07:21 PM Revision dbb5abc4 (git): debug.gem 1.4.0
-
06:30 PM Bug #18414: win32ole.gemspec installed on Linux?
- That explanation makes sense and the "Ignoring debug-1.3.4 because its extensions are not built. Try: gem pristine debug --version 1.3.4" is just red herring there and therefore the PR is legit.
Nevertheless, the point that win32ole.g... -
06:02 PM Bug #18414: win32ole.gemspec installed on Linux?
- #18373 is completely different from the issue that the pull request tried to fix. The pull request is about default gems, and #18373 is about bundled gems.
I wonder if you misunderstand `--with-static-linked-ext`. The configure option... -
05:09 PM Bug #18414 (Closed): win32ole.gemspec installed on Linux?
- While win32ole is not built on Linux and it used to not be installed. But the .gemspes is installed now. I believe that this is due to https://github.com/ruby/ruby/pull/5206.
Besides the win32ole.gemspec being installed now, I think t... -
06:10 PM Feature #17785: Allow named parameters to be keywords
- Dan0042 (Daniel DeLorme) wrote in #note-21:
> Wait a sec... actually there's precedent for this. `super` does this. It forwards all arguments up the inheritance chain. And it's possible to do `eval("super")`. `__params__` is like the f... -
01:54 PM Feature #17785: Allow named parameters to be keywords
- Dan0042 (Daniel DeLorme) wrote in #note-19:
> Eregon (Benoit Daloze) wrote in #note-17:
> ...
Wait a sec... actually there's precedent for this. `super` does this. It forwards all arguments up the inheritance chain. And it's possible t... -
05:13 PM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
- BTW, this causes also different issues as far as I can tell:
https://github.com/ruby/ruby/pull/5206 -
12:40 PM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
- I was able to use this little hack to compile the extensions:
~~~
find .bundle -name extconf.rb -exec \
sed -i \
-e '/create_makefile/i \$arch_hdrdir = "$(hdrdir)/../.ext/include/$(arch)"' \
-e '/create_makefile/i \$DLDF... -
04:49 PM Bug #18413: Segfault in `ripper/lexer.rb`
- Encountered a segfault in the `ripper/lexer.rb` file when attempting to compile Ruby `master` this morning.
### Steps to reproduce:
* `make -j4`
### Console dump:
```shell
BASERUBY = /usr/bin/ruby --disable=gems
... -
04:45 PM Bug #18413 (Closed): Segfault in `ripper/lexer.rb`
- Was attempting to build using 3.0.3 today and encountered a segfault with `ripper`.
- 04:18 PM Revision 74b58dd6 (git): Update bundled gems list at 2021-12-17
- 04:18 PM Revision 55a93533 (git): * 2021-12-18 [ci skip]
-
04:17 PM Revision 73d44512 (git): [DOC] Update bundled gems list
-
01:30 PM Revision 9ac52e8e (git): Fix a typo [ci skip]
-
12:05 PM Revision f7e266e6 (git): Enhanced RDoc for case mapping (#5245)
- Adds file doc/case_mapping.rdoc, which describes case mapping and provides a link target that methods doc can link to.
Revises:
String#capitalize
String#capitalize!
String#casecmp
String#casecmp?
String#downcase
... -
11:34 AM Revision 4639336b (git): NEWS.md: Fix a typo
-
10:37 AM Bug #17866: Incompatible changes with Psych 4.0.0
- Can I get a final decision if Psych 4 will be shipped with Ruby 3.1 as a standard library?
I think this is one of the biggest incompatibilities which will be introduced with Ruby 3.1.
As far as I understand, Psych is a standard libra... -
07:35 AM Revision 8d29d129 (git): [rubygems/rubygems] Improve errors a bit more
- https://github.com/rubygems/rubygems/commit/f481e8f41a
-
07:35 AM Revision 15374718 (git): [rubygems/rubygems] Share gem not found logic with transitive dependencies too
- https://github.com/rubygems/rubygems/commit/e4a1a9663d
-
07:35 AM Revision f3b50507 (git): [rubygems/rubygems] Remove unnecessary line break
- https://github.com/rubygems/rubygems/commit/84e2d6a955
-
07:35 AM Revision 79f72a45 (git): [rubygems/rubygems] Fix crash when no matching variants are found for the current platform
- If we are resolving a dependency against a particular platform, and
there are no platform specific variants of the candidates that match
that platform, we should not consider those candidates.
https://github.com/rubygems/rubygems/commit... -
07:35 AM Revision c710cdb9 (git): [rubygems/rubygems] Improve error message if only platform doesn't match
- https://github.com/rubygems/rubygems/commit/077e3c2e4d
-
07:35 AM Revision af4b4fd1 (git): [rubygems/rubygems] Improve resolver error messages
- Use a more standard naming for gems.
https://github.com/rubygems/rubygems/commit/75121e83f1 -
06:46 AM Revision ce6fc20f (git): data type should be `static`
-
06:46 AM Revision c8f2766a (git): `RUBY_DEFAULT_FREE` is not needed.
- pointed by @nobu.
-
06:46 AM Revision 37bd795c (git): `ENV` ivars should not be accessible from ractors
- The `ENV` object can have instance variables like other objects,
but they should be accessed only on the main ractor.
fix https://github.com/ruby/ruby/pull/5263#issuecomment-995585766 -
04:54 AM Revision d524b9de (git): NEWS.md: Add link to `rbs collection` documentation
-
04:46 AM Revision 58333c94 (git): NEWS.md: Describe changes of RBS
-
04:23 AM Bug #18412: Segfault in test_ractor.rb
- Presumably the same failure observed in CI for x86_64-linux-gnu: http://rubyci.s3.amazonaws.com/ubuntu/ruby-3.0/log/20211217T005904Z.log.html.gz
-
02:28 AM Revision 2585ff30 (git): Send the message for s390x to stderr [ci skip]
- Parallel worker's stdout is captured as the control protocol.
12/16/2021
-
10:26 PM Feature #18183: make SecureRandom.choose public
- I agree with the proposal, but `choice` is not a good name for a public method.
Matz.
- 05:58 PM Revision c4c78343 (git): Update stdlib version at 693a561cfa19dc35ff0d199a1934c9 [ci skip]
-
05:41 PM Revision 693a561c (git): [DOC] Exclude non-updated stdlibs since the previous release
- 04:56 PM Revision b746b713 (git): * 2021-12-17 [ci skip]
-
04:23 PM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
- I am not sure what to really blame. The place where it goes quite wrong is actually mkmf, somewhere around [here](https://github.com/ruby/ruby/blob/fff058a8d6c2e5d7c3529484a1c9a636dbf66dc2/lib/mkmf.rb#L242-L249):
~~~ruby
if not $extmk... -
03:44 PM Revision 06bdb41c (git): dln.c: refine preprocessor conditions by USE_DLN_DLOPEN and _WIN32
-
02:44 PM Bug #18133: LTO: TestGCCompact#test_ast_compacts segfaults on i686
- Thank you for checking the patch! Historically, Ruby has been using 16KB pages, so there's assumptions in the GC about this. This wasn't a problem on 64KB page size systems when we were using `posix_memalign`, but we can no longer use th...
-
12:57 PM Bug #18133: LTO: TestGCCompact#test_ast_compacts segfaults on i686
- Thx, the latest version passes the test suite everywhere and your explanation why it does not work makes sense.
Nevertheless, this makes me wonder in case there are 64 KB pages used for mmap, why Ruby wont use 64 KB pages as well? I a... -
11:10 AM Revision fff058a8 (git): Add description of ruby header files to extension.rdoc
-
11:03 AM Revision 9b187fec (git): Add `rb_parser_set_pos` function
- Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
Co-authored-by: Marivaldo Cavalheiro <marivaldo@gmail.com> -
11:02 AM Revision 41d4902c (git): Improve wording on NEWS.md
-
09:18 AM Bug #18412 (Closed): Segfault in test_ractor.rb
- During build of Ruby 3.0.3 for Fedora, I sometimes bump into this issue:
~~~
... snip ...
test_attr.rb ..
test_autoload.rb ........
test_block.rb ...................................................... -
09:07 AM Feature #18410: Proposal to make inspect include underscores on numerics
- sawa (Tsuyoshi Sawada) wrote in #note-4:
> In agreement with mame's comment, even if we can come to an agreement on the spec, I think it should be a property of pretty print rather than normal inspection. If there is need to make the nu... -
09:02 AM Feature #18410: Proposal to make inspect include underscores on numerics
- mame (Yusuke Endoh) wrote in #note-2:
> Thousands separators may vary depending on locales. See the discussion of #16011.
> ...
As mentioned by Martin, I was proposing always using _, as you can in Ruby code, not any kind of locale spe... -
04:06 AM Feature #18410: Proposal to make inspect include underscores on numerics
- In agreement with mame's comment, even if we can come to an agreement on the spec, I think it should be a property of pretty print rather than normal inspection. If there is need to make the numbers particularly readable to human, in suc...
-
03:54 AM Feature #18410: Proposal to make inspect include underscores on numerics
- mame (Yusuke Endoh) wrote in #note-2:
> Thousands separators may vary depending on locales. See the discussion of #16011.
Yes indeed. The advantage of using 964_218_442 is that a) I don't think there's actually a locale that uses thi... -
03:20 AM Feature #18410: Proposal to make inspect include underscores on numerics
- Thousands separators may vary depending on locales. See the discussion of #16011.
Even if we can come to an agreement on the spec, changing `Integer#inspect` may have a big impact. We need to estimate the impact of the incompatibility... -
09:00 AM Revision cf54de63 (git): [DOC] random number by range
-
08:50 AM Revision 5bf0060e (git): [DOC] Skip tests if only documents change [ci skip]
- Run only checks for source code. Currently, our CIs do almost
nothing about the documents. -
08:44 AM Revision 32ee6f80 (git): Restore the global random seed
-
08:44 AM Revision 6c87f8fc (git): Fix Kernel#srand and Kernel#rand descriptions [ci skip]
- Actually used methods are all instance method, not the singleton
method. -
08:44 AM Revision 18fef09a (git): Refine wording about the default random seed [ci skip]
-
08:00 AM Feature #18411: Introduce `Fiber.blocking` for disabling scheduler.
- @matz this isn't strictly necessary but makes pure Ruby implementation of IO read/write hooks more efficient. I'm not sure if there is valid case for general user code. Can we consider it for Ruby 3.1?
-
07:58 AM Feature #18411 (Closed): Introduce `Fiber.blocking` for disabling scheduler.
- When implementing pure-ruby IO scheduler, we may need to invoke some Ruby IO operations without entering the scheduler.
```ruby
def io_write(fiber, io, buffer, length)
offset = 0
while length > 0
# From offset until th... -
07:56 AM Bug #18330 (Closed): Make failure on 32-bit Linux (Android) with Clang due to implicit 64-to-32-bit integer truncation
- Thanks!
-
07:17 AM Revision f1a02ebf (git): Install gemspec even though no .rb and no .so
- When building with --with-static-linked-ext, some exts without rb file
doesn't produce neither .so or .rb under .ext/common. Therefore, change
rbinstall.rb to install gemspec even if there is no .so or .rb for that
case. -
07:16 AM Revision 332d1e52 (git): btest: assign $stderr = STDOUT instead of IO#reopen to be more portable
- `IO#reopen` internally uses dup syscall but some platforms don't support
the syscall. re-assigning `$stderr` is enough to capture the interpreter's
errors and warnings. -
06:12 AM Revision 69a7eaae (git): Use `to_s` and `puts` in tests
- `to_s` has the explict specification while `inspect` is often
vague. -
05:46 AM Feature #18402: Argument Labels
- Lomig (Lomig Enfroy) wrote in #note-5:
> The main idea / need is to use different names for variables/arguments when calling the method and inside the method itself.
Does this mean that both names can be used inside the method? And... -
05:19 AM Revision 05c9dfe2 (git): Suppress empty-body warning
-
04:02 AM Revision 02ba0bda (git): Remove RubyVM::JIT (#5275)
- [Feature #18349] reverts [Feature #17490]
12/15/2021
-
09:30 PM Feature #18410 (Open): Proposal to make inspect include underscores on numerics
- The documentation for inspect reads "Returns a string containing a human-readable representation of obj." but for large numerical values, while 964218442 is human-readable, 964_218_442 is a lot more readable. The language allows the use ...
- 09:13 PM Revision 40cc8e92 (git): * 2021-12-16 [ci skip]
-
09:13 PM Revision 7e27de2f (git): YJIT: Remove unused branch_t::src_ctx field
- No one reads it at the moment and it's heap allocated.
-
08:49 PM Feature #18296: Custom exception formatting should override `Exception#full_message`.
- @Dan0042 I basically agree with your assessment and support (a) and in addition I'd prefer if we don't introduce inconsistent formatting for quoted messages, i.e. `#<NameError:"...">` should definitely have a space between the `:` and `"...
-
06:15 PM Feature #18296: Custom exception formatting should override `Exception#full_message`.
- I'm interested in this feature because I'm uncomfortable with the current situation of sticking everything into `Exception#message` and losing access to the original message.
In #18194 I think everyone has agreed that
> an error message... -
06:06 PM Bug #18409: Crash (free(): invalid pointer) if LD_PRELOAD doesn't explicitly include libjemalloc.so.2
- I noticed that commit:737e4432b978eb4b9f5b10fb6cc6d9c883a5d17a is not backported to Ruby 3.0.x series. So before `./configure` you may need to do something like
```bash
export LDFLAGS="-Wl,--no-as-needed"
```
Make sure that the `... -
05:04 PM Bug #18409: Crash (free(): invalid pointer) if LD_PRELOAD doesn't explicitly include libjemalloc.so.2
- How can I try to trace it? I tried attaching GDB to the process with little success.
-
02:59 PM Bug #18409: Crash (free(): invalid pointer) if LD_PRELOAD doesn't explicitly include libjemalloc.so.2
- Seems like someone (who?) is calling libc `free()` directly, maybe?
-
11:43 AM Bug #18409 (Closed): Crash (free(): invalid pointer) if LD_PRELOAD doesn't explicitly include libjemalloc.so.2
- I recently installed Ruby 3.0.2 using rbenv with:
```
RUBY_CONFIGURE_OPTS='--with-jemalloc' rbenv install 3.0.2
```
After running our app it always crashed with:
```
free(): invalid pointer
[1] 51364 IOT instruction (core... -
04:28 PM Feature #16663: Add block or filtered forms of Kernel#caller to allow early bail-out
- headius (Charles Nutter) wrote in #note-15:
> ```ruby
> ...
That looks somewhat complex to implement, but it's such an elegant API, and doesn't even require a new method.
+1 -
02:56 PM Feature #16663: Add block or filtered forms of Kernel#caller to allow early bail-out
- @jeremeyevans0:
> It sounds like you want iteration, and you are recommending with Thread.each_backtrace yielding Thread::Backtrace::Location objects. Is that correct?
Yes to iteration. Capturing a single frame is only one use case... -
04:05 PM Misc #18404: 3.1 documentation problems tracking ticket
- On another semi-unrelated note, isn't weird that this method returns `nil` sometimes (e.g. `Struct.new(:a).keyword_init? # => nil`)?
Is there any precedence for a question mark method returning `nil`? I know `nil` is falsey, but this mig... -
03:54 PM Misc #18404: 3.1 documentation problems tracking ticket
- OK, I'll try to fight it, there are quite a few weird tricks that might help
-
03:43 PM Misc #18404: 3.1 documentation problems tracking ticket
- Gotcha! Thanks. I couldn't make it show up on the docs, though.
The docs are definitely there (struct.c:288)
```c
/*
* call-seq:
* StructClass.keyword_init? -> true or false
*
* Returns true if the class was initialized with +keyw... -
02:37 PM Bug #18133: LTO: TestGCCompact#test_ast_compacts segfaults on i686
- I am able to repro this. Since ppc64 uses 64KB pages for mmap, we can't use mmap to allocate memory for Ruby pages (since they are 16KB). Because we can't use mmap, we can't use mprotect used by the read barriers of compaction, so we can...
-
02:08 PM Bug #18133: LTO: TestGCCompact#test_ast_compacts segfaults on i686
- vo.x (Vit Ondruch) wrote in #note-18:
> Checking on CentOS Steam 9, it is passing on ppc:
> ...
Hups, scratch that, it fails also on c9s:
~~~
1) Error:
TestGCCompact#test_ast_compacts:
NotImplementedError: Compaction isn't avail... -
02:02 PM Bug #18133: LTO: TestGCCompact#test_ast_compacts segfaults on i686
- Checking on CentOS Steam 9, it is passing on ppc:
https://kojihub.stream.rdu2.redhat.com/koji/taskinfo?taskID=848077
The configure checks:
~~~
checking for mmap... yes
checking for sys/user.h... yes
checking whether PAGE_SIZE... -
11:20 AM Bug #18133: LTO: TestGCCompact#test_ast_compacts segfaults on i686
- peterzhu2118 (Peter Zhu) wrote in #note-16:
> I debugged this today. Can you try with commits [0130e17a410d60a10e7041ce98748b8de6946971](https://github.com/ruby/ruby/commit/0130e17a410d60a10e7041ce98748b8de6946971) and [32b7dcfb56a417c1... -
01:30 PM Bug #17826: Ractor#take hangs if used in multiple Threads
- Thank you for the review, and I'm glad to provide a confirmed bug report.
Volodya Sveredyuk and I invite you to give me a talk in our great and cozy local Ruby community in Lviv, Ukraine - Pivorak. Aaron Patterson and José Valim alrea... - 12:52 PM Revision fbd21a81 (git): Update stdlib version at 333865e56f594f365f2b3b4ef0f86f [ci skip]
-
12:47 PM Revision 333865e5 (git): Workaround for reline.gemspec
- This file searches "lib/reline/version.rb" in the same directory,
"lib/reline". As no such path, the file in the default load path
is loaded unexpectedly. -
12:32 PM Revision 16941908 (git): Skip test_operating_system_customizing_default_dir for failing with rubyci
-
11:09 AM Bug #18381: Default vs Bundled gems
- :+1:
Documentation would solve probably my question about:
https://bugs.ruby-lang.org/issues/18400 -
11:04 AM Bug #18400 (Closed): Cannot require 'prime' in irb @ 3.1.0.preview1
-
11:02 AM Bug #18400: Cannot require 'prime' in irb @ 3.1.0.preview1
- hsbt (Hiroshi SHIBATA) wrote in #note-3:
> You should add `prime` into your `Gemfile` for using prime via bundler environment.
Thanks for the hint, it resolves issue fully.
Can be closed. - 10:47 AM Revision 1fc80754 (git): Update stdlib version at 9f87c0cc6dff70e8a1c4d204d1d459 [ci skip]
-
10:46 AM Revision 9f87c0cc (git): [rubygems/rubygems] Pass `:bimode` explicitly to `File.open`
- The `File::BINARY` flag is apparently ignored due to a ruby bug, and
thus writing can cause encoding issues.
https://github.com/rubygems/rubygems/commit/db4efbebf2 -
10:46 AM Revision c2dbdf30 (git): [rubygems/rubygems] Extract a helper to temporarily modify internal encoding
- https://github.com/rubygems/rubygems/commit/93051fd2aa
-
10:46 AM Revision 890a6b43 (git): [rubygems/rubygems] Unify duplicated helper
- https://github.com/rubygems/rubygems/commit/c6ef75424d
-
09:53 AM Revision de01011d (git): Update stdlib version [ci skip]
-
09:05 AM Revision 50443716 (git): Skip s390x because Travis CI was failing with unknown reason
-
09:05 AM Revision 7e084ed7 (git): Merge RubyGems and Bundler master
- Merge from https://github.com/rubygems/rubygems/commit/793ad95ecb40e84a1dcb4cb60f2686843ed90de5
- 09:00 AM Revision 583e06e2 (git): Update stdlib version at ded33ed5b8d923b0bb707b4e617ba0 [ci skip]
-
08:55 AM Revision ded33ed5 (git): Update stdlib in NEWS
-
07:59 AM Revision 7d50142a (git): Remove unused footnote [ci skip]
- 07:01 AM Revision b2395539 (git): Update bundled_gems at 2021-12-15
-
06:31 AM Revision 0f99f3fe (git): Adjust indents [ci skip]
-
06:04 AM Revision 13c37835 (git): ucrt can raise `Errno::EINVAL`
- `ENV[key] = long_str` can raise `Errno::EINVAL` also on ucrt env.
-
06:04 AM Revision 04aab3c2 (git): fix test
-
06:04 AM Revision 0eafba36 (git): use `RB_VM_LOCK_ENTER()`
- We found that we need to make Ruby objects while locking the environ
to ENV operation atomically, so we decided to use `RB_VM_LOCK_ENTER()`
instead of `env_lock`. -
06:04 AM Revision a4a3528e (git): Removed no longer used variables
-
06:04 AM Revision a6ebc105 (git): Fixed env_pairs array types
-
06:04 AM Revision db3ab440 (git): Use prototype definition instead of old K&R style
-
06:04 AM Revision b43338cc (git): Update dependencies
-
06:04 AM Revision 88e36d8f (git): Adjust styles [ci skip]
- * --braces-after-func-def-line
* --space-after-for -
06:04 AM Revision 9bb83a82 (git): Removed traling spaces [ci skip]
-
06:04 AM Revision f471cf29 (git): Symbols closed to env should be static
-
06:04 AM Revision 3aab8707 (git): Make ENV shareable
-
06:04 AM Revision e071ac8b (git): Add Ractor tests for ENV
-
06:04 AM Revision 2a3e4b69 (git): Move exception-raising functions out of mutex; Refactor env-copying
-
06:04 AM Revision d3d156c2 (git): Add locks for ENV
-
02:25 AM Revision 0fcc58a1 (git): [DOC] Improve Thread::Queue.new docs [ci skip]
-
12:47 AM Revision ac5d6fae (git): YJIT: Fix unexpected truncation when outputing VALUE
- Previously, YJIT incorrectly discarded the upper 32 bits of the object
pointer when writing out VALUEs to setup default keyword arguments.
In addition to incorrectly truncating, the output pointers were not
properly tracked for handling...