Project

General

Profile

Activity

From 11/28/2014 to 12/04/2014

12/04/2014

10:49 PM Feature #10561: Improve function of Thread::Backtrace::Location #path and #absolute_path
I think the name #path should always refer to a #path of sorts using it as #filename is kind of odd. Which is a big reason I find the duality of #path / #absolute_path confusing. sam.saffron (Sam Saffron)
07:22 PM Feature #10561: Improve function of Thread::Backtrace::Location #path and #absolute_path
I'd like to have some extra clarification on this matter as well. Right now in Rubinius we return _just_ the filename when calling Thread::Backtrace::Location#path as the documentation suggested this was the expected behaviour:
> Retu...
yorickpeterse (Yorick Peterse)
10:30 PM Feature #10570 (Rejected): Allow `+=` etc. to be methods
In MRI, it is currently possible to create `#+=` methods in C extensions and even `+=` aliases for existing methods in Ruby source code. These methods are only callable via `#send('+=', ...)` because the parser interprets `a += b` as `a... david_macmahon (David MacMahon)
07:28 PM Feature #4276: Allow use of quotes in symbol syntactic sugar for hashes
Hi, any reason it doesn't work with inner hashes or arrays?
```
{ foo: {} } # => {:foo=>{}}
{ 'foo': {} }
# SyntaxError: (irb):2: syntax error, unexpected '{'
{ 'foo': [] }
SyntaxError: (irb):1: syntax error, unexpected '['
```
etienne (Étienne Barrié)
06:35 PM Feature #10481: Add "if" and "unless" clauses to rescue statements
Brian Hempel wrote:
> Sometimes code libraries forget to make a separate object for every error
This was, in fact, one of the reasons that motivated me to propose this in the first place - I've been doing some work with a web service...
javawizard (Alex Boyd)
04:38 PM Feature #10481: Add "if" and "unless" clauses to rescue statements
You’re right there may be some risk for anti-patterns, but from my experience this example in the original proposal is practical:
~~~ruby
begin
...
rescue => e if e.message == "some error"
...handle error...
end
~~~
Sometim...
brianhempel (Brian Hempel)
08:24 AM Feature #10481: Add "if" and "unless" clauses to rescue statements
Any update on this? Is this just waiting for 2.2 to make it out the door? javawizard (Alex Boyd)
06:31 PM Misc #10560: confusion between x=x+y, x+=y, x.concat(y) and y.each{|z| x<<z}
David MacMahon wrote:
> Maybe this could become a feature request to allow `<OP>=` to be methods instead of just syntactic sugar?
Of course you can.
I believe it will be rejected soon, however.
nobu (Nobuyoshi Nakada)
05:11 PM Misc #10560: confusion between x=x+y, x+=y, x.concat(y) and y.each{|z| x<<z}
I imagine that Python also lets one override the `+=` method. I think this is impossible on Ruby because I think it is the parser that interprets `a += b` to be `a = a + b`, so only the `#+` method will be called (with coercion) regardl... david_macmahon (David MacMahon)
08:55 AM Misc #10560: confusion between x=x+y, x+=y, x.concat(y) and y.each{|z| x<<z}
Of note, Python does implement `+=` this way. `+=` is (almost) an alias for `list.extend`:
~~~
>>> x = []
> ...
[42]
~~~
I think Ruby's behavior is more sensible, but I can imagine this causing confusion for Ruby users with a Py...
javawizard (Alex Boyd)
06:28 PM Bug #10569 (Rejected): BigDecimal#fix returns a BigDecimal object instead of a Integer
It returns the integer part as a `BigDecimal`. nobu (Nobuyoshi Nakada)
04:14 PM Bug #10569: BigDecimal#fix returns a BigDecimal object instead of a Integer
Seems that Python works the same way. Probably is not a bug:
~~~
>>> decimal.Decimal(7).imag
Decimal('0')
> ...
Decimal('7')
~~~
jjconti (Juanjo Conti)
03:56 PM Bug #10569: BigDecimal#fix returns a BigDecimal object instead of a Integer
BigDecimal, sorry for the typo :)
I'm pasting again the example because some chars were deleted in the original report:
~~~
a = BigDecimal(7)
=> #<BigDecimal:7fb18015e698,'0.7E1',9(27)>
a.fix
=> #<BigDecimal:7fb180185d38,'0.7E1...
jjconti (Juanjo Conti)
03:51 PM Bug #10569 (Rejected): BigDecimal#fix returns a BigDecimal object instead of a Integer
According docs (http://www.ruby-doc.org/stdlib-2.1.5/libdoc/bigdecimal/rdoc/BigDecimal.html#method-i-fix): fix method return the integer part of the number. But it's returning a BugDecimal:
a = BigDecimal(7)
=> #<BigDecimal:7fb18015...
jjconti (Juanjo Conti)
06:25 PM Bug #10566: Failure to compile ruby-trunk via mingw-w64 on linux
Nobuyoshi Nakada wrote:
> Applied in changeset r48711.
> ...
Ah, many thanks! I just reran makepkg, which updates source of repo-based builds, and it worked. Was scratching my head for a second there, then I noticed your post with the ...
ntzrmtthihu777 (Marty Plummer)
05:42 PM Bug #10566: Failure to compile ruby-trunk via mingw-w64 on linux
Ah, one second. Some of the redundancy is due to archlinux shipping a pair of configure wrapper scripts to make looping the build for i686 and x86_64 w64-mingw32 simpler; I was not aware that --disable-install-doc implies the others, I a... ntzrmtthihu777 (Marty Plummer)
05:28 PM Bug #10566 (Closed): Failure to compile ruby-trunk via mingw-w64 on linux
Applied in changeset r48711.
----------
extmk.rb: no EXTOBJS to main if enable-shared
* ext/extmk.rb: as all extension objects including initializations
of ext and enc shouild be linked to libruby if enable-shared,
EXTOBJS should n...
nobu (Nobuyoshi Nakada)
04:39 PM Bug #10566 (Feedback): Failure to compile ruby-trunk via mingw-w64 on linux
Could you show your exts.mk file?
And...
* --enable-static is not a valid option
* --disable-install-doc implies --disable-install-rdoc and --disable-install-capi
* --with-tcl-dir and --with-tk-dir don't make sense as they are eq...
nobu (Nobuyoshi Nakada)
08:10 AM Bug #10566: Failure to compile ruby-trunk via mingw-w64 on linux
my configure command:
configure_args=' '\''--host=i686-w64-mingw32'\'' '\''--target=i686-w64-mingw32'\'' '\''--build=x86_64-unknown-linux-gnu'\'' '\''--prefix=/usr/i686-w64-mingw32'\'' '\''--enable-shared'\'' '\''--enable-static'\'' '\'...
ntzrmtthihu777 (Marty Plummer)
08:05 AM Bug #10566 (Closed): Failure to compile ruby-trunk via mingw-w64 on linux
=begin
Greetings;
In my quest for optimizing my network usage (very slow connection), I've been migrating my
archlinux installation to a sort of gentoo setup, building my own packages from source repos.
In the process of that, I've...
ntzrmtthihu777 (Marty Plummer)
05:38 PM Bug #10558: failing require digest.so on OSX statically compiled ruby
it's few libraries, most important here `openssl 1.0.1j`:
~~~
CFLAGS="-fPIC" LDFLAGS="-fPIC" ./Configure darwin64-x86_64-cc zlib no-shared --openssldir=/etc/openssl --prefix=~/openssl101j
make install -j 1
sed -e '/^Libs:/ s/Libs:...
mpapis (Michal Papis)
05:27 PM Revision 1e6a1012 (git): extmk.rb: no EXTOBJS to main if enable-shared
* ext/extmk.rb: as all extension objects including initializations
of ext and enc shouild be linked to libruby if enable-shared,
EXTOBJS should not be linked to main programs.
[ruby-core:66675] [Bug #10566]
git-svn-id: svn+ssh://c...
nobu (Nobuyoshi Nakada)
05:10 PM Revision 34c3ac0e (git): * 2014-12-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:09 PM Revision 10cd530e (git): socket/option.c: use rb_w32_inet_ntop
* ext/socket/option.c (inet_ntop): the fallback implementaion is
always available on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:01 PM Bug #10568 (Closed): segmentation fault after pack & ioctl & unpack
This snippet produces a segmentation fault on rubies on ruby_2_1 branch from git commit [1]
onwards and ruby_2_0_0 branch from commit [2] onwards. I was unable to reproduce the issue
on the current trunk [3]:

require 'socket'
...
bkutil (Balazs Kutil)
11:30 AM Bug #10511: fix for #9940 causes dramatic performance regression
Koichi Sasada wrote:
> Ok, I understand the reason.
> ...
do you mean that it is your code who creates new hash every time?
os97673 (Oleg Sukhodolsky)
10:31 AM Bug #10511: fix for #9940 causes dramatic performance regression
Ok, I understand the reason.
For each hash access, new Hash object are created each time.
You can check this behavior by that:
```ruby
p GC.stat[:total_allocated_objects]
puts Benchmark.measure { N.times { recurse(RECURSION) } }...
ko1 (Koichi Sasada)
10:27 AM Bug #10511: fix for #9940 causes dramatic performance regression
Perhaps there is some VM optimization? As for the test: I've just mimic the code we have in debase native code, I doubt we can use {} there :( os97673 (Oleg Sukhodolsky)
10:21 AM Bug #10511: fix for #9940 causes dramatic performance regression
I understood.
First hash (Hash.new) contains empty st table.
Second hash ({}) does not have st table (NULL).
So the performance is different.
Making an entry for second hash like that:
```ruby
theHash = {}
theHash[Thread.c...
ko1 (Koichi Sasada)
10:12 AM Bug #10511: fix for #9940 causes dramatic performance regression
I found strange behaviour.
Using Hash.new, it is slow as you say:
```
Hash.new
ruby 2.2.0dev (2014-12-02 trunk 48684) [i386-mswin32_110]
5.944000 0.000000 5.944000 ( 5.979824)
ruby 2.0.0p402 (2014-02-11 revision 44911) [...
ko1 (Koichi Sasada)
09:35 AM Bug #10511: fix for #9940 causes dramatic performance regression
Eric Wong wrote:
> Oops, [Feature #9425] (power-of-two hash sizes :)
If the problem is in implementation of hash function then I'd expect that simple Thread.current.hash instead of theHash[Thread.current] would show a performance deg...
os97673 (Oleg Sukhodolsky)
06:48 AM Bug #10511: fix for #9940 causes dramatic performance regression
Oops, [Feature #9425] (power-of-two hash sizes :) normalperson (Eric Wong)
05:21 AM Bug #10511: fix for #9940 causes dramatic performance regression
Eric Wong wrote:
> Oops, OK. I was suspicious of [Feature #9325] hurting performance
> ...
it looks like you mistyped the feature number :( #9325 is "Add make uninstall target" and I doubt it could cause any runtime problems ;)
os97673 (Oleg Sukhodolsky)
05:08 AM Bug #10511: fix for #9940 causes dramatic performance regression
Oops, OK. I was suspicious of [Feature #9325] hurting performance
(for cases where a hash function needs tuning).
normalperson (Eric Wong)
04:30 AM Bug #10511: fix for #9940 causes dramatic performance regression
Eric Wong wrote:
> os97673@gmail.com wrote:
> ...
you need to compare performance of r48706 and 2.1.2 since the problem was introduced in 2.1.3.
r48706 is definitely better than 2.1.5, but 2.1.2 is still much faster.
os97673 (Oleg Sukhodolsky)
10:28 AM Bug #10567 (Closed): A fiber issue with `autoload`: `fiber called across stack rewinding barrier (FiberError)`
We have two ruby files as following:
test.rb
autoload :User, './user.rb'
f = Fiber.new do
p User
end
f.resume
f.resume
user.rb
class User
end
Fiber.yield # This line is importa...
qqshfox (Hanfei Shen)
09:37 AM Feature #10565: [cleanup] remove unused rb_iseq_new_with_bopt
No problem.
Thanks.
ko1 (Koichi Sasada)
12:22 AM Feature #10565 (Closed): [cleanup] remove unused rb_iseq_new_with_bopt
OK to remove? Or is block-inlining to be resurrected in the future?
rb_iseq_new_with_bopt seems unused and block_opt param
in prepare_iseq_build does nothing useful.
* iseq.c (prepare_iseq_build): remove unused block_opt param
...
normalperson (Eric Wong)
08:21 AM Bug #10537: Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
I'm no longer able to reproduce the issue on trunk, so this looks fine. I tested both patches and Eric's does indeed run faster and with less memory, with 7.3 MB and
~~~
real 0m5.028s
user 0m5.001s
sys 0m0.024s
~~~
as opposed ...
javawizard (Alex Boyd)
01:13 AM Feature #4147: Array#sample で重みを指定したい
Yui NARUSE wrote:
> わたしの知る限りでは進捗ないと思います。
> ...
進捗ダメです。
このスレッドのコメント#1でも書きましたが実装があると話が大幅に進むことが多いので実装は大歓迎です。この議論は途中で話が大きくなったり小さくしようとしたりしてだいぶ混乱してしまったので、見通しをよくする意味でもコードがあったほうが助かります。
shyouhei (Shyouhei Urabe)

12/03/2014

11:34 PM Bug #10564 (Closed): DelegateClass, method_missing, and instance_eval -- different behavior in ruby 2.1
It's not a bug.
Delegator which is superclass of DelegateClass, is a subclass of BasicObject, not Object, so that those delegation objects does not respond to methods defined in Kernel module, that means lambda etc. are not available ...
matz (Yukihiro Matsumoto)
03:23 PM Bug #10564: DelegateClass, method_missing, and instance_eval -- different behavior in ruby 2.1
Oh, and you can note `Kernel.raise` and `Kernel.puts` in the reproduction -- this was neccesary to actually access `raise` and `puts`, otherwise just raw `raise` or `puts` also got unexpectedly caught by method_missing (causing an infini... jrochkind (jonathan rochkind)
03:22 PM Bug #10564 (Closed): DelegateClass, method_missing, and instance_eval -- different behavior in ruby 2.1
This is an odd one, I don't completely understand. But there is different behavior in ruby 2.0 vs 2.1, and the 2.0 behavior is what I'd expect. Not sure if it's a bug, expected difference in behavior, or something else.
Here is a min...
jrochkind (jonathan rochkind)
11:25 PM Revision bc0f1312 (git): prelude.c.tmpl: require_relative
* template/prelude.c.tmpl (Prelude#translate): support for
require_relative and comments followed by #.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:24 PM Revision f64ba5d5 (git): iseq_load.c: rb_path2class
* ext/-test-/iseq_load/iseq_load.c (Init_iseq_load): use
rb_path2class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:08 PM Bug #10511: fix for #9940 causes dramatic performance regression
os97673@gmail.com wrote:
> I think I've found one more source of performance degradation:

I cannot reproduce the regression you see on Linux systems.
In fact, I see improvements:

x86_64-linux (Xeon E3-1230 v3):

2.1.5: 44.440...
normalperson (Eric Wong)
11:39 AM Bug #10511: fix for #9940 causes dramatic performance regression
I think I've found one more source of performance degradation:
in debase we keep contexts for threads in hash and on every event get them from there. And it looks like "hash[Thread.current]" became significantly slower in TracePoint's ...
os97673 (Oleg Sukhodolsky)
10:17 PM Bug #8543 (Closed): new rb_iseq_load crash
Applied in changeset r48705.
----------
mostly fix rb_iseq_load
This allows reporters commenters of [Feature #8543] to load
instruction sequences directly. Some test cases are still failing
but documented in test/-ext-/iseq_load/test_...
Anonymous
10:17 PM Revision 14b42c28 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:16 PM Revision 9581954a (git): mostly fix rb_iseq_load
This allows reporters commenters of [Feature #8543] to load
instruction sequences directly. Some test cases are still failing
but documented in test/-ext-/iseq_load/test_iseq_load.rb.
* compile.c (rb_iseq_build_from_exception): entry->...
Eric Wong
10:03 PM Revision 0c662b34 (git): iseq.c: avoid segfault on incomplete iseq
Compile failures will trigger iseq_free before
iseq->callinfo_entries are allocated at all.
* iseq.c (iseq_free): avoid segfault on incomplete iseq
* test/ruby/test_syntax.rb (test_invalid_next): new test
for syntax error, not segfaul...
Eric Wong
09:49 PM Feature #10017: Add `Hash#fetch_values`
I submitted PR for this change: https://github.com/ruby/ruby/pull/776 calling the method `fetch_values`. wojtekmach (Wojtek Mach)
07:20 PM Revision ddc4cd4a (git): * 2014-12-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:20 PM Revision 14b56401 (git): load.c: reset errinfo
* load.c (ruby_require_internal): ignore error detail, just return
an error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:39 PM Revision 9a12b5ae (git): load.c: defer static linked ini
* load.c (register_init_ext, ruby_init_ext): defer running the
registered initialization function until required, not to enable
extensions which have global effects just by loading, e.g.,
mathn/complex and mathn/rational. fix `mak...
nobu (Nobuyoshi Nakada)
01:58 PM Bug #10460: Segfault instead of stack level too deep
I've got similar snippet:
~~~
describe "SEGV" do
let(:foo) do
foo
end
it "crashes" do
foo
end
end
~~~
It always fails with ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux]
It sometimes passes ...
vo.x (Vit Ondruch)
08:21 AM Bug #9759: [TracePoint API] return event missing when raising exception
Did you get the chance to have a look at this, ko1? Thanks! deivid (David Rodríguez)
08:13 AM Revision aacc35e1 (git): encoding.c: load by rb_require_internal
* encoding.c (load_encoding): use rb_require_internal instead of
calling rb_require_safe with protection.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:47 AM Revision 638ba473 (git): load.c: defer static linked init
* enc/encinit.c.erb (Init_enc): initialize encdb and transdb
directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:47 AM Revision 673f1b30 (git): enc/prelude.rb: no encdb and transdb
* enc/prelude.rb: no longer need to load encdb and transdb here.
Init_enc should load them if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:13 AM Revision a177c276 (git): load.c: tweak the return value
* load.c (rb_require_internal): tweak the return value, 1 and 0
correspond to true and false in Kernel#require, respectively.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:51 AM Revision f235dbee (git): dmyenc.c: try to load encdb
* load.c (ruby_require_internal): separate from rb_require_safe,
not to raise exceptions.
* ruby.c (process_options): remove unnatural encoding search.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48696 b2dd03c8-39d4-4d8f-98ff-82...
nobu (Nobuyoshi Nakada)
05:34 AM Revision 49b3b2d8 (git): string.c: fake string is not sharing
* string.c (setup_fake_str): fake string does not share another
string, but just should not free.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:04 AM Feature #10255: Math.log: check domain of base argument
Hi there. I'm just gonna add a explain.
```ruby
Math.log(1,-1)
#=> NaN
Math.log(0.0,-1)
#=> -Infinity
Math.log(0,-1)
#=> -Infinity
Math.log(-0.0,-1)
#=> -Infinity
Math.log(-1,-1)
#=> Math::DomainError: Numerical argu...
gogotanaka (Kazuki Tanaka)
03:52 AM Feature #10255: Math.log: check domain of base argument
Associated revision [10487](https://bugs.ruby-lang.org/issues/10487) gogotanaka (Kazuki Tanaka)
04:04 AM Revision ed52fa6e (git): tcltklib.c: revert RUBY_UNTYPED_DATA_WARNING
* ext/tk/tcltklib.c (RUBY_UNTYPED_DATA_WARNING): Data_Get_Struct
is not affected.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:32 AM Feature #7511: short-circuiting logical implication operator
to be precise, implies is a derived operator, not a core one.
racket has this operator, as does eiffel, which supplies it to, afaik, help make design by contract easier (targeting assertions as a core responsibility of the language)
...
why-capslock-though (Alexander Moore-Niemi)
03:25 AM Revision aaed1071 (git): intern.h: SIZED_ENUMERATOR
* include/ruby/intern.h (SIZED_ENUMERATOR): separate from
RETURN_SIZED_ENUMERATOR.
* string.c (rb_str_enumerate_chars): get rid of calling
rb_block_given_p() twice.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48693 b2dd03c8-3...
nobu (Nobuyoshi Nakada)
03:25 AM Revision c95b3a16 (git): ruby.h: no warnings of hidden objects
* include/ruby/ruby.h (rb_data_object_alloc_warning): no warnings
of internal hidden objects which klass == 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:25 AM Revision b040788b (git): tkutil.c: typed data
* ext/tk/tkutil/tkutil.c (cbsubst_info_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:29 AM Bug #10563 (Closed): system() call hangs if command is too long
fixed at r48690. usa (Usaku NAKAMURA)
01:56 AM Bug #10563 (Assigned): system() call hangs if command is too long
Thank you for reporting!
We'll fix it.
memo: This is a bug of w32_spawn().
usa (Usaku NAKAMURA)
02:16 AM Revision 396e3da7 (git): * win32/win32.c (w32_spawn): `v2` is used not only for `shell` but also
`cmd`, so must not free before using `cmd`.
[ruby-core:66648] [Bug #10563]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:03 AM Bug #10562 (Third Party's Issue): Rails command fault
Seems json library's issue.
You should report to the developer, with the crash report log file.
nobu (Nobuyoshi Nakada)
12:48 AM Revision 655285b5 (git): cparse.c: typed data
* ext/racc/cparse/cparse.c (cparse_params_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

12/02/2014

10:08 PM Revision e0c3f581 (git): * test/test_open3.rb: Add a simple test for env hash on popen3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e headius (Charles Nutter)
08:46 PM Bug #10563: system() call hangs if command is too long
Actually I found this problem, while using rake and I raised another bug for rake first. Perhaps it contains some useful information.
https://github.com/ruby/rake/issues/5
Maturin (Lars Benner)
08:36 PM Bug #10563 (Closed): system() call hangs if command is too long
In some situations another process, which was started using Kernel::system(), hangs right from the beginning, i.e. the process was started but nothing is actually executed.
On my system this happened, when the single command string pa...
Maturin (Lars Benner)
06:22 PM Revision d2550740 (git): * 2014-12-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:22 PM Revision 0b31b7cd (git): * test/ruby/test_eval.rb: add case to test "sticky" instance_eval
self when passed a reified block (proc/lambda).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
headius (Charles Nutter)
05:27 PM Bug #10526: [DOC] Revise documentation in object.c
@zzak Please change assignee if you are the wrong person.
Nearly two weeks without feedback... are DOC fixes also affected by freeze for 2.2.0?
stomar (Marcus Stollsteimer)
01:24 PM Bug #10562 (Third Party's Issue): Rails command fault
Segment fault error reported when running rails command.
error report:
~~~
appletekiMacBook-Air:Raylion apple$ bin/rails generate model User
/Users/apple/Desktop/Raylion/vendor/bundle/ruby/2.0.0/gems/json-1.8.1/lib/json/ext/pars...
techatin (Xuanchun Lu)
12:34 PM Revision f9dcfb2b (git): * ext/win32ole/win32ole.c: use typed data for com_hash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
10:04 AM Bug #10554: preview2 fails to generate prelude.c
Benoit Daloze wrote:
> A released tarball should be as easy to build as possible for a user and more importantly provide a stable build.
Of course I agree on this point, while there is no proof that preludes.c would be causing issues...
vo.x (Vit Ondruch)
07:56 AM Bug #10554: preview2 fails to generate prelude.c
Vit Ondruch wrote:
> So while some pre-generated code in source tarball allows to remove the BASERUBY need, which is appreciable, prelude.c is not (so far) the case. I'd be very happy if the amount of pre-generated code could be kept as...
Eregon (Benoit Daloze)
07:06 AM Revision 56891028 (git): common.mk: html
* common.mk (html): target to generate HTML form documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:59 AM Revision 820e5ade (git): array.c: decoration
* array.c (rb_ary_plus): inline decoration of the operator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:55 AM Feature #10561 (Open): Improve function of Thread::Backtrace::Location #path and #absolute_path
I was working on this issue in Rails and hit an area where Backtrace Location can be improved
https://github.com/rails/rails/pull/17782
1. It is undefined in the documentation how #absolute_path should operate when #path is inval...
sam.saffron (Sam Saffron)
06:34 AM Misc #10560: confusion between x=x+y, x+=y, x.concat(y) and y.each{|z| x<<z}
I added some explanation to the documentation of Array#+ in r48682. I haven't been able to make RDoc create a separate entry for Array#+=, but I'm not an expert on RDoc. duerst (Martin Dürst)
06:30 AM Revision 24f5f816 (git): array.c (rb_ary_plus): in documentation, added note about
inefficiency of repeated += operations. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
06:29 AM Revision 062f0edd (git): common.mk: clean more files
* common.mk (distclean-local): clean fake file.
* common.mk (realclean-local): clean generated files under srcdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:18 AM Bug #10558: failing require digest.so on OSX statically compiled ruby
I can't reproduce it:
* plain ruby-2.1.5 tarball
* in-place build
* *without* `~/.sm/pkg/active` directories
What libraries do you have under `~/.sm/pkg/active/lib`?
Isn't ruby linked against a library there?
nobu (Nobuyoshi Nakada)
04:45 AM Bug #10558: failing require digest.so on OSX statically compiled ruby
Mine is also 10.10.
And I heard that it occurs with 2.1 but not with trunk.
nobu (Nobuyoshi Nakada)
04:55 AM Revision ab9319d8 (git): compile.c: set true and false directly
* compile.c (iseq_set_arguments): directly set true and false
default values not only nil to keyword arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:54 AM Revision a81979ec (git): iseq.c: use lvar index
* iseq.c (iseq_data_to_ary): use local variable indexes for hidden
variable instead of meaningless ID values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

12/01/2014

11:44 PM Bug #10537: Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
I'll see if I can get around to it tonight. javawizard (Alex Boyd)
11:18 PM Bug #10537: Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
nobu, your patch looks fine to me. However, my original uses less memory
and time on Alex's test on my Phenom II

[ruby-core:66430]
17.64user 0.01system 0:17.64elapsed 100%CPU (0avgtext+0avgdata 9544maxresident)k

[ruby-core:66...
normalperson (Eric Wong)
11:22 PM Bug #10554: preview2 fails to generate prelude.c
Jeremy Evans wrote:
> Vit Ondruch wrote:
> ...
I knew that somebody will ask this and I'll bite, why Ruby should be shipped in source form at all? Since everything Ruby user needs is binary.
So while some pre-generated code in sourc...
vo.x (Vit Ondruch)
08:37 PM Bug #10554: preview2 fails to generate prelude.c
Jeremy Evans wrote:
> By this argument, the source tarball shouldn't contain parse.c, only parse.y, making bison a requirement for building. And it shouldn't contain configure/Makefile, only configure.in/Makefile.in, making autoconf/au...
nobu (Nobuyoshi Nakada)
04:59 PM Bug #10554: preview2 fails to generate prelude.c
Vit Ondruch wrote:
> Ok, this seems to be due to r48607 and associated commits. Looking at builds of Ruby 2.1, prelude.c was always generated, while now it is shipped as part of the tarball. And unfortunately, I consider this move in wr...
jeremyevans0 (Jeremy Evans)
04:32 PM Bug #10554: preview2 fails to generate prelude.c
Ok, this seems to be due to r48607 and associated commits. Looking at builds of Ruby 2.1, prelude.c was always generated, while now it is shipped as part of the tarball. And unfortunately, I consider this move in wrong direction, since i... vo.x (Vit Ondruch)
10:38 PM Bug #8543: new rb_iseq_load crash
s.wanabe@gmail.com wrote:
> iseq_data_to_ary() ignores hidden variables named by id_internal().
>
> It seems to be mismatched for the variable that recieving keyword arguments, for aforementioned reason.
> How about push rb_uint_ne...
normalperson (Eric Wong)
10:32 PM Revision 7ec46047 (git): iseq.c (iseq_data_to_ary): keep hidden variables
We must not ignore hidden variables when rb_id2str fails.
Thanks to wanabe [ruby-core:66566]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
09:48 PM Revision 4297d55c (git): * ext/psych/lib/psych.rb: bumping version
* ext/psych/psych.gemspec: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
09:35 PM Revision 4eef908d (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:35 PM Revision 12396fda (git): * ext/psych/lib/psych/visitors/to_ruby.rb: support objects that are
marshalable, but inherit from basic object.
Thanks Sean Griffin <sean@thoughtbot.com>
* ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
* test/psych/test_marshalable.rb: test for fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
tenderlovemaking (Aaron Patterson)
09:32 PM Revision 0a190272 (git): parse.y: preserve tSTRING_CONTENT results
* parse.y (ripper_flush_string_content): preserve the dispatched
results at tSTRING_CONTENT. [ruby-dev:48714] [Bug #10437]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:31 PM Revision 1549a6b7 (git): parse.y: check single regexp only
* parse.y (regexp_contents): check in ripper only if the whole
content is a single regexp without interpolation.
[ruby-dev:48714] [Bug #10437]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:30 PM Revision 012c5581 (git): re.c: rb_reg_region_copy
* re.c (rb_reg_region_copy): new function to try with GC if copy
failed and return the error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:53 PM Revision 4ea50d7a (git): parse.y: remove garbage
* parse.y (parser_magic_comment): remove a garbage line inserted
at previous ripper fix, r48668.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:47 PM Revision 8b3813f6 (git): strscan.c: fix condition
* ext/strscan/strscan.c (strscan_init_copy): fix inverted
condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:43 PM Revision 4d63c850 (git): re.c: check if onig_region_copy failed
* re.c (CHECK_REGION_COPIED): onig_region_copy() can fail when
memory exhausted but returns nothing, so check by if allocated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:37 PM Misc #10560: confusion between x=x+y, x+=y, x.concat(y) and y.each{|z| x<<z}
Ah right sorry I didn't see the 'doc' note. I think we could (theoretically) implement this optimisation without any visible change to Ruby - so MRI, JRuby, Rbx etc could still implement the optimisation. chrisseaton (Chris Seaton)
07:11 PM Misc #10560: confusion between x=x+y, x+=y, x.concat(y) and y.each{|z| x<<z}
Recursive Madman it's what I said in the ticket (but unwinded)
Chris Seaton I would assume the `doc` categorization means only the first part was approved to update docs.
The rest is optimization and does not have to be part of the ...
mpapis (Michal Papis)
07:03 PM Misc #10560: confusion between x=x+y, x+=y, x.concat(y) and y.each{|z| x<<z}
I disagree with making the proposed change to +=. I would find it extremely surprising for += to modify an existing Array object. I really can't imagine any mental model of Ruby where it would make intuitive sense to do that. It goes aga... chrisseaton (Chris Seaton)
05:55 PM Misc #10560 (Assigned): confusion between x=x+y, x+=y, x.concat(y) and y.each{|z| x<<z}
nobu (Nobuyoshi Nakada)
03:59 PM Misc #10560: confusion between x=x+y, x+=y, x.concat(y) and y.each{|z| x<<z}
+= doesn't change the object itself.
For strings for example:
```
x = y = 'foo'
x += 'bar'
x #=> 'foobar'
y #=> 'bar'
```
As well as for integers:
```
x = y = 7
x += 3
x #=> 10
y #=> 7
```
That is `x += y` is sem...
recursive-madman (Recursive Madman)
03:53 PM Misc #10560 (Assigned): confusion between x=x+y, x+=y, x.concat(y) and y.each{|z| x<<z}
while discussing a ticket I have noticed that there is no documentation for `+=`
I was expecting `+=` to behave as `concat` but instead it behaves as `x=x+y` which for every operation clones the array and updates the variable with new...
mpapis (Michal Papis)
06:53 PM Bug #10412 (Closed): DNS Resolv broken when resolv.conf has option ndots > 1
This should be fixed in r48534. Thanks! tenderlovemaking (Aaron Patterson)
05:53 PM Revision 11dc42c2 (git): parse.y: enable encoding pragma in ripper
* parse.y (magic_comment_encoding): enable in ripper, since the
encoding is necessary to parse non-default encoding scripts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:37 PM Revision 689f0dd2 (git): * 2014-12-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:36 PM Revision e1606f92 (git): * lib/uri/generic.rb (URI::Generic.build):
use hostname= to detect and wrap IPv6 hosts.
Build is accepting URI components and users may not expect
that a host component needs to be wrapped with square brackets
since it's not providing a URI.
Note: initialize with arg_chec...
naruse (Yui NARUSE)
03:33 PM Bug #10558: failing require digest.so on OSX statically compiled ruby
Nobuyoshi Nakada what OSX version are you trying? mine was 10.10, also could it make difference if it was compiled in sources directory instead of `../src`? mpapis (Michal Papis)
12:49 PM Bug #10558: failing require digest.so on OSX statically compiled ruby
This is failing on Travis CI and unfortunately preventing us from offering 2.2.0-preview2.
See https://travis-ci.org/travis-ci/travis-rubies/jobs/42454368#L194
Konstantin
rkh (Konstantin Haase)
04:02 AM Bug #10558 (Feedback): failing require digest.so on OSX statically compiled ruby
I can't reproduce it.
~~~
$ LDFLAGS="-fPIC -Bstatic" CFLAGS="-O3 -fPIC -mmacosx-version-min=10.7" ../src/configure --prefix=$HOME/.rvm/rubies/ruby-2.2.0-preview2 --disable-install-doc --enable-load-relative --with-static-linked-ext -...
nobu (Nobuyoshi Nakada)
02:11 PM Misc #10541: Remove shorthand string interpolation syntax
Martin Dürst wrote:
> Can you tell us what the situation is for Ruby itself (including build scripts and standard library)?
In the ruby/ruby repo, the shorthand is used 115 times, regular is used 12,473 times. (12,473 is all regular ...
brianhempel (Brian Hempel)
02:03 PM Misc #10541: Remove shorthand string interpolation syntax
Recursive Madman wrote:
> Did you also check what character followed those interpolations? e.g. "#{@foo}bar" wouldn't be a candidate for the shorthand, so that shouldn't be counted.
Good catch: No, I did not. I'll try to get better n...
brianhempel (Brian Hempel)
10:29 AM Misc #10541: Remove shorthand string interpolation syntax
Brian Hempel wrote:
> Answer: 19,869 of those string interpolations were like "#{@ivar}" or "#{$gvar}" or "#{@@cvar}". (Compared to 1,376 shorthand interpolations.)
Did you also check what character followed those interpolations? e.g...
recursive-madman (Recursive Madman)
06:00 AM Misc #10541: Remove shorthand string interpolation syntax
Brian Hempel wrote:
> I analyzed the ~150,000 Ruby files in the top 1000 Ruby repositories on GitHub:
Can you tell us what the situation is for Ruby itself (including build scripts and standard library)?
duerst (Martin Dürst)
05:59 AM Misc #10541: Remove shorthand string interpolation syntax
Nobuyoshi Nakada wrote:
> What kind of warnings?
> ...
We don't need to produce a warning for each instance. Just once would be enough. And maybe this warning should happen without $VERBOSE.
duerst (Martin Dürst)
04:53 AM Misc #10541: Remove shorthand string interpolation syntax
Steve Richert asked me how many of those 353,199 regular interpolations could have been replaced by shorthand interpolations, since most string interpolations will contain a local variable, a method, or a more complicated expression.
...
brianhempel (Brian Hempel)
03:38 AM Misc #10541: Remove shorthand string interpolation syntax
Martin Dürst wrote:
> Maybe what we can do is to just produce a warning, without depreciation? That will help everybody who wants to avoid this syntax, and will also help programmers to get to know and learn it.
What kind of warnings...
nobu (Nobuyoshi Nakada)
01:57 AM Misc #10541: Remove shorthand string interpolation syntax
Brian Hempel wrote:
> I analyzed the ~150,000 Ruby files in the top 1000 Ruby repositories on GitHub:
> ...
It is very good to have actual data, thanks! My guess would be that the shorthand is used more in standalone or small-project s...
duerst (Martin Dürst)
01:35 PM Bug #10449: [TracePoint API] Duplicated line events when using parenthesis
Oops, I need to start thinking before talking... :) The change in the behaviour actually happened in [this example](https://github.com/deivid-rodriguez/byebug/blob/master/test/commands/stepping_test.rb#L61-76) so something like the follo... deivid (David Rodríguez)
05:45 AM Bug #10449: [TracePoint API] Duplicated line events when using parenthesis
> Hi Koichi, I've looked at the patch and it seems to me that _every_ duplicated event has been removed. So if I do something like
> ...
Before this fix, only 1 line event (for the method chain line) is generated, isn't?
```ruby
...
ko1 (Koichi Sasada)
01:12 PM Bug #9937: Segfault in the TracePoint API
Exactly. :) deivid (David Rodríguez)
04:53 AM Bug #9937 (Closed): Segfault in the TracePoint API
Ah, I see.
You can't get method_id for top level.
```ruby
TracePoint.new(:class, :b_call){|tp|
p [tp.event, tp.method_id]
}.enable
1.times{}
class C; end
def foo; 1.times{}; end; foo
#=>
ruby 2.2.0dev (2014-11-27 trunk ...
ko1 (Koichi Sasada)
01:11 PM Bug #10148: [TracePoint API] Extra block events generated
Thanks to you! deivid (David Rodríguez)
04:49 AM Bug #10148 (Closed): [TracePoint API] Extra block events generated
Thank you!
ko1 (Koichi Sasada)
11:03 AM Revision 7f411d6e (git): * ext/win32ole/win32ole.c: use typed data for WIN32OLE.
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_event.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
09:01 AM Bug #9891: infinite fibers crash Ruby
The reason of this SEGV is, rb_longjmp without TAG.
```c
void
rb_fiber_start(void)
{
...
TH_PUSH_TAG(th);
... /* protected by TAG */
TH_POP_TAG();
...
rb_fiber_terminate(fib); // -> NoMemoryError, but not prot...
ko1 (Koichi Sasada)
04:48 AM Bug #9891: infinite fibers crash Ruby
> OpenBSD doesn't have getcontext()/setcontext(), so I suspect that cont.c defines FIBER_USE_NATIVE to 0. I don't know if FIBER_USE_NATIVE is important.
Great. Maybe malloc() is failed and we can't check it enough.
ko1 (Koichi Sasada)
08:20 AM Revision 15cfc955 (git): common.mk: rebuild verconf.h for each configure
* win32/Makefile.sub (verconf.h): so depends on verconf.mk, which
is rebuilt by setup.mak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:38 AM Revision 6b6ba319 (git): common.mk: ext/json/parser/parser.c
* common.mk (ext/json/parser/parser.c): sometimes need for local
development.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:38 AM Revision e580a631 (git): use 0 for reserved
use 0 for rb_data_type_t::reserved instead of NULL, since its type
may be changed in the future and possibly not a pointer type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:04 AM Bug #10511: fix for #9940 causes dramatic performance regression
Koichi Sasada wrote:
> Thank you for try. Can I close it?
> ...
I think the ticket can be closed. Rails app still shows some performance degradation, but it is unclear if it is ruby or ruby-debug-ide.
I will investigate this and (in ...
os97673 (Oleg Sukhodolsky)
04:45 AM Bug #10511: fix for #9940 causes dramatic performance regression
Thank you for try. Can I close it?
Should we wait for your rails test?
ko1 (Koichi Sasada)
02:31 AM Bug #10557: Block not given when the argument is a string
This is an issue in compile.c (opt_aref_with). There is same issue on opt_aset_with, opt_str_freeze.
ko1 (Koichi Sasada)
02:09 AM Revision 06bdfd0d (git): * ChangeLog: fixed reference number of github issue [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:05 AM Revision 089429ea (git): * proc.c: fix grammar by @BenMorganIO [fix GH-764][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
01:50 AM Revision 27e3e03a (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:49 AM Revision d4cd7b0b (git): * man/rake.1: Update latest man content by @aledovsky
[fix GH-771][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
01:42 AM Revision a80343fa (git): * 2014-12-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:42 AM Revision 6ec023e5 (git): * doc/syntax/refinements.rdoc: refinements are no longer experimental.
patch by @gaurish [fix GH-755][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)

11/30/2014

09:54 PM Bug #10558 (Third Party's Issue): failing require digest.so on OSX statically compiled ruby
compiling 2.2.0-preview2 and 2.2.0-preview1 with following flags:
`env LDFLAGS=-L/Users/mpapis/.sm/pkg/active/lib -fPIC -Bstatic CFLAGS=-O3 -I/Users/mpapis/.sm/pkg/active/include -fPIC -mmacosx-version-min=10.7 ./configure --prefix=/U...
mpapis (Michal Papis)
09:14 PM Bug #10557: Block not given when the argument is a string
Ouch. marcandre (Marc-Andre Lafortune)
08:28 PM Bug #10557 (Closed): Block not given when the argument is a string
This seems really weird and random. Can anyone else confirm it's bug?
```ruby
class Klass
def [](_)
block_given?
end
end
# ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]
Klass.new.[](nil){ } # => tr...
bartoszkopinski (Bartosz Kopinski)
08:16 PM Misc #10541: Remove shorthand string interpolation syntax
I analyzed the ~150,000 Ruby files in the top 1000 Ruby repositories on GitHub:
The regular interpolation syntax is used 353,199 times.
The shorthand interpolation syntax is used 1,376 times.
In percentages, that's 99.6% vs 0.4%. ...
brianhempel (Brian Hempel)
01:54 PM Misc #10541: Remove shorthand string interpolation syntax
> Most experienced Ruby developers I've talked to don't even know it exists
Probably those developers are not experienced enough.
> ...
then developers should study more.
> It has been the cause of real problems
That is just ...
sawa (Tsuyoshi Sawada)
06:49 PM Bug #10483: Latest Ruby 2.1.4 update introduced backwards incompatible change related to boolean evaluation
Nobuyoshi Nakada wrote:
> Joe Seeley wrote:
> ...
HAML automatically inserts end based on indentation.
felixbuenemann (Felix Bünemann)
01:17 PM Bug #10543: ruby -c and ripper inconsistency: /(?<n>a(b|\g<n>))/
it seems introduced at r48504. nagachika (Tomoyuki Chikanaga)
11:06 AM Bug #10543 (Closed): ruby -c and ripper inconsistency: /(?<n>a(b|\g<n>))/
Applied in changeset r48655.
----------
parse.y: fix a typo
* parse.y (regexp_contents): fix a typo. pointed out by wanabe.
[ruby-dev:48741] [Bug #10543]
nobu (Nobuyoshi Nakada)
11:56 AM Feature #10552: [PATCH] Add Enumerable#frequencies and Enumerable#relative_frequencies
I like the word .frequencies - it seems nicer than each_with_object(Hash.new(0)) and also
than group_by.
I do not like the word .relative_frequencies but I can understand why you want this - it
seems more a subpart of statistics th...
shevegen (Robert A. Heiler)
03:57 AM Feature #10552: [PATCH] Add Enumerable#frequencies and Enumerable#relative_frequencies
Personally, I'd prefer the form `Enumerable#count_by` with a block, as this method seems very similar to `group_by` in my opinion. I also think `relative_frequencies` is unnecessary, as I think `map_values` (or `transform_values` or what... Ajedi32 (Ajedi32 W)
11:52 AM Feature #10548: remove callcc (Callcc is now going obsoleted. Please use Fiber.)
I am neutral on this, I have no pro or con opinion here, but I wanted to comment
on what Yusuke Endoh wrote, and in particular suggest perhaps something for
future feature-references that are not extremely important but also not total...
shevegen (Robert A. Heiler)
11:15 AM Bug #10449: [TracePoint API] Duplicated line events when using parenthesis
Actually I've given this a second thought and I'm fine with the change. The funcionality loss is minimal (and easy to do it in other ways), the patch corrects issues like this one and the code using the API will be simpler as it will not... deivid (David Rodríguez)
02:03 AM Bug #10449: [TracePoint API] Duplicated line events when using parenthesis
Confirmed, this commit breaks some tests in Byebug, I think it should be reverted. deivid (David Rodríguez)
11:05 AM Revision d40aad1c (git): parse.y: fix a typo
* parse.y (regexp_contents): fix a typo. pointed out by wanabe.
[ruby-dev:48741] [Bug #10543]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:57 AM Revision 1918ea16 (git): * test/ruby/test_process.rb (test_deadlock_by_signal_at_forking):
Don't raise Interrupt.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:35 AM Bug #10467 (Closed): net/http reconnects without SNI
naruse (Yui NARUSE)
08:34 AM Misc #10553: Ruby 2.2.0 release engeneering
Usaku NAKAMURA wrote:
> Nobu and I want to change a feature.
> ...
ok
naruse (Yui NARUSE)
08:31 AM Feature #10468 (Closed): URI::RFC2396_Parser#initialize: reduce from 2088 to 1332 bytes
naruse (Yui NARUSE)
08:11 AM Revision ea44d4d9 (git): * test/ruby/test_process.rb (test_deadlock_by_signal_at_forking): Use
assert_separately.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:56 AM Bug #10364: Malformed CSV Header Causes NoMethodError
This issue is also present in ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux] jrodrigosm (Rodrigo Serrano)
06:50 AM Feature #9925: rsock_addrinfo uses DNS family AF_UNSPEC for lookup causing high IPv6 AAAA volume
Ping. I was hoping someone from the Ruby core would provide feedback and direction regarding my suggestions:
> There is also a compile-time Ruby flag for LOOKUP_ORDER_HACK_INET and LOOKUP_ORDER_HACK_INET6. Perhaps those could become a...
aaron@serendipity.cx (Aaron Stone)
05:34 AM Bug #10167: Prime#include?(mod) hangs up
Instead of aliasing `include?` to `prime?`, I'd recommend instead to restore it:
Prime.define_singleton_method(:include?, Module.instance_method(:include?))
Prime.include?(Enumerable) # => true
Probably won't be super us...
marcandre (Marc-Andre Lafortune)
02:06 AM Bug #10556: shebang handling
おぉ、そんな話が。了解です。 akr (Akira Tanaka)
02:01 AM Bug #9937: Segfault in the TracePoint API
Hi Koichi, I've revisited this. This is not a bug in the TracePoint API. it was a bug in Byebug. I was using the same callback for the RUBY_EVENT_B_CALL, RUBY_EVENT_CLASS and RUBY_EVENT_CALL, but only the RUBY_EVENT_CALL provides a metho... deivid (David Rodríguez)
12:19 AM Bug #10148: [TracePoint API] Extra block events generated
I just revisited this and I think it was a misunderstanding on my side. The current behaviour is just fine. The issue can be closed. deivid (David Rodríguez)

11/29/2014

11:41 PM Bug #10408 (Closed): [BUG] Segmentation fault ruby 2.1.3p242 (2014-09-19 revision 47630) [i386-mingw32]
nobu (Nobuyoshi Nakada)
08:59 PM Bug #10408: [BUG] Segmentation fault ruby 2.1.3p242 (2014-09-19 revision 47630) [i386-mingw32]
Just was notified by another developer. This is somehow related to Conemu. There is no such issue in cmd.exe. golovan (Eugene G.)
10:08 PM Feature #9390: Support for the ALPN TLS extension
ilya@igvita.com wrote:
> +1. Anything we can do to move this forward?

A patch and test cases would be nice.
I'm mildly interested in this, too, but don't trust myself with OpenSSL.
normalperson (Eric Wong)
09:42 PM Feature #9390: Support for the ALPN TLS extension
Carsten Bormann wrote:
> Note that RFC 7301 has published: http://tools.ietf.org/html/rfc7301
> ...
+1. Anything we can do to move this forward?
igrigorik (Ilya Grigorik)
08:31 PM Feature #10255: Math.log: check domain of base argument
ping gogotanaka (Kazuki Tanaka)
08:26 PM Bug #10487: [PATCH 3/3] More than 3 arguments Passing to CMath.log doesn't make sense.
ping gogotanaka (Kazuki Tanaka)
06:05 PM Bug #10556 (Closed): shebang handling
意図的なものです。
入れたのはr24410なので[ruby-dev:39015](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-dev/39015)ですね。
nobu (Nobuyoshi Nakada)
05:18 PM Bug #10556 (Closed): shebang handling
以下のようなスクリプトを ruby で実行すると、途中の #!ruby 以降が
実行されるのは意図されない動作な気がするのですが、なにか理由がありましたっけ?
```
% cat tst.rb
#!/bin/echo
p 1
#!ruby
p 2
% ./ruby tst.rb
2
% ./ruby -v
ruby 2.2.0dev (2014-11-27 trunk 48614) [x86_64-linux]
```
昔 (1.9.2...
akr (Akira Tanaka)
03:12 PM Feature #8566 (Closed): [PATCH] Allow to configure additional preludes
Exactly, but what you need is a way to load the gem, isn't it? nobu (Nobuyoshi Nakada)
02:13 PM Feature #8566: [PATCH] Allow to configure additional preludes
Actually, this is good idea. The downside is that it will not work with --disable-gems I believe (although the abrt-ruby library is a gem ;). vo.x (Vit Ondruch)
12:47 PM Feature #8566 (Feedback): [PATCH] Allow to configure additional preludes
`rubygems/defaults/operating_system.rb` is just for that purpose, I think. nobu (Nobuyoshi Nakada)
03:02 PM Revision 1ce81d6f (git): ruby.c: transcode program names
* ruby.c (process_options, ruby_script): transcode script name and
program name to locale encoding as well as argv.
[ruby-dev:48752] [Bug #10555]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48652 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
03:02 PM Revision b4c3c317 (git): ruby.c: translit_char_bin
* ruby.c (translit_char_bin): should not use code page dependent
CharNext on UTF-8 string. [ruby-dev:48752] [Bug #10555]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:02 PM Revision 11e75ca5 (git): * 2014-11-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:02 PM Revision 18c8bfaf (git): test_rubyoptions.rb: workaround
* test/ruby/test_rubyoptions.rb (test_command_line_glob_nonascii):
workaround for other than cp932. [ruby-dev:48752] [Bug #10555]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:55 AM Bug #8543: new rb_iseq_load crash
https://github.com/ruby/ruby/blob/33ea2646b98adb49ae2e1781753bf22d33729ac0/iseq.c#L1720
iseq_data_to_ary() ignores hidden variables named by id_internal().
It seems to be mismatched for the variable that recieving keyword arguments, ...
wanabe (_ wanabe)
07:53 AM Bug #10555 (Closed): '?' is not match to multibyte character at commandline globbing on Windows
Applied in changeset r48648.
----------
win32.c: use UTF-8 for argv
* ruby.c (ruby_set_argv): convert argv from UTF-8.
* win32/win32.c (rb_w32_sysinit, cmdglob, w32_cmdvector): convert
wide char command line to UTF-8 argv, and glob i...
nobu (Nobuyoshi Nakada)
07:53 AM Revision 33ea2646 (git): win32.c: use UTF-8 for argv
* ruby.c (ruby_set_argv): convert argv from UTF-8.
* win32/win32.c (rb_w32_sysinit, cmdglob, w32_cmdvector): convert
wide char command line to UTF-8 argv, and glob in UTF-8 so that
metacharacters would match multibyte characters.
[...
nobu (Nobuyoshi Nakada)
07:14 AM Revision 544d28c3 (git): ruby.h: no parent in rb_data_type_t
* error.c (rb_typeddata_is_kind_of, rb_check_typeddata): ditto.
* error.c (rb_typeddata_inherited_p): deprecate. still keep for
potential binary compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48647 b2dd03c8-39d4-4d8f...
nobu (Nobuyoshi Nakada)
06:01 AM Revision c8da47e8 (git): * test/ruby/test_const.rb (TestConst#test_redefinition_memory_leak): extend the
timeout because mswin CI reports timeout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:00 AM Revision 75ec406b (git): * test_exception.rb: indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
01:49 AM Revision a35a256b (git): win32.c: convert by Win32 API
* win32/win32.c (win32_direct_conv, rb_w32_readdir): convert UTF-8
and filesystem code page by using Win32 API directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:37 AM Revision 374fcff2 (git): error.c: simplify message building
* error.c (syserr_initialize): simplify message building and get
rid of potential invalid byte sequence.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:36 AM Revision 6bb52d80 (git): test/ruby: suppress warnings
* test/ruby/test_array.rb: (need_continuation): suppress warnings
to require continuation.
* test/ruby/test_continuation.rb: ditto.
* test/ruby/test_enum.rb: ditto.
* test/ruby/test_fiber.rb: ditto.
* test/ruby/test_hash.rb: ditto....
nobu (Nobuyoshi Nakada)

11/28/2014

11:52 PM Revision 84e90deb (git): * test/ruby/test_exception.rb (TestException#test_output_string_encoding): need
to specify the encoding of script.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
11:36 PM Revision fe753f5f (git): * encoding.c: remove unnecessary declaration of rb_locale_charmap(). it's
already declared in include/ruby/encoding.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
10:35 PM Bug #9891: infinite fibers crash Ruby
I have only tried on OpenBSD. I updated ruby to
ruby 2.2.0dev (2014-11-29 trunk 48638) [x86_64-openbsd5.6]
OpenBSD doesn't have getcontext()/setcontext(), so I suspect that cont.c defines FIBER_USE_NATIVE to 0. I don't know if FIBE...
kernigh (George Koehler)
10:32 PM Revision 39873921 (git): * test/ruby/test_exception.rb (TestException#test_output_string_encoding): test
for r48637.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
09:50 PM Bug #10522: SSL_VERSION not handled properly in Net::Http, OpenSSL libraries
Who is the best person to review this? AKA who should I assign this to? dresselm (Matt Dressel)
09:11 PM Revision 0e579dd6 (git): * 2014-11-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:11 PM Revision e5658a20 (git): * eval_error.c (error_print): respect the encoding of the message.
* io.c (rb_write_error_str): use rb_w32_write_console() on Windows
if stderr is a tty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
08:51 PM Bug #10555 (Closed): '?' is not match to multibyte character at commandline globbing on Windows
以下のような現象です。
~~~
D:\test> dir ?.txt
(snip)
2014/11/29 05:46 0 あ.txt
1 個のファイル 0 バイト
0 個のディレクトリ 114,140,901,376 バイトの空き領域
D:\test> ruby -e "p ARGV" ?.txt
["?.txt"]...
usa (Usaku NAKAMURA)
07:16 PM Bug #10554: preview2 fails to generate prelude.c
Thanks for feedback. Let me check it once more. May be the patch from #8566 which I am applying might be troublesome. vo.x (Vit Ondruch)
06:57 PM Bug #10554: preview2 fails to generate prelude.c
Hmm, the tarball contains prelude.c, so normally it is not necessary to generate it.
There was no problem my environment.
Sorry, it might be rude, isn't the clock of your machine off?
usa (Usaku NAKAMURA)
06:36 PM Bug #10554 (Rejected): preview2 fails to generate prelude.c
~~~
generating prelude.c
echo executable host ruby is required. use --with-baseruby option.; false ./tool/generic_erb.rb -I. -c -o prelude.c \
./template/prelude.c.tmpl ./prelude.rb ./enc/prelude.rb ./gem_prelude.rb ./abrt_prelude.r...
vo.x (Vit Ondruch)
06:36 PM Misc #10553: Ruby 2.2.0 release engeneering
Nobu and I want to change a feature.
Ruby 2.1 and earlier, on Windows, parsing commandline was with ANSI encoding (it's locale encoding of ruby).
This means that a script never get the correct byte sequence of a character if locale e...
usa (Usaku NAKAMURA)
01:01 PM Misc #10553 (Closed): Ruby 2.2.0 release engeneering
For the management of release blockers.
Current Phase: feature freeze; changing feature is not allowed unless naruse explicitly allowed.
Next release: RC1 (scheduled on 2014-12-1x)
Q: When ruby_2_2 branch is created?
A: On RC1
...
naruse (Yui NARUSE)
01:33 PM Bug #10148: [TracePoint API] Extra block events generated
I will, soon! deivid (David Rodríguez)
01:28 PM Bug #10449: [TracePoint API] Duplicated line events when using parenthesis
Hi Koichi, I've looked at the patch and it seems to me that _every_ duplicated event has been removed. So if I do something like
object.method1.method2.method3
only one line event will be generated. Is this the case?
If that...
deivid (David Rodríguez)
10:49 AM Bug #10511: fix for #9940 causes dramatic performance regression
Koichi Sasada wrote:
> could you try r48596?
Here are results I've got.
$ ruby -v
ruby 2.2.0dev (2014-11-28 trunk 48629) [x86_64-darwin14]
$ ruby /tmp/bm.rb
6.660000 0.080000 6.740000 ( 7.153794)
$ ruby /tmp/bm.rb
...
os97673 (Oleg Sukhodolsky)
08:38 AM Feature #10552: [PATCH] Add Enumerable#frequencies and Enumerable#relative_frequencies
Yes, I would rather see `Hash#map_values` in Ruby before `Enumerable#frequencies`. However, if both `map_values` and `frequencies` were added, then we might not need `relative_frequencies`, since calculating it becomes cleaner:
~~~rub...
brianhempel (Brian Hempel)
07:15 AM Feature #10552: [PATCH] Add Enumerable#frequencies and Enumerable#relative_frequencies
frequencies is essentially a group_by with the values mapped with size/count.
So assuming something like issue #9970 or issue #7793 gets accepted, it could simply be written as
%w[cat bird bird horse].group_by {|x| x}.map_values {|v|...
duerst (Martin Dürst)
07:44 AM Bug #10533: HTTP reconnection with SNI does not send correct hostname
Backported into `ruby_2_0_0` at r48636. usa (Usaku NAKAMURA)
07:44 AM Revision dd7f1cdf (git): merge revision(s) 48563: [Backport #10533]
* lib/net/http.rb: Do not attempt SSL session resumption when the
session is expired. [Bug #10533]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@48636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:37 AM Bug #10524: %I segfaults with --dump=parsetree
Backported into `ruby_2_0_0` at r48635. usa (Usaku NAKAMURA)
07:37 AM Revision 3f23ee70 (git): merge revision(s) 48484: [Backport #10524]
* parse.y (symbol_list): fix the node type of literal symbol list
with no interpolation. [ruby-core:66343]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@48635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:34 AM Bug #10223: Stack level too deep in CSV when parsing long line
How did you make `Closed`, nobu? usa (Usaku NAKAMURA)
07:33 AM Bug #10493: Wrong encoding for Etc.getlogin in Windows
Backported into `ruby_2_0_0` at r48634.
memo:
I changed the patch a little, because 2.0.0 doesn't have rb_w32_wstr_to_mbstr().
2.1 has the function, so I guess it's no problem to backport to 2.1 from trunk.
usa (Usaku NAKAMURA)
07:30 AM Revision bcafeef2 (git): merge revision(s) 48360,48364: [Backport #10493]
* ext/etc/etc.c (etc_getlogin): set login name encoding properly.
[ruby-core:66163] [Bug #10493]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@48634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:22 AM Bug #10432: wrong receiver of Binding from Method
Backported into `ruby_2_0_0` at r48633.
(元のレポートにもあるように2.0.0にはBinding#receiverがないため、テストを一部変更)
usa (Usaku NAKAMURA)
07:20 AM Revision 7149859b (git): merge revision(s) 48160: [Backport #10432]
* proc.c (method_proc): the receiver of binding from method should
be same as the receiver of the method.
[ruby-core:65917] [Bug #10432]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@48633 b2dd03c8...
U.Nakamura
07:13 AM Revision 3412d101 (git): merge revision(s) 47079: [Backport #10530]
* lib/net/http.rb (Net::HTTP.proxy_uri): use initializer instead
of parser to handle IPv6 address. [Bug #9129]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@48632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:11 AM Revision 32ecaac7 (git): merge revision(s) 42709: [Backport #10529]
* io.c (copy_stream_body): should write in binary mode. based on a
patch by godfat (Lin Jen-Shin) at [ruby-core:56556].
[ruby-core:56518] [Bug #8767]
* io.c (copy_stream_body): move common open flags.
git-...
U.Nakamura
07:04 AM Revision c5f09787 (git): * lib/rubygems/ssl_certs/AddTrustExternalCARoot{-2048,}.pem: add newer
root CA for rubygems.org. a part of r48389 of trunk.
see also https://github.com/rubygems/rubygems/commit/98f5f44c7141881c756003e4256b1a96b200b98e .
[Backport #10516] [ruby-core:66303]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/b...
U.Nakamura
04:45 AM Feature #8919: Queue as embedded class
By adding a line `thread` to ext/Setup file, thread.so can be statically linked to ruby (or libruby) now. nobu (Nobuyoshi Nakada)
03:39 AM Bug #10551 (Closed): Unnecessary #undef in file.c
Applied in changeset r48629.
----------
file.c: unnecessary #undef
* file.c (flock): remove unnecessary #undef flock, trace of green
thread polling. patched by Rohan Garg. [Bug #10551]
nobu (Nobuyoshi Nakada)
03:39 AM Revision 2b92335e (git): file.c: unnecessary #undef
* file.c (flock): remove unnecessary #undef flock, trace of green
thread polling. patched by Rohan Garg. [Bug #10551]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom