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 want to call "replace_real_basename" only for results. There's no need to call it for each directory because the result wil...
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@59670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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@59669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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@59667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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, I was left with one question regarding all of the sort/filter group methods in ruby.
Which ones are considered stable...
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.org/ruby/trunk@59666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 server. Thanks to Gray Wolf. [Feature :#13828]
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@59664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 start of the web. A lot of people wanted to publish their things, so they wrote HTML pages. Often they knew nothing about... Anonymous
07:23 AM Feature #13839: String Interpolation Statements
> I was listening a talk by Rasmus Lerdorf, the creator of PHP.
> ...
I do not think that templating was the killer feature of PHP.
I have not systematically analyzed the codebase of phpBB, mediawiki,
drupal or wordpress but I doubt...
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 multi-line complex usage would be:
> ...
Yes, that's it! :) I just wanted to improve string interpolation with %{statem...
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:
~~~
<<EOS
%{if true}
Hello #{'world'}
%{end}
EOS
~~~
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 you intended:
> ...
It was an idea that we could use a different notation: %{statement} instead of {% statement %} to b...
Anonymous
01:46 AM Feature #13839 (Feedback): String Interpolation Statements
You wrote:
~~~
{% if true %}
Hello #{'World'}
{% end %}
Template.new('...').render(binding)
~~~
You should write expected code in valid Ruby syntax. Guessing from "%{3.times do}Hello #{'World'}%{end}", probably you intende...
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 as a replacement for a full featured template engine (with cache, helpers and so), but more as a quick and powerful way...
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.ruby-lang.org/ruby/trunk@59661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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. Ruby's Set isn't even implemented with an Array.
The core mathematical definition of Set is based on element member...
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_w32_set_thread_description): dynamically try
SetThreadDescription.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59...
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 this approach is fast for small strings, it's actually slower for large strings (probably due to the use of `+=` instead of... 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 :input
def initialize(input)
@input = input
end
def output
"output = %\0" + @input.gsub("{%", "\0...
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@59658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 looks like:
~~~
-- C level backtrace information -------------------------------------------
[0x4ef7a734]
[0x4ef7a8...
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 are affected. Since this release, the test suite always get stuck at TestBacktrace#test_caller_lev. Later, since r59159, ... 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 performance improvement is
proposed by zdennis <zach.dennis@gmail.com>. The patch is from
Mau Magnaguagno <maumagnagu...
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-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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-lang.org/ruby/trunk@59655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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/ruby/trunk@59653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 array. I expect Set to act almost like Array, so it would be weird if Set#=== looked inside the container but Array#=== ...
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 because the instances of Tempfile respond to `to_path`, just like instances of File or Pathname. So `open(temp_file, 'a')` a...
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 this ticket. That issue proposes `Coverage.enabled?`. I'm unsure, but `running?` seems a bit better to me because the s...
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 only trying `Coverage.peek_result` or `Coverage.result` and catch RuntimeError.
Attached patch enable us to detect status ...
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 JavaScript for a few years, and I am not using Ruby for web development.
Two things puzzle me:
1. What is the key in `...
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 we've grown used to it. 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
> ...
Both have a similar requirement - you need to pass in the name of
the file at question.
Both also require some information to t...
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-lang.org/ruby/trunk@59652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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
> ...
I still can't consider this correct behavior. Aren't the multi-line and the single-line ways of writing `if` supposed to ...
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 could specifically point ruby to call the getter method in the
line hanmac pointed out, rather than using:
bar = 0...
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?
~~~
it finds that you assign a local variable bar in this contect.
now it does always use the local variable instead of me...
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 :bar
irb(main):004:1> def initialize
irb(main):005:2> self.bar = 1
irb(main):006:2> end
irb(main):007:1> def ...
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 for the case an exception
raised in a finalizer. [ruby-core:82432] [Bug #13832]
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]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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, since it can be a receiver.
[ruby-core:82447] [Bug #13836]
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
charlie@atech.media wrote:
> File sched_yield_1.patch added

> The patch above does not work because
> native_reset_timer_thread runs after fork in the parent.
> Attached an alternative patch that runs in gvl_atfork and
> appears ...
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 me. Not
> ...
Hm, as I remember, the first argument to `open` should be a URl or a path, not a `Tempfile` instance, rig...
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 ever found the above behaviour, I always used open-uri with
a remote URL so far. :)
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 = Tempfile.new
open(temp_file, 'a')
~~~
Get this:
~~~
/Users/~/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/tempfile.rb:14...
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+ssh://ci.ruby-lang.org/ruby/trunk@59644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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
Context:
~~~
ruby_null_ptr_defined_expr0: [BUG] Segmentation fault at 0x0000000000000000
ruby 2.5.0dev (2017-08-03) [x86_...
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 properly. Then the temporary directory is cleaned up and the test suite starts to fail.
[1]: https://github.com/rubygems/rub...
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 some of the ruby core team said so. Where github may help of course are
patches and pull requests attached to.
The er...
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 starts like this:
~~~
[ 7096/17125] TestGemRemoteFetcher#test_do_not_allow_invalid_client_cert_auth_connection = 0.01 sLe...
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/trunk-o0) \
--with-opt-dir=$(brew --prefix) \
--with-dbm-dir=$(brew --prefix qdbm) \
--with-dbm-type=qdbm \
--w...
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 `make up` again.
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][ruby-core:69088]
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-823fe69b080e
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][ruby-core:66240]
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-823fe69b080e
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 table method.
[Bug #12422][ruby-core:75707]
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-823fe69b080e
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 #9988][ruby-core:63375]
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-823fe69b080e
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 of lines when given Regexp special characters.
[Feature #9147][ruby-core:58549]
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+ssh://ci.ruby-lang.org/ruby/trunk@59639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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-lang.org/ruby/trunk@59634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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+ssh://ci.ruby-lang.org/ruby/trunk@59631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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
> ...
=> 512.0
>> "0x1p+9".scanf("%a")
=> [512.0]
> ...
=> [0.0] # Oops
>> RUBY_VERSION
=> "2.4.1"
~~~
In scanf.rb, there are three regexps that say the equivalent o...
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 (stack_check): raise preallocated exception instance.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59630 b2dd03c8-39d4-...
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 function, so a result of `insn_op_types(insn)`
is also never changed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
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 message for stackfatal error as
"critical region".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59627 b2dd03c8-39d4-4d...
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.
Yes indeed. CP720 is the DOS encoding for Arabic.
> ...
This should be `chcp 1256`. The command is "change 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 console, then `gem install sass`, does the gem install?
Regardless, given the nature of your question, the best plac...
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`.
```console
$ cat test.rb
def callback
p :callback
@non_existing_ivar
end
ObjectSpace.define_finalizer(Object.new...
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 now I can use `rb_scan_args` and `rb_get_kwargs`. Updated version attached.
graywolf (Gray Wolf)
 

Also available in: Atom