Project

General

Profile

Activity

From 10/24/2014 to 10/30/2014

10/30/2014

11:44 PM Bug #10461: lib/unicode_normalize/tables.rb not regenerated
The problem still is still there if I do make up; make install(-nodoc) duerst (Martin Dürst)
11:40 PM Bug #10461 (Closed): lib/unicode_normalize/tables.rb not regenerated
The file lib/unicode_normalize/tables.rb doesn't get regenerated if removed.
How to reproduce:
Remove lib/unicode_n...
duerst (Martin Dürst)
09:21 PM Feature #10442: Helper methods to Vector class
More tests Clamoris (Egunov Dmitriy)
08:49 PM Feature #10378: [PATCH 0/3] It's better (1 + 0i).real? return true
@Takeshi Nishimatsu san
Thank for info, how do you think about my points?
gogotanaka (Kazuki Tanaka)
02:58 PM Revision 708eed20 (git): common.mk: separate updates
* common.mk (UPDATE_LIBRARIES): separate autogenerated library
script from downloaded data files.
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
01:17 PM Bug #10460 (Closed): Segfault instead of stack level too deep
The code to trigger this can be found here: https://gist.github.com/mbj/31163a8e712573877268
Also have a look at t...
plexus (Arne Brasseur)
11:12 AM Feature #10459 (Rejected): [PATCH] rfc3339 method for Time
Alias for iso8601 method for compatibility with DateTime (Ruby on Rails). Antiarchitect (Andrey Voronkov)
09:48 AM Revision 7c1480ec (git): * common.mk: fix for the case ALWAYS_UPDATE_UNICODE=no
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:56 AM Bug #10450: multiple assignment in conditional
Which of the multiple values assigned would you have used as the test for the conditional?
~~~
if (a, b = true, f...
jballanc (Joshua Ballanco)
08:30 AM Bug #10458 (Closed): After r48196, make cannot complete because of Unicode file download problem
When I did
make up; make install-nodoc
after r48196, make finished with the messages below. This was after the t...
duerst (Martin Dürst)
07:39 AM Revision 39713bd9 (git): common.mk: separate Unicode files directory
* common.mk: download Unicode files into separate directory for the
version.
* tool/downloader.rb (Downloader::Uni...
nobu (Nobuyoshi Nakada)
06:33 AM Revision 40cc9231 (git): tkutil.c: remove useless branches
* ext/tk/tkutil/tkutil.c (cbsubst_table_setup): remove useless
branches and get rid of out of bound access.
git-sv...
nobu (Nobuyoshi Nakada)
06:04 AM Bug #10457 (Closed): Proc instead of String as error message still doesn't work (gem problem?)
Proc instead of String as error message still doesn't work for me (see #10430).
The relevant gem has been updated (s...
duerst (Martin Dürst)
05:02 AM Bug #10430 (Closed): Proc instead of String as error message doesn't work.
I close this issue because installing gem is another topic. kou (Kouhei Sutou)
04:30 AM Bug #10416: Create mechanism for updating of Unicode data files downstreams when we want
I committed r48194, switching the download location to http://www.unicode.org/Public/7.0.0/ucd/ (i.e. Unicode Version... duerst (Martin Dürst)
04:23 AM Revision bd38e0c4 (git): tool/downloader.rb: changed Unicode data download location
from latest Unicode version to Unicode 7.0.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48194 b2dd03c8-39d4-...
duerst (Martin Dürst)
02:16 AM Bug #9605 (Closed): Chaining "each_with_index.detect &lambda" raises ArgumentError
Applied in changeset r48193.
----------
vm_insnhelper.c: allow to_ary
* vm_insnhelper.c (vm_callee_setup_arg{_compl...
nobu (Nobuyoshi Nakada)
02:16 AM Revision e95e5247 (git): vm_insnhelper.c: allow to_ary
* vm_insnhelper.c (vm_callee_setup_arg{_complex,}): try conversion
by to_ary for a lambda, as well as a proc.
[ru...
nobu (Nobuyoshi Nakada)
12:47 AM Revision 44d2958e (git): ruby.h: optimize NUM2CHR
* include/ruby/ruby.h (rb_num2char_inline): use RB_TYPE_P for
optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org...
nobu (Nobuyoshi Nakada)
12:10 AM Bug #10456 (Rejected): kwargs and block without comma should probably be a syntax error
nobu (Nobuyoshi Nakada)
12:07 AM Bug #10454 (Closed): %i doesn't have any special behavior in rb_sprintf et al.
It's true, see `ruby__sfvextra()`. nobu (Nobuyoshi Nakada)

10/29/2014

11:06 PM Bug #10456: kwargs and block without comma should probably be a syntax error
In fact, if you run with warnings enabled, you see:
```
$ ruby -w -e "def wat(something: nil &block); end"
-e:1:...
Anonymous
11:01 PM Bug #10456: kwargs and block without comma should probably be a syntax error
```ruby
def wat(something: nil &block)
end
```
`nil &block` is a legal expression (calling the `&` method on `...
Anonymous
10:52 PM Bug #10456 (Rejected): kwargs and block without comma should probably be a syntax error
... bobbytables (Robert Ross)
10:17 PM Feature #10455: [PATCH 0/n] Combine interface for creating new matrix
For now, I'm gonna make `Matrix.row_vector(row)` and `Matrix.column_vector(column)` deprecated. gogotanaka (Kazuki Tanaka)
09:35 PM Feature #10455 (Third Party's Issue): [PATCH 0/n] Combine interface for creating new matrix
I believe we'd better reduce the number of interface for creating new matrix as much as possible.
Right now, we ha...
gogotanaka (Kazuki Tanaka)
09:56 PM Feature #10442: Helper methods to Vector class
@Egunov Dmitriy
I like this idea, and it looks fine for me.
It may too trivial things but I want more tests and...
gogotanaka (Kazuki Tanaka)
07:00 PM Feature #10442: Helper methods to Vector class
Thanks, Marc-Andre Lafortune.
Patch updated (in attach), please take a look.
Clamoris (Egunov Dmitriy)
12:51 AM Feature #10442: Helper methods to Vector class
Marc-Andre Lafortune wrote:
> Thanks for the feature request(s).
>
> I think `angle_between` could be useful. The...
marcandre (Marc-Andre Lafortune)
12:51 AM Feature #10442: Helper methods to Vector class
Thanks for the feature request(s).
I think `angle_between` could be useful. The patch needs work though:
* shou...
marcandre (Marc-Andre Lafortune)
08:56 PM Bug #10454 (Closed): %i doesn't have any special behavior in rb_sprintf et al.
README.EXT claims:
> In the format string, `%i` is used for `Object#to_s` (or `Object#inspect` if ‘+’ flag is set)...
silverhammermba (Max Anselm)
08:25 PM Bug #10453 (Rejected): NUM2CHR() does not perform additional bounds checks
`NUM2CHR()` just calls `rb_num2int_inline()` and masks off the high bytes. Consequently, passing any value larger tha... silverhammermba (Max Anselm)
07:25 PM Feature #10452 (Closed): Add documentation for Digest
* ext/digest/digest.c:
- remove HMAC from list of digest algorithms,
- add MD5 in list of digest algorithms,
...
sdaubert (Sylvain Daubert)
06:56 PM Feature #10451 (Closed): [PATCH 3/3] Implement Vector.independent? and Vector#independent?
Hi, Marc-André Lafortune.
I'm sorry for sending a bit lot of patches for the last few days.
This time, I've imp...
gogotanaka (Kazuki Tanaka)
03:19 PM Bug #10450 (Rejected): multiple assignment in conditional
multiple assignment is an expression whose value can be truthy (array) or falsy (nil, false), so why is there a restr... bughit (bug hit)
03:08 PM Bug #10449 (Closed): [TracePoint API] Duplicated line events when using parenthesis
Sometimes, when using parenthesis, I get duplicated lines events from the TracePoint API. See the failing test case, ... deivid (David Rodríguez)
03:01 PM Revision 19121b47 (git): * 2014-10-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:01 PM Revision 049bbd72 (git): parse.y: reset current_arg after block var
* parse.y (block_param_def): reset current_arg after block
parameter definition, not to warn references in that blo...
nobu (Nobuyoshi Nakada)
02:24 PM Revision 6fe9b2b7 (git): parse.y: warn iside a block
* parse.y (gettable_gen): also warn circular argument reference even
inside a block. [ruby-core:65990] [Bug #10314...
nobu (Nobuyoshi Nakada)
01:56 PM Feature #7793: New methods on Hash
Below is a summary of the different naming proposals so far in this thread, with links to the documentation for real-... Ajedi32 (Ajedi32 W)
01:23 PM Bug #10009: IO operation is 10x slower in multi-thread environment

Following script in python to buy blocking io python x ruby
Results:
ruby without changes TIME_QUANTUM_USEC (...
ariveira (Alexandre Riveira)
01:13 PM Bug #10009: IO operation is 10x slower in multi-thread environment
. ariveira (Alexandre Riveira)
12:13 PM Bug #10314 (Closed): Default argument lookup fails in Ruby 2.2 for circular shadowed variable names
Applied in changeset r48188.
----------
parse.y: warn circular argument reference
* parse.y (gettable_gen): warn ci...
nobu (Nobuyoshi Nakada)
10:46 AM Bug #10314 (Assigned): Default argument lookup fails in Ruby 2.2 for circular shadowed variable names
Maybe we need warning() strongly (without verbose).
ko1 (Koichi Sasada)
10:41 AM Bug #10314 (Rejected): Default argument lookup fails in Ruby 2.2 for circular shadowed variable names
In other part of Ruby, `foo = foo` makes foo to nil.
To get old behavior, try `foo = foo()`.
Matz.
matz (Yukihiro Matsumoto)
12:13 PM Revision 98ea6275 (git): parse.y: warn circular argument reference
* parse.y (gettable_gen): warn circular argument reference, for
transition from 2.1 and earlier. [ruby-core:65990]...
nobu (Nobuyoshi Nakada)
11:41 AM Revision d8270efc (git): parse.y: unused member
* parse.y (parser_params): remove unused member `cur_mid`.
this has been taken over by `in_def` since 1.6.
git-svn...
nobu (Nobuyoshi Nakada)
10:58 AM Bug #10447 (Closed): path name needs to be transcoded to OS path encoding.
バックポート用の備忘録です。
[ruby-list:49994] および r48186 を参照。
usa (Usaku NAKAMURA)
08:52 AM Feature #10098 (Assigned): [PATCH] Timing-safe string comparison for OpenSSL::HMAC
The latest patch seems satisfy nobu, doesn't it?
At last we need to get approved from Matz.
nagachika (Tomoyuki Chikanaga)
08:41 AM Misc #10446 (Closed): [PATCH] Quite little fix
I have to say sorry for such a little modification.
I've added only some periods.
I'm definitely not in a hurry. ...
gogotanaka (Kazuki Tanaka)
08:39 AM Bug #10239 (Assigned): Regexp.quote() and default encoding
I think this is intended behavior. nagachika (Tomoyuki Chikanaga)
08:30 AM Feature #10445 (Rejected): [PATCH 3/3] Extend Matrix#[]
I've made patches which Matrix#[] returns new vector if either arguments is range,
and returns new matrix, if both ...
gogotanaka (Kazuki Tanaka)
08:16 AM Feature #10444 (Rejected): [PATCH 3/3] Vector#[] returns new vector if argument is range.
Hi, it's incompatible change little bit.
Before
```
Vector[1,2,3][0..1]
=> [1, 2]
```
After
```
Vector[1...
gogotanaka (Kazuki Tanaka)
07:11 AM Feature #4938: Add Random.bytes [patch]
[email protected] wrote:
> File randombytes-ruby22.diff added

Looks good to me.
Any approval from matz ...
normalperson (Eric Wong)
05:38 AM Feature #4938: Add Random.bytes [patch]
I revised patch for Ruby 2.2. hsbt (Hiroshi SHIBATA)
03:13 AM Feature #4938: Add Random.bytes [patch]
I think there is no problems. nobu (Nobuyoshi Nakada)
02:59 AM Feature #4938: Add Random.bytes [patch]
Hi Nobu,
is there a reason not to commit this?
marcandre (Marc-Andre Lafortune)
05:58 AM Feature #10074: [PATCH] generalize Vector#cross_product
@Marc-Andre Lafortune
I'm really appreciate your help.
And your changes totally makes sense.
Thanks.
gogotanaka (Kazuki Tanaka)
02:53 AM Feature #10074 (Closed): [PATCH] generalize Vector#cross_product
marcandre (Marc-Andre Lafortune)
02:52 AM Feature #10074: [PATCH] generalize Vector#cross_product
I committed this change, with a couple of changes.
In particular, the sign was wrong for even dimensions. I change...
marcandre (Marc-Andre Lafortune)
05:44 AM Revision ef276e95 (git): load.c: transcode path
* load.c (rb_f_load): path name needs to be transcoded to OS path
encoding. [ruby-list:49994]
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
05:44 AM Revision 5de3e7e2 (git): test_require.rb: rename
* test/ruby/test_require.rb (test_load_scope): rename and add
failure message.
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
05:15 AM Bug #10430: Proc instead of String as error message doesn't work.
Kouhei Sutou wrote:
> I've released new test-unit gem. It support Proc as user_message.
>
> Should I update versi...
duerst (Martin Dürst)
03:15 AM Bug #10438: miniruby hangs on Mac 10.8.5 during build of ruby 2.1.4
Adding --with-setjmp-type=_setjmp to configure fixed my problem. I can compile, install, and make check passes as we... pedz (Perry Smith)
02:58 AM Bug #10438: miniruby hangs on Mac 10.8.5 during build of ruby 2.1.4
--gcc= and --cc= options to configure result in an error.
I did export CC=.... before the configure and that took ...
pedz (Perry Smith)
02:48 AM Bug #10438 (Closed): miniruby hangs on Mac 10.8.5 during build of ruby 2.1.4
Applied in changeset r48184.
----------
configure.in: fix for old Apple compilers
* configure.in (__builtin_setjmp)...
nobu (Nobuyoshi Nakada)
03:02 AM Feature #10354: Optimize Integer#prime?
Dear Yugui,
Do you have an objection that I commit my fixes (which are really bug fixes) while you decide if you w...
marcandre (Marc-Andre Lafortune)
02:55 AM Feature #10058 (Closed): [PATCH] Fix some coding styles
marcandre (Marc-Andre Lafortune)
02:54 AM Feature #10352 (Closed): Give alias Vector#inner_product and Vector#cross_product
marcandre (Marc-Andre Lafortune)
02:54 AM Feature #10056 (Closed): [PATCH 0/1]Add #adjugate method to matrix class
Committed, thanks for this request! marcandre (Marc-Andre Lafortune)
02:48 AM Bug #10272 (Closed): miniruby hangs on Mac OS X 10.7
Applied in changeset r48184.
----------
configure.in: fix for old Apple compilers
* configure.in (__builtin_setjmp)...
nobu (Nobuyoshi Nakada)
02:48 AM Revision 6c6d4da2 (git): configure.in: fix for old Apple compilers
* configure.in (__builtin_setjmp): disable with gcc/clang earlier
than 4.3 on Mac OS X. [ruby-core:65174] [Bug #10...
nobu (Nobuyoshi Nakada)
02:43 AM Revision aa87ea99 (git): * lib/matrix.rb: Generalize Vector#cross_product to arbitrary dimensions
based on a patch by gogo tanaka [#10074]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48183 b2dd03c8-39d4-4d8f-...
Marc-Andre Lafortune
02:43 AM Revision 764524f6 (git): * lib/matrix.rb: Add Matrix#adjucate
patch by gogo tanaka [#10056]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48182 b2dd03c8-39d4-4d8f-98ff-823fe6...
Marc-Andre Lafortune
02:42 AM Revision dc38c877 (git): * lib/matrix.rb: Add aliases for Vector#cross & dot
patch by gogo tanaka [#10352]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48181 b2dd03c8-39d4-4d8f-98ff-823fe6...
Marc-Andre Lafortune
01:04 AM Feature #10440: Optimize keyword and splat argument
Koichi, you haven't described incompatibility. Does that mean no behavior change?
If so, go ahead and make it fast. ...
matz (Yukihiro Matsumoto)
01:00 AM Revision 9419ecc6 (git): * gems/bundled_gems: Update latest version of bundled gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:49 AM Feature #10378: [PATCH 0/3] It's better (1 + 0i).real? return true
FYI, on Julia:
```
julia> VERSION
v"0.3.1"
julia> Complex(1.0,-0.0)
1.0 - 0.0im
julia> 1.0-0.0im
1.0 - 0...
t-nissie (Takeshi Nishimatsu)

10/28/2014

11:31 PM Feature #10440: Optimize keyword and splat argument
Cool.
My only concern is making call_info and iseq structs bigger.

I think most of the iseq->arg_keyword_* field...
normalperson (Eric Wong)
09:39 AM Feature #10440: Optimize keyword and splat argument
I support fastpath for yield.
I updated benchmark (show in below) includes yield().
```
# trunk
...
ko1 (Koichi Sasada)
06:19 AM Feature #10440 (Closed): Optimize keyword and splat argument
# Abstract
Change data structure of call_info and rewrite all of method argument fitting code to optimize keyword ...
ko1 (Koichi Sasada)
10:25 PM Bug #10430: Proc instead of String as error message doesn't work.
Kouhei Sutou wrote:
> I've released new test-unit gem. It support Proc as user_message.
Great, thanks!
> Shoul...
duerst (Martin Dürst)
02:57 PM Bug #10430: Proc instead of String as error message doesn't work.
I've released new test-unit gem. It support Proc as user_message.
Should I update version in gems/bundled_gems?
kou (Kouhei Sutou)
09:24 AM Bug #10430 (Open): Proc instead of String as error message doesn't work.
duerst (Martin Dürst)
06:10 AM Bug #10430: Proc instead of String as error message doesn't work.
Nobuyoshi Nakada wrote:
> Because the discussion about standard test libraries has not landed yet.
> Sutou-san said...
duerst (Martin Dürst)
05:00 AM Bug #10430: Proc instead of String as error message doesn't work.
Because the discussion about standard test libraries has not landed yet.
Sutou-san said he will fix so that user_mes...
nobu (Nobuyoshi Nakada)
02:07 AM Bug #10430: Proc instead of String as error message doesn't work.
Nobuyoshi Nakada wrote:
> Martin Dürst wrote:
> > Third, test-all is very good to have, but it's too slow when I kn...
duerst (Martin Dürst)
09:52 PM Bug #10443: Forking with contended mutex held can lead to deadlock in child process upon unlock
For now, I think leaking some lock/cond resources at fork is the easiest
option. Leaking is better than deadlocking...
normalperson (Eric Wong)
08:32 PM Bug #10443: Forking with contended mutex held can lead to deadlock in child process upon unlock
Thanks for the test case, I can reproduce it easily.
Hopefully I can fix it soon.
normalperson (Eric Wong)
07:03 PM Bug #10443: Forking with contended mutex held can lead to deadlock in child process upon unlock
The original test case was not actually minimal (there's no need to attempt to re-acquire the lock in the forked chil... benweint (Ben Weintraub)
03:42 PM Bug #10443 (Closed): Forking with contended mutex held can lead to deadlock in child process upon unlock
If a Ruby thread calls `Process.fork` while holding a Mutex (for example, within a `Mutex#synchronize` block) that is... benweint (Ben Weintraub)
08:55 PM Bug #10438: miniruby hangs on Mac 10.8.5 during build of ruby 2.1.4
Thank you.
Possibly, it depends on the versions of based GCC?
Worked fine on 10.7 (11.4.2) with MacPorts gcc 4.7....
nobu (Nobuyoshi Nakada)
03:35 PM Bug #10438: miniruby hangs on Mac 10.8.5 during build of ruby 2.1.4
I met same problem with clang compiler on OS X 10.7.
It looks configure script detects wrong RUBY_SETJMP() and RUB...
kimuraw (Wataru Kimura)
01:33 PM Bug #10438 (Feedback): miniruby hangs on Mac 10.8.5 during build of ruby 2.1.4
nagachika (Tomoyuki Chikanaga)
01:32 PM Bug #10438 (Closed): miniruby hangs on Mac 10.8.5 during build of ruby 2.1.4
Applied in changeset ruby-21:r48177.
----------
merge revision(s) r48174: [Backport #10438]
* configure.in: remove...
nagachika (Tomoyuki Chikanaga)
01:29 PM Bug #10438: miniruby hangs on Mac 10.8.5 during build of ruby 2.1.4
Hello, Perry.
Thank you for your report.
This could be related with homebrew apple-gcc42 thing.
Please try confi...
nagachika (Tomoyuki Chikanaga)
02:55 AM Bug #10438 (Closed): miniruby hangs on Mac 10.8.5 during build of ruby 2.1.4
I am trying to make ruby 2.1.4 on a Mac 10.8.5 and the call to miniruby to update rbconfig.rb hangs.
When I attach...
pedz (Perry Smith)
06:40 PM Revision 1bff9edf (git): * 2014-10-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:40 PM Feature #9345 (Closed): [PATCH] signal.c: avoid repeated disable/enable interrupt
Applied in changeset r48178.
----------
signal.c: avoid repeated disable/enable interrupt
We only install system-le...
Anonymous
06:39 PM Revision cbb79f04 (git): signal.c: avoid repeated disable/enable interrupt
We only install system-level signal handlers during init (before any
threads or user code is running), so there's no ...
Eric Wong
04:22 PM Feature #10378: [PATCH 0/3] It's better (1 + 0i).real? return true
@Takeshi Nishimatsu san
Thank you for your comments and sharing good article.
From this article, your point-out m...
gogotanaka (Kazuki Tanaka)
08:39 AM Feature #10378: [PATCH 0/3] It's better (1 + 0i).real? return true
Objection.
Especially for Float, Complex(1.0,0.0) and Complex(1.0,-0.0) have meanings:
sqrt[-x+i(+0)]=i*sqrt(x)
...
t-nissie (Takeshi Nishimatsu)
02:07 PM Feature #10442 (Closed): Helper methods to Vector class
Vector class missed some very helpful methods like angle between another vector and vector projection.
Patch attac...
Clamoris (Egunov Dmitriy)
02:01 PM Bug #10441 (Rejected): Wrong required argument count reported for **kwargs method ArgumentErrors
When collecting excess keyword arguments, Ruby's ArgumentError message doesn't count the `**kwargs` as possible argum... jxf (John Feminella)
01:32 PM Revision f14cc4d3 (git): merge revision(s) r48174: [Backport #10438]
* configure.in: remove apple-gcc4.2 from CC candidates.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2...
nagachika (Tomoyuki Chikanaga)
01:20 PM Revision 4ca19ae4 (git): * version.h (RUBY_VERSION): bump RUBY_VERSION to 2.1.5.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@48176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
10:27 AM Feature #10391: Provide %eISO-8859-1'string \xAA literal' string literals with explicit encoding
It is useful when string literals are frozen.
So I think this feature is good to have.
The syntax is a problem, tho...
akr (Akira Tanaka)
08:33 AM Feature #8848: Syntax for binary strings
Eric Wong wrote:
> We can even go farther than #10423 and move the evaluation of
> "string literal".{b,encode,f...
duerst (Martin Dürst)
08:29 AM Feature #9816: 文字列内の数字を数値として比較するメソッド
Akira Tanaka wrote:
> やはり仕様をちゃんと書くというところに向き合うべきではないのかなぁ、
> と思います。
いや、仕様はそれなりに書いてあるぽいですね。読み方が甘かったです。
akr (Akira Tanaka)
08:20 AM Feature #9816: 文字列内の数字を数値として比較するメソッド
Gem::Version と同じっていうのは本当なんですかね。
とりあえず追記されたという部分の例を Gem::Version でやってみると
結果が一致しないんですが。
```
% ruby -e 'p Gem::V...
akr (Akira Tanaka)
07:59 AM Feature #9816: 文字列内の数字を数値として比較するメソッド
こんな感じで追記してみました
~~~
+ * call-seq:
+ * str.versioncmp(other_str) -> -1, 0, +1 or nil
+ *
+ * Compare str...
naruse (Yui NARUSE)
07:22 AM Bug #10435 (Closed): ruby -c file can run.
Applied in changeset r48175.
----------
ruby.c: no -r when dump
* ruby.c (process_options, load_file_internal2): sh...
nobu (Nobuyoshi Nakada)
01:19 AM Bug #10435 (Closed): ruby -c file can run.
ruby -c file としたときに、実行が起きてしまうことがあるようです。
```
% cat z.rb
#! /usr/bin/env ruby -r./z
p :run
% ruby -vc z.rb
ru...
akr (Akira Tanaka)
07:22 AM Revision 4079a354 (git): ruby.c: no -r when dump
* ruby.c (process_options, load_file_internal2): should not
require other files when dump option is given.
[ruby-...
nobu (Nobuyoshi Nakada)
05:52 AM Revision c98b8d62 (git): * configure.in: remove apple-gcc4.2 from CC candidates.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:43 AM Revision ac96c3f6 (git): * version.h: forgotten to bump patchlevel.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@48173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
04:38 AM Revision 7c30cdc5 (git): * 2014-10-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@48172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:38 AM Revision cc9b047c (git): * test/rexml/test_document.rb: fix typo (patch mistake).
reported and patched by Jeremy Evans at [Bug #10439]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_...
U.Nakamura
03:30 AM Bug #10416: Create mechanism for updating of Unicode data files downstreams when we want
Yui NARUSE wrote:
> For years, file structures of Unicode Data was changed some times.
> Therefore there's no guarant...
duerst (Martin Dürst)
02:53 AM Revision 4da322ed (git): * 2014-10-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:53 AM Revision b5524d9f (git): eventids2.c: reduce size
* ext/ripper/eventids2.c (token_assoc): reduce size. unsigned
short can hold 65535 at least.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
02:38 AM Bug #10437 (Closed): ruby -c and ripper inconsistency: /*/
/*/ という、間違った regexp リテラルは
ruby -c ではちゃんとエラーになるのですが、
Ripper.sexp ではエラーになりません。
```
% cat z.rb
/*/
% ruby -c z.r...
akr (Akira Tanaka)
01:24 AM Bug #10436 (Closed): ruby -c and ripper inconsistency: m(&nil) {}
m(&nil) {} というまちがったコードは
ruby -c でちゃんとエラーになるのに、
Ripper.sexp ではならないようです。
```
% cat z.rb
m(&nil) {}
% ruby -c z...
akr (Akira Tanaka)

10/27/2014

06:43 PM Feature #8848: Syntax for binary strings
[email protected] wrote:
> One reason for this efficiency. String#b creates a duplicate object,
> which is no...
normalperson (Eric Wong)
01:33 PM Bug #10430 (Closed): Proc instead of String as error message doesn't work.
Martin Dürst wrote:
> Third, test-all is very good to have, but it's too slow when I know which tests I need to run....
nobu (Nobuyoshi Nakada)
09:03 AM Bug #10430 (Assigned): Proc instead of String as error message doesn't work.
Nobuyoshi Nakada wrote:
> `test-all` should use libraries under `test/lib`, not the gems.
First, I haven't used t...
duerst (Martin Dürst)
07:19 AM Bug #10430 (Feedback): Proc instead of String as error message doesn't work.
`test-all` should use libraries under `test/lib`, not the gems.
Do you set RUBYOPT?
nobu (Nobuyoshi Nakada)
06:18 AM Bug #10430: Proc instead of String as error message doesn't work.
Nobuyoshi Nakada wrote:
> It worked for me.
> Seems a different library is used?
This is one possibility. But ...
duerst (Martin Dürst)
04:00 AM Bug #10430: Proc instead of String as error message doesn't work.
It worked for me.
~~~
[29/47] TestNormalize#test_normalize_to_NFKC_from_NFC_with_nfkc = 0.01 s
1) Fai...
nobu (Nobuyoshi Nakada)
01:05 AM Bug #10430 (Closed): Proc instead of String as error message doesn't work.
Revision r48113 introduced Procs to delay time-consuming generation of error messages. This is a good idea, but it do... duerst (Martin Dürst)
01:05 PM Bug #10416: Create mechanism for updating of Unicode data files downstreams when we want
For years, file structures of Unicode Data was changed some times.
Therefore there's no guarantee that Unicode 12 ca...
naruse (Yui NARUSE)
01:04 PM Revision d3dc6735 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:08 PM Bug #10434 (Closed): fix TestBugReporter#test_bug_reporter_add failure on Yosemite (fixed at r46397)
バックポート管理用のチケットです。
Yosemite で DignosticReport ディレクトリに .plist ファイルを作らなくなったことに対応するテストの修正です。
nagachika (Tomoyuki Chikanaga)
11:24 AM Revision 10f820b1 (git): merge revision(s) 48161:
* lib/rexml/entity.rb: keep the entity size within the limitation.
reported by Willis Vandevanter <will@sil...
U.Nakamura
11:23 AM Revision d86ba46a (git): merge revision(s) r48161:
* lib/rexml/entity.rb: keep the entity size within the limitation.
reported by Willis Vandevanter <will@sil...
nagachika (Tomoyuki Chikanaga)
11:22 AM Revision 61ff012d (git): merge revision(s) 48161:
* lib/rexml/entity.rb: keep the entity size within the limitation.
reported by Willis Vandevanter <will@sil...
U.Nakamura
11:18 AM Revision 9cdd297a (git): * lib/rexml/entity.rb: keep the entity size within the limitation.
reported by Willis Vandevanter <[email protected]> and
patched by nahi.
git-svn-id: svn+ssh://ci.ruby-lang.or...
U.Nakamura
08:57 AM Bug #10433 (Closed): make test-all stops at [ 401/16011] FTPTest#test_list_read_timeout-exceeded
When I execute
make test-all
it stops at
[ 401/16011] FTPTest#test_list_read_timeout-exceeded
for at least...
duerst (Martin Dürst)
08:17 AM Bug #10432 (Closed): wrong receiver of Binding from Method
Applied in changeset r48160.
----------
proc.c: fix method proc binding receiver
* proc.c (method_proc): the receiv...
nobu (Nobuyoshi Nakada)
08:07 AM Bug #10432 (Closed): wrong receiver of Binding from Method
Methodオブジェクトから`to_proc.binding`で作られたBindingのreceiverが、Methodオブジェクトの元になったオブジェクトではなく、Methodオブジェクトになっています。
~~~ruby
c...
nobu (Nobuyoshi Nakada)
08:17 AM Revision e45b215f (git): proc.c: fix method proc binding receiver
* proc.c (method_proc): the receiver of binding from method should
be same as the receiver of the method.
[ruby-c...
nobu (Nobuyoshi Nakada)
08:12 AM Revision 9bcf16f0 (git): proc.c: local variable
* proc.c (proc_binding): extract a local variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48159 b2dd03c8-...
nobu (Nobuyoshi Nakada)
07:29 AM Revision ed8da2d1 (git): * test/ruby/test_super.rb: add a test to check block passing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:02 AM Revision 3edcd548 (git): * gc.c: is_incremental_marking(), will_be_incremental_marking():
use `&&' with GC_ENABLE_INCREMENTAL_MARK intead of using
#if/#else/#endif.
git-svn-id: svn+ssh://ci.ruby-lang.or...
ko1 (Koichi Sasada)
06:50 AM Revision 1b132cb2 (git): eventids2.c: reduce size
* ext/ripper/eventids2.c (token_to_eventid): reduce relocations
and element size.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
06:38 AM Revision 92c61ca7 (git): ripper/tools/generate.rb: shorten generated source
* ext/ripper/tools/generate.rb (generate_eventids1): shorten
generated source.
* ext/ripper/tools/generate.rb (gen...
nobu (Nobuyoshi Nakada)
06:25 AM Revision d8e1bf27 (git): id.h.tmpl: ANDOP and OROP
* template/id.h.tmpl (token_op_ids): define && and || for ripper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
06:23 AM Revision 5a277b40 (git): parse.y: optimize IDs in ripper
* parse.y: optimize ripper_intern calls, ::, **, -@, +@, <=>, >=,
<=, ==, ===, !=, =~, !~, <<, >>, and call.
* par...
nobu (Nobuyoshi Nakada)
06:16 AM Revision fc9fffca (git): symbol.h: optimize ID2SYM
* symbol.h (rb_id2sym): optimize for predefined IDs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48152 b2dd03c...
nobu (Nobuyoshi Nakada)
05:53 AM Revision ce9fc203 (git): test_parser_events.rb: split test_binary
* test/ripper/test_parser_events.rb (test_binary): split for each
operators.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
04:40 AM Bug #10431 (Closed): Can't sweep garbage object immediatly when GC_ENABLE_LAZY_SWEEP=0
Applied in changeset r48150.
----------
gc.c: fix no lazy sweep mode
* gc.c (gc_sweep_rest): sweep rest pages regar...
nobu (Nobuyoshi Nakada)
04:17 AM Bug #10431: Can't sweep garbage object immediatly when GC_ENABLE_LAZY_SWEEP=0
r41510でis_lazy_sweeping()を使うようになり、その後r47444でis_lazy_sweeping()が変更されたときの見落としのようです。 nobu (Nobuyoshi Nakada)
02:50 AM Bug #10431 (Closed): Can't sweep garbage object immediatly when GC_ENABLE_LAZY_SWEEP=0
GC_ENABLE_LAZY_SWEEP=0と設定してrubyをビルドし,以下のコードを
実行した場合,GC時にオブジェクトが解放されていないように見えます.
~~~
$ ../configure CFLAGS="-DGC...
imasahiro (Masahiro Ide)
04:40 AM Revision 202b4bbe (git): gc.c: fix no lazy sweep mode
* gc.c (gc_sweep_rest): sweep rest pages regardless of whether
lazy sweep is enabled or not. based on the patch by...
nobu (Nobuyoshi Nakada)
04:28 AM Bug #10421: BasicObject継承クラスで object_id メソッドを定義すると redefining ... 警告が出る
Backported into `ruby_2_0_0` at r48149. usa (Usaku NAKAMURA)
04:28 AM Revision 2c31816f (git): merge revision(s) 48111,48118,48120: [Backport #10421]
* vm_method.c (rb_method_entry_make): warn redefinition only for
already defined methods, but not for undef...
U.Nakamura
02:34 AM Revision 4f517abf (git): * 2014-10-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:33 AM Revision bebd27b0 (git): test/ruby/test_process.rb: reduce garbage during forks
* test/ruby/test_process.rb (test_deadlock_by_signal_at_forking):
reduce garbage during forks
This seems to reduce...
Eric Wong

10/26/2014

08:50 PM Feature #8976: file-scope freeze_string directive
Eric Wong wrote:
>
> Right, "...".freeze is too ugly IMHO. Ruby should stay beautiful :)
Agreed.
> I als...
akr (Akira Tanaka)
05:17 PM Bug #10429 (Closed): Ruby 2.x exponents produce wildly varying precision for integers vs decimals
## 2.0.0
```
> 1.1.to_d ** -1.9999999
=> #<BigDecimal:7fdcc1fcdfa0,'0.8264462888 68609939E0',18(45)>
> 1.1.to_d...
dresselm (Matt Dressel)
03:58 PM Bug #9005: object.send(:define_method, ...){...} creates private method
Scott Tamosunas wrote:
> This isn't fixed on 2.1.3. Has that changeset not made it into a release?
>
> ```
> 2....
jeremyevans0 (Jeremy Evans)
11:30 AM Bug #10428 (Closed): Segmentation fault when modifying local variables of binding obtained from the result of Method#to_proc
The issue pops up when Method#to_proc is called, then the binding of that proc is obtained, and one tries to modify (... Anonymous
06:53 AM Revision 512c0364 (git): commit miss
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
06:29 AM Feature #10378: [PATCH 0/3] It's better (1 + 0i).real? return true
Tsuyoshi Sawada さん
こんにちは. 22年間誤用しておりました.. お恥ずかしい.
ご指摘をするのも心苦しいと察します、わざわざお伝え頂けるとは本当に嬉しく思います.
お陰さまで苦手な英語を一歩前進させる...
gogotanaka (Kazuki Tanaka)
04:12 AM Feature #10378: [PATCH 0/3] It's better (1 + 0i).real? return true
gogo tanakaさん、
他スレッドでのコメントありがとうございます。
sawa (Tsuyoshi Sawada)
03:22 AM Feature #10378: [PATCH 0/3] It's better (1 + 0i).real? return true
There are not any arguments or opinions, I've made patches(implement, test, updating NEWS ) anyway.
Please check i...
gogotanaka (Kazuki Tanaka)
06:19 AM Bug #10427 (Third Party's Issue): The WebKit of QtRuby crashed
require "Qt4"
require "qtwebkit"
app=Qt::Application.new []
view=Qt::WebView.new
view.setUrl Qt::Url.new "http://...
mopperwhite (Mopper White)
03:26 AM Revision 68e19ae8 (git): template/insns.inc.tmpl, insns_info.inc.tmpl, known_errors.inc.tmpl,
minsns.inc.tmpl: fixed path of generating script.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48145 b2dd03c8-3...
duerst (Martin Dürst)
03:24 AM Bug #10405 (Closed): syntax error inconsistency between ruby -c and ripper
Applied in changeset r48144.
----------
parse.y: Ripper.sexp returns error
* ext/ripper/lib/ripper/sexp.rb (Ripper....
nobu (Nobuyoshi Nakada)
03:24 AM Revision d1ec43ae (git): parse.y: Ripper.sexp returns error
* ext/ripper/lib/ripper/sexp.rb (Ripper.sexp, Ripper.sexp_raw):
return nil on error. [ruby-dev:48678] [Bug #10405]...
nobu (Nobuyoshi Nakada)
03:22 AM Revision 3bf0628a (git): ChangeLog: remove conflict mark
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:24 AM Revision d26c4965 (git): string.c: improved comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
02:16 AM Feature #10426: A predicate to express congruence
@Tsuyoshi Sawada san
I like it.
One thing I'm a little worried about is `congruent?` might be too specified word....
gogotanaka (Kazuki Tanaka)
12:55 AM Feature #10426 (Open): A predicate to express congruence
I occasionally felt the necessity of a predicate that checks congruence with respect to some operations:
~~~ruby
...
sawa (Tsuyoshi Sawada)
01:47 AM Feature #10425: A predicate method to tell if a number is near another
Such a predicate would indeed be convenient. But sometimes, one doesn't want to compare with an absolute epsilon, but... duerst (Martin Dürst)
12:40 AM Feature #10425: A predicate method to tell if a number is near another
The definition above is just to illustrate the functions. There may be a better implementation. Especially, an approp... sawa (Tsuyoshi Sawada)
12:38 AM Feature #10425 (Open): A predicate method to tell if a number is near another
A method `near?` like the following would be useful.
~~~ruby
class Numeric
def near? other, delta: Float::EPSIL...
sawa (Tsuyoshi Sawada)
01:32 AM Feature #10423: [PATCH] opt_str_lit*: avoid literal string allocations
It looks like Flonum was hiding my bug in on 64-bit systems :x
fix for 32-bit here:
~~~diff
--- a/compile.c
+++...
normalperson (Eric Wong)

10/25/2014

11:20 PM Revision 26d56b7d (git): A test renamed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:46 PM Revision 856ad599 (git): * 2014-10-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:46 PM Revision 5d2ce2fb (git): ext/win32ole/win32ole.c (ole_val2variant, ole_invoke): refactoring.
use ole_variant2variant to convert WIN32OLE_VARIANT object to
VARIANT object.
ext/win32ole/win32ole_variant.c: refac...
suke (Masaki Suketa)
06:43 PM Bug #10421: BasicObject継承クラスで object_id メソッドを定義すると redefining ... 警告が出る
Backported into `ruby_2_1` at r48138. nagachika (Tomoyuki Chikanaga)
06:42 PM Revision eca3835c (git): merge revision(s) r48111,r48118,r48120: [Backport #10421]
* vm_method.c (rb_method_entry_make): warn redefinition only for
already defined methods, but not for undef...
nagachika (Tomoyuki Chikanaga)
06:29 PM Bug #10413: Unexpected block invocation with unknown keywords
I backported only r48114 into `ruby_2_1` at r48137. nagachika (Tomoyuki Chikanaga)
06:29 PM Revision c4e838d0 (git): merge revision(s) r48102: [Backport #10413]
* class.c (unknown_keyword_error): delete expected keywords
directly from raw table, so that the given bloc...
nagachika (Tomoyuki Chikanaga)
02:13 PM Misc #10424: Error message when sorting NaN
I think `rb_cmperr()` behaves weird anyway. If `y` is a “special const” (e.g. `nil`, `true`, or even a flonum (boxed ... cremno (cremno phobia)
01:34 PM Revision 1fe90db5 (git): * io.c (io_binwrite_string): Test writev() failure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:19 AM Revision 96d37554 (git): test/test-unicode_normalize.rb: added test_us_ascii.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
11:09 AM Revision 4fda6198 (git): lib/unicode_normalize/normalize.rb: added US_ASCII
as trivially supported encoding (is always normalized,
and may appear mixed in with UTF-8 or other Unicode
encodings)...
duerst (Martin Dürst)
11:01 AM Revision 6e9ff5a8 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:01 AM Revision bdea9273 (git): test/test-unicode_normalize.rb: added test_raise_exception_for_non_unicode_encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
10:30 AM Revision b3494924 (git): test/test-unicode_normalize.rb: removed unused function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
09:41 AM Revision c0988c87 (git): template/unicode_norm_gen.tmpl: Adjusted name of generating file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
08:42 AM Feature #9345: [PATCH] signal.c: avoid repeated disable/enable interrupt
Updated patch against r48129:
http://80x24.org/spew/m/feature-9345-v2%40dcvr.txt

Will commit in a few days unles...
normalperson (Eric Wong)
07:20 AM Revision 9b581e0d (git): template/unicode_norm_gen.tmpl: from tool/unicode_norm_gen.rb
* template/unicode_norm_gen.tmpl: use generic_erb.rb to update if
changed and manage timestamp, so that source tree...
nobu (Nobuyoshi Nakada)
03:53 AM Revision 67a19e7a (git): * 2014-10-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:52 AM Revision 26143970 (git): rake/cpu_counter.rb: use Etc.nprocessors
* lib/rake/cpu_counter.rb (count): prefer Etc.nprocessors, which
is hundreds times faster.
* test/rake/test_rake_c...
nobu (Nobuyoshi Nakada)
12:33 AM Bug #10405: syntax error inconsistency between ruby -c and ripper
なるほど。
でも、やはり nil がいいかなぁ、と思います。
ありうる挙動は、nil を返すか、例外を起こすかだと思うのですが、
いままで例外を起こしていなかったものについて例外を起こすようにするのは非互換ですし。
...
akr (Akira Tanaka)

10/24/2014

09:24 PM Misc #10424 (Open): Error message when sorting NaN
When sorting an array of floats with a NaN you get a very confusing message:
irb(main):001:0> [0.0/0.0,1.0,2.0].sort...
jmthomas (Jason Thomas)
04:16 PM Feature #10344: [PATCH] Implement Fiber#raise
Koichi Sasada wrote:
> > I think [Consumer](http://nome.github.io/coroutines/Consumer.html) is an example of a semi-...
nome (Knut Franke)
03:12 PM Bug #10405: syntax error inconsistency between ruby -c and ripper
それは`end`の後ろがないからですね。
何かあればそれの結果が返されます。
$ ruby -rripper -e 'p Ripper.sexp("end\n1")'
[:program, [:@int, "...
nobu (Nobuyoshi Nakada)
03:08 PM Bug #10405: syntax error inconsistency between ruby -c and ripper
nil だろうと思っていました。
たとえば、end だけだと nil になります。
```
% ./ruby -v -rripper -e 'p Ripper.sexp("end")'
ruby 2.2.0dev (201...
akr (Akira Tanaka)
02:55 PM Bug #10405 (Feedback): syntax error inconsistency between ruby -c and ripper
`on_parse_error`は発生しているんですが、デフォルトでは単に無視されるので、そこまでがなかったことにされています。
何を返すべきでしょうかねぇ。
nobu (Nobuyoshi Nakada)
01:49 PM Bug #10411 (Closed): Ripper.sexp("foo\n .bar") extract a wrong method name " .bar"
Applied in changeset r48126.
----------
parse.y: fix fluent interface identifier
* parse.y (parser_yylex): dispatch...
nobu (Nobuyoshi Nakada)
01:49 PM Revision 5940b1f6 (git): parse.y: fix fluent interface identifier
* parse.y (parser_yylex): dispatch newline and space at fluent
interface, so that the following identifier does not...
nobu (Nobuyoshi Nakada)
01:33 PM Revision fe4ed311 (git): parse.y: indent
* parse.y (parser_yylex): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48125 b2dd03c8-39d4-4d8f-...
nobu (Nobuyoshi Nakada)
11:44 AM Revision a5e1dbf7 (git): * signal.c (check_reserved_signal_): fix write count since r47991.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:43 AM Revision 4f9e8a0f (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
08:16 AM Revision 0b9aac59 (git): make-snapshot: fix gems update
* tool/make-snapshot (package): call system and IO.popen with
arguments array, add macros NULLCMD and RUNRUBY to up...
nobu (Nobuyoshi Nakada)
08:16 AM Bug #9681: miniruby Bus Error at 0x3d44c4
Please try to add "-mcpu=v9" to gcc, e.g.
% ./configure CFLAGS="-mcpu=v9" CXXFLAGS="-mcpu=v9" LDFLAGS="-mcpu=v9"
ngoto (Naohisa Goto)
08:00 AM Feature #10423: [PATCH] opt_str_lit*: avoid literal string allocations
Sure, I'll show each instruction with comments inline:
"%d" % 5
--------
~~~
[1,
[:trace, 1],
# 14 == O...
normalperson (Eric Wong)
04:00 AM Feature #10423: [PATCH] opt_str_lit*: avoid literal string allocations
Thank you for your effort.
Could you show me an example of dis-assembled code for some cases? It will help us to u...
ko1 (Koichi Sasada)
03:25 AM Feature #10423 (Assigned): [PATCH] opt_str_lit*: avoid literal string allocations
Patch also downloadable at: http://80x24.org/spew/m/opt_str_lit-v4%40m.txt
Broken-out commits in the "opt_str_lit-v4...
normalperson (Eric Wong)
04:52 AM Bug #9605 (Open): Chaining "each_with_index.detect &lambda" raises ArgumentError
ko1 (Koichi Sasada)
04:52 AM Bug #9605: Chaining "each_with_index.detect &lambda" raises ArgumentError
This change introduce inconsistency between block and lambda.
An Array object is splatted, but ArrayLike object wh...
ko1 (Koichi Sasada)
03:29 AM Feature #10333 (Rejected): [PATCH 3/1] optimize: "yoda literal" == string
obsoleted by Feature #10423
normalperson (Eric Wong)
03:28 AM Feature #10329 (Rejected): [PATCH 2/1] optimize: foo == "literal string"
obsoleted by Feature #10423
normalperson (Eric Wong)
03:27 AM Feature #10326 (Rejected): [PATCH] optimize: recv << "literal string"
obsoleted by Feature #10423
normalperson (Eric Wong)
03:10 AM Bug #9424: ruby 1.9 & 2.x has insecure SSL/TLS client defaults
NaHi-san told me that this patch was for client use and not general-purpose, so I didn't have to worry.
So, I've b...
usa (Usaku NAKAMURA)
03:07 AM Bug #9424 (Closed): ruby 1.9 & 2.x has insecure SSL/TLS client defaults
Applied in changeset ruby-193:r48121.
----------
merge revision(s) 45274,45278,45280,48097: [Backport #9424]
* ext...
usa (Usaku NAKAMURA)
03:06 AM Revision 26c0acf5 (git): merge revision(s) 45274,45278,45280,48097: [Backport #9424]
* ext/openssl/lib/openssl/ssl-internal.rb (DEFAULT_PARAMS): override
options even if OpenSSL::SSL::OP_NO_SS...
U.Nakamura
12:22 AM Bug #10413: Unexpected block invocation with unknown keywords
I changed the behavior of `rb_hash_delete()` itself, and see if somebody rants.
`rb_hash_delete()` is still called...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom