Project

General

Profile

Activity

From 08/21/2017 to 08/27/2017

08/27/2017

04:22 PM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
https://github.com/ruby/ruby/pull/1685
I reverted nobu's change and instead of recursion for simple patterns I wan...
ahorek (Pavel Rosický)
04:18 PM Revision a2f5275e (git): compile.c: compile_ensure
* compile.c (compile_ensure): extract from iseq_compile_each.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5967...
nobu (Nobuyoshi Nakada)
04:15 PM Revision 79992090 (git): compile.c: compile_resbody
* compile.c (compile_resbody): extract from iseq_compile_each.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@596...
nobu (Nobuyoshi Nakada)
04:04 PM Revision fc1714be (git): * 2017-08-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:04 PM Revision c1b32b5a (git): compile.c: compile_rescue
* compile.c (compile_rescue): extract from iseq_compile_each.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5966...
nobu (Nobuyoshi Nakada)
02:27 PM Misc #13840 (Rejected): Collection methods - stability
I'm trying to fix some method code (`Gem::Resolver#search_for`) in rubygems.
Regardless, in simplifying the code, ...
MSP-Greg (Greg L)
06:32 AM Revision 21e4ade5 (git): lib/net/imap.rb: Accept continuation requests without response text
The IMAP server of DOCOMO returns such continuation requests.
[ruby-list:50558]
git-svn-id: svn+ssh://ci.ruby-lang.o...
shugo (Shugo Maeda)

08/26/2017

