Activity
From 01/09/2014 to 01/15/2014
01/15/2014
-
11:50 PM Bug #9311: module_function breaks on `singleton_class?`
- Attached regression test for trunk.
-
11:23 PM Revision 9707b23d (git): common.mk: ignore capi failure
- * common.mk (capi): ignore doxygen failure (temporarily).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:18 PM Revision 460f5594 (git): test_rinda.rb: timeout
- * test/rinda/test_rinda.rb (test_do_reply): stop if blocking
including TupleSpace#write and RingServer#do_reply.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:18 PM Revision 2e8cb7e5 (git): test_rinda.rb: sleep to timeout
- * test/rinda/test_rinda.rb (test_do_reply): sleep instead of busy loop.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:42 PM Feature #9420 (Closed): warn and puts should be atomic
- Since we added use of writev in r44618, we should make warn/puts atomic.
It would make development of multiprocess/multithreaded processes easier,
I think it was intended to be atomic based on old comments in io.c:
```
- /*
... -
06:38 PM Bug #5985: miniruby skews "make benchmark" results
- eregontp@gmail.com wrote:
> Eric Wong wrote:
> > ko1 (Koichi Sasada) wrote:
> > > (or remove --disable-gems ?)
> >
> > I favor removing --disable-gems from the benchmark command.
> > I think it's unrealistic to use/benchmark ... -
01:25 PM Bug #5985: miniruby skews "make benchmark" results
- Issue #5985 has been updated by Benoit Daloze.
Eric Wong wrote:
> ko1 (Koichi Sasada) wrote:
> > (or remove --disable-gems ?)
>
> I favor removing --disable-gems from the benchmark command.
> I think it's unrealistic to u... -
01:24 PM Bug #5985: miniruby skews "make benchmark" results
- Eric Wong wrote:
> ko1 (Koichi Sasada) wrote:
> ...
Unfortunately that would make the comparison between different ruby versions more brittle as the gems might change, particularly how much allocations they do, no?
I have found as w... -
06:26 PM Bug #9414: strftime returns incorrectly encoded string
- Issue #9414 has been updated by Jimmy Song.
Ah, ok, I think I got it:
C:\Ruby200\bin>chcp
Page de codes active : 850
----------------------------------------
Bug #9414: strftime returns incorrectly encoded string
https://b... -
06:26 PM Bug #9414: strftime returns incorrectly encoded string
- Issue #9414 has been updated by Jimmy Song.
How do I determine the system code page?
----------------------------------------
Bug #9414: strftime returns incorrectly encoded string
https://bugs.ruby-lang.org/issues/9414#change... -
06:23 PM Bug #9414: strftime returns incorrectly encoded string
- Ah, ok, I think I got it:
C:\Ruby200\bin>chcp
Page de codes active : 850 -
06:18 PM Bug #9414: strftime returns incorrectly encoded string
- How do I determine the system code page?
-
03:38 PM Bug #9414: strftime returns incorrectly encoded string
- Issue #9414 has been updated by Nobuyoshi Nakada.
Description updated
----------------------------------------
Bug #9414: strftime returns incorrectly encoded string
https://bugs.ruby-lang.org/issues/9414#change-44352
* Autho... -
03:38 PM Bug #9414: strftime returns incorrectly encoded string
- Issue #9414 has been updated by Nobuyoshi Nakada.
Status changed from Open to Feedback
What's your system codepage, 850 or 1252?
----------------------------------------
Bug #9414: strftime returns incorrectly encoded string
... -
03:30 PM Bug #9414 (Feedback): strftime returns incorrectly encoded string
- What's your system codepage, 850 or 1252?
-
03:34 AM Bug #9414 (Feedback): strftime returns incorrectly encoded string
- On French Windows 7 with date set to July 1 2014 (summer daylight savings time):
```
C:\Ruby200\bin>irb
DL is deprecated, please use Fiddle
irb(main):001:0> Time.now.strftime("%Z")
=> "Centre (heure d\x92\xE9t\xE9)"
irb(main):002... -
04:47 PM Bug #9419: Please backport fix for building against the newest OpenSSL
- Issue #9419 has been reported by Antonio Terceiro.
----------------------------------------
Bug #9419: Please backport fix for building against the newest OpenSSL
https://bugs.ruby-lang.org/issues/9419
* Author: Antonio Terceiro... -
04:45 PM Bug #9419 (Closed): Please backport fix for building against the newest OpenSSL
- This was fixed in
https://github.com/ruby/ruby/commit/1e7a929c1d44d7a368fbe379211183ac6c972920
Please backport it to the released versions.
-
03:27 PM Bug #9406: bigdecimal 1.2.4 install fail because missing ruby/util.h macro
- Issue #9406 has been updated by Kenta Murata.
I've released bigdecimal 1.2.5.
----------------------------------------
Bug #9406: bigdecimal 1.2.4 install fail because missing ruby/util.h macro
https://bugs.ruby-lang.org/issu... -
03:18 PM Bug #9406: bigdecimal 1.2.4 install fail because missing ruby/util.h macro
- I've released bigdecimal 1.2.5.
-
06:23 AM Bug #9406: bigdecimal 1.2.4 install fail because missing ruby/util.h macro
- Issue #9406 has been updated by Nobuyoshi Nakada.
Tracker changed from Backport to Bug
Project changed from Backport200 to ruby-trunk
Category set to ext
Status changed from Open to Closed
Assignee changed from Tomoyuki Chikanaga... -
06:23 AM Bug #9406 (Closed): bigdecimal 1.2.4 install fail because missing ruby/util.h macro
- Added macros for backword compatibilities at r44593 and r44594.
Next release of bigdecimal gem will fix this. -
03:18 PM Bug #9412: bigdecimal 1.2.4 fail to compile on windows
- I've released bigdecimal 1.2.5.
-
01:43 AM Bug #9412 (Closed): bigdecimal 1.2.4 fail to compile on windows
- 03:17 PM Revision d3c36b72 (git): * 2014-01-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:17 PM Revision 986a99b2 (git): * ext/bigdecimal/bigdecimal.gemspec: bigdecimal version 1.2.5.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:55 PM Bug #7968: Poor UDPSocket#send performance in ruby 2.0.0 on windows
- Issue #7968 has been updated by Alan Davies.
This is still a problem in 2.0.0-p353 on windows. Is there any update?
Thanks
Alan.
----------------------------------------
Bug #7968: Poor UDPSocket#send performance in ruby 2... -
02:49 PM Bug #7968: Poor UDPSocket#send performance in ruby 2.0.0 on windows
- This is still a problem in 2.0.0-p353 on windows. Is there any update?
Thanks
Alan. -
02:36 PM Revision c804e621 (git): test_gc.rb: relax assertion
- * test/ruby/test_gc.rb (test_profiler_total_time): GC time may be
shorter than the timer resolution.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:17 PM Bug #9416: 'private def' results in syntax errors in the method
- Issue #9416 has been updated by Nobuyoshi Nakada.
Description updated
----------------------------------------
Bug #9416: 'private def' results in syntax errors in the method
https://bugs.ruby-lang.org/issues/9416#change-44336
... -
12:17 PM Bug #9416: 'private def' results in syntax errors in the method
- Issue #9416 has been updated by Nobuyoshi Nakada.
Status changed from Open to Closed
----------------------------------------
Bug #9416: 'private def' results in syntax errors in the method
https://bugs.ruby-lang.org/issues/9416... -
12:14 PM Bug #9416 (Closed): 'private def' results in syntax errors in the method
-
09:06 AM Bug #9416: 'private def' results in syntax errors in the method
- This issue was solved with changeset r44449.
But not yet backported to 2.1.0.
Refer to https://bugs.ruby-lang.org/issues/9308
-
08:31 AM Bug #9416: 'private def' results in syntax errors in the method
- same with `private_class_method def self.foo`
-
07:38 AM Bug #9416 (Closed): 'private def' results in syntax errors in the method
- ```
class Class1
private def foo
[1, 2].each do |e|
p e
end
end
end
Class1.new.send :foo
```
_______________________________
```
syntax error, unexpected keyword_do_block, expecting keyword_end
[1, ... -
11:37 AM Revision bddde8ee (git): * io.c (io_binwrite): use writev(2) to avoid double write if available.
- * configure.in: check writev(2)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:52 AM Revision 82ab2d6d (git): test_numeric.rb: default_external
- * test/ruby/test_numeric.rb (test_coerce): manage
Encoding.default_external.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:21 AM Bug #9411: Rails server not started with Ruby(ruby 2.0.0p353 (2013-11-22) [x64-mingw32] with Rails 4.0.2 and MySQL Server 5.6)
- It seems that this issue is a duplicate of Bug #8591
-
07:40 AM Bug #9411: Rails server not started with Ruby(ruby 2.0.0p353 (2013-11-22) [x64-mingw32] with Rails 4.0.2 and MySQL Server 5.6)
- Also I have copy a file from mysql connector "libmysql.dll" and past inside C:\Ruby200-x64\bin DIR
-
07:36 AM Bug #9411: Rails server not started with Ruby(ruby 2.0.0p353 (2013-11-22) [x64-mingw32] with Rails 4.0.2 and MySQL Server 5.6)
- C:\rails_app\windows_app\glad3>gem install mysql2 --platform=ruby -- ' --with-my
sql-dir="c:\Program Files\MySQL\MySQL Connector C 6.1.3"' -
08:54 AM Misc #8741: email notification on bugs.ruby-lang.org is broken
- This is not resolved
-
08:49 AM Misc #8741 (Closed): email notification on bugs.ruby-lang.org is broken
-
08:26 AM Revision 251de320 (git): add timeout to test_do_reply
- http://fb64b.rubyci.org/~chkbuild/ruby-trunk/log/20140115T073301Z.log.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:16 AM Revision cfa2a210 (git): ext/json: backward compatibilities
- * ext/json/fbuffer/fbuffer.h, ext/json/generator/generator.c: add
macros for backward compatibilities.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:16 AM Revision a1a237fb (git): ext/fiddle: backward compatibilities
- * ext/fiddle/function.c, ext/fiddle/pointer.c: add macros for
backward compatibilities.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:16 AM Revision eb6575e1 (git): numeric.c: preserve encoding
- * numeric.c (num_init_copy): preserve encoding of error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:16 AM Revision c1b4b10a (git): numeric.c: preserve encoding
- * numeric.c (num_sadded): preserve encoding of error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:16 AM Revision 3ea61a2c (git): numeric.c: FLOAT_OUT_OF_RANGE
- * numeric.c (FLOAT_OUT_OF_RANGE): extract a macro and a helper to
raise RangeError of float.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:16 AM Revision 2c65cdd3 (git): numeric.c: preserve encoding
- * numeric.c (coerce_failed): preserve encoding of error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:16 AM Revision 5f3e675b (git): test_numeric.rb: coercion failures
- * test/ruby/test_numeric.rb (test_coerce): new assertions for
failure of coercion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:16 AM Revision f5a12ac5 (git): bigdecimal.c: rename macros
- * ext/bigdecimal/bigdecimal.c (RB_OBJ_CLASSNAME): rename from CLASS_NAME().
* ext/bigdecimal/bigdecimal.c (RB_OBJ_STRING): for object itself.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:16 AM Revision 405ad52a (git): function.c: adjust indent
- * ext/fiddle/function.c (parse_keyword_arg_i): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:04 AM Bug #9415 (Closed): Strings#codepoints doesn't respect BOM on UTF-{16,32} pseudo encodings
- Applied in changeset r44606.
----------
string.c: respect BOM
* string.c (get_encoding): respect BOM on pseudo encodings.
[ruby-dev:47895] [Bug #9415] -
04:42 AM Bug #9415: Strings#codepoints doesn't respect BOM on UTF-{16,32} pseudo encodings
- チケット #9415 が Nobuyoshi Nakada によって報告されました。
----------------------------------------
Bug #9415: Strings#codepoints doesn't respect BOM on UTF-{16,32} pseudo encodings
https://bugs.ruby-lang.org/issues/9415
* 作成者: Nobuyoshi Nakada... -
04:40 AM Bug #9415 (Closed): Strings#codepoints doesn't respect BOM on UTF-{16,32} pseudo encodings
- `String#codepoints`が`UTF-16`、`UTF-32`でのBOMを考慮していません。
```
$ ruby -e 'puts "%x" % "\u{feff}".encode("UTF-16BE").force_encoding("UTF-16").codepoints'
feff
$ ruby -e 'puts "%x" % "\u{feff}".encode("UTF-16LE").force_encoding("UTF-16").c... -
05:04 AM Revision 6951fbca (git): string.c: respect BOM
- * string.c (get_encoding): respect BOM on pseudo encodings.
[ruby-dev:47895] [Bug #9415]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:03 AM Bug #8940 (Closed): printing UTF-32 crashs ruby
- Applied in changeset r44605.
----------
string.c: use actual encodings
* string.c (get_actual_encoding): get actual encoding according to
the BOM if exists.
* string.c (rb_str_inspect): use according encoding, instead of
pseudo enc... -
05:03 AM Revision 77ae7b2e (git): string.c: use actual encodings
- * string.c (get_actual_encoding): get actual encoding according to
the BOM if exists.
* string.c (rb_str_inspect): use according encoding, instead of
pseudo encodings, UTF-{16,32}. [ruby-core:59757] [Bug #8940]
git-svn-id: svn+ssh:... -
05:03 AM Revision de6d4226 (git): test_m17n.rb: split tests for inspect
- * test/ruby/test_m17n.rb (test_utf_16_32_inspect): split tests for
each encodings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:30 AM Revision 111cbcb3 (git): merge revision(s) 44601:
- FreeBSD 10 SEGVs this less than 4M + 12K bytes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@44603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:29 AM Revision b0d69f3c (git): merge revision(s) 44598,44599,44600:
- /usr/lib/libc.so is not symlink on FreeBSD 10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@44602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:01 AM Bug #9409: Cygwin で "filesystem" の encoding が正しくないケース
- Usaku NAKAMURA wrote:
> Nayuta Taga wrote:
> ...
まず、Cygwin 特有の事情をご説明いたします。
http://cygwin.com/cygwin-ug-net/setup-locale.html
> Cygwin uses the setting of the locale environment variables LC_ALL,
> ...
つまり Cygwin のファイル名のエンコーディング... -
01:57 AM Revision 4892d046 (git): FreeBSD 10 SEGVs this less than 4M + 12K bytes.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:46 AM Revision 622db848 (git): same as r44598
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:43 AM Revision d1bbd80d (git): same as r44597
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:25 AM Revision c9c6e3ef (git): /usr/lib/libc.so is not symlink on FreeBSD 10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:59 AM Bug #9413 (Closed): Object Metaclass Constants Array doesn't Include Singleton Constant
- Let's assume we have this Ruby class:
class MyClass
class << self
MC_CONST = 30
end
end
Then, let's instantiate `MyClass` and add another constant to the object's metaclass:
m = MyClass.new
...
01/14/2014
-
10:46 PM Bug #5985: miniruby skews "make benchmark" results
- Btw, I'm still having this problem and it's very noticeable with:
make benchmark-each ITEM=bm_so_reverse_complement
This is running the same COMPARE_RUBY as what was just installed via
"make install" Strangely, miniruby is th... - 09:50 PM Revision 57151af3 (git): * 2014-01-15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:49 PM Revision 0f247124 (git): suppress warning: implicit conversion loses integer precision
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:17 PM Bug #9412 (Closed): bigdecimal 1.2.4 fail to compile on windows
- on windows 7 x 64 with ruby 1.9.3p484 and devkit DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe
the latest version of gem (1.2.4) don't compile
version 1.2.3 is ok
result is:
````
ruby 1.9.3p484 (2013-11-22) [i386-mingw32]
Upda... -
03:29 PM Bug #9409: Cygwin で "filesystem" の encoding が正しくないケース
- Nayuta Taga wrote:
> Windows ネイティブ環境ならばそうかもしれませんが、
> ...
Cygwinだろうがなんだろうが、Windowsにおいて、ファイルシステムの保持する
エンコーディングをRubyが勝手に違うものとみなすことはできません。
-
10:10 AM Bug #9409: Cygwin で "filesystem" の encoding が正しくないケース
- Nobuyoshi Nakada wrote:
> filesystem encodingはシステムの設定を反映するので、意図通りの動作ですね。
Windows ネイティブ環境ならばそうかもしれませんが、
Cygwin 環境ですので LANG に設定されているエンコーディングに従うべきではないのでしょうか?
少なくとも LANG=ja_JP.UTF-8 の状態で
`Dir.open('.').each{|item| p item.encoding }`... -
09:30 AM Bug #9409: Cygwin で "filesystem" の encoding が正しくないケース
- filesystem encodingはシステムの設定を反映するので、意図通りの動作ですね。
-
08:45 AM Bug #9409: Cygwin で "filesystem" の encoding が正しくないケース
- チケット #9409 が Nayuta Taga によって報告されました。
----------------------------------------
Bug #9409: Cygwin で "filesystem" の encoding が正しくないケース
https://bugs.ruby-lang.org/issues/9409
* 作成者: Nayuta Taga
* ステータス: Open
* 優先度: Normal
* 担当者:... -
08:43 AM Bug #9409 (Assigned): Cygwin で "filesystem" の encoding が正しくないケース
- Cygwin で環境変数 LANG に設定されているエンコーディングと
システムのコードページが異なる場合
"filesystem" の encoding が正しく設定されないようです。
例えば、
* Windows 7 (日本語)
* Cygwin 環境 (CYGWIN_NT-6.1-WOW64 ****** 1.7.27(0.271/5/3) 2013-12-09 11:57 i686 Cygwin)
* 環境変数 LANG は ja_JP.UT... -
01:36 PM Bug #9411 (Feedback): Rails server not started with Ruby(ruby 2.0.0p353 (2013-11-22) [x64-mingw32] with Rails 4.0.2 and MySQL Server 5.6)
- Please provide details on how you build or compiled mysql2 gem for 64bits Ruby.
Asking this because MySQL Connector/C code for 64bits provides a linking library that is not compatible with x64-mingw32 and require extra steps.
-
12:03 PM Bug #9411 (Third Party's Issue): Rails server not started with Ruby(ruby 2.0.0p353 (2013-11-22) [x64-mingw32] with Rails 4.0.2 and MySQL Server 5.6)
- HI ALL,
I am facing some problem when installing rails app with mysql in windows7 64 bit machine. Can any one check the issue.
O.S- Windows 7 (64 bit)
Ruby - ruby 2.0.0p353 (2013-11-22) [x64-mingw32]
Rails - Rails 4.0.2
Mysql - MyS... -
12:14 PM Bug #9342 (Closed): [PATCH] SizedQueue#clear does not notify waiting threads in Ruby 1.9.3 - Applied in changeset r44595.
----------
* ext/thread/thread.c (rb_szqueue_clear): notify SZQUEUE_WAITERS
on SizedQueue#clear. [ruby-core:59462] [Bug #9342]
* test/thread/test_queue.rb: add test. the patch is from
Justin Collins. -
12:14 PM Revision 79e69ec7 (git): * ext/thread/thread.c (rb_szqueue_clear): notify SZQUEUE_WAITERS
- on SizedQueue#clear. [ruby-core:59462] [Bug #9342]
* test/thread/test_queue.rb: add test. the patch is from
Justin Collins.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:56 AM Bug #8940: printing UTF-32 crashs ruby
- By Mistake
-
11:55 AM Bug #8940: printing UTF-32 crashs ruby
- By Mistake
-
10:36 AM Bug #8940: printing UTF-32 crashs ruby
- Issue #8940 has been updated by Hans Mackowiak.
the bug is still in 2.2trunk with UTF-16 & #inspect
s="\xFF\xFE\"\x00i\x00d\x00\"\x00|\x00\"\x00s\x00y\x00s\x00t\x00e\x00m\x00_\x00c\x00o\x00d\x00e\x00\"\x00|\x00\"\x00a\x00s\x0... -
10:32 AM Bug #8940: printing UTF-32 crashs ruby
- the bug is still in 2.2trunk with UTF-16 & #inspect
s="\xFF\xFE\"\x00i\x00d\x00\"\x00|\x00\"\x00s\x00y\x00s\x00t\x00e\x00m\x00_\x00c\x00o\x00d\x00e\x00\"\x00|\x00\"\x00a\x00s\x00s\x00e\x00m\x00b\x00l\x00y\x00_\x00c\x00o\x00d\x00e\x... -
10:07 AM Bug #9384: Segfault in ruby 2.1.0p0
- Issue #9384 has been updated by Aman Gupta.
The changelog for therubyracer says:
0.12.0 2013/08/20
* enable native (and functional) weakref implementation for MRI > 2.0
It seems likely this fixed your issue.
-------------... -
09:57 AM Bug #9384: Segfault in ruby 2.1.0p0
- The changelog for therubyracer says:
0.12.0 2013/08/20
* enable native (and functional) weakref implementation for MRI > 2.0
It seems likely this fixed your issue. -
09:34 AM Bug #9384: Segfault in ruby 2.1.0p0
- So the issue is closed? Is it really a third party issue that causes the segfault?
-
06:58 AM Revision 0a8988c1 (git): bigdecimal.c: backword compatibility as gem
- * ext/bigdecimal/bigdecimal.c (CLASS_NAME): macro to wrap
depending on PRIsVALUE for 1.9. [Backport #9406]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:51 AM Revision 88383b05 (git): bigdecimal.c: backword compatibility as gem
- * ext/bigdecimal/bigdecimal.c (DECIMAL_SIZE_OF_BITS): fallback
definition for 2.1 or older. [ruby-core:59750] [Backport #9406]
* ext/bigdecimal/bigdecimal.c (raise_with_class): fallback definition
for 1.9.
git-svn-id: svn+ssh://ci.... -
05:42 AM Misc #9219: Policy Announcement for All Versions
- Issue #9219 has been updated by Yui NARUSE.
About 2.1 and 2.0.0 is discussing now.
----------------------------------------
misc #9219: Policy Announcement for All Versions
https://bugs.ruby-lang.org/issues/9219#change-44274
... -
05:38 AM Misc #9219: Policy Announcement for All Versions
- About 2.1 and 2.0.0 is discussing now.
-
04:35 AM Bug #9407: bigdecimal 1.2.4 install fail because missing ruby/util.h macro
- With no patch to util.h, bigdecimal 1.2.4 installs ok on 64bit linux in both 2.0.0 and 2.1.1
jon@ubusvr64:~$ uru gem up bigdecimal
ruby 2.0.0p384 (2014-01-12 revision 44576) [x86_64-linux]
Updating installed gems
... -
03:46 AM Bug #9407 (Closed): bigdecimal 1.2.4 install fail because missing ruby/util.h macro
- 2.1.1 ruby/util.h is missing this trunk macro
http://paste.ubuntu.com/6748376/
which causes this failure
http://paste.ubuntu.com/6747904/
Manually patching util.h with the trunk macro fixes gem install fail
http://paste.ub... -
04:32 AM Bug #9406: bigdecimal 1.2.4 install fail because missing ruby/util.h macro
- With no patch to util.h, bigdecimal 1.2.4 installs ok on 64bit linux in both 2.0.0 and 2.1.1
jon@ubusvr64:~$ uru gem up bigdecimal
ruby 2.0.0p384 (2014-01-12 revision 44576) [x86_64-linux]
Updating installed gems
... -
03:42 AM Bug #9406 (Closed): bigdecimal 1.2.4 install fail because missing ruby/util.h macro
- 2.0.0 ruby/util.h is missing this trunk macro
http://paste.ubuntu.com/6748376/
which causes this failure
http://paste.ubuntu.com/6747904/
Manually patching util.h with the trunk macro fixes gem install fail
http://paste.ub... -
03:23 AM Revision 43d41486 (git): strscan.c: fix typo
- * ext/strscan/strscan.c (inspect1): fix typo, rb_str_cat() instead
of rb_str_cat2().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:48 AM Revision 747e3c73 (git): strscan.c: make string directly
- * ext/strscan/strscan.c (inspect1): extract intermediate string from
the buffer directly, like as inspect2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:32 AM Revision ab4e0ab4 (git): * vm_exec.c (cfp): Fixes a SEGV issue in r44554.
- r11 can be broken by subroutine and sometimes causes SEGV at
runtime. Use r13 instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:16 AM Feature #9390 (Assigned): Support for the ALPN TLS extension
01/13/2014
-
11:04 PM Feature #9405 (Rejected): Implicitly convert blocks to procs / remove blocks completely?
- It's the idea once implemented and abandoned.
-
11:58 AM Feature #9405 (Rejected): Implicitly convert blocks to procs / remove blocks completely?
- While i am think of this, here is one more proposal.
If a block appears in a place where no block can appear, convert it automatically to a proc. For example:
p = do |n; s| s = gets; n.times do puts s end end
t = {|| Time... -
07:08 PM Misc #9006: build and host binary rubies
- rvm-bin is definitely the most immediately viable solution. In the future, you should consider using something like Gitian for reproducable builds. http://gitian.org/
- 05:30 PM Revision 503e3434 (git): * 2014-01-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:29 PM Revision e7fe5648 (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_divide): Add an additional
- digit for the quotient to be compatible with bigdecimal 1.2.1 and
the former. [ruby-core:59365] [#9316] [#9305]
* test/bigdecimal/test_bigdecimal.rb: tests for the above change.
* ext/bigdecimal/bigdecimal.gemspec: bigdecimal versio... -
11:19 AM Bug #9384 (Third Party's Issue): Segfault in ruby 2.1.0p0
-
10:38 AM Bug #9384: Segfault in ruby 2.1.0p0
- Aman Gupta wrote:
> Maybe it's related to the ref gem and weak_reference implementation? Can you try without it?
No I can't because ref is required by therubyracer gem, which is needed for rails assets precompilation. So I tried upda... -
02:11 AM Bug #9384: Segfault in ruby 2.1.0p0
- Sure, but `ref` is pure ruby.
-
02:07 AM Bug #9384: Segfault in ruby 2.1.0p0
- Maybe it's related to the ref gem and weak_reference implementation? Can you try without it?
-
10:59 AM Bug #595: Fiber ignores ensure clause
- What about this ticket?
Guaranteed `ensure` inside of Fiber and Fiber.raise (as complement for Thread.raise) will be usefull for full coroutine based environment ala python's gevent. -
09:14 AM Feature #9401: Yet another syntax for literal anonymous functions (lambdas)
- Nobuyoshi Nakada wrote:
> What about `(^x) {x*x}`?
I think, my initial attempt was closer to lambda calculus notation `(λx(x*x))` or `(λx.x*x)`, to its modern variant `x ⟼ x*x`, to Haskell `\x -> x*x`, to Ruby block syntax `{|x| x*x ... -
06:51 AM Revision b2e85cbd (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:57 AM Revision 94f35c9b (git): * lib/xmlrpc/client.rb: [DOC] Remove note about SSL package on RAA
- Since RAA has been deprecated, and the SSL package has been replaced
with net/https this statement is entirely false and should be
deleted. [Bug #9152]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44586 b2dd03c8-39d4-4d8f-98ff... -
05:54 AM Misc #9394 (Closed): Remove dead link to raa
- Applied in changeset r44585.
----------
* lib/net/smtp.rb: [DOC] Remove dead link to RAA by Giorgos Tsiftsis
Fixes the following bugs: [Bug #9152] [Bug #9268] [Bug #9394]
* lib/open-uri.rb: ditto -
05:54 AM Bug #9268 (Closed): dead link to raa
- Applied in changeset r44585.
----------
* lib/net/smtp.rb: [DOC] Remove dead link to RAA by Giorgos Tsiftsis
Fixes the following bugs: [Bug #9152] [Bug #9268] [Bug #9394]
* lib/open-uri.rb: ditto -
05:54 AM Bug #9152 (Closed): Relic documentation in lib/xmlrpc/client.rb
- Applied in changeset r44585.
----------
* lib/net/smtp.rb: [DOC] Remove dead link to RAA by Giorgos Tsiftsis
Fixes the following bugs: [Bug #9152] [Bug #9268] [Bug #9394]
* lib/open-uri.rb: ditto -
05:49 AM Revision 7433ce3e (git): * lib/net/smtp.rb: [DOC] Remove dead link to RAA by Giorgos Tsiftsis
- Fixes the following bugs: [Bug #9152] [Bug #9268] [Bug #9394]
* lib/open-uri.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:36 AM Bug #9243 (Closed): DOC fix example key exchane using DH
- Applied in changeset r44584.
----------
* ext/openssl/ossl_pkey_dh.c: Fixed typo by Sandor Szücs [Bug #9243] -
05:27 AM Revision 3f039c96 (git): * ext/openssl/ossl_pkey_dh.c: Fixed typo by Sandor Szücs [Bug #9243]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:40 AM Bug #9391 (Closed): Segfault after upgrade from ruby 2.0 to 2.1
-
04:22 AM Misc #9219: Policy Announcement for All Versions
- This is actually pretty much a duplicate of #9215, the only difference is we still don't have an anticipated maintenance window for 2.0.0
Perhaps nagachika-san could comment on this, and we could formally introduce a tentative mainten... -
04:20 AM Misc #9215 (Feedback): Maintenance Policy for Future Releases (2.1.0 & beyond)
- I will give some time for feedback before closing this and opening a Pull Request on the upstream www.ruby-lang.org repository.
-
04:14 AM Misc #9215: Maintenance Policy for Future Releases (2.1.0 & beyond)
- I've written a draft of the [future maintenance policy](https://github.com/zzak/www.ruby-lang.org/blob/future_release_policy/en/news/_posts/2014-01-13-approved-maintenance-policy.md).
Please check it. -
03:31 AM Bug #9302 (Open): [PATCH] thread: fix deadlock/freeze on SizedQueue#push -
03:25 AM Bug #9302 (Closed): [PATCH] thread: fix deadlock/freeze on SizedQueue#push - Applied in changeset r44583.
----------
* ext/thread/thread.c (rb_szqueue_push): check GET_SZQUEUE_WAITERS
instead of GET_QUEUE_WAITERS to prevent deadlock. Patch by Eric Wong.
[Bug #9302] [ruby-core:59324]
* test/thread/test_queue... -
03:30 AM Bug #9396 (Rejected): SizedQueue broken in Ruby 2.1 - Duplicate of #9302
- 03:18 AM Revision 64926db9 (git): * ext/thread/thread.c (rb_szqueue_push): check GET_SZQUEUE_WAITERS
- instead of GET_QUEUE_WAITERS to prevent deadlock. Patch by Eric Wong.
[Bug #9302] [ruby-core:59324]
* test/thread/test_queue.rb: add test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:57 AM Revision 23a85687 (git): openssl/ossl.h: calculate as long
- * ext/openssl/ossl.h (ossl_str_adjust): calculate as long, not
casting to int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:57 AM Revision 74947c9d (git): ext: use rb_sprintf() and rb_vsprintf() with PRIsVALUE
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:57 AM Revision 5f11c410 (git): * 2014-01-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:57 AM Revision eadaa8ba (git): ext: use PRIsVALUE for rb_raise and rb_warn
- * ext/bigdecimal/bigdecimal.c (BigDecimal_new): use PRIsVALUE for
rb_raise() and rb_warn().
* ext/openssl/ossl_cipher.c (ossl_cipher_init): ditto.
* ext/racc/cparse/cparse.c (extract_user_token): ditto.
* ext/syslog/syslog.c (mSyslog_l... -
12:57 AM Revision 7e9bd8f7 (git): ext: real class name
- * ext/dl/cptr.c (rb_dlptr_inspect): use real class name, not
singleton class.
* ext/fiddle/pointer.c (rb_fiddle_ptr_inspect): ditto.
* ext/strscan/strscan.c (strscan_inspect): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk... -
12:57 AM Revision 56e96b9f (git): cptr.c: unused variable
- * ext/dl/cptr.c (rb_dlptr_inspect): remove no longer used variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:05 AM Bug #9397: Lambda#=== raises `ArgumentError` if the lambda accepts 0 args or requires more than 1
- Benoit Daloze wrote:
> > Consider that ruby's syntax doesn't even allow you to call === with 0 or more than 1 argument unless you resort to hacks like send
> ...
Interesting. You learn something new everyday :).
I'd still put this ...
01/12/2014
-
11:36 PM Feature #9401: Yet another syntax for literal anonymous functions (lambdas)
- What about `(^x) {x*x}`?
-
10:35 PM Feature #9401: Yet another syntax for literal anonymous functions (lambdas)
- I have realized that the backslash may conflict with explicit line continuation. In that case, "almost any" symbol would work to distinguish a "lambda" from a hash. For example: `{^ x => x*x }`. (I've read that initially Church wrote ...
-
12:49 PM Feature #9401: Yet another syntax for literal anonymous functions (lambdas)
- An anonymous "function" (not really a function) without arguments would be like this:
timer = {\=> Time.now }
---
Maybe there is no need to make it look so much like a hash, so the following looks to me like a good option ei... -
10:44 AM Feature #9401 (Open): Yet another syntax for literal anonymous functions (lambdas)
- Please do not be angry at me and just close this proposal if it does not look interesting. It comes from my aesthetic dissatisfaction with the `->(x){ ... }` literal anonymous function notation and from my amateurish interest in lambda ...
-
02:23 PM Revision 75e7f2ff (git): merge revision(s) 44260: [Backport #9168]
- patch inspired from r44260 on trunk. [ruby-core:58652] [Bug #9168]
* gc.c (run_finalizer): clear th->errinfo before invoke finalizer and
restore afterward.
* test/ruby/test_gc.rb (test_exception_in_finalizer): add test for
above.
... -
01:31 PM Bug #9348 (Closed): --with-tcllib and --with-tklib configure options not working correctly
-
01:30 PM Bug #9348: --with-tcllib and --with-tklib configure options not working correctly
- fixed by r44574.
-
01:18 PM Revision e76761e7 (git): merge revision(s) 44570:
- tcltklib.c: create_ip_exc format argument
* ext/tk/tcltklib.c (create_ip_exc): format argument must not be a
dynamic string, not to contain unescaped %.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44575 b2... -
01:04 PM Bug #9399 (Closed): [PATCH] iseq: avoid potential memory leak in iseq_load
- fixed by r44568.
-
01:00 PM Feature #9402 (Open): A syntax to specify the default value of a hash
- I propose the following syntax to specify the default value of a hash:
h = { => 0, :a => 1, :b => 2 }
h[:a] # => 1
h[:c] # => 0 -
09:09 AM Bug #9397: Lambda#=== raises `ArgumentError` if the lambda accepts 0 args or requires more than 1
- Myron Marston wrote:
> Why is it desirable for a built-in type to raise `ArgumentError` for `===` rather than returning false?
I guess mostly because it would be hard to debug why you never get in a specific clause of the case. -
09:06 AM Bug #9397: Lambda#=== raises `ArgumentError` if the lambda accepts 0 args or requires more than 1
- > Consider that ruby's syntax doesn't even allow you to call === with 0 or more than 1 argument unless you resort to hacks like send
The syntax allows it, you just need a dot:
-> a, b { a + b }.=== 1,2
-> a, b { a + b }.===(1,2)
->... -
08:01 AM Bug #9397: Lambda#=== raises `ArgumentError` if the lambda accepts 0 args or requires more than 1
- This seems odd behaviour, given that in normal usage you'd never be able to satisfy the constraint to avoid the ArgumentError, I feel this should return false like a proc would do.
-
07:27 AM Bug #9397: Lambda#=== raises `ArgumentError` if the lambda accepts 0 args or requires more than 1
- > Why lambda?
> ...
Users can use rspec's expectations with any kind of object. We can't arbitrarily restrict it and say, "you can't use lambdas". With some new features we're adding, we're leveraging ruby's `===` protocol, and we can... -
07:21 AM Bug #9397 (Rejected): Lambda#=== raises `ArgumentError` if the lambda accepts 0 args or requires more than 1
- Why `lambda`?
You can use `proc` for such purpose. -
09:04 AM Revision 738c298c (git): * ext/tk/extconf.rb: --with-tcllib and --with-tklib configure options
- don't work correctly. Patch by jeremyevans0 (Jeremy Evans).
[ruby-core:59483] [Bug #9348]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:20 AM Revision 89a3450a (git): test_bigmath.rb: ignore on unrelated platforms
- * test/bigdecimal/test_bigmath.rb (test_log): ignore the result of log
which is not a finite number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:11 AM Revision 9bd672f6 (git): ext: use rb_sprintf() and rb_vsprintf() with PRIsVALUE
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:11 AM Revision 42406852 (git): stubs.c: library name strings
- * ext/tk/stubs.c (ruby_open_tcl_dll, ruby_open_tk_dll): make library
names by string literal concatenation at compilation time, not by
sprintf() at runtime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44571 b2dd03c8-39d4-4d8f-... -
08:11 AM Revision 13e47e81 (git): tcltklib.c: create_ip_exc format argument
- * ext/tk/tcltklib.c (create_ip_exc): format argument must not be a
dynamic string, not to contain unescaped %.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:49 AM Revision 59d1856d (git): iseq.c: linear search
- * iseq.c (iseq_type_from_id): linear search instead of hash lookup for
small fixed number keys.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:41 AM Revision ff003008 (git): iseq.c: potential memory leak
- * iseq.c (iseq_load): keep type_map to get rid of memory leak.
based on a patch by Eric Wong at [ruby-core:59699]. [Bug #9399]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:08 AM Bug #8623: Make stable Gem::Specification.files in default .gemspecs
- r43587 was backported to ruby_2_0_0 at r44567.
-
07:08 AM Revision 7b60ab09 (git): merge revision(s) 43587: [Backport #8623]
- * tool/rbinstall.rb (Gem::Specification#collect): make stable
Gem::Specification.files in default .gemspecs the different order of
"files" in .gemspec files makes them different therefore possibly
conflictin... -
07:06 AM Bug #8439: test_aes_gcm_wrong_tag(OpenSSL::TestCipher) fails randomly
- r43676 was backported to ruby_2_0_0 at r44566.
-
07:05 AM Revision 1b056110 (git): merge revision(s) 43676: [Backport #8439]
- * test/openssl/test_cipher.rb (test_aes_gcm_wrong_tag): Don't use
String#succ because it can make modified (wrong) auth_tag longer
than 16 bytes. The longer auth_tag makes that
EVP_CIPHER_CTX_ctrl (and inte... -
06:57 AM Bug #7842: An alias of a "prepend"ed method skips the original method when calling super
- r44175 was already backported to `ruby_2_0_0` at r44345.
-
06:54 AM Bug #7772: Consider bumping stack size in ruby_qsort
- r44195 was backported to ruby_2_0_0 at r44565.
-
06:53 AM Revision 0c44d661 (git): merge revision(s) 44195: [Backport #7772]
- * util.c (ruby_qsort): fix potential stack overflow on a large
machine. based on the patch by Conrad Irwin <conrad.irwin AT
gmail.com> at [ruby-core:51816]. [Bug #7772]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
06:31 AM Bug #5199: ext/tk: RB_GC_GUARD seems to be needed in several places
- r41351 was backported to ruby_2_0_0 at r44564.
-
06:30 AM Revision 9a1728a1 (git): merge revision(s) 41351: [Backport #9199]
- * ext/tk/tkutil/tkutil.c: use rb_sprintf(), rb_id2str(), and
rb_intern_str() instead of rb_intern() and RSTRING_PTR() with
RB_GC_GUARD(), to prevent temporary objects from GC.
[ruby-core:39000] [Bug #5199]
... -
05:03 AM Feature #9400 (Open): Respect constant lookup when using `raise`
- When raising an error without defining an exception class, `::RuntimeError` appears to be a hard-coded default. I propose that this be changed so proper constant lookup rules are respected when looking up `RuntimeError`. For example, I w...
- 12:21 AM Revision 3963c09a (git): * 2014-01-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:21 AM Revision 5e9b7bac (git): ruby/util.h: DECIMAL_SIZE_OF_BITS
- * include/ruby/util.h (DECIMAL_SIZE_OF_BITS): a preprocessor
constant macro to approximate decimal representation size of n-bits
integer.
* iseq.c (register_label): use DECIMAL_SIZE_OF_BITS for better
approximation.
* ext/bigdecima...
01/11/2014
-
08:44 PM Bug #9399 (Closed): [PATCH] iseq: avoid potential memory leak in iseq_load
- The following changes since commit 0e9cad9a8e25282be170d3e4240bd2ba6ce1a419:
test_bigmath.rb: r44558 (2014-01-11 10:26:07 +0000)
are available in the git repository at:
git://80x24.org/ruby.git iseq_load-leak
for you to f... -
07:57 PM Bug #9398 (Rejected): Unexplained core dump error
- Unable to run rspec due to possible Ruby bug.
See Gist file of terminal output here: https://gist.github.com/jacqueline-homan/8373175 -
06:47 PM Bug #9397 (Rejected): Lambda#=== raises `ArgumentError` if the lambda accepts 0 args or requires more than 1
- Ruby 1.9 introduced `===` on lambdas/procs so that you can put them in case statements. I'm a fan of this, but there's an unfortunate side effect I've run into recently.
If you have a lambda that accepts 0 args (e.g. `lambda { }`) or... -
03:27 PM Bug #9396 (Rejected): SizedQueue broken in Ruby 2.1 - It looks like SizedQueue is broken in Ruby 2.1. The following program deadlocks when running on trunk and 2.1, but works correctly on 1.9.3 and 2.0.0:
require "thread"
q = SizedQueue.new(1)
Thread.start do
... -
11:36 AM Feature #8168: Feature request: support for (single) statement lambda syntax/definition
- I do not understand the argument about the code presumably looking ugly with curly braces (maybe if code looks ugly, it is better to read poetry? :)).
I do not think that
foo ->> Time.now
is more beautiful or clear than
... -
11:09 AM Feature #8863: New error class: UndefinedBehaviorError
- After thinking about it, and since there is no feedback, i think this my feature request may be closed. I think handling special cases or catching exceptions to raise another exception is an unnecessary complication. Documentation shou...
-
10:26 AM Revision 0e9cad9a (git): test_bigmath.rb: r44558
- * test/bigdecimal/test_bigmath.rb (test_log): add assertion for r44558.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:26 AM Revision 1367f28a (git): test_bigmath.rb: test_log
- * test/bigdecimal/test_bigmath.rb (test_log): add basic test for BigMath.log.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:50 AM Bug #9393 (Closed): Strange behavior of DelegateClass + loop + method_missing
- Correct behavior.
`loop` is also delegated to the target object now.
- 03:15 AM Revision c855854e (git): * 2014-01-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:15 AM Revision 2b1c47da (git): bigdecimal.c: expand buffer
- * ext/bigdecimal/bigdecimal.c (BigMath_s_log): expand buffer size for
64bit platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:41 AM Bug #9334 (Closed): activesupport-4.0.2/lib/active_support/dependencies.rb:229: [BUG] Segmentation fault at 0x00000000000018
- 12:06 AM Revision 820b7147 (git): * 2014-01-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@44557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:06 AM Revision 0957229a (git): merge revision(s) 44544:
- * doc/NEWS-2.1.0: Add mention for litteral.freeze
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@44556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/10/2014
-
11:08 PM Misc #9394 (Closed): Remove dead link to raa
- Fixes this bug https://bugs.ruby-lang.org/issues/9268
(I could not update this issue) -
10:28 PM Bug #9393 (Rejected): Strange behavior of DelegateClass + loop + method_missing
- Having the following class in Ruby 2.1:
```
require 'delegate'
class A < DelegateClass(Hash)
def a
loop do
::Kernel.p 'A'
break
end
end
end
```
After calling `A.new({}).a` the output is "A".
H... -
08:19 PM Misc #9392 (Closed): Fix typo
-
07:16 PM Bug #9391 (Closed): Segfault after upgrade from ruby 2.0 to 2.1
- Hi,
I also this message on the rubyforum but no reaction so far, therefor I am posting here as well. I upgraded our Sinatra app to ruby 2.1 and running our tests immediately result in a segfault. Attached my dependencies with versions... -
04:30 PM Feature #9390 (Closed): Support for the ALPN TLS extension
- ALPN [1] is a successor [2] to NPN, support for which was added in 2.0.0 [3].
HTTP/2 [4] is using ALPN to negotiate protocol support, and the spec is moving fast -- it'd be great to have ALPN support in one of the upcoming Ruby releas... -
02:55 PM Bug #9389 (Closed): ruby crashed when crash in gsub function on LARGE string.
- [description]
ruby crashed when crash in gsub function on LARGE string.
[expected result]
"Out of Memory" or any other exception
[actual result]
ruby crash
[platform]
ruby 1.9.3p194/ubuntu 13.10
[code]
stream=Fil... -
12:04 PM Bug #9388 (Closed): Ruby 1.9.3-pxxx segmentation fault
- Hi,
we experience regular segmentation faults on our production server (a Rails web application running at www.torial.com/magazine). I have attached the log showing the segmentation fault and all the information being logged with it. ... -
10:12 AM Bug #9361 (Closed): gem install --ignore-dependencies fails to install local gems
- Eric fixed this by updating RubyGems to 2.2.1 in r44515 (or at least, I think that's the right revision.
-
09:42 AM Revision b89a88f0 (git): test_weakref.rb: find collected weakref
- * test/test_weakref.rb (test_recycled): retry and find a WeakRef
whose the target is collected, to fix circumstance dependent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:22 AM Revision e85e95c4 (git): * vm_exec.c (cfp): Avoid generating invalid binary for
- NativeClient.
r15 on x86_64 is reserved by NativeClient. So r15 to cfp used to
generate invalid binary under some combinations of compiler
optimization flags.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44554 b2dd03c8-39d4-... -
09:01 AM Revision aee9f287 (git): vm_insnhelper.c: boudn method transplanting
- * vm_insnhelper.c (vm_search_super_method): allow bound method from a
module, yet another method transplanting.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:40 AM Revision 95779dea (git): test_super.rb: remove unneeded code
- * test/ruby/test_super.rb (test_missing_super_in_module_unbound_method):
binding target does not need extending.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:53 AM Bug #9170: Math.sqrt returns different types when mathn is included; breaks various gems - this bug can be reproduced in Ruby 1.8 as well
- I will check the docs and see if I can fix it.
> On Jan 6, 2014, at 12:44 AM, "kranzky (Jason Hutchens)" <JasonHutchens@gmail.com> wrote:
>
>
> Issue #9170 has been updated by kranzky (Jason Hutchens).
>
>
> mrkn (Kenta Mur... -
07:48 AM Bug #9170: Math.sqrt returns different types when mathn is included; breaks various gems - this bug can be reproduced in Ruby 1.8 as well
- Isn't this more an issue with the documentation of `mathn` not specifying all the methods it changes and how?
It might be wise to add a warning that it is suggested not to require it from a library because it might induce unexpected c... -
07:42 AM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
- tenderlovemaking (Aaron Patterson) wrote:
> It seems like I would have to implement `==` with
> ...
Not sure I follow... You don't have to implement `==` at all in your example.
Moreover `==` should not return `nil`, it is `<=>` that... -
07:35 AM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
- The method `<=>` should return `nil` for objects that are not comparable, not raise errors.
So this seems to be a misunderstanding/bug in Rails.
It might be best to add a warning to Ruby 2.2 if an exception is caught by `==` and we... -
07:23 AM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
- On Fri, Jan 10, 2014 at 06:03:03AM +0900, Eregon (Benoit Daloze) wrote:
>
> Issue #7688 has been updated by Eregon (Benoit Daloze).
>
>
> @tenderlove These are probably bugs then, is it not? I will try to have a look.
... -
06:02 AM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
- @tenderlove These are probably bugs then, is it not? I will try to have a look.
-
05:13 AM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
- r44502 makes the Rails tests fail spectacularly. We have <=> implementations that raise exceptions and expect == to swallow them. We probably shouldn't be raising exceptions in these methods, but this change definitely breaks our tests.
-
04:54 AM Revision 58f800a2 (git): insns.def: add opt path for Hash#[] and Hash#[]= used with str literal keys
- * insns.def (opt_aref_with): new instruction to optimize Hash#[],
removing any allocation overhead when used with a string literal
key. Patch by normalperson (Eric Wong). [ruby-core:59640] [Bug #9382]
* insns.def (opt_aset_with): new... -
04:13 AM Revision 9bfaeffd (git): gc.c: fix doc typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:34 AM Bug #9334: activesupport-4.0.2/lib/active_support/dependencies.rb:229: [BUG] Segmentation fault at 0x00000000000018
- I confirm that on ruby 2.2.0dev (2014-01-10 trunk 44548) the issue is resolved
-
12:58 AM Feature #9047: Alternate hash key syntax for symbols
- I should also mention this allows for similar syntax between JavaScript, Python, and Ruby. In this case, all three languages could translate the same dictionary/hash in a more or less compatible way.
-
12:47 AM Bug #9386 (Closed): Ruby won't build tcl/tk extension, libpathflag expects array
- This issue was solved with changeset r44541.
Josef, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
tk/extconf.rb: fix libpathflag arguments
* ext/tk/extconf.rb: f... -
12:10 AM Bug #9386: Ruby won't build tcl/tk extension, libpathflag expects array
- Including alternative patch if we don't want to change the mkmf. This just fixes the revision.
01/09/2014
-
10:40 PM Bug #9387 (Closed): Documentation for Range#size is incomplete
- The documentation for Range#size does not mention the case where not all arguments are instances of Numeric, in which case it returns nil.
I created a patch here: https://github.com/ruby/ruby/pull/501 -
09:23 PM Revision d31cd065 (git): * range.c (Range#size): [DOC] improve description and add examples.
- Patch by @skade. [Fixes GH-501]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:46 PM Bug #8358 (Closed): TestSprintf#test_float test failure
- This issue was solved with changeset r44538.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
configure.in: use SSE2
* configure.in: use SSE2 instructions t... -
08:33 PM Bug #7742: System encoding (Windows-1258) is not recognized by Ruby to convert back to UTF-8
- phasis68 (Heesob Park) wrote:
> As I know, VISCII(Vietnamese Standard Code for Information Interchange) can round trip UTF-8. So the implementation of the converter between VISCII and UTF-8 might be easy.
Yes, it should be easy. Can ... -
07:15 PM Bug #7742: System encoding (Windows-1258) is not recognized by Ruby to convert back to UTF-8
- As I know, VISCII(Vietnamese Standard Code for Information Interchange) can round trip UTF-8. So the implementation of the converter between VISCII and UTF-8 might be easy.
I am not sure if a converter between Windows-1258 and VISCII ... -
04:26 PM Bug #7742: System encoding (Windows-1258) is not recognized by Ruby to convert back to UTF-8
- thegcat (Felix Schäfer) wrote:
> =begin
> ...
As explained above, the problem is with normalization. If you are okay with a version that just does one-to-one conversion, then that can be produced rather quickly (maybe even over the wee... -
07:13 PM Bug #9321 (Closed): rb_mod_const_missing does not generate a c-return event
- This issue was solved with changeset r44535.
Stefan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm.c (rb_vm_pop_cfunc_frame): added. It cares c_return event... -
06:59 PM Bug #9386 (Closed): Ruby won't build tcl/tk extension, libpathflag expects array
- Hi,
I wasn't successful building Ruby tcl/tk extension from trunk, since the last revision[1] switched to use libpathflag method
that expects an array, but on my Fedora "/usr/lib64":String would be passed to the method.
I believe ... -
05:59 PM Feature #9362: Minimize cache misshit to gain optimal speed
- Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
> OK, so I found a way to enable Intel Turbo Boost on this CPU. I went
> through the benchmarks again and got this for object paddings (minus
> embedding; same as previous chart I po... -
05:23 PM Feature #9362: Minimize cache misshit to gain optimal speed
- OK, so I found a way to enable Intel Turbo Boost on this CPU. I went
through the benchmarks again and got this for object paddings (minus
embedding; same as previous chart I posted here).
http://www.atdot.net/fp/view/zoj4zm
... - 05:49 PM Revision e5839862 (git): * gc.c: Oups, symbols are immediates too
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:34 PM Revision 705f9a7e (git): * gc.c: Supplement object_id's rdoc for immediate and frozen string litterals
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:34 PM Revision cc366241 (git): * gc.c: Fix and remove outdated rdoc for object_id
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:34 PM Revision a91bad28 (git): * object.c: Add rdoc for classes frozen by default
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:34 PM Revision 291be099 (git): * doc/NEWS-2.1.0: Add mention for litteral.freeze
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:33 PM Revision e030b4ee (git): * array.c: rdoc clarification for <=>
- * file.c: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:33 PM Bug #9186 (Rejected): json/pure.rb missing on trunk
- I intentionally removed pure.rb on ruby's repo because CRuby always have C exts.
If C exts is not properly build, the binary shouldn't work. -
05:07 PM Misc #8288 (Closed): Ruby 2.1.0 release engeneering
- 03:48 PM Revision 363e189a (git): * 2014-01-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:47 PM Revision f06ee90f (git): tk/extconf.rb: fix libpathflag arguments
- * ext/tk/extconf.rb: fix to pass arrays instead of strings to
libpathflag. patch at [ruby-core:59665]. [Bug #9386]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:34 PM Bug #9341: IMAPTest#test_imaps_with_ca_file test failed after 2014-01-01.
- backported into ruby_1_9_3 at r44533.
and, seems to be backported into ruby_2_1 at r44528. -
01:19 PM Revision 791ff0a2 (git): ChangeLog: commit miss
- * ChangeLog: remove duplicated entry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:49 PM Bug #9367: REXML::XmlDecl doesn't use user specified quotes
- @duerst, @kou,
Thanks for the comments!
I'll revise my patch to use :xml_declaration_quote and back to you soon. -
11:49 AM Revision b5faf430 (git): configure.in: -mstackrealign
- * configure.in: -mstackrealign is necessary for -msse2 working.
[ruby-core:54716] [Bug #8349]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:46 AM Revision 40967a5c (git): configure.in: use SSE2
- * configure.in: use SSE2 instructions to drop unexpected precisions on
other than mingw. [ruby-core:59472] [Bug #8358]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:34 AM Revision ac2864a8 (git): * hash.c (rb_objid_hash): should return `long'. brushup r44534.
- * object.c (rb_obj_hash): follow above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:45 AM Revision 4ee57e08 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:23 AM Bug #9300: YAML Regression Concerning Escaping of Strings
- On Sat, Dec 28, 2013 at 01:35:02AM +0900, schneems (Richard Schneeman) wrote:
>
> Issue #9300 has been updated by schneems (Richard Schneeman).
>
>
> Do we know what changed in psych to cause this? Was this the result of a ... -
09:56 AM Bug #9300 (Closed): YAML Regression Concerning Escaping of Strings
- This issue was solved with changeset r44531.
Richard, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/psych/lib/psych/visitors/yaml_tree.rb: dumping strings w... -
10:12 AM Revision c2e72fb3 (git): * vm.c (rb_vm_pop_cfunc_frame): added. It cares c_return event.
- The patch base by drkaes (Stefan Kaes).
[Bug #9321]
* variable.c (rb_mod_const_missing): use rb_vm_pop_cfunc_frame()
instead of rb_frame_pop().
* vm_eval.c (raise_method_missing): ditto.
* vm_eval.c (rb_iterate): ditto.
* internal.h ... - 08:42 AM Revision 8abc55bc (git): * hash.c (rb_any_hash): should treat the return value of rb_objid_hash()
- as `long', because ruby assumes the object id of an object is `long'.
this fixes test failures on mswin64 introduced at r44525.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:48 AM Bug #9385 (Closed): open-uri always uses proxy set as env var even if proxy flag is set to nil
- According to doc http://ruby-doc.org/stdlib-2.1.0/libdoc/open-uri/rdoc/OpenURI.html we can disable the proxy by doing
open("http://www.ruby-lang.org/en/raa.html", :proxy => nil)
and "environment variables for proxy are ignored and ... - 05:28 AM Revision 21d29b3a (git): merge revision(s) 44488,44489: [Backport #9341]
- * test/net/imap/cacert.pem: generate new CA cert, since the last one
expired. [Bug #9341] [ruby-core:59459]
* test/net/imap/server.crt: new server cert signed with updated CA.
* test/net/imap/Makefile: add `ma... -
05:06 AM Revision f0722322 (git): merge revision(s) 44440,44444: [Backport #9306]
- * win32/Makefile.sub (fake.rb): should depend on version.h because
if RUBY_VERSION is updated, fake.rb need to say the new version
to avoid install error in rbconfig.rb.
* win32/{setup.mak,Makefile.sub}: upda... -
02:01 AM Bug #9384: Segfault in ruby 2.1.0p0
- With 2.0.0, it works (ruby -v is "ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-linux]").
With trunk, it still segfaults (ruby -v is "ruby 2.2.0dev (2014-01-08 trunk 44527) [x86_64-linux]"). I attached the log bundle_exec_rake_asse... -
12:13 AM Bug #9384: Segfault in ruby 2.1.0p0
- Could you try with the trunk?
It seems something dead object is used in a finalizer. -
12:56 AM Revision b90076e8 (git): * ext/psych/lib/psych/visitors/yaml_tree.rb: dumping strings with
- quotes should not have changed. [ruby-core:59316] [Bug #9300]
* ext/psych/lib/psych.rb: fixed missing require.
* test/psych/test_string.rb: test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44531 b2dd03c8-39d4-4d8f-98ff-823fe69b... - 12:54 AM Revision 73b046d0 (git): * 2014-01-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:54 AM Revision 7c6e4f8f (git): * ext/psych/lib/psych/visitors/to_ruby.rb: anonymous structs
- should be able to roundtrip. Thanks @splattael!
* test/psych/test_object_references.rb: test for change
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e