Project

General

Profile

Activity

From 09/21/2014 to 09/27/2014

09/27/2014

11:55 PM Bug #10300: Encoding error in conversion from UTF-16LE to UTF-8 to CP850
There is no bug in the conversion from (UTF-16LE to) UTF-8 to CP850. CP850 simply doesn't contain U+2019 (RIGHT SINGL... duerst (Martin Dürst)
03:01 PM Bug #10300 (Closed): Encoding error in conversion from UTF-16LE to UTF-8 to CP850
Hello,
I downloaded Ruby 2.1.3 from http://rubyinstaller.org/downloads/ and tried to install gems:
~~~
$ gem i...
ggrossetie (Guillaume GROSSETIE)
04:00 PM Bug #10301 (Third Party's Issue): All version of Ruby core dump in ethon running wpstools (wpscan)
Seems like this is a bug, as an error or warning should be produced rather than Ruby core dumping.
Same behavior e...
dfavor (David Favor)
12:30 PM Bug #10299 (Closed): alias_method :new_foo=, :"#{:foo}=" doesn't work properly on ruby 2.2.0preview1.
nobu (Nobuyoshi Nakada)
08:55 AM Bug #10299 (Closed): alias_method :new_foo=, :"#{:foo}=" doesn't work properly on ruby 2.2.0preview1.
Here is reproducible script.
~~~ruby
class Test
class << self
def test
alias_method :new_foo=, :"#...
hbd225 (Norimasa Ando)
08:34 AM Bug #10276: nil/true/false に singleton メソッドを定義できてしまう
frozen なオブジェクトに特異クラスが作成できるかどうかも統一されていないようですが、そういうものなのでしょうか?
~~~
>> RUBY_DESCRIPTION
=> "ruby 2.2.0dev (2014-09-2...
znz (Kazuhiro NISHIYAMA)
08:17 AM Revision 4d2aef1e (git): rbinstall.rb: header targets
* tool/rbinstall.rb: separate header targets, comm-hdr for
architecture independent headers, arch-hdr for architect...
nobu (Nobuyoshi Nakada)
07:44 AM Feature #10073: [PATCH] Implement Laplace expansion for matrix.
@Marc-Andre Lafortune
Thank you very much for responding.
```
m.laplace_expansion(row: k-1) == m.laplace_expa...
gogotanaka (Kazuki Tanaka)
07:35 AM Feature #10042: Deprecate postfix rescue syntax for removal in 3.0
Got it, this is what I proposed:
~~~ruby
do_messy_job resc TypeError: 42, NameError: 43
~~~
Anonymous
07:32 AM Feature #10042: Deprecate postfix rescue syntax for removal in 3.0
Nooo! Don't remove tail rescue! I suggested to introduce tail "resc" keyword with exception to be rescued somewhere h... Anonymous
03:13 AM Bug #10150 (Closed): Tiny URI.parse error incompatibility
Applied in changeset r47721.
----------
* lib/uri/rfc3986_parser.rb: raise URI::InvalidURIError when
uri doesn't r...
Anonymous
03:13 AM Revision a4645e56 (git): * lib/uri/rfc3986_parser.rb: raise URI::InvalidURIError when
uri doesn't respond to #to_str. [ruby-core:64453] [Bug #10150]
* test/uri/test_parser.rb: test for above.
git-svn-i...
Glass_saga (Masaki Matsushita)
01:34 AM Revision dd798a68 (git): * gems/bundled_gems: upgraded to power_assert 0.1.4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
01:30 AM Revision 15ae462d (git): digest.c: typed data
* ext/digest/digest.c (rb_digest_base_alloc): use typed data.
* ext/digest/digest.c (rb_digest_base_copy): fail unle...
nobu (Nobuyoshi Nakada)
01:28 AM Revision 851c2f2d (git): * 2014-09-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:28 AM Revision bb10a213 (git): ruby.h: deprecate plain Data
* include/ruby/ruby.h (rb_data_object_alloc_deprecated): deprecate
Data_Make_Struct and Data_Wrap_Struct. [EXPERIM...
nobu (Nobuyoshi Nakada)

09/26/2014

10:50 PM Bug #10284: Segmentation fault on Ruby 2.1.2 and 2.1.3
Eric Wong wrote:
> [email protected] wrote:
> > Hi all, I often (let's say 50% of the times the test suite ...
moreno.carullo (Moreno Carullo)
09:24 PM Bug #10296: SEGV from unchecked Data_Get_Struct() argument
Yes it seems like all uses of Data_Get_Struct() should be changed to use TypedData_Get_Struct() instead, doesn't it? ... jhaberman (Josh Haberman)
07:42 AM Bug #10296: SEGV from unchecked Data_Get_Struct() argument
Calling initialize_copy directly is probably buggy behavior and not
unique to just the json/zlib C extensions.

O...
normalperson (Eric Wong)
12:12 AM Bug #10296 (Closed): SEGV from unchecked Data_Get_Struct() argument
I can crash all Ruby versions I tried with this program:
```ruby
require 'json'
require 'zlib'

module JSON
...
jhaberman (Josh Haberman)
04:33 PM Feature #10095: Object#as
This feature also looks a lot like a pipeline.
Here are some examples how people implemented that before, either u...
avit (Andrew Vit)
09:56 AM Feature #7549 (Rejected): A Ruby Design Process
I just read a blog that said this issue was still open.
I might be slightly biased (see my comments above), but in o...
duerst (Martin Dürst)
09:49 AM Feature #10298 (Rejected): Array#float_sum (like math.fsum of Python)
Here, I propose Array#float_sum in array.c (or math.c).
Array#float_sum returns an accurate total summation of Float...
t-nissie (Takeshi Nishimatsu)
09:28 AM Misc #10297 (Closed): r47670 make benchmark/bm_vm_thread_create_join.rb slow
nariです。
r47670でbm_vm_thread_create_join.rbが10%ほど遅くなったようです。
スレッドをバンバン生成するベンチマークなので、スレッドに名前付けするところの影響がでているかなと思いました(...
authorNari (Narihiro Nakamura)
06:28 AM Bug #10294: Dir[] cannot be called with an array argument
I'm aware of what actually works in practice, but the documentation claims both forms are acceptable:
```
Dir[ ar...
Anonymous
04:04 AM Bug #10294 (Rejected): Dir[] cannot be called with an array argument
Not an array of path names, any number of path names,
~~~ruby
Dir['/bin/bash', '/bin/sh']
~~~
nobu (Nobuyoshi Nakada)
05:45 AM Bug #10290: segfault when calling a lambda recursively after rescuing SystemStackError
I can't reproduce it with irb, but it might access over the top of stack.
Possibly, we need more margin for the guar...
nobu (Nobuyoshi Nakada)
03:52 AM Bug #10285 (Closed): StringIO with encodings broken due to #9769
Applied in changeset r47716.
----------
stringio.c: ASCII-8BIT StringIO rejects no encodings
* ext/stringio/stringi...
nobu (Nobuyoshi Nakada)
03:52 AM Revision 2a8989d7 (git): stringio.c: ASCII-8BIT StringIO rejects no encodings
* ext/stringio/stringio.c (strio_write): ASCII-8BIT StringIO
should be writable any encoding strings, without conve...
nobu (Nobuyoshi Nakada)

09/25/2014

09:31 PM Bug #10284: Segmentation fault on Ruby 2.1.2 and 2.1.3
[email protected] wrote:
> Hi all, I often (let's say 50% of the times the test suite is run) get this segme...
normalperson (Eric Wong)
08:39 PM Bug #10282: Reproducible segfault when inspecting this method
[email protected] wrote:
> File 0001-object.c-rb_class_real-do-not-dereference-0-VALUE.patch added

> This lo...
normalperson (Eric Wong)
08:29 PM Bug #10282 (Closed): Reproducible segfault when inspecting this method
Applied in changeset r47715.
----------
object.c (rb_class_real): do not dereference 0 VALUE
* test/ruby/test_modul...
Anonymous
08:29 PM Revision 0ef94bd2 (git): object.c (rb_class_real): do not dereference 0 VALUE
* test/ruby/test_module.rb (test_inspect_segfault):
Test case and bug report by Thomas Stratmann.
[ruby-core:6521...
Eric Wong
08:18 PM Feature #10197 (Closed): document RUBY_* stack size/GC params in ruby.1 manpage
Applied in changeset r47713.
----------
man/ruby.1: document stack size env variables
[Feature #10197]
Anonymous
08:18 PM Revision e0f02160 (git): * 2014-09-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:18 PM Revision 446a5417 (git): man/ruby.1: document stack size env variables
[Feature #10197]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
04:52 PM Bug #10142: named params don't always capture passed named args
another example of how this creates surprise, confusion and subtle bugs
~~~ruby
def foo(a = 1, **options)
end
...
rits (First Last)
03:44 PM Bug #10167: Prime#include?(mod) hangs up
Review my patch, please! nitoyon (Kenichi Saita)
10:47 AM Feature #10295 (Closed): [PATCH] io.c (fptr_finalize): free memory (before GC sweep)
Note: just committed r47712 which was trivial.
This passes tests, too, but I would appreciate another set of eyes
i...
normalperson (Eric Wong)
10:40 AM Revision 405c4abb (git): io.c: common function to free IO buffers
This also allows easier tracking of freed memory for systems
without malloc_usable_size, and also makes future change...
Eric Wong
05:18 AM Bug #10290: segfault when calling a lambda recursively after rescuing SystemStackError
As I noted, running the example code on trunk does not segfault (it raises SystemStackError a second time, as I would... Anonymous
05:11 AM Bug #10290: segfault when calling a lambda recursively after rescuing SystemStackError
I've attached the OS X crash report. Anonymous
01:44 AM Bug #10293: splatting an empty hash in a method invocation sends an argument to the method (should send nothing)
https://bugs.ruby-lang.org/issues/9291 is somewhat related
foo(**nil) should not raise since foo(*nil) does not and ...
rits (First Last)
12:18 AM Bug #10293 (Assigned): splatting an empty hash in a method invocation sends an argument to the method (should send nothing)
nagachika (Tomoyuki Chikanaga)
12:34 AM Bug #10294 (Closed): Dir[] cannot be called with an array argument
The documentation for `Dir[]` claims that it can be called with an array and it will behave like Dir.glob:
```
Di...
Anonymous

09/24/2014

11:57 PM Bug #10293 (Closed): splatting an empty hash in a method invocation sends an argument to the method (should send nothing)
irb(main):001:0> def foo; end; foo **{}
ArgumentError: wrong number of arguments (1 for 0)
note that splatting an...
rits (First Last)
10:54 PM Revision 39bb54d8 (git): * 2014-09-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:54 PM Revision 1ddf8113 (git): * lib/matrix.rb: Fix docs. Patched by Ben Woodall. [GH-726]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
04:42 PM Bug #10292 (Closed): Rails server suddenly crashes sometimes

/Users/gost/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.5/lib/active_support/notifications.rb:159: [BUG] Segmentati...
mib32 (Anton Murygin)
10:03 AM Revision ba63472a (git): enc/unicode/data: New directory for downloaded Unicode data files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
10:00 AM Revision f508efdb (git): tool/downloader.rb: Adjusting example for
Downloader.download to implementation changes in r47693.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47708 b2...
duerst (Martin Dürst)
09:07 AM Revision b6f2f67c (git): tool/downloader.rb: Removing unused method
Downloader.download_if_modified_since.
(if ever used, just replace with Downloader.download)
git-svn-id: svn+ssh://c...
duerst (Martin Dürst)
08:59 AM Revision d081032d (git): tool/downloader.rb: Fixing raise after return.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
08:55 AM Bug #10291 (Closed): Strange behaviour of splat in Ruby 2.0.0

In Ruby 1.9.3, when a method defined with some required number of arguments, method always checks the number of req...
siddharth (siddharth sharma)
08:55 AM Revision d2172c8d (git): tool/downloader.rb: Made Unicode data file location available
via :unicode Symbol.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
06:28 AM Bug #10290: segfault when calling a lambda recursively after rescuing SystemStackError
The segfault also occurs on the OS X 10.9 system ruby, `2.0.0-p481`; not sure about the most recent patch release. Anonymous
06:20 AM Bug #10290 (Closed): segfault when calling a lambda recursively after rescuing SystemStackError
The following code segfaults on Ruby 2.1.3:
```ruby
l = -> { l.() }
begin
l.()
rescue SystemStackError
...
Anonymous
05:45 AM Bug #10289 (Closed): Segmentation fault on ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux]
It's an already fixed stack overflow detection bug.
nobu (Nobuyoshi Nakada)
05:23 AM Bug #10289 (Closed): Segmentation fault on ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux]
The following program causes a segmentation fault when I run it. It is a reduced test case from a small experiment I ... davidk01 (david karapetyan)
01:43 AM Revision 9c0f09da (git): tool/downloader.rb: Small fix to documentation comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
01:41 AM Bug #10288 (Closed): Parser incompatibility between 2.1.2 and 2.1.3
Oops! I'm sorry, looks like this dups with #10279 matsuda (Akira Matsuda)
01:34 AM Bug #10288 (Closed): Parser incompatibility between 2.1.2 and 2.1.3
This code successfully prints {:foo=>1} in 2.1.2 and current trunk but causes "syntax error, unexpected modifier_if" ... matsuda (Akira Matsuda)

09/23/2014

08:01 PM Bug #10282: Reproducible segfault when inspecting this method
This looks to be a simple dereference bug.
However, this is my first time looking a prepend so maybe there's a subtl...
normalperson (Eric Wong)
06:21 PM Bug #10285: StringIO with encodings broken due to #9769
As another data point, I also tried this with writing to a file which seems to work:
~~~
File.open("out.txt", :mo...
dbussink (Dirkjan Bussink)
11:29 AM Bug #10285 (Closed): StringIO with encodings broken due to #9769
It looks like the change in https://bugs.ruby-lang.org/issues/9769 resulted in a behavior change with how StringIO wo... dbussink (Dirkjan Bussink)
05:40 PM Bug #10279: Syntax error on Hash with symbol syntax and nested expression: 2.1.3 regression
Backported r47696 and r47697 into `ruby_2_1` branch at r47703. nagachika (Tomoyuki Chikanaga)
01:00 PM Bug #10279 (Closed): Syntax error on Hash with symbol syntax and nested expression: 2.1.3 regression
Applied in changeset r47696.
----------
parse.y: label cannot be followed by a modifier
* parse.y (parse_ident): ju...
nobu (Nobuyoshi Nakada)
01:14 AM Bug #10279 (Assigned): Syntax error on Hash with symbol syntax and nested expression: 2.1.3 regression
nobu (Nobuyoshi Nakada)
05:39 PM Revision b2477430 (git): merge revision(s) r47696,r47697: [Backport #10279]
* parse.y (parse_ident): just after a label, new expression should
start, cannot be a modifier. [ruby-core...
nagachika (Tomoyuki Chikanaga)
05:22 PM Bug #10262: nmake love fails from tarball
Backported into `ruby_2_1` branch at r47702. nagachika (Tomoyuki Chikanaga)
05:22 PM Revision 514b5e8d (git): merge revision(s) r47641,r47642,r47644: [Backport #10262]
* win32/win32.c (VCSUP): nothing to do if this worktree is not under
any VCS (it means that the worktree ma...
nagachika (Tomoyuki Chikanaga)
05:19 PM Bug #10281: r47683 (add GC guard in rb_ary_splice())
Backported into `ruby_2_1` branch at r47701. nagachika (Tomoyuki Chikanaga)
05:18 PM Revision 57fd5013 (git): merge revision(s) r47683: [Backport #10281]
array.c: GC guard
* array.c (rb_ary_splice): prevent replacing array from GC.
git-svn-id: svn+ssh://ci.ruby...
nagachika (Tomoyuki Chikanaga)
05:08 PM Bug #10245: TestTimeTZ#test_gen_Europe_Lisbon_111 fails with recent tzdata
r47111, r47212, r47451, r47452 and r47680 were backported into `ruby_2_1` branch at r47700. nagachika (Tomoyuki Chikanaga)
05:07 PM Revision 1ee1a2bd (git): merge revision(s) r47111,r47212,r47451,r47452,r47680: [Backport #10245]
* test/minitest/test_minitest_unit.rb: removed obsoleted condition
for Ruby 1.8.
* test/ruby/test_...
nagachika (Tomoyuki Chikanaga)
04:58 PM Revision 265c1680 (git): * version.h (RUBY_VERSION): bump RUBY_VERSION to 2.1.4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
04:32 PM Feature #10255: Math.log: check domain of base argument
After I thought twice about that,
I came to the conclusion that `1.0` should be considered as `1 + ε (infinitesi...
gogotanaka (Kazuki Tanaka)
06:22 AM Feature #10255: Math.log: check domain of base argument
I'd forgotten to update RDoc. So I add new patch for updating RDoc.
gogo.
gogotanaka (Kazuki Tanaka)
04:31 PM Revision 135fb022 (git): * 2014-09-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:31 PM Revision f7831a4a (git): * ChangeLog: remove a duplicated entry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
04:15 PM Feature #10287 (Assigned): rename COLON3 to COLON2_HEAD.
主に parse.y を読んでいて、DOT2 に対する DOT3 はわかるのですが、COLON2 に対する COLON3 はよくない名前だと思いました。
COLON3 の表すものは ::FOO::BAR のようにスコープ指定の先頭を...
arimay (yasuhiro arima)
01:00 PM Revision 08248c93 (git): parse.y: label cannot be followed by a modifier
* parse.y (parse_ident): just after a label, new expression should
start, cannot be a modifier. [ruby-core:65211] ...
nobu (Nobuyoshi Nakada)
12:49 PM Bug #10286 (Closed): BigDecimal - inconsistency with other numeric classes
Unlike other numerical classes, BigDecimal does not raise ArgumentError when I try to parse invalid value.
~~~
re...
Soilent (Konstantin x)
12:09 PM Revision 4f123ebd (git): common.mk: update-gems
* common.mk (update-gems): update bundled gem files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47695 b2dd03c...
nobu (Nobuyoshi Nakada)
11:56 AM Revision 0b5227b8 (git): downloader.rb: shorthands for usual URI
* tool/downloader.rb (Downloader.uri_to_download): add shorthands
for commonly used URI.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
11:52 AM Revision c7cdc549 (git): downloader.rb: integrate with download_if_modified_since
* tool/downloader.rb (Downloader.download): integrate with
download_if_modified_since and allow to use `since` para...
nobu (Nobuyoshi Nakada)
09:17 AM Bug #10284 (Closed): Segmentation fault on Ruby 2.1.2 and 2.1.3
Hi all, I often (let's say 50% of the times the test suite is run) get this segmentation fault on both mentioned vers... moreno.carullo (Moreno Carullo)
07:13 AM Feature #10084 (Open): Add Unicode String Normalization to String class
Changeset ruby-trunk:r47691 only completes about 5% or 10% of this bug, therefore reopening. duerst (Martin Dürst)
07:08 AM Feature #10084 (Closed): Add Unicode String Normalization to String class
Applied in changeset ruby-trunk:r47691.
----------
tool/downloader.rb: added Downloader.download_if_modified_since
t...
duerst (Martin Dürst)
07:08 AM Revision f10a2f43 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:08 AM Revision 96245d6d (git): tool/downloader.rb: added Downloader.download_if_modified_since
to reduce downloads of large files that change only rarely.
[ruby-core:65164] [CommonRuby - Feature #10084]
git-svn-...
duerst (Martin Dürst)
04:51 AM Bug #4044 (Closed): Regex matching errors when using \W character class and /i option
Fixed with r47598. k_takata (Ken Takata)
04:51 AM Bug #9728 (Closed): Regexp bug
Fixed with r47598. k_takata (Ken Takata)
02:55 AM Revision ab5517a0 (git): * .travis.yml: added rubyspec into travis tasks and eliminate to stdout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:31 AM Bug #10283 (Closed): Calling define_method with a dynamic symbol ending in = results in a NoMethodError when calling the method via assignment, until called via send
nobu (Nobuyoshi Nakada)
12:26 AM Bug #10277 (Rejected): Ampersand to_proc issues
`to_proc` must return a `Proc`, not a `Method`.
They are different.
nobu (Nobuyoshi Nakada)
12:22 AM Bug #10280 (Rejected): Regression while evaluating default argments of a method
nobu (Nobuyoshi Nakada)
12:13 AM Revision 1a65cef0 (git): doc: remove trailing spaces
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

09/22/2014

11:42 PM Feature #2567: Net::HTTP does not handle encoding correctly
I'm also encountering this issue after upgrading from 1.8.7 to 2.0.0. The issue was difficult to troubleshoot becaus... marcel (Marcel Cary)
11:40 PM Misc #10278: [RFC] st.c: use ccan linked list
Eric Wong <[email protected]> wrote:
> Will test on the old Phenom II, too.

bighash looks nice as expected, ...
normalperson (Eric Wong)
06:58 PM Misc #10278: [RFC] st.c: use ccan linked list
Better (at least more explainable) results on the Xeon:
http://80x24.org/spew/m/[email protected]

...
normalperson (Eric Wong)
07:23 AM Misc #10278 (Assigned): [RFC] st.c: use ccan linked list
Indeed. nobu (Nobuyoshi Nakada)
07:12 AM Misc #10278: [RFC] st.c: use ccan linked list
[email protected] wrote:
> Probably, we should remove `back` member.

Just `back` and making it a singly-linked ...
normalperson (Eric Wong)
06:34 AM Misc #10278: [RFC] st.c: use ccan linked list
Probably, we should remove `back` member. nobu (Nobuyoshi Nakada)
05:32 AM Misc #10278 (Closed): [RFC] st.c: use ccan linked list
Mainly posting this for documentation purposes because it seems like
an obvious thing to try given we have ccan/list...
normalperson (Eric Wong)
11:29 PM Revision cfdd8cda (git): * 2014-09-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:29 PM Revision 13b74c9c (git): Fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:24 PM Bug #10283 (Closed): Calling define_method with a dynamic symbol ending in = results in a NoMethodError when calling the method via assignment, until called via send
This raises a NoMethodError in ruby 2.2.0preview1:
ruby -e "class A; define_method('b='.to_sym){|v|}; end; A.n...
jeremyevans0 (Jeremy Evans)
04:04 PM Bug #10277: Ampersand to_proc issues
This seems correct to me. The `&` operator expects `to_proc` to return an actual `Proc`. `AmpersandMethod#to_proc` do... Anonymous
03:34 PM Bug #10282 (Closed): Reproducible segfault when inspecting this method
The example code can be found here (in this exact comment): https://github.com/pry/pry/issues/1299#issuecomment-56389... schnittchen (Thomas Stratmann)
02:03 PM Bug #10281 (Closed): r47683 (add GC guard in rb_ary_splice())
nagachika (Tomoyuki Chikanaga)
01:23 PM Bug #10280 (Rejected): Regression while evaluating default argments of a method

~~~ruby
class DefArg
def calc(str, val=val)
p val
end

def val
10
end
end

# ruby-2.2....
iffyuva (Yuva Kumar)
11:01 AM Revision afe1bbeb (git): test/win32ole/test_win32ole_variant.rb
(test_conversion_time2date_with_msec): test by using only
assert_in_delta to avoid to fail when converting Time obje...
suke (Masaki Suketa)
10:50 AM Revision f13f9f69 (git): * doc/syntax/methods.rdoc: [DOC] [] and []= methods by @process
[Fixes GH-662] https://github.com/ruby/ruby/pull/662
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47685 b2dd03...
zzak (zzak _)
09:21 AM Revision cf33a35a (git): * .travis.yml: Only osx build is enabled. linux builds is random failure
and test results of major linux is covered by rubyci.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47684 b2dd03...
hsbt (Hiroshi SHIBATA)
09:13 AM Bug #10279: Syntax error on Hash with symbol syntax and nested expression: 2.1.3 regression
trunk is same behaviour:
```
ruby 2.2.0preview1 (2014-09-17 trunk 47616) [x86_64-darwin13]
10279.rb:1: syntax er...
hsbt (Hiroshi SHIBATA)
08:53 AM Bug #10279 (Closed): Syntax error on Hash with symbol syntax and nested expression: 2.1.3 regression
The following gives syntax error on ruby 2.1.3
~~~ruby
h = { key: if true
"yes"
else
...
jackmontaach (Jack Montaach)
08:17 AM Revision 88cbfc0d (git): array.c: GC guard
* array.c (rb_ary_splice): prevent replacing array from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47683 ...
nobu (Nobuyoshi Nakada)
07:38 AM Revision c29b274b (git): test_thread.rb: thread for Queue
* test/ruby/test_thread.rb (test_main_thread_status_at_exit):
require 'thread' for Queue.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
06:41 AM Feature #8366 (Open): Exception.message take time to execute depending on the instance variables
nobu (Nobuyoshi Nakada)
06:10 AM Bug #10275: Issues when trying to complile ruby 2.1.3
Probably same as [Bug #10272]. nobu (Nobuyoshi Nakada)
04:44 AM Revision 2e2522ec (git): tmpdir.rb: explicit conversion to string
* lib/tmpdir.rb (Dir::Tmpname#make_tmpname): convert prefix and
suffix to strings explicitly.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
03:22 AM Feature #10267: Number of processors
Eric Wong wrote:
> In your patch2, the test is still using the old name.
Oops. Fixed.
akr (Akira Tanaka)
03:20 AM Feature #10267: Number of processors
[email protected] wrote:
> However I think the method name can be changed to
> Etc.nprocessors.
>
> If someone succe...
normalperson (Eric Wong)
03:08 AM Feature #10267: Number of processors
Eric Wong wrote:
> [email protected] wrote:
> > matz accepted this feature including the method name,
> > Etc.nproces...
akr (Akira Tanaka)
03:14 AM Bug #10245: TestTimeTZ#test_gen_Europe_Lisbon_111 fails with recent tzdata
I committed a fix r47680.
It still test Europe/Lisbon because I'd like to test
an situation that gmtoff is not a ...
akr (Akira Tanaka)
03:12 AM Bug #10245 (Closed): TestTimeTZ#test_gen_Europe_Lisbon_111 fails with recent tzdata
Applied in changeset r47680.
----------
* test/ruby/test_time_tz.rb: Fix test error with tzdata-2014g.
[ruby-core:...
akr (Akira Tanaka)
03:12 AM Revision 565fef82 (git): * test/ruby/test_time_tz.rb: Fix test error with tzdata-2014g.
[ruby-core:65058] [Bug #10245] Reported by Vit Ondruch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47680 b2...
akr (Akira Tanaka)
12:46 AM Revision 4d10c2b9 (git): ext/socket/*.c: trivial struct packing for 64-bit
* ext/socket/ancdata.c ({send,recv}msg_args_struct): 24 => 16 bytes
* ext/socket/init.c (connect_arg): ditto
* ext/so...
Eric Wong

09/21/2014

10:28 PM Bug #10277 (Rejected): Ampersand to_proc issues
I'm noticing weird inconsistencies when when returning a bound method in the #to_proc method when using ... jridgewell (Justin Ridgewell)
05:52 PM Feature #8366 (Closed): Exception.message take time to execute depending on the instance variables
It can't be reproduced with ruby 2.1.3.
```
ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-linux]
before Nam...
Glass_saga (Masaki Matsushita)
05:06 PM Revision 6a7d389e (git): * lib/drb/drb.rb: Support graceful shutdown.
(DRbTCPSocket#initialize): Create a pipe for shutdown notification.
(DRbTCPSocket#close): Invoke close_shutdown_pip...
akr (Akira Tanaka)
04:59 PM Bug #8679 (Closed): Time.newのutc_offset文字列で、 MMが60-99の場合にも例外を出して欲しい
Applied in changeset r47676.
----------
* time.c: raise exception when minutes of utc_offset is out of 00-59.
patc...
Anonymous
04:59 PM Revision 941b101e (git): * 2014-09-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:58 PM Revision 5697b2f0 (git): * time.c: raise exception when minutes of utc_offset is out of 00-59.
patch is from Kenichi Kamiya.
[ruby-dev:47539] [Bug #8679]
* test/ruby/test_time.rb: test for above.
patch is fr...
Glass_saga (Masaki Matsushita)
03:06 PM Feature #10095: Object#as
I should admit that I never liked object to which a block method is called being passed as block parameter.
Even f...
jihwans (Jihwan Song)
01:47 PM Feature #10095: Object#as
I think the goal is always to keep Ruby language beautiful.
The original request was done with certain motive. What ...
jihwans (Jihwan Song)
01:01 PM Feature #10270: Hash#insert
The name "insert" seems good to me because it implies a *new* entry and unable to change an *old* entry. But key-valu... atlas (Atlas Prime)
11:50 AM Feature #10270 (Feedback): Hash#insert
1. I am not sure #insert is the best name for non clobbering merge.
2. do you know merge takes a block to resolve ke...
matz (Yukihiro Matsumoto)
10:07 AM Revision a3307d5e (git): * st.c (do_hash_bin): unused macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e authorNari (Narihiro Nakamura)
09:52 AM Revision 5390e321 (git): * parse.y (parser_class_nest): unused variable after YARV
merged (r11439).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
authorNari (Narihiro Nakamura)
09:37 AM Bug #10276 (Rejected): nil/true/false に singleton メソッドを定義できてしまう
nil/true/false が frozen object なのに singleton メソッドを定義できてしまいます。
~~~
% cat /tmp/f.rb
def d(o)
p o.frozen?
def...
znz (Kazuhiro NISHIYAMA)
09:22 AM Revision a5c91a38 (git): * st.c (numberof): unused. internal.h has same macro.
* node.c (F_CUSTOM2): unused.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47673 b2dd03c8-39d4-4d8f-98ff-823fe6...
authorNari (Narihiro Nakamura)
08:58 AM Bug #10275: Issues when trying to complile ruby 2.1.3
Hi, an you reproduce the problem without RVM?
(e.g. "./configure && make && make install")

If not, please see ht...
normalperson (Eric Wong)
08:29 AM Bug #10275 (Closed): Issues when trying to complile ruby 2.1.3
I encountered an issues where I was using RVM to install ruby 2.1.3 and it kept hanging at the compilation stage.
I...
thalesian (Alex Kiagiri)
08:58 AM Feature #10274: [PATCH 0/2] more rb_iseq_t reductions (and more planned)
[email protected] wrote:
> File 0002-iseq-remove-iseq-iseq-field-270-262-bytes-on-64-bit.patch added

Ugh, fo...
normalperson (Eric Wong)
07:43 AM Feature #10274 (Closed): [PATCH 0/2] more rb_iseq_t reductions (and more planned)
Both of these are pretty simple, low impact patches:
We are close to being able to fit rb_iseq_t in four 64 byte
...
normalperson (Eric Wong)
07:28 AM Revision 8e7362ac (git): fix spaces [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
07:27 AM Revision 8533f74c (git): fix capital [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
05:14 AM Revision 1ea49760 (git): * thread_pthread.c (native_set_thread_name): New function to
set thread name visible with ps command on GNU/Linux.
Ex. ps -o %c -L
* thread.c (thread_start_func_2): Call nativ...
akr (Akira Tanaka)
05:10 AM Revision e8bd56f5 (git): signal.c: SIGEXIT is not a system signal
* signal.c (trap): SIGEXIT is not a system signal and is dealt
with internally, so it should not try to register th...
nobu (Nobuyoshi Nakada)
04:55 AM Revision c7b25771 (git): (test_main_thread_status_at_exit) wait until the thread enter the begin clause.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:54 AM Revision 34ac0ea7 (git): wait until the thread is stopped.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:17 AM Bug #10272: miniruby hangs on Mac OS X 10.7
Yes, that fixes it. Anonymous
02:13 AM Bug #10272 (Feedback): miniruby hangs on Mac OS X 10.7
Could you try `configure --with-setjmp-type=setjmp`? nobu (Nobuyoshi Nakada)
03:50 AM Revision 39fd4a87 (git): iseq.c (rb_iseq_defined_string): trim redundant semi-colon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
03:31 AM Revision 84b90070 (git): test_signal.rb: remove stale test
* test/ruby/test_signal.rb (TestSignal#test_trap_system_default):
remove stale test. signals are delivered to the ...
nobu (Nobuyoshi Nakada)
03:26 AM Revision dfa336cd (git): file.c: clear tmp buffer on failures
Reduces GC malloc pressure (MAXPATHLEN is 4096 on my system),
rb_find_file_safe hits this path at least twice every t...
Eric Wong
03:21 AM Feature #9952 (Closed): Optimize object allocations in CSV::Row
Applied in changeset r47663.
----------
* lib/csv.rb: avoid unnecessary object allocations.
patch is from Andrew V...
Anonymous
03:21 AM Revision 5be5db63 (git): * lib/csv.rb: avoid unnecessary object allocations.
patch is from Andrew Vit. [ruby-core:63215] [Feature #9952]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47663 ...
Glass_saga (Masaki Matsushita)
03:10 AM Revision be1206c0 (git): * lib/rexml/**/*.rb: removed commented-out code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:48 AM Revision 091cdca6 (git): ChangeLog: adjust indent
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:42 AM Revision ae0299e3 (git): signal.c: raise SystemCallError for all failures
* signal.c (ruby_signal): return SIG_ERR as well as signal(2).
* signal.c (trap): raise SystemCallError for all fail...
nobu (Nobuyoshi Nakada)
02:28 AM Bug #10258: conversion WIN32OLE_VARIANT and Time
2.0.0と2.1へのBackportは不要です。 suke (Masaki Suketa)
02:18 AM Bug #10258 (Closed): conversion WIN32OLE_VARIANT and Time
Applied in changeset r47658.
----------
ext/win32ole/win32ole.c (rbtime2vtdate, vtdate2rbtime): fix
the bug in conve...
suke (Masaki Suketa)
02:26 AM Feature #10227: array.include? is much slower than array.index
Result of benchmark script the same as ruby-core:64954.
```
Rehearsal -------------------------------------------...
Glass_saga (Masaki Matsushita)
02:23 AM Feature #10227 (Closed): array.include? is much slower than array.index
Applied in changeset r47659.
----------
* array.c: use rb_equal_opt() for performance improvement.
[ruby-...
Anonymous
02:08 AM Feature #10227 (Assigned): array.include? is much slower than array.index
Glass_saga (Masaki Matsushita)
02:23 AM Revision e539565d (git): * array.c: use rb_equal_opt() for performance improvement.
[ruby-core:64954] [Feature #10227]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47659 b2dd03c8-39d4-4d8f-98ff-8...
Glass_saga (Masaki Matsushita)
02:18 AM Revision 8bb93fc8 (git): ext/win32ole/win32ole.c (rbtime2vtdate, vtdate2rbtime): fix
the bug in conversion of milliseconds. [Bug #10258]
test/win32ole/test_win32ole_variant.rb
(test_conversion_dbl2date...
suke (Masaki Suketa)
02:04 AM Feature #10273 (Open): Immutable Ruby
I watched Matz recent keynote about the future of Ruby. I wonder if Ruby can become an immutable language? That could... atlas (Atlas Prime)
02:03 AM Revision e41fde8b (git): signal.c: EINVAL is a failure
* signal.c (ruby_signal): although "EINVAL from sigaction(2) is
not a bug", but even it is a failure. pointed at t...
nobu (Nobuyoshi Nakada)
02:00 AM Feature #10073: [PATCH] Implement Laplace expansion for matrix.
Looks good.
I'd change the interface slightly so we can call it with named parameters instead:
m.laplace_ex...
marcandre (Marc-Andre Lafortune)
01:40 AM Revision a718be06 (git): tempfile.rb: fix r47655
* lib/tempfile.rb (Tempfile#initialize, Tempfile.create): get rid of
shadowing local variables.
* lib/tmpdir.rb (D...
nobu (Nobuyoshi Nakada)
12:40 AM Feature #9999: Type Annotations (Static Type Checking)
One design to consider is interfaces as implemented in the Go programming language, in which interfaces combine stati... roryokane (Rory O’Kane)
 

Also available in: Atom