11:39 PM Feature #13828 (Closed): Win32ole extension should support licensed COM servers
Applied in changeset trunk|r59665.
----------
* ext/win32ole/win32ole.c (fole_initialize): support licensed COM serv...
suke (Masaki Suketa)
11:39 PM Revision 917beef3 (git): * ext/win32ole/win32ole.c (fole_initialize): support licensed COM server. Thanks to Gray Wolf. [Feature :#13828]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
09:02 PM Revision 6582a2f6 (git): vcs.rb: refresh after dcommit
* tool/vcs.rb (VCS::GIT#commit): refresh until sync after dcommit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
08:55 PM Revision 6de143f6 (git): * 2017-08-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:55 PM Revision 9cfc7442 (git): NEWS: Thread#name= on Windows [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:13 PM Feature #13839: String Interpolation Statements
Yes templating is not a key factor for large modern PHP projects, but you need to go back in late 90s. That was the s... Anonymous
07:23 AM Feature #13839: String Interpolation Statements
> I was listening a talk by Rasmus Lerdorf, the creator of PHP.
> He said that one of the most appealing feature he ...
shevegen (Robert A. Heiler)
02:14 AM Feature #13839: String Interpolation Statements
k0kubun (Takashi Kokubun) wrote:
> Ah okay, so expected feature is only "%{3.times do}Hello #{'World'}%{end}" and a ...
Anonymous
02:04 AM Feature #13839: String Interpolation Statements
Ah okay, so expected feature is only "%{3.times do}Hello #{'World'}%{end}" and a multi-line complex usage would be:
...
k0kubun (Takashi Kokubun)
01:53 AM Feature #13839: String Interpolation Statements
> You should write expected code in valid Ruby syntax. Guessing from "%{3.times do}Hello #{'World'}%{end}", probably ... Anonymous
01:46 AM Feature #13839 (Feedback): String Interpolation Statements
You wrote:
~~~
{% if true %}
Hello #{'World'}
{% end %}
Template.new('...').render(binding)
~~~
You sh...
k0kubun (Takashi Kokubun)
01:34 AM Feature #13839: String Interpolation Statements
Thanks for your feedback Jeremy. :) (I have much gratitude for all your work in Ruby!)
Yes, I didn't think of this...
Anonymous
02:22 PM Revision 420efa9c (git): win32.c: fix return value
* win32/win32.c (rb_w32_set_thread_description_str): return the
result when name is nil.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
02:26 AM Feature #13801: Implement case equality test for Set#===
> I expect Set to act almost like Array [...]
But why? Aside from both being collections, there is no connection....
davidarnold (David Arnold)
12:30 AM Revision 19d69292 (git): thread_win32.c: set thread name
* thread_win32.c (native_set_another_thread_name): set thread name
by SetThreadDescription.
* win32/win32.c (rb_w3...
nobu (Nobuyoshi Nakada)

08/25/2017

11:44 PM Feature #13839: String Interpolation Statements
It might be better to compare this to Erubi, the current default ERB template processor in Rails and Tilt. While thi... jeremyevans0 (Jeremy Evans)
10:34 PM Feature #13839 (Rejected): String Interpolation Statements
Hello!
Here is a KISS implementation of a template engine in Ruby:
~~~ ruby
class Template
attr_reader ...
Anonymous
03:47 PM Revision c150c787 (git): * 2017-08-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:47 PM Revision 11d419ad (git): `$IGNORECASE` is no longer effective. [ci skip]
* lib/English.rb: [DOC] `$IGNORECASE` is no longer effective.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5965...
znz (Kazuhiro NISHIYAMA)
12:01 PM Bug #13757: TestBacktrace#test_caller_lev segaults on PPC
BTW, very likely unrelated, but I noticed, that on PCC64 (BE), the C level backtrace is not correctly collected. It l... vo.x (Vit Ondruch)
11:54 AM Bug #13757: TestBacktrace#test_caller_lev segaults on PPC
Ok, so I did my homework :) It started with r59047 and it is issue for ppc64/ppc64le. No other Fedora architectures a... vo.x (Vit Ondruch)
08:13 AM Revision 20c5f607 (git): csv.rb: optimize CSV::Table#to_a and #to_csv
* lib/csv.rb (CSV::Table#to_a, #to_csv): use Array#push instead of
Array#concat for performance improvement. This p...
Glass_saga (Masaki Matsushita)
03:41 AM Revision c0baa381 (git): compile.c: unreachable chunk
* compile.c (iseq_peephole_optimize): remove unreachable chunk
which appeared by useless jump elimination.
git-svn...
nobu (Nobuyoshi Nakada)
03:33 AM Revision ed3a575b (git): compile.c: useless jump elimination
* compile.c (iseq_peephole_optimize): eliminate useless if/unless
just before jump.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
02:37 AM Revision 5ccf7b06 (git): * 2017-08-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:37 AM Revision 0faeb903 (git): compile.c: moved comments [ci skip]
* compile.c (iseq_peephole_optimize): moved comments inside proper
blocks.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
02:16 AM Feature #13801: Implement case equality test for Set#===
Here's a counterexample with Array:
~~~ ruby
[1, 2, 3] === 2 #=> false
~~~
Array#=== doesn't look inside the ...
kernigh (George Koehler)
02:03 AM Bug #13835: Using 'open-uri' with 'tempfile' causes an exception
Turns out that `open(temp_file, 'a')` works with the original open, but fails after loading open-uri.
This is beca...
kernigh (George Koehler)
01:55 AM Feature #11105: ES6-like hash literals
It makes many conflicts with the current syntax.
I don't think it is easy to resolve.
nobu (Nobuyoshi Nakada)
01:04 AM Feature #13667: Add Coverage.running? to quickly check if Coverage is enabled.
I also think `running?` is better. And I feel `#test_coverage_running?` is good enough :)
yui-knk (Kaneko Yuichiro)
12:56 AM Feature #13667: Add Coverage.running? to quickly check if Coverage is enabled.
Sorry for the late reply. I'm positive for this proposal.
There is the same request #13838, which reminds me of t...
mame (Yusuke Endoh)
01:01 AM Feature #13838: Add the ability to detect Coverage status
Sorry I overlooked the issue :) yui-knk (Kaneko Yuichiro)
12:57 AM Feature #13838 (Closed): Add the ability to detect Coverage status
I think this is a duplicate of #13667. Let us discuss this issue in that ticket. Thank you! mame (Yusuke Endoh)
12:30 AM Feature #13838 (Closed): Add the ability to detect Coverage status
## Description
I want to detect current status of Coverage, which is enabled or not.
Now we can detect status onl...
yui-knk (Kaneko Yuichiro)

08/24/2017

10:26 PM Feature #11105: ES6-like hash literals
This ES6 syntax for hash literals looks strange to me. I have never seen it before today, but I have not written Java... kernigh (George Koehler)
03:55 AM Feature #11105: ES6-like hash literals
This syntax is now widely known and popular in the JavaScript/ES world. It is frequently used in everyday code and w... knu (Akinori MUSHA)
07:40 AM Feature #8781: Use require_relative() instead of require() if possible
Martin Dürst wrote back then:
> On the other hand, 'require' has a tighter coupling to the file
> name than 'reqi...
shevegen (Robert A. Heiler)
07:31 AM Revision 7971a124 (git): compile.c: show failed instructions
* compile.c (iseq_set_sequence): show failed instructions at
adjuststack mismatch.
git-svn-id: svn+ssh://ci.ruby-l...
nobu (Nobuyoshi Nakada)
07:26 AM Revision 20c29411 (git): * 2017-08-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:26 AM Revision 37228c0f (git): compile.c: free before adjust error
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

08/23/2017

04:47 PM Bug #13837: Class attributes get overshadowed by local variables
shevegen (Robert A. Heiler) wrote:
> Even the old pickaxe mentions that ruby may behave slightly unexpected
> in re...
valerauko (Balint Erdos)
04:29 PM Bug #13837: Class attributes get overshadowed by local variables
I think hanmac already gave the correct answer so there is no point in me adding
much to it. :)
Note that you co...
shevegen (Robert A. Heiler)
12:27 PM Bug #13837: Class attributes get overshadowed by local variables
ruby does parse the lines before exceute them.
so when ruby does read this:
~~~ ruby
bar = 0 if bar.nil?
~~~
...
Hanmac (Hans Mackowiak)
09:37 AM Bug #13837 (Closed): Class attributes get overshadowed by local variables
~~~ ruby
irb(main):001:0> RUBY_VERSION
=> "2.4.1"
irb(main):002:0> class Foo
irb(main):003:1> attr_accessor :ba...
valerauko (Balint Erdos)
04:01 AM Bug #13832 (Closed): cfp consistency error occurred in vm_call_cfunc on non-optimized ruby
Applied in changeset trunk|r59649.
----------
gc.c: restore cfp at finalizer
* gc.c (run_finalizer): restore cfp fo...
nobu (Nobuyoshi Nakada)
04:01 AM Revision 1fe73fc9 (git): gc.c: restore cfp at finalizer
* gc.c (run_finalizer): restore cfp for the case an exception
raised in a finalizer. [ruby-core:82432] [Bug #13832...
nobu (Nobuyoshi Nakada)
03:14 AM Revision 9b2d518a (git): skip unless finalizers run
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:26 AM Revision 0f711026 (git): gc.c: run all finalizers
* gc.c (run_finalizer): revert r59155 partially. finalizing loop
should continue even after an exception is rescued...
nobu (Nobuyoshi Nakada)
02:23 AM Bug #13836 (Closed): Null pointer dereference in defined_expr0()
Applied in changeset trunk|r59644.
----------
parse.y: primary should not be 0
* parse.y (primary): should not be 0...
nobu (Nobuyoshi Nakada)
02:23 AM Revision e96ba1d6 (git): * 2017-08-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:23 AM Revision e553df86 (git): remove debug code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
12:09 AM Bug #13794: Infinite loop of sched_yield
[email protected] wrote:
> File sched_yield_1.patch added

> The patch above does not work because
> native_re...
normalperson (Eric Wong)

08/22/2017

09:35 PM Bug #13835: Using 'open-uri' with 'tempfile' causes an exception
shevegen (Robert A. Heiler) wrote:
> Indeed, sounds like a bug; at the least it is somewhat surprising behaviour to ...
kigster (Konstantin Gredeskoul)
02:48 PM Bug #13835: Using 'open-uri' with 'tempfile' causes an exception
Indeed, sounds like a bug; at the least it is somewhat surprising behaviour to me. Not
that I think I would have eve...
shevegen (Robert A. Heiler)
08:18 AM Bug #13835 (Closed): Using 'open-uri' with 'tempfile' causes an exception
Hi there,
try this in your current ruby env:
~~~ ruby
require 'tempfile'
require 'open-uri'
temp_file = Te...
thorsteneckel (Thorsten Eckel)
01:21 PM Revision e7606de9 (git): parse.y: primary should not be 0
* parse.y (primary): should not be 0, since it can be a receiver.
[ruby-core:82447] [Bug #13836]
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
12:36 PM Bug #13836 (Closed): Null pointer dereference in defined_expr0()
After some fuzz testing I found a crashing test case.
To reproduce: miniruby ruby_null_ptr_defined_expr0
Contex...
fumfel (Kamil Frankowicz)
10:40 AM Bug #13834: RubyGems test suite occasionally changes working directory and breaks the rest of test suite
So far, I think the test never reaches this [1] line for some reason. Or if it reaches it, it is not executed properl... vo.x (Vit Ondruch)
10:35 AM Bug #13834: RubyGems test suite occasionally changes working directory and breaks the rest of test suite
I think the github "ticket" is not as useful as the issue track here; I may mistakingly remember
but I think that so...
shevegen (Robert A. Heiler)
06:10 AM Bug #13834: RubyGems test suite occasionally changes working directory and breaks the rest of test suite
I also opened RubyGems ticket:
https://github.com/rubygems/rubygems/issues/1991
vo.x (Vit Ondruch)
06:06 AM Bug #13834 (Closed): RubyGems test suite occasionally changes working directory and breaks the rest of test suite
From time to time, RubyGems test suite changes working directory, which breaks rest of Ruby tests suite. It all start... vo.x (Vit Ondruch)
08:47 AM Bug #13832: cfp consistency error occurred in vm_call_cfunc on non-optimized ruby
This is my configure options:
```
~/src/github.com/ruby/ruby/configure \
--prefix=$(echo ~/.rbenv/versions/tru...
mrkn (Kenta Murata)
08:46 AM Bug #13832: cfp consistency error occurred in vm_call_cfunc on non-optimized ruby
I can reproduce this bug with r59639. mrkn (Kenta Murata)
05:39 AM Bug #13832 (Feedback): cfp consistency error occurred in vm_call_cfunc on non-optimized ruby
Seems something weird, r58053 is for 2.4.1 at 2017-03-22.
And I can't reproduce it with r59639.
Try checkout and `m...
nobu (Nobuyoshi Nakada)
06:57 AM Bug #11126 (Closed): CSV field converters doesn't attempt to convert nil value.
Applied in changeset trunk|r59643.
----------
Fixed regression to convert blank value at r45497.
[Bug #11126][rub...
hsbt (Hiroshi SHIBATA)
06:57 AM Revision ffb49a7e (git): Fixed regression to convert blank value at r45497.
[Bug #11126][ruby-core:69088]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59643 b2dd03c8-39d4-4d8f-98ff-823fe6...
hsbt (Hiroshi SHIBATA)
06:41 AM Bug #10504 (Closed): Gracefully handle CSV IO file descriptor problems
Applied in changeset trunk|r59642.
----------
Gracefully handle CSV IO when file descriptor closed.
[Bug #10504][...
hsbt (Hiroshi SHIBATA)
06:40 AM Revision ede0df3a (git): Gracefully handle CSV IO when file descriptor closed.
[Bug #10504][ruby-core:66240]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59642 b2dd03c8-39d4-4d8f-98ff-823fe6...
hsbt (Hiroshi SHIBATA)
06:34 AM Bug #12422 (Closed): CSV.Table.== fails to check object type
Applied in changeset trunk|r59641.
----------
Fixed equality method fails when given the object that doesn't support...
hsbt (Hiroshi SHIBATA)
06:34 AM Revision 20aed449 (git): Fixed equality method fails when given the object that doesn't support table method.
[Bug #12422][ruby-core:75707]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59641 b2dd03c8-39d4-4d8f-98ff-823fe6...
hsbt (Hiroshi SHIBATA)
06:17 AM Bug #9988 (Closed): CSV does not write headers when :write_headers is true and no rows are added
Applied in changeset trunk|r59640.
----------
Fixed to write_headers option behavior when given no rows.
[Bug #99...
hsbt (Hiroshi SHIBATA)
06:17 AM Revision 9c38a08f (git): Fixed to write_headers option behavior when given no rows.
[Bug #9988][ruby-core:63375]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59640 b2dd03c8-39d4-4d8f-98ff-823fe69...
hsbt (Hiroshi SHIBATA)
05:32 AM Feature #9147 (Closed): CSV.new option skip_lines should escape String before convert to Regexp
Applied in changeset trunk|r59639.
----------
Escape skip_lines string before convert to Regexp.
It ignored all o...
hsbt (Hiroshi SHIBATA)
05:32 AM Revision 2c69f7b2 (git): Escape skip_lines string before convert to Regexp.
It ignored all of lines when given Regexp special characters.
[Feature #9147][ruby-core:58549]
git-svn-id: svn+ss...
hsbt (Hiroshi SHIBATA)
04:40 AM Revision 84bc175c (git): pack insn_operand_info and insn_len_info
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:37 AM Revision a4d65027 (git): pack insns_name_info
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:22 AM Revision 7735c1f5 (git): tool/instruction.rb: move logics to templates
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:07 AM Revision 1f89414c (git): insns.inc.tmpl: ensure info size
* template/insns.inc.tmpl (ASSERT_VM_INSTRUCTION_SIZE): static
assertion for VM instruction info tables.
git-svn-i...
nobu (Nobuyoshi Nakada)
02:46 AM Revision 066e9a8b (git): signal.c: fatal stack
* signal.c (check_stack_overflow): raise fatal when the last tag
is in danger zone.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
02:42 AM Revision 2f3eef8e (git): signal.c: removed raise_stack_overflow:
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:41 AM Revision 59d8fefa (git): * 2017-08-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:41 AM Revision da4ce796 (git): split out struct cont_saved_vm_stack.
* cont.c: introduce `struct cont_saved_vm_stack` which was part of
`struct rb_context_struct`.
git-svn-id: svn+ss...
ko1 (Koichi Sasada)

08/21/2017

05:50 PM Bug #13833 (Closed): String#scanf("%a") incorrectly requires a sign on the (binary) exponent
~~~
>> Float("0x1p9")
=> 512.0
>> Float("0x1p+9")
=> 512.0
>> "0x1p+9".scanf("%a")
=> [512.0]
>> "0x1p9".scanf...
cabo (Carsten Bormann)
02:15 PM Revision 9c927f8c (git): prevent stack overflow
* gc.c: enable PREVENT_STACK_OVERFLOW.
* vm.c (invoke_iseq_block_from_c): prevent stack overflow.
* vm_eval.c (stac...
nobu (Nobuyoshi Nakada)
01:38 PM Revision 29fa7a9f (git): Remove a meaningless local variable assignment
* iseq.c (rb_iseq_disasm_insn): Remove a meaningless
local variable assignment. `insn` is never changed
in this f...
yui-knk (Kaneko Yuichiro)
06:46 AM Revision aaac3f8c (git): * 2017-08-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:46 AM Revision b54f5355 (git): vm_core.h: ruby_error_stackfatal
* vm_core.h (ruby_special_exceptions): rename sysstack_gc as
stackfatal.
* eval.c (Init_eval): modified the messag...
nobu (Nobuyoshi Nakada)
06:00 AM Bug #13831: error when try to install
MSP-Greg (Greg L) wrote:
> I'm not that familiar with encoding issues, but I believe CP720 is an older code page.
...
duerst (Martin Dürst)
01:20 AM Bug #13831: error when try to install
I'm not that familiar with encoding issues, but I believe CP720 is an older code page. IF you enter `cp 1252` in the... MSP-Greg (Greg L)
03:45 AM Bug #13832 (Closed): cfp consistency error occurred in vm_call_cfunc on non-optimized ruby
The following script occurs `[BUG] vm_call_cfunc: cfp consistency error` on ruby that is compiled with `-O0`.
```c...
mrkn (Kenta Murata)
01:01 AM Feature #13828: Win32ole extension should support licensed COM servers
nobu (Nobuyoshi Nakada) wrote:
> * use `rb_scan_args` and `rb_get_kwargs`
bug reported in #13830 was resolved, so...
graywolf (Gray Wolf)
 

Also available in: Atom