Project

General

Profile

Activity

From 10/11/2018 to 10/17/2018

10/17/2018

04:48 PM Misc #15220: Adding OpenSSL 1.1.1 on Travis CI gcc-8 case
shyouhei (Shyouhei Urabe) wrote:
...
> This might not exactly be what you want but I have just enabled os: osx, whose homebrew accidentally includes openssl 1.1.1.
> ...
Very cool! Thanks for the working.
This is sufficient and great...
jaruga (Jun Aruga)
04:10 PM Misc #15220: Adding OpenSSL 1.1.1 on Travis CI gcc-8 case
As I saw Travis build failure and didn't see this ticket when I read r65122, I somehow changed openssl version at r65124 (sorry for that, not intended to bother this ticket) but I reverted my change at r65131 (and r65138) and so openssl ... k0kubun (Takashi Kokubun)
02:16 PM Misc #15220: Adding OpenSSL 1.1.1 on Travis CI gcc-8 case
Hello,
This might not exactly be what you want but I have just enabled os: osx, whose homebrew accidentally includes openssl 1.1.1.
It seems the builds are seconds slower than linux ones, but at least faster than installing openssl e...
shyouhei (Shyouhei Urabe)
04:21 PM Feature #14609: Let `Kernel#p` without an argument print the receiver
How about `obj.p!` or `obj.pp!` ? ko1 (Koichi Sasada)
03:42 PM Revision 7943c0e5 (git): .travis.yml: revert r65131 too
because it succeeded https://travis-ci.org/ruby/ruby/jobs/442733840.
It looks that it randomly succeeds. Let's just leave it and see how
stable it is, starting from `allow_failures` because it hasn't hanged
only once so far.
git-svn-id...
k0kubun (Takashi Kokubun)
03:34 PM Revision 556e9f72 (git): * ext/openssl: backport changes from openssl 2.1.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@65135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:30 PM Revision 53f3f02b (git): updated ext/openssl to 2.0.9
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@65134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:26 PM Revision 0ca511ef (git): Import Ruby/OpenSSL 2.1.2.
Original patches are written by rhe.
Changes since v2.1.1 can be found at the upstream GitHub repository:
https://github.com/ruby/openssl/compare/v2.1.1..v2.1.2
Kazuki Yamaguchi (9):
pkey: resume key generation after int...
nagachika (Tomoyuki Chikanaga)
03:13 PM Revision 7b916dd4 (git): revert r65124 and try non-parallel test-all on osx
OpenSSL error was fixed but r65124 hanged too
https://travis-ci.org/ruby/ruby/jobs/442727035.
So it seems to be an independent issue.
Let me try removing -j.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65131 b2dd03c8-39d4-4d8f-98...
k0kubun (Takashi Kokubun)
03:09 PM Revision b18c513e (git): merge revision(s) 65125:
infect taint flag on Array#pack and String#unpack
with the directives "B", "b", "H" and "h".
* pack.c (pack_pack, pack_unpack_internal): infect taint flag.
* test/ruby/test_pack.rb: add test for ...
U.Nakamura
03:08 PM Revision e6896828 (git): merge revision(s) 65125:
infect taint flag on Array#pack and String#unpack
with the directives "B", "b", "H" and "h".
* pack.c (pack_pack, pack_unpack_internal): infect taint flag.
* test/ruby/test_pack.rb: add test for ...
U.Nakamura
03:06 PM Revision a2958f67 (git): merge revision(s) 65125:
infect taint flag on Array#pack and String#unpack
with the directives "B", "b", "H" and "h".
* pack.c (pack_pack, pack_unpack_internal): infect taint flag.
* test/ruby/test_pack.rb: add test for ...
nagachika (Tomoyuki Chikanaga)
03:03 PM Revision 20387987 (git): * 2018-10-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:03 PM Revision db514e05 (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:03 PM Revision 4989bad4 (git): infect taint flag on Array#pack and String#unpack
with the directives "B", "b", "H" and "h".
* pack.c (pack_pack, pack_unpack_internal): infect taint flag.
* test/ruby/test_pack.rb: add test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65125 b2dd03c8-3...
nagachika (Tomoyuki Chikanaga)
02:50 PM Revision 9304c052 (git): .travis.yml: try openssl stable version
macOS build is handing on OpenSSL::SSL::SSLError https://travis-ci.org/ruby/ruby/jobs/442706479
Now 1.0.2p is stable version https://formulae.brew.sh/formula/openssl,
so let me try that version to make CI green
git-svn-id: svn+ssh://ci....
k0kubun (Takashi Kokubun)
02:35 PM Revision 7d5fad1b (git): sample/trick2018/03-tompng: merge upstream fixes
* Remove `ruby '2.5.0'`
* Add `source 'https://rubygems.org'`
* Avoid `Kernel#Integer`
Thanks to tompng. Fixes #14930.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:09 PM Revision 8340078c (git): .travis.yml: enhance build matrix
add OS=osx compiler=clang build matrix so that we can make sure
things are built smoothly on that platform.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
11:35 AM Revision cfc73287 (git): NEWS in rdoc mode [ci skip]
* NEWS: reverted to rdoc mode. markdown mode does not make
class/module/method references in HTML.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:35 AM Revision 68970620 (git): Fix NEWS format [ci skip]
* doc/NEWS-2.5.0: append bracketed tags to the previous lines, not
to be parsed as description lists, and expand braces for method
references.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:46 AM Bug #15223: Windows 1809 Update causes almost all file operations to segfault
ruby_2_3 r65119 merged revision(s) 64913. usa (Usaku NAKAMURA)
08:11 AM Bug #15223: Windows 1809 Update causes almost all file operations to segfault
ruby_2_4 r65110 merged revision(s) 64913. usa (Usaku NAKAMURA)
09:46 AM Revision f5767da6 (git): merge revision(s) 64913: [Backport #15223]
Support ubasecrt.dll 10.0.17763.1 included in Windows 10 October 2018 Update
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@65119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
09:31 AM Misc #15229: DevelopersMeeting20181122Japan
* [Feature #15220] Adding OpenSSL 1.1.1 on Travis CI gcc-8 case (jaruga)
* To detect an issue for the latest OpenSSL early and guarantee a Ruby version supporting a OpenSSL version.
jaruga (Jun Aruga)
08:48 AM Misc #15229: DevelopersMeeting20181122Japan
* [Feature #15231] Remove `Object#=~`
* The method looks useless, and made a trouble at least for me. I'd like to hear opinions from other committers.
mame (Yusuke Endoh)
07:36 AM Misc #15229: DevelopersMeeting20181122Japan
* [Feature #15230] RubyVM.resolve_feature_path (mame)
* I'd like this feature to investigate what will be loaded by `require(feature)`.
mame (Yusuke Endoh)
05:58 AM Misc #15229 (Closed): DevelopersMeeting20181122Japan
Please comment your favorite ticket numbers you want to ask to discuss with your *SHORT* comment or summary.
(your summary/comment will help us because we don't need to read all of ticket comments)
*DO NOT* discuss then on this ticke...
mame (Yusuke Endoh)
09:25 AM Bug #14658: Kernel#singleton_method is incompatible with Module#prepend.
ruby_2_4 r65118 merged revision(s) 63067,63068. usa (Usaku NAKAMURA)
09:25 AM Revision fbf633c3 (git): merge revision(s) 63067,63068: [Backport #14658]
Fix Kernel#singleton_method with Module#Prepend
* proc.c (rb_obj_singleton_method): search the method entry from
the origin class, for fix prepended modules. [Bug #14658]
From: Vasiliy Ermolovich <younash@gma...
U.Nakamura
09:22 AM Bug #13069: mkmf: ignore linker warnings on OpenBSD
ruby_2_4 r65117 merged revision(s) 62007,62024. usa (Usaku NAKAMURA)
09:22 AM Revision 2a13a71e (git): merge revision(s) 62007,62024: [Backport #13069]
mkmf.rb: ignore linker warnings
* lib/mkmf.rb (try_ldflags): ignore linker warnings. they cause
unexpected failures on OpenBSD. [ruby-core:78827] [Bug #13069]
mkmf.rb: werror on mswin
* lib/mkmf.rb ...
U.Nakamura
09:10 AM Bug #15118: Method [] & []= does not respect frozen_string_literal: true comment
ruby_2_4 r65116 merged revision(s) 64745. usa (Usaku NAKAMURA)
09:10 AM Revision a04a5fc1 (git): merge revision(s) 64745: [Backport #15118]
Use opt_{aref,aset} over opt_{aref,aset}_with
* compile.c (iseq_compile_each0): Use `opt_aref`/`opt_aset` over
`opt_aref_with`/`opt_aset_with` when frozen_string_literal: true,
not to resurrect the index stri...
U.Nakamura
08:51 AM Feature #15231: Remove `Object#=~`
rubocop should alert `obj =~ re` to fix as `re =~ obj`. naruse (Yui NARUSE)
08:46 AM Feature #15231 (Closed): Remove `Object#=~`
`Object#=~` receives (and just discards) an argument, and always returns nil. What purpose is this method for?
The following behavior that `Object#=~` caused was confusing to me.
```RUBY
["foo"] =~ /foo/ #=> nil
```
More prec...
mame (Yusuke Endoh)
08:40 AM Bug #14841: Very rarely IO#readpartial does not raise EOFError
ruby_2_4 r65115 merged revision(s) 63711,64398. usa (Usaku NAKAMURA)
08:40 AM Revision f5b0b984 (git): merge revision(s) 63711,64398: [Backport #14841]
thread_sync.c (rb_mutex_lock): fix deadlock
* thread_sync.c (rb_mutex_lock): fix deadlock
[ruby-core:87467] [Bug #14841]
thread_sync.c (rb_mutex_lock): acquire lock before being killed
We (the thread ...
U.Nakamura
08:30 AM Revision b01022cb (git): revert r65112, because of fearing an imcompatibility
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@65114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
08:27 AM Bug #15190: Null pointer dereference in process_options -- OOB read (size of 8 bytes)
ruby_2_4 r65113 merged revision(s) 64900. usa (Usaku NAKAMURA)
08:27 AM Revision 406a08c4 (git): merge revision(s) 64900: [Backport #15190]
Just a shebang is valid code
[ruby-core:89240] [Bug #15190]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@65113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
08:18 AM Bug #13931: correct install_name of libruby on macOS (libruby.2.5.0.dylib -> libruby.2.5.dylib)
ruby_2_4 r65112 merged revision(s) 60018. usa (Usaku NAKAMURA)
08:18 AM Revision 2aab471a (git): merge revision(s) 60018: [Backport #13931]
configure.in: install_name without teeny
* configure.in (RUBY_API_VERSION): remove teeny from install_name
to allow link extension libraries for the same minor version.
patched by kimuraw (Wataru Kimura) at [...
U.Nakamura
08:15 AM Bug #15205: backport r64915 (check argument type.)
ruby_2_4 r65111 merged revision(s) 64915. usa (Usaku NAKAMURA)
08:15 AM Revision 999f6f82 (git): merge revision(s) 64915: [Backport #15205]
check argument type.
* iseq.c (iseqw_s_compile): check argument type (T_STRING) to
avoid SEGV.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@65111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
08:11 AM Revision bfdc70f8 (git): merge revision(s) 64913: [Backport #15223]
Support ubasecrt.dll 10.0.17763.1 included in Windows 10 October 2018 Update
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@65110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:56 AM Bug #15069: Backport "suppress warning: 'const' attribute on function returning 'void' "
ruby_2_4 r65109 merged revision(s) 61323. usa (Usaku NAKAMURA)
07:56 AM Revision f1de89ce (git): merge revision(s) 61323: [Backport #15069]
suppress warning: 'const' attribute on function returning 'void'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@65109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:35 AM Feature #15230 (Closed): RubyVM.resolve_feature_path
I'd like a feature to know what will be loaded by `require(feature)` without actual loading.
```
$ ./local/bin/ruby -e 'p RubyVM.resolve_feature_path("set")'
[:r, "/home/mame/work/ruby/local/lib/ruby/2.6.0/set.rb"]
$ ./local/bin/...
mame (Yusuke Endoh)
07:16 AM Revision 61634b67 (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:16 AM Revision e88fd060 (git): Remove the level information from throw instruction
It is no longer used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
06:28 AM Revision 1b43644e (git): Merge rdoc-6.1.0.beta2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e aycabta (aycabta .)
03:03 AM Bug #14806 (Closed): Partially backport r63300: Make --with-soname actually work on macOS
On second thought, there's little point in fixing a rarely used install option in past versions and I don't really have the time to test this all over again right now. I'm closing this! knu (Akinori MUSHA)
03:01 AM Bug #14803 (Closed): Backport r63544: Fix name clash issue with --with-soname
I'm closing this, as there's little point in fixing a rarely used install option in past versions. knu (Akinori MUSHA)
01:29 AM Revision 2a59b579 (git): Check the end of Compilation Unit by unit length instead of level of tree
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

10/16/2018

11:57 PM Revision 0f92eba1 (git): Support base address selection entry
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:52 PM Revision e9a284ab (git): Correct the handling of .debug_ranges
Though DWARF specifies "the applicable base address defaults to the base
address of the compilation unit", but GCC seems to use zero as default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
11:52 PM Revision 447d7a39 (git): The value of .debug_ranges are uintptr_t
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:52 PM Revision f60c2d39 (git): If high_pc uses DW_FORM_addr, it's not size but address
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:47 PM Bug #14806: Partially backport r63300: Make --with-soname actually work on macOS
Can this be merged before the next teeny releases, along with #14803? knu (Akinori MUSHA)
11:23 PM Bug #15223: Windows 1809 Update causes almost all file operations to segfault
ruby_2_5 r65100 merged revision(s) 64913. nagachika (Tomoyuki Chikanaga)
07:15 AM Bug #15223 (Closed): Windows 1809 Update causes almost all file operations to segfault
I belive r64913 should be backported into stable branches. nagachika (Tomoyuki Chikanaga)
11:23 PM Revision 0b1e97d5 (git): merge revision(s) 64913: [Backport #15223]
Support ubasecrt.dll 10.0.17763.1 included in Windows 10 October 2018 Update
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@65100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
11:00 PM Feature #14915: Deprecate String#crypt
mame (Yusuke Endoh) wrote:
> This ticket has been discussed at the developers' meeting today.
> ...
The Webrick issue has been dealt with, and the string-crypt gem was released back in July. Can we apply the most recent patch in this ...
jeremyevans0 (Jeremy Evans)
10:44 PM Bug #15228 (Closed): Fix spec/ruby/core/array/reject_spec.rb & misc
Good catch, thanks! Committed as r65098. marcandre (Marc-Andre Lafortune)
09:31 PM Bug #15228 (Closed): Fix spec/ruby/core/array/reject_spec.rb & misc
Running some 'log inspection' code on ruby-loco, noticed spec tests that intermittently reported no examples. Most of the files were in core/array. The actual logs showed that whatever ruby instance ran reject_spec.rb had most of its s... MSP-Greg (Greg L)
10:42 PM Revision 08a24646 (git): * 2018-10-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:42 PM Revision bf6c9a5c (git): Spec: Fix spec/ruby/core/array/reject_spec.rb & misc
Patch by @MSP-Greg.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
02:46 PM Bug #15227 (Closed): Wrong version of ruby is used during tests
When I installed ruby 2.5 and run its internal tests, I noticed relocation error:
*ld.so.1: ruby: fatal: relocation error: file /usr/ruby/2.1/bin/ruby: symbol rb_cFixnum: referenced symbol not found*
Problem isn't the error itself ...
Kulikjak (Jakub Kulik)
01:35 PM Feature #15226 (Rejected): Resolv::DNS unable to handle responses larger than default size
The actual implementation of Resolve::DNS defines [UDPSize = 512](https://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/resolv.rb?view=markup#l288) as default. There is no way to initialize a Resolv::DNS instance having non-default UDPS... rtib (Tibor Repasi)
01:18 PM Feature #14609: Let `Kernel#p` without an argument print the receiver
> It wouldn't be able to omit the receiver, syntactically.
Hmm, I missed this point is the discussion. This limitation makes `:.` syntax sugar _substantially less useful_ :(
zverok (Victor Shepelev)
01:10 PM Feature #14609: Let `Kernel#p` without an argument print the receiver
zverok (Victor Shepelev) wrote:
> First is **core**. Considering the shorten of `&method(:name)` is discussed for ages (and _almost_ agreed to be `&:.name`),
You may want to say `&self.:name` at https://bugs.ruby-lang.org/issues/1358...
nobu (Nobuyoshi Nakada)
11:13 AM Feature #14609: Let `Kernel#p` without an argument print the receiver
@docx That are pretty interesting comparison with Elixir!
In fact, what the examples show (to me) is a need for more powerful partial application of procs. E.g. what would be a parity for Elixir is something like...
```ruby
def p_wi...
zverok (Victor Shepelev)
11:30 AM Misc #15220: Adding OpenSSL 1.1.1 on Travis CI gcc-8 case
So far I proposed 2 possible solutions to test with OpenSSL 1.1.1 with the pull-requests.
* 1. Add OpenSSL 1.1.1 test case to Travis CI: https://github.com/ruby/ruby/pull/1980
* Demerit:
* 2+ minutes to install OpenSSL 1...
jaruga (Jun Aruga)
09:29 AM Revision c312111c (git): tool/downloader.rb: retry Net::ReadTimeout
as failed in
https://ci.appveyor.com/project/ruby/ruby/builds/19540849/job/9p9pq0b7hfrb2r8q
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
09:11 AM Revision 569fe292 (git): string.c: grapheme cluster regexp failure
* string.c (get_reg_grapheme_cluster): show error info and relax
to rb_fatal from rb_bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:10 AM Revision 774fd169 (git): regerror.c: lenghten MAX_ERROR_PAR_LEN to contain old property names
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:13 AM Revision 6e9fc98d (git): regparse.c: check the result of propname2ctype
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:53 AM Revision a5818630 (git): revert r65091, r65090 because ci fails
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
07:12 AM Revision 417fc484 (git): check dwarf version and skip non Dwarf v4
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:01 AM Revision 33b5c610 (git): update to Unicode 11.0.0 (basic step, not complete yet)
- common.mk: Change Unicode version to 11.0.0
- enc/unicode/case-folding.rb, enc/unicode.c: Initial changes to deal with
Gregorian Mtavruli. This should bring us up to the same level as e.g.
Python 3.7, by following the Unicode table...
duerst (Martin Dürst)
06:41 AM Revision 72235828 (git): add some comments to enc/unicode/case-folding.rb [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
05:18 AM Feature #15225: OpenStruct: Recursively converting child Hash objects to OpenStruct objects.
My apologies; I wasn't quite fully awake when I wrote my above
comment since, obviously, easy "creation of ad-hoc methods" is a
characteristic trait of struct/openstruct already (not sure why I somewhat
forgot this; guess I have not u...
shevegen (Robert A. Heiler)
05:07 AM Feature #15225: OpenStruct: Recursively converting child Hash objects to OpenStruct objects.
shevegen (Robert A. Heiler) wrote:
> This is an interesting suggestion.
> ...
Thanks for taking the time to review this feature request. If possible please take a look at this PR https://github.com/ruby/ostruct/pull/5/files.
I'm r...
abhionlyone (Abhilash Reddy)
05:15 AM Revision dd8771ab (git): * 2018-10-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:14 AM Revision 0814870f (git): Removed data for old Unicode [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

10/15/2018

11:35 PM Feature #15225: OpenStruct: Recursively converting child Hash objects to OpenStruct objects.
Objection. It is too implicit and ad-hoc to convert a symbol-key hash to an OpenStruct only when assigning it to a field of another OpenStruct. I believe, in many cases, it can be statically determined that the value being assigned is ... mame (Yusuke Endoh)
08:35 PM Feature #15225: OpenStruct: Recursively converting child Hash objects to OpenStruct objects.
This is an interesting suggestion.
I actually implemented something similar for a class that I tend to call Configuration.
This class also allows for using its keys as method names, so I can relate to your
suggestion here. (If you...
shevegen (Robert A. Heiler)
02:03 PM Feature #15225 (Open): OpenStruct: Recursively converting child Hash objects to OpenStruct objects.
Currently, OpenStruct allows this:
~~~ ruby
person = OpenStruct.new
person.age = 25
person.name = "Abhilash"
puts person.name # "Abhilash"
~~~
But something like this is not possible:
~~~ ruby
person.more_info = {country: ...
abhionlyone (Abhilash Reddy)
10:42 PM Bug #15130: Nested Timeouts hang on cygwin
duerst@it.aoyama.ac.jp wrote:
> File strace_after_ctrl_C.txt added
>
> > This then also 'hangs', with CPU usage 0.0%. My understanding would be that this means that `strace` doesn't have much to show because there's nothing going on...
normalperson (Eric Wong)
05:36 PM Feature #15049: [Request] Easily access all keyword arguments within a method
duerst (Martin Dürst) wrote:
> Maybe I'm totally confused, but what's wrong with using **keyword_arguments?
I agree with zverok's answer.
The main reason for not just doing **args is that you lose several of the benefits of using ...
bherms (Bradley Herman)
01:48 PM Revision e07c5baf (git): unicode.c: moved addtional GCB ranges
* enc/unicode.c: moved additional Grapheme Cluster Break ranges
which depend on the Unicode version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:31 PM Revision 179045ac (git): regparse.c: Suppress duplicated range warning by mere \X
* regparse.c (node_extended_grapheme_cluster): as Unicode 10 has
added Grapheme_Cluster_Break properties to some characters,
remove duplicated ranges for Unicode 9.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65086 b2dd03c8-39...
nobu (Nobuyoshi Nakada)
12:31 PM Revision f31c5e72 (git): regparse.c: warn all duplicated ranges when debugging
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:47 AM Feature #15171: [patch] Use OpenSSL 1.1.1 for Appveyor MinGW build
> At the bottom is the info output for the current trunk build. It's more than is needed, but, in addition to OpenSSL, there are packages that have version info that might be helpful when comparing builds...
I saw the ruby-loco's log ...
jaruga (Jun Aruga)
10:03 AM Revision 274cd927 (git): .travis.yml: try `addons.apt.config.retries: true` as well
This is suggested by Travis
https://github.com/travis-ci/travis-ci/issues/9112#issuecomment-376305909
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
09:51 AM Revision 63cebc4d (git): .travis.yml: try `addons.apt.update: true` for gcc-8
because gcc-8 setup is super unstable like this
https://travis-ci.org/ruby/ruby/jobs/441528813
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
04:05 AM Revision 9ab13f38 (git): detect clang++
Given $CC is clang-* in this case branch the sed should
match against clang, not gcc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
12:11 AM Revision 9067330c (git): Pass cflags given to configure to mjit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

10/14/2018

11:45 PM Revision f572aeb7 (git): Moved hexdump macro before used
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:40 PM Revision bb9eea90 (git): Make local functions static
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:59 PM Revision 73496fd6 (git): * 2018-10-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:59 PM Revision 8bf4d899 (git): Read debug_info to show inline functions in backtrace
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:35 PM Feature #15171: [patch] Use OpenSSL 1.1.1 for Appveyor MinGW build
@jaruga
I'm wondering if more info would be helpful, especially when people may be building/testing Ruby on other CI platforms.
An example of what I run along with the ruby-loco CRON jobs is here:
https://ci.appveyor.com/project...
MSP-Greg (Greg L)
11:16 AM Feature #15171: [patch] Use OpenSSL 1.1.1 for Appveyor MinGW build
> Just my opinion, but it might be helpful to have the following info logged in the Travis & Appveyor logs:
> ...
That's a good idea!
jaruga (Jun Aruga)
01:25 PM Revision 83e1b361 (git): _mjit_compile_ivar.erb: optimize setivar as well
mjit_compile.inc.erb: ditto
common.mk: update dependency for the rename from getivar.erb
=== Optcarrot benchmark ===
```
$ benchmark-driver benchmark.yml --rbenv '2.0.0::2.0.0-p648 --disable-gems;before::before --disable-gems;before+JIT...
k0kubun (Takashi Kokubun)
11:50 AM Revision 3ac55870 (git): _mjit_compile_getivar.erb: we may not say receiver [ci skip]
for instance variable access, unlike method call.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
11:25 AM Revision 589d80e7 (git): vm_opts.h: share USE_IC_FOR_IVAR as OPT_IC_FOR_IVAR
with mjit_compile.c (tool/ruby_vm/views/_mjit_compile_getivar.erb).
mjit_compile.c: ditto
tool/ruby_vm/views/_mjit_compile_getivar.erb: ditto
vm_opts.h: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65074 b2dd03c8-39d4-4d8f-9...
k0kubun (Takashi Kokubun)
09:24 AM Revision f89fe59d (git): _mjit_compile_getivar.erb: optimize IC-hit getivar
by inlining index (and serial to invalidate that) and simplifying the
branch by using JIT cancellation.
mjit_compile.inc.erb: use the above file
mjit_compile.c: copy USE_IC_FOR_IVAR definition. will move this to
another shared file late...
k0kubun (Takashi Kokubun)
05:50 AM Revision 7bf86ecd (git): vm_insnhelper.c: remove obsoleted comment [ci skip]
see also: r65061
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
01:24 AM Revision 0e9466df (git): appveyor.yml: test open-uri separately
This randomly crashes test worker
https://ci.appveyor.com/project/ruby/ruby/builds/19488746/job/pf1c78dlh8lqcj06
and running it without -j is suggested.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65071 b2dd03c8-39d4-4d8f-98ff-823...
k0kubun (Takashi Kokubun)

10/13/2018

08:53 PM Revision 1bb5cc21 (git): NEWS: Hash#update! does not exist
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
08:36 PM Revision 83dc5d28 (git): hash.c: improve docs for Hash#{merge,merge!,update}
* hash.c: [DOC] improve docs for Hash#{merge,merge!,update}:
various rewordings, avoid referring to the receiver as `hsh'
(does not appear in the call-seq of the generated HTML docs),
mention that Hash#update is an alias for Hash#m...
stomar (Marcus Stollsteimer)
07:04 PM Revision 41a486e9 (git): string.c: [DOC] add example code for String#strip!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
07:02 PM Revision ee49d045 (git): string.c: small doc improvement
* string.c: [DOC] move unaltered case for String#strip to the end,
similar to other strip methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
07:01 PM Revision 921dc157 (git): array.c: fix rdoc syntax
* array.c: [DOC] use ` stomar (Marcus Stollsteimer)
06:56 PM Bug #15223: Windows 1809 Update causes almost all file operations to segfault
shyouhei (Shyouhei Urabe) wrote:
> This is supposedly fixed in revision r64913. Can you try the latest trunk?
Yes, this seems like it works. Thank you for your help.
eliza (Eliza Velasquez)
04:21 PM Revision e2d9042b (git): * 2018-10-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:21 PM Revision f2427a43 (git): Define PRIdPTR etc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:21 PM Revision 262437b4 (git): Remove compile-time dependencies on ruby/version.h
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:49 PM Revision 0614a6e5 (git): vm_insinhelper.c: prefer using inlinable function
No major performance impact, but just in case for some platform
that matters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
02:25 PM Misc #15224: [DOCs] Minor inconsistency in class Array #initialize_copy - https://ruby-doc.org/core-2.5.1/Array.html#method-i-initialize_copy
Yes, `Array#initialize_copy` and `Array#replace` share the same implementation (and the doc of course).
The only difference is that `initialize`, `initialize_copy`, `initialize_clone`, `initialize_dup` and `respond_to_missing?` are defi...
nobu (Nobuyoshi Nakada)
10:18 AM Misc #15224 (Open): [DOCs] Minor inconsistency in class Array #initialize_copy - https://ruby-doc.org/core-2.5.1/Array.html#method-i-initialize_copy
Today I looked at:
https://ruby-doc.org/core-2.5.1/Array.html#method-i-initialize_copy
The example to this method is this:
```ruby
a = [ "a", "b", "c", "d", "e" ]
a.replace([ "x", "y", "z" ]) #=> ["x", "y", "z"]
a ...
shevegen (Robert A. Heiler)
02:03 PM Revision e4eb6e33 (git): vm_insnhelper.c: finish reverting r63333
That optimization is already reverted and we're not retrying the
optimization soon. Let me simplify the code of vm_getivar.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
01:57 PM Feature #14609: Let `Kernel#p` without an argument print the receiver
Allowing debugging within `yield_self` is great! If `yield_self` was inspired by Elixir, we can look at Elixir for inspiration here as well:
https://hexdocs.pm/elixir/IO.html#inspect/2
One of the examples that is very interesting i...
docx (Lukas Dolezal)
10:33 AM Misc #15202: Adding Coverity Scan to CI to see the result casually
I like to share a good example that they only run Coverity Scan for Travis's cron job.
https://github.com/systemd/systemd/blob/master/.travis.yml
jaruga (Jun Aruga)
09:59 AM Revision 5f9f9013 (git): Add missing require
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:59 AM Revision fa8b08b4 (git): Prefer `rb_fstring_lit` over `rb_fstring_cstr`
The former states explicitly that the argument must be a literal,
and can optimize away `strlen` on all compilers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:43 AM Feature #14850: Add official API for setting timezone on Time
sam.saffron (Sam Saffron) wrote:
> Is there any particular reason there is no direct, supported API for setting timezone?
Because there is no standard in POSIX or similar.
Even the tz database provides data files only, not API.
...
nobu (Nobuyoshi Nakada)
09:23 AM Revision 83a01e6f (git): Added comments to rb_setup_fake_str and rb_fstring_new [ci skip]
`ptr` for these functions must refer constant string literals.
Otherwise, the result string's content can be modified/discarded
unexpectedly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:00 AM Bug #14652 (Rejected): ruby -e "p ARGV" **/* is reasonably but slow
Closed as irrelevant, as explained by jwmittag (Jörg W Mittag). duerst (Martin Dürst)
05:36 AM Revision 19f9d302 (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:36 AM Revision d3e1afac (git): addr2line.c: fix *printf type warnings on 32-bit
Yup, back to using an ancient 32-bit system...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
05:18 AM Revision 54ad3167 (git): tests: support Linux kernels with CONFIG_IPV6=n
Detecting the presence of constants in C headers is insufficient,
as a Linux kernel can be built with CONFIG_IPV6=n
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
03:18 AM Revision d7c806c0 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:18 AM Revision 9b5a1329 (git): use ADODB.Connection instead of Microsoft Internet Controls.
* test/win32ole/test_win32ole_type.rb: remove test using Microsoft
Internet Controls.
* test/win32ole/test_win32ole_type_event.rb: some test uses
ADODB.Connection.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65053 b2dd0...
suke (Masaki Suketa)
01:47 AM Revision 2e4d149d (git): appveyor.yml: reorder jobs
to reduce time to get all green. As we have 3 parallelism on AppVeyor,
running the slow msys2 job first doesn't have significant impact on
job priorities, but at the same time this would reduce the time that
only msys2 is running alone a...
k0kubun (Takashi Kokubun)
01:32 AM Revision e296f6cf (git): win32/win32.c: fix typo in comment [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
01:27 AM Feature #14839: How to deal with capitalizing Georgian in Unicode 11.0.0
duerst (Martin Dürst) wrote:
>
> ...
Hello, you can use these BPG Dejavu fonts: https://bpgfonts.wordpress.com/2018/09/07/gnu-gpl-license-grant-to-linux-distributors/
> Mtavruli letters are only used to empthasize whole words; ther...
Alan.X (Alan Benxton)
12:21 AM Feature #14839: How to deal with capitalizing Georgian in Unicode 11.0.0
Okay, @znz told me that the property is already unsatisfied. I don't object.
```
s = "s\u00DF"; [s.downcase.capitalize, s.upcase.capitalize]
=> ["Sß", "Sss"]
```
mame (Yusuke Endoh)
12:05 AM Feature #14839: How to deal with capitalizing Georgian in Unicode 11.0.0
Interesting. Python does not always satisfy a property: `s.lower().title() == s.upper().title()`.
```
>>> s = "იანვარი"
> ...
False
```
I agree with this if this result is natural for Georgian. But if not, I'd like to keep the...
mame (Yusuke Endoh)
12:38 AM Revision cf9cd06b (git): kill_spec.rb: exclude spec unstable on MinGW
like r64991, until we get helpful error logs on worker death or the
unstability is fixed.
Since mspec worker randomly dies on MinGW, maybe it should have an
option to retry worker death.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
k0kubun (Takashi Kokubun)
12:25 AM Revision cc5154af (git): win32/win32.c: I meant FindFreeChildSlot [ci skip]
which was formerly used in CreateChild.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
12:22 AM Revision 26519eba (git): win32/win32.c: don't call FindChildSlot in MJIT
worker. It's very likely to be thread-unsafe and so it's better to avoid
using in MJIT worker to prevent surprises by race condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
12:22 AM Revision 9d46f549 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:21 AM Revision 06e1079d (git): remove Microsoft Internet Control
* test/win32ole/test_win32ole_param: remove Microsoft Internet Control.
* test/win32ole/test_win32ole_param_event: use ADODB instead of
Microsoft Internet Control for test_input?, test_output?
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
suke (Masaki Suketa)

10/12/2018

11:57 PM Revision d6b0fe7d (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:57 PM Revision 09cd99b3 (git): win32/win32.c: drop always-NULL psa parameter
I'm simplifying the interface of ChildRecord as I'm going to complicate
it a little next.
I didn't drop hInput since leaving it would be more natural as its
interface.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65044 b2dd03c8-39...
k0kubun (Takashi Kokubun)
11:07 PM Revision 9749bab3 (git): use assert_equal instead of assert
* test/win32ole/test_win32ole_param.rb (test_input?, test_output,
test_optional, test_retval?): use assert_equal instead of assert.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
09:55 PM Revision ee2416e3 (git): enumerator.c: [DOC] small fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
09:11 PM Revision 863a2a1f (git): range.c: [DOC] improve docs for Range#cover?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
08:49 PM Feature #15171: [patch] Use OpenSSL 1.1.1 for Appveyor MinGW build
jaruga (Jun Aruga) wrote:
> I mean that I wanted to know if the OpenSSL package has already compiled or not.
Yes, it is compiled. It just needs to be added to the other packages that are checked for updates, currently line 124 of ...
MSP-Greg (Greg L)
08:37 PM Revision 08d01949 (git): readline.c: improve docs
* ext/readline/readline.c: [DOC] fix typo in docs for
Readline.completion_quote_character; enable link to method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
08:01 PM Revision 580a2103 (git): process.c: [DOC] improve docs for Process.groups
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
08:00 PM Revision e7719a1c (git): vm.c: [DOC] small improvements
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
07:58 PM Revision ef0615b6 (git): default gems: add missing comment in gemspec
* lib/csv/csv.gemspec: [DOC] add comment for require fallback
in Ruby repository.
* lib/logger.gemspec: ditto.
* lib/prime.gemspec: ditto.
* lib/rexml/rexml.gemspec: ditto.
* lib/rss/rss.gemspec: ditto.
* lib/webrick/webrick.gemspec: ...
stomar (Marcus Stollsteimer)
07:56 PM Revision 60990b9a (git): hash.c: improve docs for Hash#{size,length}
* hash.c: [DOC] shorten example code for Hash#{size,length}
and mention aliases at the end; also enable links.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
06:44 PM Bug #15210: UTF-8 BOM should be removed from String in internal representation
I looked into it a bit more closely into it:
io.c does this in
~~~ c
static int
io_strip_bom(VALUE io)
~~~
which is called by:
~~~ c
static void
io_set_encoding_by_bom(VALUE io)
~~~
> It is documented at `IO.new`, and you ...
foonlyboy (Eike Dierks)
04:51 PM Misc #15220: Adding OpenSSL 1.1.1 on Travis CI gcc-8 case
* As an another idea to run the heavy task such as installing openssl from source or running the docker. If we are running on Travis's cron mode too, we can run the heavy tasks for only cron running.
.travis.yml
```
script: |
if ...
jaruga (Jun Aruga)
04:31 PM Misc #15220: Adding OpenSSL 1.1.1 on Travis CI gcc-8 case
> Maybe we can use docker like ruby/openssl does today, or maybe we can have our own .deb prepared somewhere.
I sent pull-request to use docker on the only gcc-8 test case as an experiment.
https://github.com/ruby/ruby/pull/1983
T...
jaruga (Jun Aruga)
03:48 PM Revision 1821e9f4 (git): Fix overwritten zone string
* time.c (zone_str): while rb_fstring_usascii and the family
require that the argument string is never modified, tzname may
point areas which will be discarded by calling tzset().
make a String then call rb_fstring to copy the zone...
nobu (Nobuyoshi Nakada)
03:14 PM Revision 5b61288f (git): * 2018-10-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:14 PM Revision b712840c (git): mjit_worker.c: suppress child process's output properly
Prior to this commit, some of parent process's output was unintentionally
suppressed. We couldn't suppress only child process's output with spawnvp.
Instead of that, this commit uses CreateProcess directly to redirect stdout
and stderr ...
k0kubun (Takashi Kokubun)
01:51 PM Revision a113da5b (git): remove duplicate assertion
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
12:54 PM Revision 0d957a91 (git): Removed unreachable code
* node.c (rb_ast_dispose): since `ast->node_buffer` is freed in
`rb_ast_free()`, it should be always NULL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:13 AM Feature #14839: How to deal with capitalizing Georgian in Unicode 11.0.0
webzorg (Lasha Abulashvili) wrote:
> duerst (Martin Dürst) wrote:
> ...
Many thanks for checking! `such` usage apparently has existed (see Fig. 1/2 of http://www.unicode.org/wg2/docs/n4707-georgian.pdf), but that was more than 100 year...
duerst (Martin Dürst)
11:11 AM Feature #14839: How to deal with capitalizing Georgian in Unicode 11.0.0
webzorg (Lasha Abulashvili) wrote:
> Giia (George Pheikrishvili) wrote:
> ...
I was surprised when I read that. I don't read any Georgian, but I have looked at the mkhedruli and MTAVRULI charts, and I wouldn't have problems reading o...
duerst (Martin Dürst)
10:50 AM Feature #14839: How to deal with capitalizing Georgian in Unicode 11.0.0
duerst (Martin Dürst) wrote:
> @mame
> ...
Yes that produced 'Იანვარი', which I would agree with you, is going against the language rules (I haven't seen `such` usage of Mtavruli font anywhere, ever).
webzorg (Lasha Abulashvili)
10:40 AM Feature #14839: How to deal with capitalizing Georgian in Unicode 11.0.0
Hello Lasha, George,
Many thanks for your comments. Your input is very much appreciated!
webzorg (Lasha Abulashvili) wrote:
> I downloaded python 3.7, did the same and my output was `ᲘᲐᲜᲕᲐᲠᲘ`, these characters didn't show up eit...
duerst (Martin Dürst)
10:31 AM Feature #14839: How to deal with capitalizing Georgian in Unicode 11.0.0
@mame
mame (Yusuke Endoh) wrote:
> Just FYI. Python 3.7 supports Unicode11, and behaves as follows.
> ...
Many thanks for checking Python. The results make sense given the Unicode data, and align with my current proposal.
Can yo...
duerst (Martin Dürst)
06:33 AM Feature #14839: How to deal with capitalizing Georgian in Unicode 11.0.0
mame (Yusuke Endoh) wrote:
> Just FYI. Python 3.7 supports Unicode11, and behaves as follows.
> ...
I downloaded python 3.7, did the same and my output was `ᲘᲐᲜᲕᲐᲠᲘ`, these characters didn't show up either in my terminal nor in browse...
webzorg (Lasha Abulashvili)
02:34 AM Feature #14839: How to deal with capitalizing Georgian in Unicode 11.0.0
Just FYI. Python 3.7 supports Unicode11, and behaves as follows.
```
$ ./local/bin/python3
Python 3.7.0 (default, Oct 12 2018, 11:29:22)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information....
mame (Yusuke Endoh)
09:19 AM Revision 6c415d01 (git): test/win32ole/test_win32ole_event.rb: wait longer
for unstable spec. I added r64963 but it couldn't rescue:
https://ci.appveyor.com/project/ruby/ruby/builds/19451743/job/hg0tyoxbacrrlnsr
Since #test_on_event is especially unstable,
https://ci.appveyor.com/project/ruby/ruby/builds/19337...
k0kubun (Takashi Kokubun)
08:49 AM Bug #13524: miniruby: [BUG] Segmentation fault at 0x0055e487e00230 ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-li
I used this Docker file (https://github.com/t-anjan/ruby/blob/jemalloc/2.4/alpine3.7/Dockerfile) which uses Alpine 3.7 and jemalloc 5.0.1 from the alpine repositories.
It still threw the same error.
~~~
./miniruby: [BUG] Segmentat...
t_anjan (Anjan T)
08:45 AM Revision 54e99c7c (git): Disable fast_finish
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:40 AM Bug #15223: Windows 1809 Update causes almost all file operations to segfault
As an another workaround and as far as I tried, Ruby binary compiled with Visual Studio v15 can work on Windows 1809 Update. naruse (Yui NARUSE)
04:04 AM Bug #15223 (Feedback): Windows 1809 Update causes almost all file operations to segfault
This is supposedly fixed in revision r64913. Can you try the latest trunk? shyouhei (Shyouhei Urabe)
03:01 AM Bug #15223 (Closed): Windows 1809 Update causes almost all file operations to segfault
File I/O has almost completely broken after the recent Windows 1809 update when compiling Ruby against MSVCRT.
Here is the relevant output when compiling Ruby 2.3.7 with Visual Studio 2017 Community, toolset v141, x64. The stacktrace ...
eliza (Eliza Velasquez)
08:37 AM Feature #15113 (Closed): Show warnings on unused blocks with Enumerable#all? any? one? none?
Closed at proposer's request. duerst (Martin Dürst)
03:55 AM Revision 95fd76a2 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:55 AM Revision eb384728 (git): use ADODB.connection instead of Microsoft Internet Controls
* test/win32ole/test_win32ole_method.rb: remove test using Microsoft
Internet Controls.
* test/win32ole/test_win32ole_method_event.rb: add test using
ADODB.connection.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65027 b...
suke (Masaki Suketa)
02:49 AM Revision ade73091 (git): Initialize zone
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:25 AM Revision 75ac8e86 (git): Load as FIXOFF mode if zone is present
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:25 AM Revision 093398f9 (git): Just copy tzmode
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:22 AM Revision d8104d73 (git): Missing write-barrier
Fix up r64507.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:02 AM Feature #15112: Introducing the short form of `STDERR.puts expr.inspect`.
I totally agree with Jeremy and Usaku, so I want to change the title of this issue.
mrkn (Kenta Murata)
01:21 AM Revision 3b3b2091 (git): Remove debug print
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:45 AM Revision 9d1aab43 (git): use APPVEYOR_BUILD_WORKER_IMAGE
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:31 AM Revision 865b0c23 (git): escape
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:25 AM Revision 0ce33fd8 (git): Quote path
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:20 AM Revision 918ce88b (git): debug print
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:09 AM Revision c1d78bc4 (git): Define VS140COMNTOOLS by itself
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

10/11/2018

11:59 PM Revision c0e5f06d (git): Specify vm image on appveyor.yml
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:58 PM Revision eca36f9c (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:58 PM Revision 0b81f7bf (git): Revert wrongly commit debug_info feature
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:55 PM Revision d3853d7c (git): Support FreeBSD
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:55 PM Revision 628e85c7 (git): Support compressed debug_info
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:55 PM Revision 136d24ea (git): free line info leaves
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:55 PM Revision 336f86f2 (git): close dlopen-ed handle
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:55 PM Revision 69f06e9e (git): fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:55 PM Revision 692a5f21 (git): Support additional forms
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:55 PM Revision 37ea0f19 (git): Show backtrace with .debug_info
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:55 PM Revision 139f0bb4 (git): Read .debug_info
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:23 PM Revision 0cb08355 (git): show envvars before use it
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:21 PM Revision f873de6a (git): Show VS*COMNTOOLS environment variable on appveyor
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:28 PM Revision 0fd5f063 (git): win32/Makefile.sub: generate MJIT header pdb
in the MJIT-header-specific path, not default path like vc140.pdb.
mjit_worker.c: specify the MJIT-header-specific pdb path.
tool/rbinstall.rb: install MJIT header pdb as well.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65003 ...
k0kubun (Takashi Kokubun)
03:12 PM Bug #15118: Method [] & []= does not respect frozen_string_literal: true comment
ruby_2_5 r65002 merged revision(s) 64745. nagachika (Tomoyuki Chikanaga)
03:12 PM Revision ff5475bf (git): merge revision(s) 64745: [Backport #15118]
Use opt_{aref,aset} over opt_{aref,aset}_with
* compile.c (iseq_compile_each0): Use `opt_aref`/`opt_aset` over
`opt_aref_with`/`opt_aset_with` when frozen_string_literal: true,
not to resurrect the index stri...
nagachika (Tomoyuki Chikanaga)
03:02 PM Revision 3dd48673 (git): * 2018-10-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:01 PM Revision 34ade9a4 (git): win32/Makefile.sub: install MJIT header and object
to prefix. This is a retry of r64947. So this doesn't still make mswin MJIT
on install directory succeed. One more step required.
tool/rbinstall.rb: This change is needed to install headers correctly since
the extensions are .obj and .p...
k0kubun (Takashi Kokubun)
02:58 PM Bug #14939: [PATCH] cont.c (ec_switch): prevent delayed/missed trap interrupt race
ruby_2_5 r64999 merged revision(s) 64062. nagachika (Tomoyuki Chikanaga)
02:58 PM Revision 9fc4c79f (git): merge revision(s) 64062: [Backport #14939]
cont.c (ec_switch): prevent delayed/missed trap interrupt race
timer-thread may set trap interrupt with rb_threadptr_check_signal
at any time independent of GVL. This means timer-thread may set
the trap interrup...
nagachika (Tomoyuki Chikanaga)
02:40 PM Bug #14841: Very rarely IO#readpartial does not raise EOFError
ruby_2_5 r64998 merged revision(s) 63711,64398. nagachika (Tomoyuki Chikanaga)
02:40 PM Revision c561f04b (git): merge revision(s) 63711,64398: [Backport #14841]
thread_sync.c (rb_mutex_lock): fix deadlock
* thread_sync.c (rb_mutex_lock): fix deadlock
[ruby-core:87467] [Bug #14841]
thread_sync.c (rb_mutex_lock): acquire lock before being killed
We (the thread ...
nagachika (Tomoyuki Chikanaga)
02:20 PM Bug #14702: On Ruby 2.5.1, tracepoint isn't working on the file that is loaded by load_iseq
ruby_2_5 r64997 merged revision(s) 64514. nagachika (Tomoyuki Chikanaga)
02:20 PM Revision c1034574 (git): merge revision(s) 64514: [Backport #14702]
check trace flags at loading [Bug #14702]
* iseq.c (iseq_init_trace): at ISeq loading time, we need to check
`ruby_vm_event_enabled_flags` to turn on trace instructions.
Seprate this checking code from `finis...
nagachika (Tomoyuki Chikanaga)
01:51 PM Bug #14639: Array#map and lambda arity regression
ruby_2_5 r64996 merged revision(s) 63030. nagachika (Tomoyuki Chikanaga)
01:51 PM Revision ea15cedd (git): merge revision(s) 63030: [Backport #14639]
array.c: yield blockarg in collect
* array.c (rb_ary_collect): yield in block argument semantics
always to splat array elements to lambda, for the backward
compatibility. [ruby-core:86362] [Bug #14639]
git-...
nagachika (Tomoyuki Chikanaga)
01:16 PM Feature #15222: Add a way to distinguish between Struct classes with and without keyword initializer
This would be helpful for implementing custom deserializer of Struct.
Note: If you need to support Ruby 2.5, you would need to do `object.class.inspect.end_with?('(keyword_init: true)')`.
k0kubun (Takashi Kokubun)
01:01 PM Feature #15222 (Open): Add a way to distinguish between Struct classes with and without keyword initializer
With Ruby 2.5.0 Struct subclasses can have different `initialize` arguments list based on `keyword_init` option. However, there is no way in Ruby to distinguish Structs with keyword arguments syntax and without.
I propose a class meth...
pluff (Pavel Shutsin)
12:22 PM Bug #15221 (Closed): Segfault in Ruby VM
Ruby is segfaulting randomly for me on MacOS 10.14 (18A391).
I don't have a script to reproduce the error as it seems to pop up randomly. But I was able to grab the stack trace (attached). It appears to be related to GC.
jmreid (Justin Reid)
09:59 AM Bug #14920: Backport r63857 to fix performance problem on Time class in MacOs systems
Hi rafaelfranca,
Thank you for your notification.
I overlooked your comment when I backported r63994.
r63857, r63858 (and r63864 for naming convention) could affect the performance of Time.now.
I reset Backport field to express yo...
nagachika (Tomoyuki Chikanaga)
02:42 AM Bug #14920: Backport r63857 to fix performance problem on Time class in MacOs systems
Hi, @nagachika and @usa
Can you take another look on this backport? The commit that you backported doesn't fix the issue. I tested both ruby_2_4 and ruby_2_5 branches and the issue is still there.
rafaelfranca (Rafael França)
05:30 AM Misc #15220: Adding OpenSSL 1.1.1 on Travis CI gcc-8 case
First, I understand the motivation behind this request. We should enrich our build matrix.
That said, 2+ min overhead for each and every time we commit something is too much. I can hardly +1 this particular patch.
Maybe we can us...
shyouhei (Shyouhei Urabe)
01:03 AM Revision d5ecc9e5 (git): * 2018-10-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:03 AM Revision b27fa8ed (git): prelude.rb (Kernel#pp): make it private
It was a bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
12:26 AM Feature #14784: Comparable#clamp with a range
If Ruby support clamp(range), the behavior of clamp(b...e) should be considered.
What returns x.clamp(b...e) when e < x ?
10.clamp(0...20) would return 19.
But There is Rational.
How about 10r.clamp(0r...20r) ?
"Maximum Ration...
akr (Akira Tanaka)
 

Also available in: Atom