Project

General

Profile

Activity

From 11/19/2014 to 11/25/2014

11/25/2014

11:41 PM Bug #10543 (Closed): ruby -c and ripper inconsistency: /(?<n>a(b|\g<n>))/
以下のように、/(?<n>a(b|\g<n>))/ というだけのソースは
ruby -c では問題無しとなりますが、
Ripper.sexp では構文木でなく nil が返ってきてしまいます。
```
% cat z.rb
/(?<n>a(b|\g<n>))/
% ./ruby -c z.rb
Syntax OK
% ./ruby -rripper -e 'p Ripper.sexp(STDIN.read)' <...
akr (Akira Tanaka)
11:16 PM Misc #10541: Remove shorthand string interpolation syntax
This syntax is very confusing and while not common could possibly lead to confusing bugs. That blog post referenced an actual bug in production. If I came across this code in the wild, I would be surprised by this behavior:
~~~
requi...
schneems (Richard Schneeman)
09:28 PM Misc #10541: Remove shorthand string interpolation syntax
Eric, I think it is dangerous syntax because (to take the example from the link above) changing "foo-#@name-1" to "foo-#@name1" unexpectedly changes what variable gets used.
That mistake can't happen with "foo-#{@name}-1".
I prefe...
danielmorrison (Daniel Morrison)
08:12 PM Misc #10541: Remove shorthand string interpolation syntax
I agree, I think this syntax exception is confusing, harder to read and most Ruby editors will insert {} after # so it is not saving any keystroke in that case.
Additionaly, it might also encourage using $global_vars, @@class_vars and @...
Eregon (Benoit Daloze)
06:48 PM Misc #10541: Remove shorthand string interpolation syntax
I use it frequently. It saves me keystrokes and screen space.
I think it is more readable and less noisy this way, too.
Removing it will break existing code I have.
Perhaps it needs to be used more so more Rubyists know about it...
normalperson (Eric Wong)
04:15 PM Misc #10541 (Assigned): Remove shorthand string interpolation syntax
I would like to see the shorthand string interpolation syntax, "foo#@bar" deprecated and then removed in 3.0.
My reasons:
1. Most experienced Ruby developers I've talked to don't even know it exists.
2. It has been the cause of re...
danielmorrison (Daniel Morrison)
10:15 PM Bug #10542 (Closed): out-of-place build from repository builds enc/trans/*.c in the source directory and the build directory
repository から checkout した ruby を out-of-place で build すると、
enc/trans/big5.c などいくつかのファイルが
source directory と build directory の両方に生成されます。
どちらかだけに生成されるのが意図された動作なんじゃないでしょうか。
```
% cd /tmp
% mkdir r
% cd r
% svn co -q http://svn.ru...
akr (Akira Tanaka)
09:09 PM Revision b1028f7a (git): * common.mk: encdb.h and transdb.h depends on $(PREP).
So prebuild files for them in tarball are useless.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:58 PM Revision 91e2cd34 (git): vm_method.c: preserve encodings
* vm_method.c (rb_mod_remove_method): preserve encodings of method
name and class name in error messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:44 PM Revision 606e8556 (git): rb_id2str over rb_id2name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:44 PM Revision d0ac6d58 (git): object.c: preserve encodings
* object.c (inspect_i): preserve encodings in inspected result
string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:44 PM Revision f2fc80ce (git): vm_method.c: preserve encodings
* vm_method.c (rb_method_entry_make): preserve encodings of
constant names in warning messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:44 PM Revision 5d4aad2b (git): vm_eval.c: preserve encoding
* vm_eval.c (rb_method_call_status): preserve encoding of called method
name in error messages.
* vm_insnhelper.c (vm_call_method): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:43 PM Revision ddfcb969 (git): safe.c: preserve encoding
* safe.c (rb_secure): preserve encoding of the called method name
in error messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:43 PM Revision f77d4023 (git): safe.c: preserve encoding
* safe.c (rb_insecure_operation): preserve encoding of the called
method name in error messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:12 PM Revision 5af1a10d (git): * tool/make-snapshot: Don't generate enc/trans/newline.c in tarball.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:55 PM Revision a08d6c5b (git): * common.mk (prereq): Don't depends on prelude.c and golf_prelude.c.
Since they depend on $(PREP) which is miniruby, they are rebuilt
after miniruby is built, even if tarball contains them.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:22 PM Revision c6d52afd (git): * 2014-11-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:22 PM Revision 7df1831b (git): * template/prelude.c.tmpl: Don't expand RbConfig::Config[...].
It is not used now.
* common.mk: prelude.c and golf_prelude.c doesn't depend on rbconfig.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:39 PM Revision afe02a2f (git): Move the description about vfork.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:02 PM Bug #10537: Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
I can't reproduce the error, too.
What about this patch?
~~~diff
diff --git a/gc.c b/gc.c
index 9c0dbef..f4c4e93 100644
--- a/gc.c
+++ b/gc.c
@@ -7869,10 +7869,10 @@ wmap_aset(VALUE self, VALUE wmap, VALUE orig)
TypedDat...
nobu (Nobuyoshi Nakada)
08:19 AM Bug #8543: new rb_iseq_load crash
Seems nice! Thank you!
(maybe we need fix rdoc)
ko1 (Koichi Sasada)
03:09 AM Bug #8543: new rb_iseq_load crash
Eric Wong wrote:
> Sorry, the inline patch was an extremely hacky work-in-progress,
> ...
Ah, I see.
Thanks! v3 is indeed no longer segfaulting on any of the iseq tests
I have.
Awesome!
Thanks again,
Bill
spatulasnout (B Kelly)
02:08 AM Bug #8543: new rb_iseq_load crash
Sorry, the inline patch was an extremely hacky work-in-progress,
but I think rb_iseq_load_fix@v1.txt should've been OK with your
(non keyword) use cases.

Here is a slightly less broken, but still hacky work-in-progress:
http://8...
normalperson (Eric Wong)
08:07 AM Revision d95aae32 (git): * NEWS: add an "Implementation changes" section.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:58 AM Bug #10540: Yielded fibers do not execute ensure blocks
This issue is a known bug.
[Bug #595]: Fiber ignores ensure clause
(3 digits!)
Rubinius supports it.
----
This feature is not impossible, but a bit difficult because there are two ENSURE points.
1. Owner thread is terminate...
ko1 (Koichi Sasada)
07:09 AM Bug #10533 (Closed): HTTP reconnection with SNI does not send correct hostname
Applied in changeset r48563.
----------
* lib/net/http.rb: Do not attempt SSL session resumption when the
session is expired. [Bug #10533]
drbrain (Eric Hodel)
06:55 AM Bug #10533: HTTP reconnection with SNI does not send correct hostname
Via #ruby-core IRC:
~~~
22:53 nurse: ok > 10533
~~~
So I will commit it.
drbrain (Eric Hodel)
07:09 AM Revision 711ece42 (git): * 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/trunk@48563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
07:03 AM Revision 49cb4119 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:03 AM Revision 975bfe0a (git): * append newline at EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:03 AM Revision 3908d5d3 (git): * lib/rake: Update to rake 10.4.0
* test/rake: ditto.
* NEWS: ditto.
* test/lib/minitest/unit.rb: Add compatibility shim for minitest 5.
This only provides minitest 5 unit test naming compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48560 b2dd03c8...
drbrain (Eric Hodel)
06:26 AM Revision f20f84d6 (git): vcs.rb: make Time with proper offset
* tool/vcs.rb (get_revisions): use Time.new instead of Time.mktime
which does not accept UTC offset, and offset manually for older
versions than 1.9.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48559 b2dd03c8-39d4-4d8f-98ff-82...
nobu (Nobuyoshi Nakada)
04:37 AM Revision 913ed016 (git): common.mk: remove old gems
* common.mk (update-gems): remove old version gems after
successfully downloaded.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:18 AM Revision 25661ef5 (git): add gem name [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:14 AM Revision 63aafb20 (git): process.c: initialize static IDs first
* process.c (Init_process): initialize static IDs before constant
definitions. [ruby-core:66445]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:46 AM Revision 8f796231 (git): * 2014-11-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:46 AM Revision cbf987c8 (git): compile.c (iseq_build_callinfo_from_hash): hoist out
iseq_build_from_ary_body indentation was too deep for my little
terminal, so extract it so it is easier to add keyword support.
* compile.c (iseq_build_callinfo_from_hash): hoist out
(iseq_build_from_ary_body): shorten callinfo case
...
Eric Wong
01:08 AM Bug #10539 (Rejected): Wrong pattern matching when string interpolation inside regexp is used
You need parentheses. nobu (Nobuyoshi Nakada)
01:03 AM Bug #10475: Array#flatten should not accept a nil argument
I agree that this is a documentation issue.
But afraid that the negative value is worth to mention.
nobu (Nobuyoshi Nakada)

11/24/2014

11:13 PM Bug #8543: new rb_iseq_load crash
Howdy,
Eric Wong wrote:
> That was only one of the breakages :)
> ...
Thanks so much for working on this.
Just some initial feedback -- after applying both patches to trunk,
I'm still seeing a segfault in the iseq.eval call on ...
spatulasnout (B Kelly)
10:18 PM Bug #10537: Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
Thanks for trying. I can not reproduce your broken object issue
with my patch on Linux (x86-64 and i686). "make check" passes, but
maybe something else is missing...
normalperson (Eric Wong)
09:04 PM Bug #10537: Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
Getting this:
~~~
irb(main):008:0> a = Object.new
=> #<Object:0x007fe1b983a278>
irb(main):009:0> WeakRef.new a
=> #<Object:0x007fe1b983a278>
irb(main):010:0> WeakRef.new a
NotImplementedError: method `==' called on broken T_???(...
javawizard (Alex Boyd)
09:08 AM Bug #10537: Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
Thanks, the following patch should fix it. Your test runs much in less
than 20s and uses 10M on my older x86-64 machine. It took over 2
minutes before.
(lightly tested, and I'm unfamiliar with the weakmap code):
~~~diff
--- a...
normalperson (Eric Wong)
07:25 AM Bug #10537: Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
Data point: tacking a `printf` onto the end of `define_final0` in `gc.c` reveals that a new finalizer is being added to `a` for each WeakRef. I expect those are what's hogging memory. javawizard (Alex Boyd)
06:48 AM Bug #10537 (Closed): Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
~~~ruby
require 'weakref'
a = Object.new
1_000_000.times do
WeakRef.new a
end
GC.start
~~~
The above results in Ruby consuming ~150 MB of RAM, all of which can only be freed by dropping `a`. This should not be the case - an o...
javawizard (Alex Boyd)
09:08 PM Bug #10540: Yielded fibers do not execute ensure blocks
This seems unfortunate. I'm not sure if there's a good way to do
this automatically with current APIs because `Fiber`s require
explicit scheduling.

Perhaps storing `Fiber`s in `Thread.current` and having a
`terminate_all_fibers` ...
normalperson (Eric Wong)
08:11 PM Bug #10540 (Closed): Yielded fibers do not execute ensure blocks
When a thread has paused fibers, if an exception occurs anywhere in the thread, `ensure` blocks in the paused fibers do not execute.
The effect of this is that block-scoped resources (like File.open, Mutex#synchronize, ActiveRecord tr...
wycats (Yehuda Katz)
04:07 PM Bug #10539: Wrong pattern matching when string interpolation inside regexp is used
I think I found my error. Sorry
Please Close it.
Best regards,
Tammo
tammo (tammo tjarks)
04:02 PM Bug #10539 (Rejected): Wrong pattern matching when string interpolation inside regexp is used
Hello,
maybe it is my fault, but I stumble over the fact, that I get a match when I should not (have added a short example).
I use an Array to have a list of matching names like:
~~~ruby
a = ['moin','test','whatever']
~~~
and whe...
tammo (tammo tjarks)
02:03 PM Revision 7806df70 (git): * gems/bundled_gems: Update to 3.0.7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
01:54 PM Bug #10475: Array#flatten should not accept a nil argument
Jörg W Mittag wrote:
> IMO, the correct behavior would be to use `to_int`.
It *is* using `to_int`, except for `nil` which is treated specially.
> ...
Right. The documentation lists two interfaces (one with no argument, one with a ...
marcandre (Marc-Andre Lafortune)
10:52 AM Bug #10476: String.strip remove characters different than pure whitespace
It looks perfect. yld (Yves Le Douaron)
10:21 AM Feature #10489: Add inherit method for clearer and multiple inheritance
Bráulio Bhavamitra wrote:
> A new and more intuitive syntax:
> ...
Module is "multiple inheritance" for ruby. I don't think it is a good idea.
xiewenwei (xie wenwei)
09:32 AM Bug #10538: Error when trying to update gem rake
This error seems to happen whenever an update suggests to replace a ruby binary... no matter the answer (y/n). SAnDAnGE (Emanuel D)
09:22 AM Bug #10538 (Closed): Error when trying to update gem rake
when running "gem update rake" I get the following:
c:\>gem update rake
Updating installed gems
Updating rake
rake's executable "rake" conflicts with C:/Ruby21-x64/bin/rake
Overwrite the executable? [yN] C:/Ruby21-x64/lib/ruby/si...
SAnDAnGE (Emanuel D)
03:44 AM Revision 09fbd56e (git): process.c: get rid of inadvertent ID pindown
* process.c (check_exec_redirect_fd, check_exec_redirect),
(rb_execarg_addopt): get rid of inadvertent ID pindown.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:44 AM Revision a6755b6e (git): process.c: intern IDs
* process.c (Init_process): intern IDs at initialization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:43 AM Revision ec81f9c4 (git): marshal.c: literal method names
* marshal.c (check_dump_arg, check_load_arg): use literal method
names, instead of converting from ID every time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

11/23/2014

05:03 PM Revision 25bab786 (git): string.c: preserve encoding of global variable
* string.c (rb_str_setter): preserve encoding of global variable
name in error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:03 PM Revision b58802a3 (git): iseq.c: preserve encoding at disassembling
* iseq.c (rb_insn_operand_intern): preserve encoding of method
name in CALL_INFO at disassembling.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:03 PM Revision 31aed958 (git): * 2014-11-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:03 PM Revision 9519f619 (git): io.c: preserve encodings
* io.c (must_respond_to): preserve encodings of variable name and
class name in warning message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:02 PM Revision be5bbaf5 (git): parse.y: replace with TOK_INTERN
* parse.y (parse_gvar): replace with equivalent macro, TOK_INTERN,
as well as other places.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:13 AM Bug #10475: Array#flatten should not accept a nil argument
Dov Murik wrote:
> Currently `Array#flatten` accepts an explicit `nil` argument which has the same meaning as `-1` (or no arguemnt) - meaning endless recursive flattening. I'd expect `flatten` to accept an integer argument only (or not ...
jwmittag (Jörg W Mittag)
05:58 AM Bug #8543: new rb_iseq_load crash
Eric Wong <normalperson@yhbt.net> wrote:
> The following patch might be ready to commit to trunk:
>
> http://80x24.org/spew/m/rb_iseq_load_fix@v1.txt

Still some bugs related to keyword args I'm working on, but am out of
time ...
normalperson (Eric Wong)
03:37 AM Revision 8d729372 (git): * gems/bundled_gems: upgraded to power_assert 0.2.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
01:49 AM Revision 83f0e9d6 (git): trivial packing of rb_execarg, load_file_arg, args_info
* internal.h (struct rb_execarg): 160 => 144 bytes on x86-64
* ruby.c (struct load_file_arg): 48 => 40 bytes on x86-64
* vm_args.c (struct args_info): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48543 b2dd03c8-39d4-4d8f-98ff...
Eric Wong
01:49 AM Revision 919b1aa5 (git): ChangeLog: fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
01:02 AM Bug #10536 (Rejected): RubyDoc example for Enumerable#map incorrect
nobu (Nobuyoshi Nakada)
12:00 AM Revision 5aa9eb46 (git): elementdecl.rb: suppress warnings
* lib/rexml/dtd/elementdecl.rb (PATTERN_RE): comment out overridden
constant, and '_' is included in '\w'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

11/22/2014

11:47 PM Revision 237162a3 (git): test_variable.rb: suppress warnings
* test/ruby/test_variable.rb (ruler4): suppress warning.
(test_global_variable_poped, test_constant_poped): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:47 PM Revision 7fed49d2 (git): * 2014-11-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:46 PM Revision 4f160fa0 (git): io.c: remove redundant assignment
* io.c (rb_io_sysread): Remove redundan assignment of 'n'.
[Fix GH-767]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:23 PM Bug #10536: RubyDoc example for Enumerable#map incorrect
That's intentional, both methods are aliases (note that the documentation for #collect and #map is the same). stomar (Marcus Stollsteimer)
05:03 PM Bug #10536: RubyDoc example for Enumerable#map incorrect
```collect``` is shown in the example section instead of ```map```
This is fully the case for the 2.0 doc (http://ruby-doc.org/core-2.0/Enumerable.html#method-i-map) and partially the case for the 2.1 doc (http://ruby-doc.org/core-2.1...
eebbesen (Eric Ebbesen)
05:00 PM Bug #10536 (Rejected): RubyDoc example for Enumerable#map incorrect
`collect` is shown in the example section instead of `map`
This is fully the case for the 2.0 doc (http://ruby-doc.org/core-2.0/Enumerable.html#method-i-map) and partially the case for the 2.1 doc (http://ruby-doc.org/core-2.1.0/Enume...
eebbesen (Eric Ebbesen)
09:58 PM Bug #10535: Potential uninitialized reference pipe_open() in io.c
asmaloney@gmail.com wrote:
> IF !defined(HAVE_WORKING_FORK) and !defined(HAVE_SPAWNV), THEN argc
> and argv are declared. (lines 5938, 5939)
> Unless I'm missing something in the #if #else #endif fiesta, they
> don't seem to be init...
normalperson (Eric Wong)
02:46 PM Bug #10535 (Closed): Potential uninitialized reference pipe_open() in io.c
(From git commit f5063b7ea7e774519602f7a112d9acf536a1da33 of 22 November 2014.)
In **io.c** in the following function:
~~~
static VALUE
pipe_open(VALUE execarg_obj, const char *modestr, int fmode, convconfig_t *convconfig)
~~~...
asm (Andy Maloney)
09:27 AM Bug #10046: OpenSSL::TestSSLSession#test_ctx_server_session_cb and OpenSSL::TestSSLSession#test_ctx_client_session_cb test failures
You would need to have OpenSSL built with this patch:
http://pkgs.fedoraproject.org/cgit/openssl.git/tree/openssl-1.0.1h-disable-sslv2v3.patch
This patch is now applied in openssl-1.0.1j-3.fc22 in Fedora Rawhide. I would not be sur...
vo.x (Vit Ondruch)
02:11 AM Bug #10046 (Assigned): OpenSSL::TestSSLSession#test_ctx_server_session_cb and OpenSSL::TestSSLSession#test_ctx_client_session_cb test failures
I can't reproduce these test failures, but this patch looks ok to me zzak (zzak _)
08:59 AM Feature #10481: Add "if" and "unless" clauses to rescue statements
Awesome, thanks! I was having trouble building trunk on OS X, so (I believe) I based it off of 2.1.5. Quite a bit more's changed than I had anticipated.
Thanks for writing up tests as well!
javawizard (Alex Boyd)
08:48 AM Feature #10481 (Assigned): Add "if" and "unless" clauses to rescue statements
Your patch seems based on pretty old revision.
I made updated version: https://github.com/nobu/ruby/compare/Feature%2310481-conditional-rescue
nobu (Nobuyoshi Nakada)
08:28 AM Bug #8543: new rb_iseq_load crash
billk@cts.com wrote:
> But ultimately, the result of the manual bisect was:
>
> 66d247bcb50a29769ff940100223544c125521aa is the first bad commit
> commit 66d247bcb50a29769ff940100223544c125521aa
> Author: ko1 <ko1@b2dd03c8-39d4-4d...
normalperson (Eric Wong)
01:08 AM Bug #8543: new rb_iseq_load crash
Eric Wong <normalperson@yhbt.net> wrote:
> Work-in-progress fix here, can you please test?
> http://80x24.org/spew/m/rb_iseq_load_fix-wip@v0.txt

Don't bother with that, I forgot to test iseq-load-test3-file.rb
hello.rb works fine,...
normalperson (Eric Wong)
12:08 AM Bug #8543: new rb_iseq_load crash
Work-in-progress fix here, can you please test?
http://80x24.org/spew/m/rb_iseq_load_fix-wip@v0.txt
Thanks.
normalperson (Eric Wong)
07:10 AM Revision f5063b7e (git): dummyparser.rb: on_rescue
* test/ripper/dummyparser.rb (on_rescue): add to turn exception
class list into NodeList, to test exception class list.
* test/ripper/test_parser_events.rb (test_rescue_class): add
missing test.
git-svn-id: svn+ssh://ci.ruby-lang.o...
nobu (Nobuyoshi Nakada)
07:10 AM Revision d551e813 (git): common.mk: keep verconf.h if unchanged
* common.mk (verconf.h): update only when changed to reduce
unnecessary recompiling loadpath.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:22 AM Bug #10533: HTTP reconnection with SNI does not send correct hostname
Ultimately I think this may be an OpenSSL bug.
Looking at the ClientHello message for the second connection (which uses session resumption) no ServerNameIndication extension is present. Without this the server won't be able to respon...
drbrain (Eric Hodel)
04:49 AM Bug #10467: net/http reconnects without SNI
This looks to be a duplicate now of #10533, which has a patch dissolve (Ben Roberts)
12:54 AM Revision 3ca77ee9 (git): * tool/make-snapshot: Specify PWD macro for make.
PWD environment variable may not exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)

11/21/2014

11:02 PM Bug #10533 (Assigned): HTTP reconnection with SNI does not send correct hostname
drbrain (Eric Hodel)
11:01 PM Bug #10533: HTTP reconnection with SNI does not send correct hostname
If session resumption is requested with an expired SSL session on an SNI server then the handshake goes wrong and the connection fails as above.
The attached patch only attempts session resumption if the session is still valid.
drbrain (Eric Hodel)
03:41 AM Bug #10533 (Closed): HTTP reconnection with SNI does not send correct hostname
When reconnecting after connection timeout on an SNI connection the server name is not sent during reconnect which results in a failed reconnection:
~~~
$ cat test.rb
require 'net/http'
uri = URI 'https://david.shanske.com'
Net:...
drbrain (Eric Hodel)
08:04 PM Revision 570c028c (git): * lib/resolv.rb: fall back if canonicalization fails.
Thanks Vit Ondruch for the patch! [ruby-core:65836]
* test/resolv/test_dns.rb: test for patch
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
06:49 PM Bug #10526: [DOC] Revise documentation in object.c
Adding a patch based on the latest trunk, replacing the originally submitted one. stomar (Marcus Stollsteimer)
05:51 PM Feature #10481: Add "if" and "unless" clauses to rescue statements
Nobuyoshi Nakada wrote:
> With your patch, the condition is checked *after* matching against the exception classes, not a part of the matching, right?
> ...
They're checked after checking for a match against the exception classes, so t...
javawizard (Alex Boyd)
05:23 PM Feature #10481: Add "if" and "unless" clauses to rescue statements
Intersting.
With your patch, the condition is checked *after* matching against the exception classes, not a part of the matching, right?
Which behavior is preferred?
nobu (Nobuyoshi Nakada)
05:34 PM Feature #10444: [PATCH 3/3] Vector#[] returns new vector if argument is range.
@Marc-Andre Lafortune
OK, it does make sense. Thank you for your time.
gogotanaka (Kazuki Tanaka)
02:19 PM Feature #10444 (Rejected): [PATCH 3/3] Vector#[] returns new vector if argument is range.
gogo tanaka wrote:
> But I think there is no reason `Vector[1,2,3][0..1]` returns not `Vector` but `Array`.
I agree completely, and don't I think it was intended. The doc states "Returns element number +i+" too.
marcandre (Marc-Andre Lafortune)
04:11 PM Revision 8eb0c810 (git): get rid of inadvertent ID creation
* object.c (rb_mod_const_get, rb_mod_const_defined): ditto.
* variable.c (rb_const_missing, rb_mod_const_missing): call
const_missing without new ID to get rid of inadvertent ID
creation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
03:58 PM Revision df06c284 (git): * 2014-11-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:58 PM Revision 4ecdc8f5 (git): common.mk: use PWD with nmake
* common.mk (ext/ripper/ripper.c): move MAKEDIR to Makefile.sub.
* win32/Makefile.sub (PWD): set to $(MAKEDIR), nmake built-in macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:40 PM Feature #10523 (Rejected): Suggestion for new Array.delete_to method
I prefer Array#partition for its immutability.
Matz.
matz (Yukihiro Matsumoto)
03:37 PM Bug #10046: OpenSSL::TestSSLSession#test_ctx_server_session_cb and OpenSSL::TestSSLSession#test_ctx_client_session_cb test failures
Sorry, it fixes just one of the two issues :/ vo.x (Vit Ondruch)
03:16 PM Bug #10046: OpenSSL::TestSSLSession#test_ctx_server_session_cb and OpenSSL::TestSSLSession#test_ctx_client_session_cb test failures
This patch is fixing the issue for me. vo.x (Vit Ondruch)
02:32 PM Bug #10534: Enumerator methods other than "next" do not always respect "peek"
`next` and `peek` indeed live in their little world described as "external enumeration" in the documentation.
The documentation of `next` and `next_values` states:
* Note that +next_values+ does not affect other non-external enume...
marcandre (Marc-Andre Lafortune)
11:38 AM Bug #10534 (Rejected): Enumerator methods other than "next" do not always respect "peek"
It seems like using "peek" and then calling other methods on the Enumerator consumes the value that was peeked at. While `next` correctly returns the peeked-at value the next time it is called, other Enumerator methods such as `to_a` and... jnicklas (Jonas Nicklas)
10:34 AM Revision 31f9c8c0 (git): * common.mk (ext/ripper/ripper.c): revert about srcdir and top_srcdir.
* common.mk (ext/ripper/ripper.c): use $(PWD) for Unix,
$(MAKEDIR) for Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
10:00 AM Revision 78fad837 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
09:12 AM Revision 2aaba598 (git): * tool/update-deps: Refactored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:27 AM Revision 539b39af (git): * win32/Makefile.sub (top_srcdir): added because lacking this macro causes
build error at r48526.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:04 AM Revision 6ca202fc (git): Update dependency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:04 AM Revision 1199bae1 (git): Forgot to commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:04 AM Revision 8d7f9b0e (git): * tool/update-deps (in_makefile): Use FILES_NEED_VPATH and
FILES_CONFUSING.
* ext/objspace/extconf.rb: Add VPATH for id.h
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:10 AM Revision 72de767e (git): common.mk: fix dependencies
* common.mk (ext/ripper/ripper.c): fix dependencies for the case
to make ripper.y and id.h under the build directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

11/20/2014

11:45 PM Revision c2bd5491 (git): * common.mk (ext/ripper/ripper.c): id.h in VPATH may exist in the build
directory.
* common.mk (ext/ripper/ripper.c): $(RM) was not defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:28 PM Feature #10532: [PATCH] accept_nonblock supports "exception: false"
normalperson@yhbt.net wrote:
> I also intend to support this in the "openssl" extension as well as

accept_nonblock for openssl:
http://80x24.org/spew/m/f453956f3b04d2445e54d3141cc564a2529ce0f7.txt

Also pushed to the "more_nonblo...
normalperson (Eric Wong)
07:48 PM Feature #10532 (Closed): [PATCH] accept_nonblock supports "exception: false"
This is analogous to functionality found in IO#read_nonblock and
IO#wait_nonblock. Raising exceptions for common failures on
non-blocking servers is expensive and makes $DEBUG too noisy.
This also increases performance slightly, se...
normalperson (Eric Wong)
06:54 PM Feature #10444: [PATCH 3/3] Vector#[] returns new vector if argument is range.
@Marc-Andre Lafortune
Thank for reply.
OK, I got your point. Actually I'm not sure anyone want to do this.
But I think there is no reason `Vector[1,2,3][0..1]` returns not `Vector` but `Array`.
thanks.
gogotanaka (Kazuki Tanaka)
06:52 PM Feature #10481: Add "if" and "unless" clauses to rescue statements
Robert Klemme wrote:
> Do you have an idea of the runtime performance impact? I mean, a type check (as done today) is fast and effort cannot change. But with your proposal arbitrary code can be executed as part of the test. If you do...
javawizard (Alex Boyd)
03:09 PM Feature #10481: Add "if" and "unless" clauses to rescue statements
Alex Boyd wrote:
> I'd like to propose a syntax change: allow boolean "if" and "unless" clauses to follow a rescue statement.
> ...
Do you have an idea of the runtime performance impact? I mean, a type check (as done today) is fast ...
rklemme (Robert Klemme)
12:30 PM Feature #10481: Add "if" and "unless" clauses to rescue statements
A second patch, to fix an uninitialized variable I noticed just after I'd uploaded the first. javawizard (Alex Boyd)
12:23 PM Feature #10481: Add "if" and "unless" clauses to rescue statements
A patch.
I've only tested the Ripper bits cursorily, so I could very well have missed something - feedback in that particular direction would be appreciated.
I'm also not sold on the format of NODE_RESCOND in node.c, but I can't th...
javawizard (Alex Boyd)
06:47 PM Feature #10445: [PATCH 3/3] Extend Matrix#[]
@Marc-Andre Lafortune
Thank you for reply.

OK, the answer is when we expect `Matrix` to behave something like `Array`, I mean..
```ruby
[1,2,3,4][1..2]
#=> [2,3]
Matrix[[1,2,3],[4,5,6],[7,8,9]][0..1, 0..1]
#=> Matrix[[1,2...
gogotanaka (Kazuki Tanaka)
05:20 PM Feature #10528: Allow line breaks instead of commas in arrays, hashes, argument lists, etc.
I forgot to mention other usual cases when lines should be implicitly continued: after a dot, after an operator symbol, etc. alexeymuranov (Alexey Muranov)
11:14 AM Feature #10528 (Open): Allow line breaks instead of commas in arrays, hashes, argument lists, etc.
Since the seemingly reasonable proposal #8956 has been rejected because it "diverged so far from the original", i will dare to propose another version here.
I suggest to automatically convert line breaks inside parentheses `(...)`, in...
alexeymuranov (Alexey Muranov)
03:39 PM Revision c1bad604 (git): * ext/openssl/lib/openssl/x509.rb
(OpenSSL::X509::Name::RFC2253DN::StringChar): get rid of a false
positive assertion in ripper's test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:36 PM Revision a23e9c7f (git): * ChangeLog: missed at r48518.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:35 PM Revision 518ef569 (git): * ChangeLog: missed at r48516.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:29 PM Revision 9bbfca81 (git): * lib/net/imap.rb (Net::IMAP::ResponseParser::BEG_REGEXP): no need to use embbed
string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:19 PM Revision 947de1ce (git): * 2014-11-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:19 PM Revision 0a71befc (git): * lib/uri/mailto.rb (URI::MailTo::EMAIL_REGEXP): should escape `#`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:27 PM Revision 0dc240e7 (git): Fix a variable name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:18 PM Revision 1b2109f6 (git): * tool/update-deps: Insert all dependencies found by compiler.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:45 PM Revision cc7ad0f6 (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:15 AM Feature #8956: Allow hash members delimited by \n inside of {}
I have proposed another version: #10528. alexeymuranov (Alexey Muranov)
08:19 AM Bug #10300: Encoding error in conversion from UTF-16LE to UTF-8 to CP850
Nobuyoshi Nakada wrote:
> Or from `FormatMessage`?
> ...
Thanks that solved the issue!
ggrossetie (Guillaume GROSSETIE)
08:04 AM Revision 37d0c509 (git): * test/psych/json/test_stream.rb (Psych::JSON::TestStream::test_list_to_json):
escape `]`.
* test/psych/test_json_tree.rb (Psych::JSON::TestJSONTree#test_list_to_json):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:56 AM Revision 9d38d655 (git): * test/ripper/test_files.rb: set filename.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
06:52 AM Revision 219e4fcb (git): * ext/nkf/depend (nkf.o): add nkf.c as dependency.
bsdmake tries to make nkf.o with nkf-utf8/nkf.c without this.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)

11/19/2014

11:57 PM Revision 1bfee277 (git): test_vector.rb: fix exception class
* test/matrix/test_vector.rb (test_independent): fix exception
class path, Vector does not have its own TypeError. [#10451]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:54 PM Revision 6f4e3f05 (git): parse.y: shrink parser_params
* parse.y (struct parser_params): reduce size by reordering
members and an unused member.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:31 PM Bug #10526 (Closed): [DOC] Revise documentation in object.c
* #inspect: be more specific about generated string, remove obsolete example
* #nil?: use code examples instead of different call-seq's
* #tap: clarify what is yielded
* Integer(): be more specific about to_int and to_i, remove refere...
stomar (Marcus Stollsteimer)
09:28 PM Bug #10460: Segfault instead of stack level too deep
arne@arnebrasseur.net wrote:
> Mutant will often generate "broken" code, that's how it works, so
> endless recursion could be the result. It needs to be able to detect
> somehow that things go wrong. A segfault is actually not the bi...
normalperson (Eric Wong)
09:13 PM Bug #10460: Segfault instead of stack level too deep
That makes sense, I agree with your point. Having a nicer error message on broken code isn't a big deal.
There is an actual use case beyond "a nicer error message" though.
Me and others make heavy use of mutation testing with Mutan...
plexus (Arne Brasseur)
07:58 AM Bug #10460: Segfault instead of stack level too deep
arne@arnebrasseur.net wrote:
> Was it rude to set this as "Priority: High"? A random segfault seems
> important but it also seems very few tickets are actually marked as
> high priority.

I don't think it is rude to set "Priority: ...
normalperson (Eric Wong)
06:11 PM Bug #10437 (Closed): ruby -c and ripper inconsistency: /*/
Applied in changeset r48507.
----------
ChangeLog: add issue ref
* ChangeLog: r48504 fixed [ruby-dev:48714] [Bug #10437]
nobu (Nobuyoshi Nakada)
06:11 PM Revision 4cb3f72f (git): ChangeLog: add issue ref
* ChangeLog: r48504 fixed [ruby-dev:48714] [Bug #10437]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:57 PM Feature #10444 (Feedback): [PATCH 3/3] Vector#[] returns new vector if argument is range.
I feel the idea is similar to #10445 (although not as dubious)
I'm curious as to when one would want to do this and actually get a Vector.
marcandre (Marc-Andre Lafortune)
05:54 PM Feature #10445 (Feedback): [PATCH 3/3] Extend Matrix#[]
I understand the idea, but I'm not convinced.
Currently, [] is a simple access to the elements of a matrix. This proposal makes it more complex and changes completely the type of return depending on the arguments. The main question is...
marcandre (Marc-Andre Lafortune)
05:48 PM Feature #10451 (Closed): [PATCH 3/3] Implement Vector.independent? and Vector#independent?
Great patch, thanks! marcandre (Marc-Andre Lafortune)
05:44 PM Revision 387e0dbe (git): * lib/matrix.rb: Vector#independent? and associated class method
patch by gogo tanaka [#10451]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
05:34 PM Feature #10442 (Closed): Helper methods to Vector class
Thanks for the revised patch!
I've committed it almost as is (I changed the constant in the doc for Math::PI / 2) and made a slight optimization
marcandre (Marc-Andre Lafortune)
05:32 PM Revision 4da89e19 (git): * lib/matrix.rb: Add Vector#angle_with
Patch by Egunov Dmitriy [#10442]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
05:10 PM Revision 098127dc (git): parse.y: regexp error in ripper
* parse.y (ripper_flush_string_content, parser_parse_string):
preserve parsed string content.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:09 PM Revision 3cdbc18f (git): parse.y: ripper_new_yylval
* parse.y (ripper_new_yylval): abstract function to create ripper
wrapper, and make it able to hold another object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:01 PM Revision a80d5462 (git): parse.y: predefined ID
* parse.y (reg_named_capture_assign_gen): use predefined ID
instead of rb_intern.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:57 PM Revision fdc41af7 (git): * internal.h (ruby_init_setproctitle): Declare here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:26 PM Revision 595ce95d (git): parse.y: append directly to delayed content
* parse.y (parser_here_document): append byte sequence directly to
the delayed content instead of creating an intermediate string
object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:19 PM Revision 3a2d2af0 (git): common.mk: fix build error
* common.mk (ext/ripper/ripper.c): VPATH is always ../.. from
ext/ripper.
* ext/ripper/depend (.y.c): VPATH is not needed for an
intermediate file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48499 b2dd03c8-39d4-4d8f-98ff-823...
nobu (Nobuyoshi Nakada)
03:06 PM Revision 5a7b14b5 (git): * 2014-11-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:06 PM Revision 4daa0fce (git): common.mk: ims=nil option
* common.mk (update-gems): use ims=nil option.
* tool/downloader.rb (Downloader.download): show the message if no
need to download in verbose mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48497 b2dd03c8-39d4-4d8f-98ff-823fe...
nobu (Nobuyoshi Nakada)
02:42 PM Bug #10525 (Rejected): SegFault with mysql2 gem
You use the extension for 2.0.0 from 2.1.
You have to install mysql2 for 2.1
nobu (Nobuyoshi Nakada)
04:02 AM Bug #10525 (Rejected): SegFault with mysql2 gem
I received this segfault when executing the command
`bundle exec rake db:migrate`
tadlambjr (Tad Lamb)
12:12 PM Revision a77e25ec (git): * common.mk (ext/json/parser/parser.c): don't touch parse.c,
ruby repo is a downstream.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
11:38 AM Revision 85c464c5 (git): * common.mk (ext/ripper/ripper.c): use $(PWD) to get
<build-directory>/ext/ripper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:15 AM Revision 501656c4 (git): * tool/downloader.rb (RubyGems.download): Don't download gem if the
version is already downloaded. A gem file is versioned and
it must be identical if the version is the same.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:00 AM Revision 926b9e05 (git): * common.mk (ext/ripper/ripper.c): pass build directory as VPATH.
* ext/ripper/depend (.y.c): use VPATH for y.tab.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:55 AM Revision a494ed41 (git): Add comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:52 AM Bug #10524 (Closed): %I segfaults with --dump=parsetree
[ruby-core: 66343]では最適化のバグとして報告されていますが、
`--dump=parsetree` オプションを使うとSEGVするので、
r48484をバックポートしてください。
nobu (Nobuyoshi Nakada)
01:20 AM Bug #10509: [PATCH] vm_eval.c (rb_yield_splat): add missing GC guard
Backported r48417 into `ruby_2_0_0` at r48491. usa (Usaku NAKAMURA)
01:20 AM Revision 3827ce9d (git): merge revision(s) 48417: [Backport #10509]
* vm_eval.c (rb_yield_splat): add missing GC guard
[Bug #10509]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@48491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:08 AM Revision 16ba3604 (git): prelude.c.tmpl: strip prefix
* template/prelude.c.tmpl (Prelude#translate): strip VPATH prefix
from prelude names, so that srcdir diffrences do not make the
generated code diffrent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48490 b2dd03c8-39d4-4d8f-98ff...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom