Project

General

Profile

Activity

From 04/24/2016 to 04/30/2016

04/30/2016

11:58 PM Feature #12328: Show warnings about vulnerable and no longer supported Ruby versions.
Perhaps this can be requested as a feature of ruby gems. Those who want to be warned should set it in such a way. Then every time they do `gem update`, they are warned of an old Ruby version.
It makes sense because you need to be conn...
sawa (Tsuyoshi Sawada)
07:56 PM Feature #12328: Show warnings about vulnerable and no longer supported Ruby versions.
I doubt such people who work extremely hard have a time to such warnings because there shall be already so many warnings. naruse (Yui NARUSE)
07:15 PM Feature #12328: Show warnings about vulnerable and no longer supported Ruby versions.
**TL;DR - I'm listing real-life situations such warnings would address. Mostly about how people behave and what they expect. Just to demonstrate how important and useful such warnings could be.**
Jeremy Evans wrote:
> I am agains...
Cezary (Cezary Baginski)
05:29 PM Feature #12328: Show warnings about vulnerable and no longer supported Ruby versions.
Eric Wong wrote:
> I don't want a nanny scripting language.
Thank you, Eric. I don't either. I agree expiry is a bad idea. Especially if the Ruby-core team ever decides to change dates.
You helped me realize some people are fully...
Cezary (Cezary Baginski)
04:28 AM Feature #12328: Show warnings about vulnerable and no longer supported Ruby versions.
I am against ruby emitting warnings just because it thinks there may be a newer ruby version available.
Cezary, if you want to only support newer versions of ruby in your gems, then just start using the newer features and set required...
jeremyevans0 (Jeremy Evans)
04:12 AM Feature #12328: Show warnings about vulnerable and no longer supported Ruby versions.
cezary.baginski@gmail.com wrote:
> Would expiry dates make sense?
>
> E.g. Ruby 2.0.0-p648 (December 16th 2015) could have a "hidden" warning that would have become active after February 24th 2016.
> So in January 2016 - no warnin...
normalperson (Eric Wong)
03:56 AM Feature #12328: Show warnings about vulnerable and no longer supported Ruby versions.
Migrating from Ruby 1.9.3 to Ruby 2.2 is trivial.
But, people still remember that moving from Ruby 1.8.7 to 1.9.3 was difficult and risky.
Ruby is used for so many important projects nowadays. People should be educated to upgrade Ru...
Cezary (Cezary Baginski)
11:58 PM Feature #12142: Hash tables with open addressing
Koichi Sasada wrote:
> Yura Sokolov wrote:
> ...
I believed it is in the comment #56 of this thread.
I'd like only to add that, IMHO, switching to jemalloc by default should be a well tested decision. I read that some people report...
vmakarov (Vladimir Makarov)
08:04 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> I've put result for each combination: with/without jemalloc * old/new hash. (2*2=4)
where?
ko1 (Koichi Sasada)
03:06 PM Feature #12142: Hash tables with open addressing
I've put result for each combination: with/without jemalloc * old/new hash. (2*2=4)
There is two ways to get more reproducible result:
- first way is to use just one worker process (with several threads) and use `taskset` to bind i...
funny_falcon (Yura Sokolov)
02:50 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> And still, why don't you measure with realworld application too?
> ...
Well, I am too far away from the world of WEB developers. I've tried and it was not easy for me. After spending some time, I decided that if...
vmakarov (Vladimir Makarov)
02:32 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> You forgot to include source for added benchmark files into diff: bm_hash_small{2,4,8}, bm_bighash, bm_hash_long
Thank you for pointing this out, Yura. I've added them in the previous message. Apparently I mis...
vmakarov (Vladimir Makarov)
02:29 PM Feature #12142: Hash tables with open addressing
Eric Wong wrote:
> vmakarov@redhat.com wrote:
> ...
Thank you, Eric. I don't expect a quick response. In GCC community, a review of the patches of such size can take a few weeks. I promised you to send the patches at the end of Apri...
vmakarov (Vladimir Makarov)
05:37 AM Feature #12142: Hash tables with open addressing
And still, why don't you measure with realworld application too?
It is relatively easy to setup Redmine http://www.redmine.org/ - the same software which powers this site (bugs.ruby-lang.org).
Add project, some issues and use `ab` (a...
funny_falcon (Yura Sokolov)
05:30 AM Feature #12142: Hash tables with open addressing
You forgot to include source for added benchmark files into diff: bm_hash_small{2,4,8}, bm_bighash, bm_hash_long funny_falcon (Yura Sokolov)
03:03 AM Feature #12142: Hash tables with open addressing
vmakarov@redhat.com wrote:
> Are the first three patches OK for the trunk? If it is so, I don't
> know how to commit them to the trunk. So could somebody commit them
> or explain the procedure how to do it in this case.

Only c...
normalperson (Eric Wong)
11:09 PM Bug #12278: Sometimes I have segmentation fault with procs reducer
Koichi Sasada wrote:
> Do you have easy reproducible code which we can try?
The error has occurred suddenly everytime. Almost always, I got it during RSpec tests run.
Before, I was not able to write a simple example for provoke an e...
newmen (Gleb Averchuk)
07:33 PM Bug #12278: Sometimes I have segmentation fault with procs reducer
Do you have easy reproducible code which we can try? ko1 (Koichi Sasada)
10:32 PM Revision 0f0121fe (git): * string.c (search_nonascii): use nlz on big endian environments.
* internal.h (nlz_intpr): defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
10:24 PM Bug #9569: SecureRandom should try /dev/urandom first
I am completely puzzled by what is happening here.
A number of cryptographers and systems engineers stated publicly and loudly that /dev/urandom is the way to go.
**All other languages only expose /dev/urandom in the stdlib.** All ...
filippo (Filippo Valsorda)
10:03 PM Bug #9569: SecureRandom should try /dev/urandom first
Aaron, I don't mean to offend you, but I think you should lobby in the Linux kernel community.
https://bugzilla.kernel.org/show_bug.cgi?id=71211
mame (Yusuke Endoh)
10:05 PM Revision aa2395b8 (git): fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
07:46 PM Feature #11098: Thread-level allocation counting
Is it acceptable to use gem for this purpose?
You can make a gem using some hooks like allocation tracer gem (https://github.com/ko1/allocation_tracer).
Disadvantages:
* we need to require them first.
* it should be more slow.
ko1 (Koichi Sasada)
07:30 PM Feature #12020: Documenting Ruby memory model
Sorry for late response.
Petr Chalupa wrote:
> Let me start by elaborating more on the motivation behind all of the related
> ...
No problem. Thank you for your explanation.
> ### Motivation
> ...
I (may) understand what you wan...
ko1 (Koichi Sasada)
06:28 PM Feature #12334 (Open): Final/Readonly Support for Fields / Instance Variables
This sort of relates to https://bugs.ruby-lang.org/issues/11911
C# through 'readonly' and Java through 'final' variables/fields allow me to only allow assigning a field in the initializer. It might be nice to embrace some controlled m...
wied03 (Brady Wied)
04:32 PM Revision 424a706a (git): More optimization for r54854's search_nonascii
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:39 PM Revision 30c2d8ba (git): * 2016-05-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:39 PM Revision b888ee25 (git): revert UNALIGNED_WORD_ACCESS for GCC6
Released GCC 6.0 fixed the issue.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69291
[ruby-core:72211] [Bug #11831] [Bug #11979]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:39 PM Revision 4cf460a7 (git): * string.c (search_nonascii): unroll and use ntz
* configure.in (__builtin_ctz): check.
* configure.in (__builtin_ctzll): check.
* internal.h (rb_popcount32): defined for ntz_int32.
it can use __builtin_popcount but this function is not used on
GCC environment because it uses __b...
naruse (Yui NARUSE)
01:05 PM Revision c19c8ef4 (git): [DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:55 PM Revision 6b6fa210 (git): Gather Fixnum method definitions.
* numeric.c (Init_Numeric): Gather Fixnum method definitions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:39 PM Revision 8248c26e (git): Define Integer#/ instead of Bignum#/.
* numeric.c (rb_int_div): Define Integer#/.
* bignum.c (rb_big_div): Don't define Bignum#/.
* lib/mathn.rb (Integer#/): Replace Integer#/ instead of Bignum#/.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54851 b2dd03c8-39d4-4d8...
akr (Akira Tanaka)
12:25 PM Feature #12333 (Closed): `String#concat`, `Array#concat`, `String#prepend` to take multiple arguments
I would like `String#concat`, `Array#concat`, `String#prepend` to take multiple arguments
~~~ruby
s = ""
s.concat("a", "b", "c")
a.prepend("A", "B", "C")
s # => "ABCabc"
a = []
a.concat(["a"], ["b", "c"])
a # => ["a", "b", "c...
sawa (Tsuyoshi Sawada)
12:24 PM Revision d0e2d150 (git): Define Integer#+ instead of Bignum#+.
* numeric.c (rb_int_plus): Define Integer#+.
* bignum.c (rb_big_plus): Don't define Bignum#+.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:09 PM Revision 11ca96d3 (git): Define Integer#- instead of Bignum#-.
* numeric.c (rb_int_minus): Define Integer#-.
* bignum.c (rb_big_minus): Don't define Bignum#-.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:54 AM Revision a9f3a1cd (git): Define Integer#* instead of Bignum#*.
* numeric.c (rb_int_mul): Define Integer#*.
* bignum.c (rb_big_mul): Don't define Bignum#*.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:31 AM Revision e27a06f4 (git): Define Integer#% instead of Bignum#%.
* numeric.c (rb_int_modulo): Define Integer#%.
* bignum.c (rb_big_modulo): Don't define Bignum#%.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:18 AM Revision 25f2c850 (git): Define Integer#== instead of Bignum#==.
* numeric.c (int_equal): Define Integer#==.
* bignum.c (rb_big_eq): Don't define Bignum#==.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:42 AM Revision 70279a57 (git): Define Integer#> instead of Bignum#>.
* numeric.c (int_gt): Define Integer#>.
* bignum.c (rb_big_gt): Don't define Bignum#>.
Renamed from big_gt.
* internal.h (rb_big_gt): Declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54845 b2dd03c8-39d4-4d8f-98ff-823fe6...
akr (Akira Tanaka)
10:26 AM Revision 289c3f40 (git): Define Integer#>= instead of Bignum#>=.
* numeric.c (int_ge): Define Integer#>=.
* bignum.c (rb_big_ge): Don't define Bignum#>=.
Renamed from big_ge.
* internal.h (rb_big_ge): Declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54844 b2dd03c8-39d4-4d8f-98ff-823f...
akr (Akira Tanaka)
10:20 AM Revision 5576a937 (git): * doc/standard_library.rdoc: Remove obsoleted classes and modules.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
10:10 AM Revision 6b16db9c (git): Define Integer#< instead of Bignum#<.
* numeric.c (int_lt): Define Integer#<.
* bignum.c (rb_big_lt): Don't define Bignum#<.
Renamed from big_lt.
* internal.h (rb_big_lt): Declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54842 b2dd03c8-39d4-4d8f-98ff-823fe6...
akr (Akira Tanaka)
09:48 AM Revision d00bca92 (git): Define Integer#<= instead of Bignum#<=.
* numeric.c (int_le): Define Integer#<=.
* bignum.c (rb_big_le): Don't define Bignum#<=.
Renamed from big_le.
* internal.h (rb_big_le): Declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54841 b2dd03c8-39d4-4d8f-98ff-823f...
akr (Akira Tanaka)
09:12 AM Revision d13774e2 (git): Define Integer#GMP_VERSION.
* bignum.c (Init_Bignum): Define Integer#GMP_VERSION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:52 AM Revision 11678caa (git): Define Integer#-@ instead of Fixnum#-@.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:27 AM Revision 635cff45 (git): Define Integer#remainder instead of Bignum#remainder.
* numeric.c (int_remainder): Define Integer#remainder.
* bignum.c (rb_big_remainder): Don't define Bignum#remainder.
* internal.h (rb_big_remainder): Declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54838 b2dd03c8-39d4-4...
akr (Akira Tanaka)
06:30 AM Revision ae225a2c (git): {Fixnum,Bignum}#-@ is unified into Integer.
* numeric.c (rb_int_uminus): {Fixnum,Bignum}#-@ is unified into
Integer.
* bignum.c (rb_big_uminus): Don't define Bignum#-@.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:43 AM Revision 73dd745c (git): {Fixnum,Bignum}#div is unified into Integer.
* numeric.c (rb_int_idiv): {Fixnum,Bignum}#div is unified into
Integer.
* bignum.c (rb_big_idiv): Don't define Bignum#div.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:26 AM Revision 728333dc (git): {Fixnum,Bignum}#modulo is unified into Integer.
* numeric.c (rb_int_modulo): {Fixnum,Bignum}#modulo is unified into
Integer.
* bignum.c (rb_big_modulo): Don't define Bignum#modulo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:05 AM Revision 1b1a1ed6 (git): {Fixnum,Bignum}#divmod is unified into Integer.
* numeric.c (int_divmod): {Fixnum,Bignum}#divmod is unified into
Integer.
* bignum.c (rb_big_divmod): Don't define Bignum#divmod.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:22 AM Revision bda463c1 (git): move Fixnum#/ document position.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:20 AM Revision 27f9556d (git): {Fixnum,Bignum}#fdiv is unified into Integer.
* numeric.c (int_fdiv): {Fixnum,Bignum}#fdiv is unified into
Integer.
* bignum.c (rb_big_fdiv): Don't define Bignum#fdiv.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:59 AM Revision 8a2df1ce (git): {Fixnum,Bignum}#** is unified into Integer.
* numeric.c (rb_int_pow): {Fixnum,Bignum}#** is unified into
Integer.
* bignum.c (rb_big_pow): Don't define Bignum#**.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:30 AM Revision d73b431e (git): Rename fix_rev and rb_big_neg to fix_comp and rb_big_comp.
* bignum.c (rb_big_comp): Renamed from rb_big_neg.
* numeric.c (fix_comp): Renamed from fix_rev.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:27 AM Revision 10fb4e15 (git): {Fixnum,Bignum}#~ is unified into Integer.
* numeric.c (int_comp): {Fixnum,Bignum}#~ is unified into
Integer.
* bignum.c (rb_big_neg): Don't define Bignum#~.
* internal.h (rb_big_neg): Declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54829 b2dd03c8-39d4-4d8f-98f...
akr (Akira Tanaka)
03:08 AM Revision b296cacb (git): {Fixnum,Bignum}#& is unified into Integer.
* numeric.c (int_and): {Fixnum,Bignum}#& is unified into
Integer.
* bignum.c (rb_big_and): Don't define Bignum#|.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:56 AM Revision 23603c27 (git): ext/thread: remove
* ext/thread: removed dummy extension library. thread_sync.c
provides "thread.rb" already.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:55 AM Revision 13d62659 (git): thread_sync.c: define global constants always
* thread_sync.c (ALIAS_GLOBAL_CONST): define global constant
aliases unconditionally. same constants are not defined at this
time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:54 AM Revision 44af023d (git): {Fixnum,Bignum}#| is unified into Integer.
* numeric.c (int_or): {Fixnum,Bignum}#| is unified into
Integer.
* bignum.c (rb_big_or): Don't define Bignum#|.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:18 AM Revision 480bcad7 (git): * vm_trace.c: Fix typos. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yui-knk (Kaneko Yuichiro)
01:12 AM Revision 89a7e87c (git): pty.c: dry up
* ext/pty/pty.c (establishShell): gather initializations by the
default shell path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:09 AM Revision 00a22859 (git): pty.c: user shell
* ext/pty/pty.c (establishShell): honor USER environment variable
and login name over uid, one pid can be shared by some login
names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:09 AM Revision 3908b3da (git): * 2016-04-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:09 AM Revision 36717c86 (git): pty.c: portabilities
* ext/pty/pty.c (no_mesg): define only if used.
* ext/pty/pty.c (pty_check): some flags may not be defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:00 AM Bug #10028 (Rejected): nested rest keyword argument
This is intentional. Nested arguments are assignees of multiple assignments in reality. And multiple assignments do not support rest keyword argument (yet). When we introduce something like #8895, it should be supported.
Matz.
matz (Yukihiro Matsumoto)

04/29/2016

10:36 PM Feature #12142: Hash tables with open addressing
Since submitting my first patch for new Ruby hash tables, a lot of
code was reworked and a lot of new implementation details were tried.
I feel that I reached a point from where I can not improve the hash
table performance anymore. ...
vmakarov (Vladimir Makarov)
10:08 PM Bug #12332 (Closed): [PATCH] proc.c: fix RDoc of Proc#===/call/yield/[]
Since r52050 ("proc.c: enable optimization of Proc#call")
for [Feature #11569], we need to maintain this documentation
in a way RDoc comprehends. This is probably not worth fixing
in RDoc itself since this uses a non-standard interna...
normalperson (Eric Wong)
07:35 PM Bug #12331 (Closed): Please backport r53586
The r54405 backported several patches. Now, trying to build Ruby 2.3.1 on Fedora 24/Rawhide, I observe following error on ARM:
```
1) Failure:
TestISeq#test_parent_iseq_mark [/builddir/build/BUILD/ruby-2.3.1/test/ruby/test_iseq.rb...
vo.x (Vit Ondruch)
02:47 PM Bug #12330 (Closed): vm_trace.c (get_event_id) returns :specified_line if SPECIFIED_LINE was occurred
Because r38728 is last commit about this line, I think this is not intended behavior.
To check which symbol is returned,
```diff
diff --git a/ext/-test-/tracepoint/tracepoint.c b/ext/-test-/tracepoint/tracepoint.c
index aa8c212....
yui-knk (Kaneko Yuichiro)
02:41 PM Bug #12329: Minitest not in the documentation
Bundled gems' documents are not installed now. nobu (Nobuyoshi Nakada)
02:27 PM Feature #10342 (Closed): Module#deprecate_constant
nobu (Nobuyoshi Nakada)
01:49 PM Bug #12312 (Closed): Make PTY take environment variables like popen does
It works already.
```
$ ruby1.9 -v -rpty -e 'PTY.spawn({"FOO"=>"bar"}, "printenv", "FOO") {|r,w,pid|p r.read}'
ruby 1.9.3p551 (2014-11-13 revision 48407) [universal.x86_64-darwin15.3.0]
"bar\r\n"
```
nobu (Nobuyoshi Nakada)
01:40 PM Revision e46ba7ab (git): maintainers.rdoc: update ext/io/nonblock [ci skip]
* doc/maintainers.rdoc (ext/io/nonblock): still maintained, as
well as ext/io/wait, which is the origin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:18 PM Revision 82e6e21e (git): * doc/maintainers.rdoc (ext/win32): of course, it's still maintained. [skip ci]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
12:03 PM Revision 37aa0f46 (git): * gems/bundled_gems: Update latest gems, test-unit-3.1.8 and rake-11.1.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
11:43 AM Revision 5c194ec0 (git): * doc/maintainers.rdoc: Update latest maintainers list on Ruby 2.4
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
11:40 AM Feature #6647: Exceptions raised in threads should be logged
Shyouhei Urabe wrote:
> I remember this topic was looked at in the developer meeting this month. Matz was positive to have Thread#report_on_exception, but not default true.
Thanks for the reply.
> ...
That's unfortunate.
The mai...
Eregon (Benoit Daloze)
11:12 AM Revision d16ff5c4 (git): merge revision(s) 54706:
* test/ruby/test_time_tz.rb: Tests depends on Europe/Moscow removed
to avoid test failures due to the tzdata change.
https://github.com/eggert/tz/commit/8ee11a301cf173afb0c76e0315b9f9ec8ebb9d95
Found by naru...
U.Nakamura
10:52 AM Revision 621f2323 (git): * doc/maintainers.rdoc: Removed deprecated entries. These are already deleted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
10:52 AM Revision 49b64a90 (git): * doc/maintainers.rdoc: Removed Ruby 1.8 entries. It's not necessary to
Ruby 2.4 or later.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
08:52 AM Feature #12328: Show warnings about vulnerable and no longer supported Ruby versions.
I'm also maintaining to ruby-build.
We have the plan to warn to EOLed version of Ruby. ref. https://github.com/rbenv/ruby-build/issues/742
But no one implements this feature. If you submit patch to ruby-build, I will merge it :)
hsbt (Hiroshi SHIBATA)
08:12 AM Feature #12328: Show warnings about vulnerable and no longer supported Ruby versions.
I doubt that users/developers will install latest versions.
We often see the tickets for older releases.
nobu (Nobuyoshi Nakada)
08:43 AM Bug #9569: SecureRandom should try /dev/urandom first
A recent (2012) analysis of the RNG subsystem in the Linux Kernel can be found here: https://eprint.iacr.org/2012/251.pdf
The paper also describes, in detail, how `random` and `urandom` work. Apart from that, the code of the random ch...
azet (Aaron Zauner)
12:56 AM Revision ecc17e56 (git): * 2016-04-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:56 AM Revision f9602ee3 (git): win32/win32.c: remove unnecessary declaration
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

04/28/2016

06:32 PM Feature #6739: One-line rescue statement should support specifying an exception class
I noticed we have a keyword already in Ruby that’s used nearly nowhere and could be a nice fit here. Might not be linguistically optimal, but is not too bad: `in`. That keyword is currently only used for the `for` loop and should thus be... Quintus (Marvin Gülker)
06:17 PM Bug #12329 (Rejected): Minitest not in the documentation
Hi everyone,
Albeit still shipped with Ruby, the Minitest gem is not in the documentation of Ruby, neither on [ruby-doc.org][1] nor on [docs.ruby-lang.org][2]. It appears to have last been documented in version [2.1.9][3]. This should...
Quintus (Marvin Gülker)
05:48 PM Bug #12327: Seg Fault - ruby 2.3.0 mongo & OpenSSL issue??
I am almost certain this is to do with thread safety within the ssl lib. I am running ubuntu. details:
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
OpenSSL 1.0.1f 6 Jan 2014
alexanderbrowne (Alexander Browne)
02:56 PM Bug #12327 (Closed): Seg Fault - ruby 2.3.0 mongo & OpenSSL issue??
/opt/rbenv/versions/2.3.0/lib/ruby/2.3.0/openssl/buffering.rb:57: [BUG] Segmentation fault at 0x007fd27558dd80
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
-- Control frame information -------------------------------------...
alexanderbrowne (Alexander Browne)
05:24 PM Feature #12328 (Third Party's Issue): Show warnings about vulnerable and no longer supported Ruby versions.
## Problem
Users are often still using unsupported Ruby versions and developers and unknowingly supporting them.
## Impact
Developers and maintainers are often "forced" to work extremely hard and support outdated Rubies in fear ...
Cezary (Cezary Baginski)
08:06 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Sure Nobu,
https://bugs.ruby-lang.org/issues/8206
very close to this feature request that I created years ago.
sam.saffron (Sam Saffron)
07:42 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Sam Saffron wrote:
> There is no way to invoke the regex engine without it magically setting a pile of globals, making it very inefficient to do lots of things with regex. 3 years ago when I brought this up, Nobu suggested allowing Stri...
nobu (Nobuyoshi Nakada)
12:08 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Just to expand on how hard this is to get right without the framework providing it
See:
https://gist.github.com/SamSaffron/d1a9cc8e141e7415e06306369fdedfe5
`/[[:^space:]]/ === str` can cause significantly more data to allocate...
sam.saffron (Sam Saffron)
08:03 AM Revision a19b53ae (git): hash.c: dry up code
* hash.c (rb_hash_update_{block,func}_callback): dry up hash
update callback code. [Fix GH-1338]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:52 AM Revision 0c4466ab (git): * re.c (rb_reg_prepare_enc): use rb_enc_asciicompat(enc) instead of
rb_enc_str_asciicompat_p(str) to avoid useless rb_enc_get(str) call.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:33 AM Bug #12323 (Closed): Wrong example code in OptionParser documentation
Applied in changeset r54808.
----------
optparse.rb: [DOC] fix example code [ci skip]
* lib/optparse.rb: [DOC] fix example code. base on the code by
Semyon Gaivoronskiy in [ruby-core:75224]. [Bug #12323]
nobu (Nobuyoshi Nakada)
07:29 AM Bug #12323: Wrong example code in OptionParser documentation
Thank you.
I think that `OptparseExample.parse` should be an instance method but not a class method.
nobu (Nobuyoshi Nakada)
07:33 AM Revision 38b75650 (git): optparse.rb: [DOC] fix example code [ci skip]
* lib/optparse.rb: [DOC] fix example code. base on the code by
Semyon Gaivoronskiy in [ruby-core:75224]. [Bug #12323]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:02 AM Feature #6647: Exceptions raised in threads should be logged
I remember this topic was looked at in the developer meeting this month. Matz was positive to have Thread#report_on_exception, but not default true. Sorry I don't remember the reason why he was not comfortable with defaulting this. shyouhei (Shyouhei Urabe)
06:54 AM Revision 9ef7c87d (git): win32/file.c: fix reallocation threshold
* win32/file.c (replace_to_long_name): fix reallocation threshold.
dereferenced size of a pointer is not same as the buffer size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:54 AM Revision 1e775c18 (git): win32/file.c: remove unnecessary code
* win32/file.c (replace_to_long_name): remove unnecessary backward
scan for the last directory separator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:51 AM Feature #12280: IO.copy_stream(IO, IO) fails with "pread() not implemented"
naruse@airemix.jp wrote:
> Benoit Daloze wrote:
> > For me, having a message like:
> > "NotImplementedError: IO.copy_stream with offset is not supported on Windows since it is not atomic"
> > would be a good enough fix for this.
> ...
normalperson (Eric Wong)
05:27 AM Feature #12280: IO.copy_stream(IO, IO) fails with "pread() not implemented"
+1 to add a fallback implementation when pread is unavailable. shyouhei (Shyouhei Urabe)
05:45 AM Feature #10095: Object#as
Tsuyoshi Sawada wrote:
> So, I would like to make a proposal such that, when `instance_eval` takes a block parameter, do not switch the context, and just pass the receiver through the block parameter. This will remove the slowness of th...
shyouhei (Shyouhei Urabe)
05:13 AM Bug #12308 (Closed): segfault in add_signal_thread_list
Change state to "Closed" to enqueue backporitng process. naruse (Yui NARUSE)
12:33 AM Revision 51cf90c5 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:33 AM Revision 4e53f3ad (git): * lib/rubygems.rb, lib/rubygems/*, test/rubygems/*: Update rubygems-2.6.4.
Please see entries of 2.6.4 on
https://github.com/rubygems/rubygems/blob/master/History.txt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)

04/27/2016

11:46 PM Bug #12326 (Closed): Update rubygems to 2.5.2 in ruby_2_3
This is a ticket for ruby_2_3 stable branch maintainance. Not about issues on trunk.
There's an issue about gem install package on rubygems 2.5.1.
https://github.com/rubygems/rubygems/issues/1448
Upgrade rubygems to 2.5.2 in rub...
nagachika (Tomoyuki Chikanaga)
08:00 PM Revision 7a3f794d (git): * configure.in (rb_cv_lgamma_r_pm0): check if lgamma_r(+0.0)
returns positive infinity, in addition to lgamma_r(-0.0).
AIX returns an incorrect result of negative infinity.
* math.c (ruby_lgamma_r): handle +0.0, in addition to -0.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54803 b2dd0...
Rei Odaira
07:21 PM Feature #11098: Thread-level allocation counting
jclark@newrelic.com wrote:
> So apparently I didn't have notifications turned on and lost track of this. Sorry!
No worries; I wish this place had a reply-to-all convention and
encourage emailing each other directly. It would mitiga...
normalperson (Eric Wong)
06:07 PM Feature #11098: Thread-level allocation counting
So apparently I didn't have notifications turned on and lost track of this. Sorry!
I've rebased this to current trunk and modified it per your suggestions Eric. How's this look? Anything else I can do to help this along?
jasonrclark (Jason Clark)
06:23 PM Bug #12325 (Closed): Ruby 2.2.1 fails with Rails 4.2.0-6 - Segmentation fault at 0x00000000000418 ruby 2.2.1p85
I am pretty sure this is not a Rails error.
Ruby 2.1.2 works fine. With Ruby 2.2.1, I cannot run rake db:migrate or any rake/db commands.
Error log attached, and partially below:
/Users/dwright/.rvm/gems/ruby-2.2.1/gems/debug_ins...
dwright (Doug Wright)
06:01 PM Bug #12324 (Closed): Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
The last beta for OpenSSL1.1.0 (1.1.0-pre5) was released a week ago. According to OpenSSL's website[1], OpenSSL 1.1.0 final will be released on 2016-05-12.
OpenSSL 1.1.0 introduces many many compatibility breaking changes[2][3] but they...
rhenium (Kazuki Yamaguchi)
05:17 PM Bug #12323 (Closed): Wrong example code in OptionParser documentation
There is a complete example code in OptionParser documentation (http://ruby-doc.org/stdlib-2.3.0/libdoc/optparse/rdoc/OptionParser.html). Trying to run it got next error message:
`example.rb:33:in 'parse': undefined local variable or me...
SerSamgy (Semyon Gaivoronskiy)
04:47 PM Feature #10095: Object#as
I think this feature is already realized by `instance_eval` given that it accepts an optional block parameter, but people do not want to use it because it is slow (and perhaps because its name is too long). The reason `instance_eval` is ... sawa (Tsuyoshi Sawada)
02:01 PM Feature #10095: Object#as
How about Object#continue?
~~~ruby
(1 + 2 + 3 + 4).continue {|x| x ** 2}
~~~
The name is brought from the concept of continuation; instead of assigning the value of expression to variable, pass the value to given computation (con...
soutaro (Soutaro Matsumoto)
04:15 PM Revision 173005bb (git): * time.c: define _DEFAULT_SOURCE because glibc 2.20 depracates
_BSD_SOURCE.
https://sourceware.org/glibc/wiki/Release/2.20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:35 PM Revision 43f20580 (git): * 2016-04-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:35 PM Revision f949a95d (git): {Fixnum,Bignum}#^ is unified into Integer.
* numeric.c (int_xor): {Fixnum,Bignum}#^ is unified into
Integer.
* bignum.c (rb_big_xor): Don't define Bignum#^.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:17 PM Revision cf23ad42 (git): * compile.c (new_label_body): missed backporting r54548 in r54698.
this fixes randomly test failure introduced by r54698.
cf. [Bug #12082]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:05 PM Revision c71e02bd (git): [Doc] Add Document-method: directives.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:59 PM Revision b530f586 (git): Update rdoc of Integer#[] (fix -> int)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:46 PM Revision 02107a91 (git): [DOC] move rdoc comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:56 AM Revision d5a7299b (git): {Fixnum,Bignum}#[] is unified into Integer.
* numeric.c (int_aref): {Fixnum,Bignum}#[] is unified into
Integer.
* bignum.c (rb_big_aref): Don't define Bignum#<<.
* internal.h (rb_big_aref): Declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54795 b2dd03c8-39d4-4d8f...
akr (Akira Tanaka)
11:35 AM Feature #10548: remove callcc (Callcc is now going obsoleted. Please use Fiber.)
**Please keep callcc, they are inherently awesome to build constraint solvers.**
I am using them in a real life application. I am calculating the available tables for a full calendar with many time slots and with respect to many confi...
Overbryd (Lukas Rieder)
08:10 AM Bug #12321 (Rejected): Backticks in log output cause issues
Use multiline code block. nobu (Nobuyoshi Nakada)
05:01 AM Bug #12321: Backticks in log output cause issues
Backtick can appear anywhere else in a code block even if you get rid of this particular use in Ruby error messages. If you claim it breaks when you simply surround such string by backticks, then the way you are doing it is wrong. You sh... sawa (Tsuyoshi Sawada)
07:59 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
note this method exists in .NET String
https://msdn.microsoft.com/en-us/library/system.string.isnullorwhitespace(v=vs.110).aspx
and in Python
http://www.tutorialspoint.com/python/string_isspace.htm
sam.saffron (Sam Saffron)
06:57 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Shyouhei Urabe wrote:
> You failed to see the problem because you could not imagine a file path containing U+3000. That is not very rare in cultures with ideographics. No, I'm not against categorizing such path being insane. But th...
sam.saffron (Sam Saffron)
06:51 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
I just come back tmm1's bloc: http://tmm1.net/ruby21-profiling/
You guys are talking on this.
But I'm wondering whether it is still true after https://github.com/rails/rails/pull/24658 is merged.
naruse (Yui NARUSE)
01:40 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Sam Saffron wrote:
> In this particular case I fail to see how this can cause any problem.
You failed to see the problem because you could not imagine a file path containing U+3000. That is not very rare in cultures with ideographi...
shyouhei (Shyouhei Urabe)
07:33 AM Bug #12123: FileUtils.ln_s create a '.symlink' file not a symbolic link on windows
```
# Running tests:
[ 4406/15580] TestFileExhaustive#test_realpath_mount_point参数错误。
拒绝访问。
[ 4460/15580] TestFileUtils#test_cp_r_symlink = 0.02 s
1) Error:
TestFileUtils#test_cp_r_symlink:
Errno::ENOTDIR: Not a directory @ dir...
personnel (Am I Who)
07:11 AM Revision e5b436cd (git): * tool/instruction.rb: fix to follow current implementation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:11 AM Revision 5d2d4c93 (git): setdynamic is obsoleted
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:47 AM Revision 7a5b5667 (git): stringio.c: warn block for new
* ext/stringio/stringio.c (strio_s_new): warn if a block is given,
as well as IO.new.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:06 AM Feature #12280: IO.copy_stream(IO, IO) fails with "pread() not implemented"
Benoit Daloze wrote:
> For me, having a message like:
> ...
IO.copy_stream is a utility method.
It works as expected and fast if there's a suitable API like sendfile.
On this precondition, IO.copy_stream should work even on Windows...
naruse (Yui NARUSE)
05:29 AM Revision d226ce8d (git): internal.h: ONLY_FOR_INTERNAL_USE
* error.c (ruby_only_for_internal_use): raise fatal error when
deprecated function only for internal use is called, not just a
warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:29 AM Revision f8fe5349 (git): internal.h: adjust style
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:58 AM Bug #12322 (Rejected): vs 2015
Ruby 2.3 won't support VC 2015 because their msvcrt doesn't export __pioinfo.
Ruby 2.4 will support VC 2015 and VC 15 preview with hack https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/54737/diff/win32/win32.c
naruse (Yui NARUSE)
03:26 AM Bug #12322 (Rejected): vs 2015
i cannot compile ruby 2.3.1 with vc 2015 , because msvcr.lib does not have __pioinfo .
EXTERN_C _CRTIMP ioinfo * __pioinfo[];
kerwin (kerwin xu)

04/26/2016

09:38 PM Bug #12321: Backticks in log output cause issues
Well, it's not just slack. It's anything that uses markdown. That includes Github, Stack overflow, Jekyll, PivitolTracker, Jira, and probably many other technical tools. Markdown has become a pseudo-standard, and it's used in tons of pla... dkniffin (Derek Kniffin)
09:10 PM Bug #12321: Backticks in log output cause issues
It's an old typographical convention, as you say, to indicate opening quotation marks. It is used in TeX, for instance.
I find the argument "it's hard to paste into Slack" not very compelling.
That said, I have no strong opinion ei...
phluid61 (Matthew Kerwin)
07:59 PM Bug #12321 (Rejected): Backticks in log output cause issues
I would like to propose changing ruby's log output slightly. The issue I have is with output like this:
~~~
NoMethodError: undefined method `some_method' for nil:NilClass
~~~
In particular, I don't like how some_method has a back...
dkniffin (Derek Kniffin)
07:51 PM Misc #12283: Obsolete ChangeLog and commit message in Git-style
naruse@airemix.jp wrote:
> 1. Write a commit message in Git-style.
>
> * Line 1: summary of commit (around 80 characters or less, <50 is better)
> * Line 2: empty line
> * Line 3-: More detailed explanation of commit

Fwiw...
normalperson (Eric Wong)
06:19 PM Feature #12319: `Module#const_get` does not accept symbol with nested name
I am also for keeping symbols simple! I love symbols, I abuse them a
lot in my ruby code to yield special instructions/behaviour such as:
disable :colours # where disable() is a method
But it would scare me if everyone would s...
shevegen (Robert A. Heiler)
09:52 AM Feature #12319: `Module#const_get` does not accept symbol with nested name
I think as well that Symbols should not be used to generate dynamic names like that "SomModName::SomeOtherName".
Symbol are for identifiers, this is two or more identifiers with "::" in between.
Eregon (Benoit Daloze)
07:21 AM Feature #12319: `Module#const_get` does not accept symbol with nested name
Martin Dürst wrote:
> Strings can have lots of structure; Symbols essentially don't have structure.
If you look at the literal `:"B::C"`, then it might seem somewhat contrived, but in practical use, the argument passed to `const_get`...
sawa (Tsuyoshi Sawada)
07:01 AM Feature #12319: `Module#const_get` does not accept symbol with nested name
Tsuyoshi Sawada wrote:
> It is confusing/surprising that something you can do with string can be done with symbol, but cannot be completely done.
It's absolutely not confusing to me that A.const_get("B::C") works, but A.const_get(:"B...
duerst (Martin Dürst)
05:57 AM Feature #12319: `Module#const_get` does not accept symbol with nested name
Nobuyoshi Nakada wrote:
> It's the intended behavior.
> ...
I don't see any mentioning to symbol in #5690. If this is intended, I would like to ask it as a feature request. It is confusing/surprising that something you can do with stri...
sawa (Tsuyoshi Sawada)
04:56 AM Feature #12319: `Module#const_get` does not accept symbol with nested name
It's the intended behavior.
`Symbol` is a single name, not a class/module path.
nobu (Nobuyoshi Nakada)
01:25 AM Feature #12319 (Open): `Module#const_get` does not accept symbol with nested name
`Module#const_get` accepts non-nested string, nested string, and non-nested symbol:
~~~ruby
class A; class B; class C end end end
A.const_get("B") # => A::B
A.const_get("B::C") # => A::B::C
A.const_get(:B) # => A::B
~~~
...
sawa (Tsuyoshi Sawada)
06:16 PM Feature #12317: Name space of a module
Interesting. I am indifferent to it, but possibly lean towards giving a +1.
In some of my classes, I use a module called "opn", which stands short for
"output program name". I needed this for some of my ruby code, when it
gives outp...
shevegen (Robert A. Heiler)
12:15 AM Feature #12317 (Open): Name space of a module
I want a method to return the name space of a module, something like:
~~~ruby
class A; module B; module C end end end
A::B::C.namespace => [A, A::B, A::B::C]
~~~
There is `nesting` method that is similar, but that only return...
sawa (Tsuyoshi Sawada)
05:57 PM Bug #11884: Psych.load broken for OpenStruct in Ruby 2.3.0
I'm sorry to re-open this but I'm getting a similar error with Syck and Ruby 2.3.1 just released
I attached a repro script and the log that I get when running it. Like psych, the @table instance variable of the OpenStruct isn't initiali...
PSchambacher (Pierre Schambacher)
03:14 PM Revision 35719956 (git): * 2016-04-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:14 PM Revision 9708a62c (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:43 PM Revision 95f3abf3 (git): * tool/redmine-backporter.rb (rel): should not raise exceptions even if
the user input is wrong. only reports the error and continue process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:35 PM Bug #11900 (Closed): broken encoding of commandline on Windows
Applied in changeset r54785.
----------
Fix -e script encoding
* ruby.c (process_options): convert -e script to the encoding
given by a command line option on Windows. assume it is the
expected encoding. [ruby-dev:49461] [Bug #11...
nobu (Nobuyoshi Nakada)
11:43 AM Bug #11900: broken encoding of commandline on Windows
入れてみましょう。 usa (Usaku NAKAMURA)
08:41 AM Bug #11900: broken encoding of commandline on Windows
こんなところでどうでしょうか。
https://github.com/ruby/ruby/compare/trunk...nobu:bug/11900-win32-e-encoding
nobu (Nobuyoshi Nakada)
02:35 PM Revision a77d77c6 (git): * version.h: Bump versionto 2.3.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
02:35 PM Revision 6ef87aa6 (git): Fix -e script encoding
* ruby.c (process_options): convert -e script to the encoding
given by a command line option on Windows. assume it is the
expected encoding. [ruby-dev:49461] [Bug #11900]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54785 b2d...
nobu (Nobuyoshi Nakada)
02:15 PM Revision ca68da22 (git): * version.h: Bump version to 2.2.6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
12:29 PM Revision 68c661b8 (git): [DOC] update Integer#<< doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:23 PM Revision 06ca5033 (git): {Fixnum,Bignum}#<< is unified into Integer.
* numeric.c (rb_int_lshift): {Fixnum,Bignum}#<< is unified into
Integer.
* bignum.c (rb_big_lshift): Don't define Bignum#<<.
* internal.h (rb_big_lshift): Declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54782 b2dd03c8-...
akr (Akira Tanaka)
12:09 PM Revision 69fbb21c (git): {Fixnum,Bignum}#>> is unified into Integer.
* numeric.c (rb_int_rshift): {Fixnum,Bignum}#>> is unified into
Integer.
* bignum.c (rb_big_rshift): Don't define Bignum#>>.
* internal.h (rb_big_rshift): Declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54781 b2dd03c8-...
akr (Akira Tanaka)
11:47 AM Revision 8f045edd (git): {Fixnum,Bignum}#size is unified into Integer.
* numeric.c (int_size): {Fixnum,Bignum}#size is unified into Integer.
* bignum.c (rb_big_size_m): Don't define Bignum#size.
* internal.h (rb_big_size_m): Declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54780 b2dd03c8-39d...
akr (Akira Tanaka)
11:30 AM Revision 05bd6f83 (git): forgot to remove Bignum#bit_length.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:17 AM Revision bcc17969 (git): {Fixnum,Bignum}#bit_length is unified into Integer.
* numeric.c (rb_int_bit_length): {Fixnum,Bignum}#bit_length is
unified into Integer.
* bignum.c (rb_big_bit_length): Don't define Bignum#bit_length.
* internal.h (rb_big_bit_length): Declared.
--This iine, and those below, will be i...
akr (Akira Tanaka)
10:59 AM Revision 9368d751 (git): * numeric.c (int_abs): Integer#{abs,magnitude} moved from Fixnum and Bignum.
* internal.h (rb_big_abs): Declared.
* bignum.c (rb_big_abs): Don't define Bignum#{abs,magnitude}.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:12 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Shyouhei Urabe wrote:
> is clear that the XINCLUDES indicates this string is passed to a shell script. The call of strip here surely intends stripping shell's definition of whitespaces, not the Unicode one. Do you think Unicode-awar...
sam.saffron (Sam Saffron)
08:38 AM Revision 9223fe4f (git): * 2016-04-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:38 AM Revision a170b769 (git): compile.c: true conditions
* compile.c (compile_branch_condition): add more always-true
conditions to optimize away unreachable branch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:30 AM Bug #12320 (Closed): Skip SHA from test_digest_constants for LibreSSL 2.3
Backport r53718 to fix the first one of ruby/openssl#40
https://github.com/ruby/openssl/issues/40#issuecomment-159839338
naruse (Yui NARUSE)
04:40 AM Revision 53e15970 (git): * README.EXT{,.ja}: `nul` should be uppercase.
change 'nul' => 'NUL'. [Fix GH-1172]
derived from a patch by craft4coder <yooobuntu@163.com>
* doc/extension.rdoc: Improvements to english grammers.
[Bug #12246][ruby-core:74792][ci skip]
derived from a patch by Marcus Stollsteim...
U.Nakamura
04:26 AM Bug #12313: [DOC] Fix two code samples
ruby_2_2 r54772 merged revision(s) 54755. usa (Usaku NAKAMURA)
04:26 AM Revision f9a641fd (git): merge revision(s) 54755: [Backport #12313]
* encoding.c: Fix return value of `Encoding::ISO8859_1.name`
[Bug #12313][ruby-core:75147][ci skip]
* ext/bigdecimal/bigdecimal.c: Fix code sample of `BigDecimal.new`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branc...
U.Nakamura
04:23 AM Bug #12314: Backport r54716, r54719 and r54750 (don't use system round(3) on AIX)
ruby_2_2 r54771 merged revision(s) 54716,54719,54750. usa (Usaku NAKAMURA)
04:23 AM Revision a29386aa (git): merge revision(s) 54716,54719,54750: [Backport #12314]
* configure.in: don't use the system-provided round(3) on AIX.
In AIX, round(0.49999999999999994) returns 1.0.
Use round() in numeric.c instead.
* configure.in: add missing -lm for AIX.
git-svn-id: svn+ssh:...
U.Nakamura
04:21 AM Bug #12184: Cygwin LANG=ja_JP.SJIS 環境でコマンドライン引数に日本語が渡せない
ruby_2_2 r54770 merged revision(s) 54720. usa (Usaku NAKAMURA)
04:21 AM Revision ed03c4d8 (git): merge revision(s) 54720: [Backport #12184]
* ruby.c: cygwin does not use w32_cmdvector, command line can be
other than UTF-8. [ruby-dev:49519] [Bug #12184]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:17 AM Bug #12302: at_exit status status is changed by raising/rescueing a exception in at_exit
ruby_2_2 r54769 merged revision(s) 54681. usa (Usaku NAKAMURA)
04:17 AM Revision ba1bd67d (git): merge revision(s) 54681: [Backport #12302]
* eval_jump.c (exec_end_procs_chain): restore previous error info
for each end procs. [ruby-core:75038] [Bug #12302]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:27 AM Feature #12318: Returning the evaluated value of a block
It doesn't seem generic enough to be defined in `Enumerator`.
The receiver enumerator may return different object than its elements nor the results of the given block, whereas that `and_return` has to manage the association of them.
...
nobu (Nobuyoshi Nakada)
12:53 AM Feature #12318 (Closed): Returning the evaluated value of a block
I often achieve an element using an iterator with a block, and then apply the same/a similar block to the element I get. Examples are:
~~~ruby
[7, 8, 9]
.max_by{|e| e % 3}
.tap{|e| break e % 3}
# => 2
["foo", "bar", "baz"]
.fi...
sawa (Tsuyoshi Sawada)

04/25/2016

10:22 PM Bug #11926 (Closed): Backport request r53385
hsbt (Hiroshi SHIBATA)
06:57 PM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Rodrigo Rosenfeld Rosas wrote:
> Yui NARUSE wrote:
> ...
Ah, yes true.
I just remind old my proposal https://bugs.ruby-lang.org/issues/12075
naruse (Yui NARUSE)
02:12 PM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Yui NARUSE wrote:
> Richard Schneeman wrote:
> ...
It's not useful. The logic we are looking for is basically !(nil? || empty?). str&.empty? would return nil for nil and true for '' (empty).
If Ruby provided "non_empty?" we could us...
rosenfeld (Rodrigo Rosenfeld Rosas)
11:38 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
https://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/object/blank.rb
Martin Dürst wrote:
> Hello Sam,
> ...
>
jbilbo (Jonathan Hernandez)
11:32 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Hello Sam,
Just in private for the moment. I'm trying to find the definition of
blank? in the rails source code. I expected it somewhere around
here:https://github.com/rails/rails/tree/master/activesupport/lib/active_support/core_...
duerst (Martin Dürst)
10:05 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Several comments, all in one post:
1) .blank? definitely cannot check for all problems in an input field, but it seems to be used very often because it very easily catches a frequent user mistake. More precise checking is more difficu...
duerst (Martin Dürst)
02:37 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Sam Saffron wrote:
> All of the `strip.length==0` in core can safely be changed to a unicode aware `blank?` function with zero regression.
Can you elaborate with this? For instance this example
```
./ruby/ext/tk/extconf.rb: !TkC...
shyouhei (Shyouhei Urabe)
06:38 PM Bug #12255: [DOC] Small fix for rdoc of ext/json/lib/json/add/*
Understood.
Submitted as https://github.com/flori/json/pull/283.
stomar (Marcus Stollsteimer)
02:53 AM Bug #12255: [DOC] Small fix for rdoc of ext/json/lib/json/add/*
I agreed your fixes and patch.
But json in ruby core is not upstream repository.
Can you submit patch to http://github.com/flori/json ?
hsbt (Hiroshi SHIBATA)
06:04 PM Revision 394fa89c (git): version.h: bump up teeny. 2.3.0 -> 2.3.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
05:59 PM Bug #12246: [DOC] Language improvements for doc/extension.rdoc
ruby_2_3 r54766 merged revision(s) 53320,54756. nagachika (Tomoyuki Chikanaga)
02:27 AM Bug #12246 (Closed): [DOC] Language improvements for doc/extension.rdoc
Applied in changeset r54756.
----------
* doc/extension.rdoc: Improvements to english grammers.
[Bug #12246][ruby-core:74792][ci skip]
hsbt (Hiroshi SHIBATA)
05:59 PM Revision 52c883be (git): merge revision(s) 53320,54756: [Backport #12246]
* doc/extension.rdoc: [DOC] `nul` should be uppercase.
change 'nul' => 'NUL'. [Fix GH-1172]
* doc/extension.rdoc: Improvements to english grammers.
[Bug #12246][ruby-core:74792][ci skip]
git-svn-id: svn+ss...
nagachika (Tomoyuki Chikanaga)
05:55 PM Bug #12313: [DOC] Fix two code samples
ruby_2_3 r54765 merged revision(s) 54755. nagachika (Tomoyuki Chikanaga)
02:18 AM Bug #12313 (Closed): [DOC] Fix two code samples
Applied in changeset r54755.
----------
* encoding.c: Fix return value of `Encoding::ISO8859_1.name`
[Bug #12313][ruby-core:75147][ci skip]
* ext/bigdecimal/bigdecimal.c: Fix code sample of `BigDecimal.new`
hsbt (Hiroshi SHIBATA)
05:55 PM Revision 2d360c5e (git): merge revision(s) 54755: [Backport #12313]
* encoding.c: Fix return value of `Encoding::ISO8859_1.name`
[Bug #12313][ruby-core:75147][ci skip]
* ext/bigdecimal/bigdecimal.c: Fix code sample of `BigDecimal.new`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branc...
nagachika (Tomoyuki Chikanaga)
05:53 PM Revision 7f36210a (git): merge revision(s) 54758:
sizes.c.tmpl: extra semicolon
* template/sizes.c.tmpl (DEFINE): remove extra semicolon.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:54 PM Feature #5899: chaining comparsions.
Yukihiro Matsumoto wrote:
> I don't think changing "`1 < b < 4`" to "`1 < b && b < 4`" is that hard task.
Writing `1 < b && b < 4` is not hard. But doesn't `1 < b < 4` look intriguing? It's so clean!
I would also expect a slight d...
sos4nt (Stefan Schüßler)
08:30 AM Revision 93158146 (git): tk/extconf.rb: refactor
* ext/tk/extconf.rb (collect_tcltk_defs): split by -D at the
beginning or preceded by a space. exclude empty strings from
$defs.
* ext/tk/extconf.rb: test if value is set and has non-blank by
matching /\S/ at once.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
07:56 AM Revision e83922a3 (git): net/http/header.rb: refactor
* lib/net/http/header.rb (connection_close?): match headers
without making intermediate arrays.
* lib/net/http/header.rb (connection_keep_alive?): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54762 b2dd03c8-39d4-4d8f-98ff...
nobu (Nobuyoshi Nakada)
07:56 AM Revision 7a0f0e25 (git): ripper: fix ripper.E
* ext/ripper/depend (ripper.E): add missing $(INCFLAGS).
* ext/ripper/tools/strip.rb: insert an empty line for blank or
line directive lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:56 AM Revision f4afd052 (git): extmk.rb: refactor
* ext/extmk.rb: extract non-blank part without intermediate
objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:39 AM Revision a7dd0947 (git): rbconfig/sizeof: calculate at compilation time
* ext/rbconfig/sizeof/extconf.rb: just check the existence of each
types, to reduce configuration time, especially cross-compiling.
* template/sizes.c.tmpl: calculate sizes of checked types at
compilation time.
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)
05:38 AM Revision 75a5dcf1 (git): sizes.c.tmpl: extra semicolon
* template/sizes.c.tmpl (DEFINE): remove extra semicolon.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:45 AM Revision 847654a3 (git): configure.in: do not create unnecessary verconf.h
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:27 AM Revision ba692a48 (git): * doc/extension.rdoc: Improvements to english grammers.
[Bug #12246][ruby-core:74792][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
02:17 AM Revision 0e382a3d (git): * encoding.c: Fix return value of `Encoding::ISO8859_1.name`
[Bug #12313][ruby-core:75147][ci skip]
* ext/bigdecimal/bigdecimal.c: Fix code sample of `BigDecimal.new`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)

04/24/2016

11:03 PM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Nobu,
Regarding:
> Most of them looks different from ActiveSupport's String#blank? which is Unicode aware.
I think this change (if it happens) must come with unicode aware strip/rstrip/lstrip (and underlying is_space) for UTF-8...
sam.saffron (Sam Saffron)
07:01 PM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Just one comment, not related to the suggestion itself but to one
other comment made above.
Richard Schneeman wrote:
> I think this is useful outside of Rails. The Active Support module has
> ...
This is not a good comparison to...
shevegen (Robert A. Heiler)
03:14 PM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Richard Schneeman wrote:
> I think this is useful outside of Rails. The Active Support module has 87 million downloads on rubygems.org while Railties has only 53 million downloads. So 34 million times people have needed to use Active Su...
naruse (Yui NARUSE)
06:44 PM Bug #12286: Segfault on ruby 2.3.0p0 (2015-12-25 revision 53290) [armv7l-linux-eabihf]
Rick, could you also check it on recent stable eventmachine? They had improved cleanup process, so the issue might be fixed. avsej (Sergey Avseyev)
06:41 PM Misc #12283: Obsolete ChangeLog and commit message in Git-style
naruse@airemix.jp wrote:
> Shyouhei Urabe wrote:
> > Seems no one is against abandoning ChangeLog.
> >
> > What about "a ChangeLog-like plain-text file" part?

I don't think it's useful given how prevalent git and SVN are
among ...
normalperson (Eric Wong)
03:47 PM Misc #12283: Obsolete ChangeLog and commit message in Git-style
Shyouhei Urabe wrote:
> Seems no one is against abandoning ChangeLog.
> ...
One idea is just `svn log -rHEAD:53286`, and we can customize the format further.
(I use git show `git merge-base trunk origin/ruby_2_3` to show the commit)
...
naruse (Yui NARUSE)
05:44 PM Bug #12314: Backport r54716, r54719 and r54750 (don't use system round(3) on AIX)
ruby_2_3 r54754 merged revision(s) 54716,54719,54750. nagachika (Tomoyuki Chikanaga)
05:44 PM Revision 6ccc9e9f (git): merge revision(s) 54716,54719,54750: [Backport #12314]
* configure.in: don't use the system-provided round(3) on AIX.
In AIX, round(0.49999999999999994) returns 1.0.
Use round() in numeric.c instead.
* configure.in: add missing -lm for AIX.
git-svn-id: svn+ssh:...
nagachika (Tomoyuki Chikanaga)
03:08 PM Revision 32aa367d (git): * 2016-04-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:08 PM Revision 9bf0f4b9 (git): Revert "common.mk: timestamp file for verconf.h"
This reverts commit r54748.
It breaks build.
http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20160424T120700Z.log.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:58 PM Revision 60926acd (git): Revert "vm_insnhelper.c: INLINE condition" [Bug #12316]
This reverts commit r54747.
!__clang__ is also essential.
Anyway clang inlines vm_getivar into both vm_call_ivar and
vm_getinstancevariable, which r54728 originally intended to.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54751 b2...
naruse (Yui NARUSE)
02:56 PM Bug #12316 (Third Party's Issue): clang on Linux wrongly keep the inlined symbol
Through clang-3.4 to clang-3.8 they wrongly keep the inlined symbols, and it cause compilation error.
```
compiling vm.c
linking miniruby
vm.o: In function `vm_getinstancevariable':
/home/naruse/ruby-clang/./vm_insnhelper.c:876: u...
naruse (Yui NARUSE)
02:32 PM Revision 8ea19402 (git): * configure.in: add missing -lm for AIX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Rei Odaira
01:41 PM Revision 8b8c1862 (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:01 PM Revision c8d9ef86 (git): common.mk: timestamp file for verconf.h
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:01 PM Revision 5bd78d64 (git): vm_insnhelper.c: INLINE condition
* vm_insnhelper.c (INLINE): works with __NO_INLINE__ only,
__clang__ is not the point.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:42 AM Revision 5f9cf734 (git): * vm_insnhelper.c (INLINE): cosmetic change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
09:37 AM Revision 322ec847 (git): * vm_insnhelper.c (INLINE): disbale r54738 if __NO_INLINE__ is defined.
It caused "undefined reference to `vm_getivar'".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
03:42 AM Revision 3184407a (git): Revert r54742
Commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:38 AM Revision 73d7d09a (git): Disable r54738 if clang
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:56 AM Revision 33b523db (git): Fix compile error other than gcc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:10 AM Revision 84f45503 (git): regexec.c: constify
* regexec.c (match_at): constify oplabels.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:10 AM Revision cc0ffc55 (git): win32.c: suppress warnings
* win32/win32.c (set_pioinfo_extra): remove "/*" within comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:41 AM Bug #12315 (Feedback): OptionParser parses quoted --dash strings in 2.3.0
I can't reproduce it.
```
$ ruby -roptparse -e 'ARGV.options{|opt|opt.on("-x=STR"){|x|p x}; opt.parse!}' -- -x 'a -b'
"a -b"
```
Is `wmctile` in `wmctile/bin`?
Isn't it another wrapper shell script file?
What does `type wmctil...
nobu (Nobuyoshi Nakada)
12:32 AM Revision 7e5b1b65 (git): * test/ruby/test_array.rb: Add test cases for Array#sum with
non-numeric objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)
 

Also available in: Atom