Project

General

Profile

Activity

From 01/24/2013 to 01/30/2013

01/30/2013

06:41 PM Bug #7703 (Feedback): Segfault in 1.9.3-p362, possibly threads related
p374 will help you. usa (Usaku NAKAMURA)
06:39 PM Bug #7689: Crash @enumerator.so with ruby 1.9.3/thin/RoR 3.2.11
Use p374 instead of p362.
It's the version for you, I guess.
usa (Usaku NAKAMURA)
06:38 PM Bug #7689 (Feedback): Crash @enumerator.so with ruby 1.9.3/thin/RoR 3.2.11
usa (Usaku NAKAMURA)
06:09 PM Bug #7750: GC中にオブジェクトが割り当てられる
とりあえず、現時点ではRubyのどのバージョンでも再現できていません。
が、非常に時間のかかるスクリプトのようですので、そもそも落ちるところまで我慢できずに実行を打ち切ってしまっているため、という感もあります。
参考までに、どのような環境(CPU)でどれくらいの時間でこの現象が起きるのか、教えていただけますか?
usa (Usaku NAKAMURA)
05:08 PM Bug #7276 (Closed): TestFile#test_utime failure
This issue was solved with changeset r38992.
Jon, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
win32.h: revert r37337
* include/ruby/win32.h (fstat): revert r37...
nobu (Nobuyoshi Nakada)
04:59 PM Bug #7276: TestFile#test_utime failure
I don't remember the reason well, probably some mingw failed to link the dll or extension libraries.
But I can't find which failed, so revert it.
nobu (Nobuyoshi Nakada)
03:04 PM Bug #7725 (Closed): bsearch should return enumerator when called without a block
Fixed with r38984. marcandre (Marc-Andre Lafortune)
03:02 PM Bug #7726 (Closed): bsearch should handle block result in a consistent way
Fixed with r38986. marcandre (Marc-Andre Lafortune)
02:48 PM Bug #7728 (Closed): Range#bsearch on other Numerics?
Resolved with r38985. marcandre (Marc-Andre Lafortune)
01:29 PM Feature #7751: How to encapsulate File.delete and File.rename into one 'transaction'?
> What a great function! I've confirm it is true.
>
> irb(main):001:0> File.write('src', '000')
> => 3
> irb(main):002:0> File.write('dest', '1111')
> => 4
> irb(main):003:0> File.rename('src', 'dest')
> => 0
> irb(main)...
kosaki (Motohiro KOSAKI)
10:03 AM Feature #7751: How to encapsulate File.delete and File.rename into one 'transaction'?
What a great function! I've confirm it is true.
irb(main):001:0> File.write('src', '000')
=> 3
irb(main):002:0> File.write('dest', '1111')
=> 4
irb(main):003:0> File.rename('src', 'dest')
=> 0
irb(main):004:0> File.read('dest')
...
mghomn (Justin Peal)
01:22 PM Feature #7730 (Closed): Top level variables aren't checked for assigned but unused behavior
This issue was solved with changeset r38982.
Andrew, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
parse.y: warn assigned but unused in toplevel
* parse.y (local...
nobu (Nobuyoshi Nakada)
01:18 PM Bug #7678 (Closed): $_ and $~ are shared across Fibers halfway
This issue was solved with changeset r38981.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
cont.c: fiber local svar
* cont.c (cont_restore_thread): sv...
nobu (Nobuyoshi Nakada)
12:01 PM Revision 1ff38a5b (git): * ext/socket/basicsocket.c (bsock_getsockname): ignore truncated
part of socket address.
(bsock_getpeername): ditto.
(bsock_local_address): ditto.
(bsock_remote_address): ditto.
* ext/socket/unixsocket.c (unix_path): ditto.
(unix_addr): ditto.
(unix_peeraddr): ditto.
* ext/socket/init.c (c...
akr (Akira Tanaka)
09:53 AM Feature #7525: How to avoid memory leak when something gets wrong and throw exception when using win32api?
Thank you for the resource release schema! mghomn (Justin Peal)
08:53 AM Bug #7756: clang 4.2 sees through UNINITIALIZED_VAR macro, gives warning
=begin
This patch works:
Index: vm_core.h
===================================================================
--- vm_core.h (revision 38980)
+++ vm_core.h (working copy)
@@ -116,7 +116,7 @@
#endif /* __GNUC__ >= 3...
drbrain (Eric Hodel)
05:32 AM Bug #7756: clang 4.2 sees through UNINITIALIZED_VAR macro, gives warning
Hm, maybe we need another workaround.
Does __attribute__ (unused) works on your compiler?
likes
#ifdef __GNUC__
#define UNINITIALIZED_VAR(x) x __attribute__ (unused) = x
#else
....
kosaki (Motohiro KOSAKI)
05:05 AM Bug #7756 (Closed): clang 4.2 sees through UNINITIALIZED_VAR macro, gives warning
=begin
In clang 3.2, the UNINITIALIZED_VAR macro does not prevent the compiler from producing a warning.
Apple clang 3.2:
$ clang -v
Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Target: x86_64-apple-dar...
drbrain (Eric Hodel)
08:08 AM Revision 111b8614 (git): win32.h: revert r37337
* include/ruby/win32.h (fstat): revert r37337, which uses _fstati64()
instead of fstati64() on mingw32. [Bug #7276]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:01 AM Bug #7539 (Closed): Misleading error message "can't convert nil into string"
This issue was solved with changeset r38979.
Chris, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* object.c: Improve error for failed implicit conversions [Bug #...
marcandre (Marc-Andre Lafortune)
07:00 AM Bug #7724 (Closed): 6 bugs with Range#bsearch over floats
This issue was solved with changeset r38978.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* range.c: Fix Range#bsearch for floats [Bug #7724]
marcandre (Marc-Andre Lafortune)
06:30 AM Bug #7474 (Rejected): I am getting undefined symbol: rb_enable_interrupt when running event machine
No response. I'll close this then.
kosaki (Motohiro KOSAKI)
06:30 AM Revision e16b8482 (git): * ext/socket/unixsocket.c (rsock_init_unixsock): use rb_inspect()
because rb_sys_fail_str() fails if its argument contains NUL.
* test/socket/test_unix.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
06:21 AM Revision 5efb130d (git): vm_dump.c: important message first
* vm_dump.c (rb_vm_bugreport): show the most important message, Crash
Report log information, first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:20 AM Revision e449d06f (git): ChangeLog, range.c: adjust indent and style
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:07 AM Revision 69adf990 (git): * array.c (rb_ary_bsearch): Fix r38986 (typo) [Bug #7726]
* range.c (range_bsearch): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
06:01 AM Revision a7938af1 (git): * array.c (rb_ary_bsearch): Fix r38986 (missing whitespace)
* range.c (range_bsearch): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
06:00 AM Revision 20c0fb69 (git): * array.c (rb_ary_bsearch): Raise TypeError on bad return from block
* range.c (range_bsearch): ditto
* test/ruby/test_array.rb (class): Test for above
* test/ruby/test_range.rb (class): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
05:46 AM Revision 00d6bb51 (git): * range.c: Restrict bsearch to integers [#7728]
* test/ruby/test_range.rb: Test for above
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
05:11 AM Bug #7752: Rational/Float/Fixnum/Bignum `.to_s.encoding` is US-ASCII
This behavior matches Time#to_s, see #5226
Since there are no non-US-ASCII characters in the result of to_s on Rational, Float, Fixnum or Bignum there should be no problem with the US-ASCII encoding. Can you demonstrate one?
drbrain (Eric Hodel)
01:14 AM Bug #7752 (Rejected): Rational/Float/Fixnum/Bignum `.to_s.encoding` is US-ASCII
=begin
When converting an instance of Rational/Float/Fixnum/Bignum to a string with the (({.to_s})) method, the resulting string has the encoding US-ASCII. This happens for 1.9.3 as well as 2.0.0rc1.
(({> __ENCODING__}))
(({ => #<En...
coffeejunk (Maximilian Haack)
05:11 AM Revision 39048aca (git): * array.c (rb_ary_bsearch): Return enumerator if no block [#7725]
* range.c (range_bsearch): ditto
* test/ruby/test_array.rb: Test for above
* test/ruby/test_range.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
04:53 AM Revision ddea0c82 (git): * lib/matrix.rb: Take conjugate for inner product
[rubyspec:5a01ad5719f2] [ruby-dev:46101]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
04:48 AM Bug #7755: JSON::Generate#configure's argument conversion
There's some more unreachable code in ext/json/parser/parser.rl:629 marcandre (Marc-Andre Lafortune)
04:33 AM Bug #7755 (Closed): JSON::Generate#configure's argument conversion
I notice a tiny bug in ext/json/generator/generator.c:514
tmp = rb_convert_type(opts, T_HASH, "Hash", "to_hash");
if (NIL_P(tmp)) tmp = rb_convert_type(opts, T_HASH, "Hash", "to_h");
if (NIL_P(tmp)) {
rb_raise(r...
marcandre (Marc-Andre Lafortune)
04:22 AM Revision 71eddb1d (git): parse.y: warn assigned but unused in toplevel
* parse.y (local_push_gen): warn assigned but unused variables also in
toplevel, except for -e option. [Feature #7730] [ruby-core:51580]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:17 AM Revision 29707c1d (git): cont.c: fiber local svar
* cont.c (cont_restore_thread): svar should be separate per fibers.
[ruby-core:51331] [Bug #7678]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:44 AM Bug #7753 (Closed): Module#attr_reader documentation uses an undefined variable
Current text is:
-- Cut here --
attr_writer(symbol, ...) → nil
Creates an accessor method to allow assignment to the attribute aSymbol.id2name.
-- Cut here --
Note that the signature refers to symbol but the body refers to aSymb...
nchelluri (Narsimham Chelluri)
03:23 AM Bug #7699: rubyspec failed: BigDecimal#divmod Can be reversed with * and +
(2013/01/27 15:04), mrkn (Kenta Murata) wrote:
> I cannot reproduce it with ruby 2.0.0dev (2013-01-27 trunk 38957) [x86_64-darwin12.2.0] built by clang.

On my environment (*1), I got this failure sometimes (1 or 2 on 10 times
t...
ko1 (Koichi Sasada)

01/29/2013

10:15 PM Revision 3df94d7b (git): * re.c (reg_operand): Simplify and reuse error handling [Bug #7539]
* test/ruby/test_regexp.rb: Test for above
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
10:00 PM Revision c34e9f23 (git): * object.c: Improve error for failed implicit conversions [Bug #7539]
* error.c: Adapt rdoc
* test/ruby/test_object.rb: Test for above
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
10:00 PM Revision 115a51f8 (git): * range.c: Fix Range#bsearch for floats [Bug #7724]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
06:58 PM Revision 996ff132 (git): * 2013-01-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:58 PM Revision bca54434 (git): * object.c: Fix rdoc typo, patch by Narsimham Chelluri [#7753].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
05:25 PM Bug #7635 (Closed): debug_inspector API segfaults when opened from inside an eval frame
This issue was solved with changeset r38970.
Charlie, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_backtrace.c: fix issue of rb_debug_inspector_open().
Th...
ko1 (Koichi Sasada)
04:11 PM Bug #7172 (Feedback): [[Ruby 1.9:]] fix rbconfig for --enable-load-relative (v2)
How do you run the configure script and which element in RbConfig has prefix expanded? nobu (Nobuyoshi Nakada)
02:53 PM Bug #7678: $_ and $~ are shared across Fibers halfway
(2013/01/29 14:19), nobu (Nobuyoshi Nakada) wrote:
> I think this is one of undefined behaviors, so it would cause no compatibility issue.
> We can fix it once we decide which is more desirable, shared between fibers or separate per...
ko1 (Koichi Sasada)
02:19 PM Bug #7678: $_ and $~ are shared across Fibers halfway
I think this is one of undefined behaviors, so it would cause no compatibility issue.
We can fix it once we decide which is more desirable, shared between fibers or separate per fibers.
nobu (Nobuyoshi Nakada)
01:45 PM Bug #7276: TestFile#test_utime failure
Reverting r37337 works on Windows 8.
I think the only drawback to rb_w32_fstati64 is a little performance loss.
phasis68 (Heesob Park)
01:21 PM Bug #7276: TestFile#test_utime failure
Nobu-san: why was r37337 required and `rb_w32_fstati64` no longer correct?
Heesob: good read. After reverting r37337 as per Hiroshi's comment, I get 0 fails on trunk@38966 (Win7 32bit + mingw-w64 4.7.2) because `fstat` -> `rb_w32_fsta...
jonforums (Jon Forums)
01:09 PM Feature #7751 (Rejected): How to encapsulate File.delete and File.rename into one 'transaction'?
kosaki (Motohiro KOSAKI)
12:23 PM Feature #7751: How to encapsulate File.delete and File.rename into one 'transaction'?
File.rename can overwrite the destination file, so your File.delete is not necessary


On Tuesday, 29 January 2013 at 1:15 PM, mghomn (Justin Peal) wrote:

>
> Issue #7751 has been reported by mghomn (Justin Peal).
>
...
Anonymous
11:15 AM Feature #7751 (Rejected): How to encapsulate File.delete and File.rename into one 'transaction'?
Following program has a line: File.delete(sql_file) and File.rename(tmp_file, sql_file)
It is not a 'transaction' which is I need. Has Ruby a feature to encapsulate File.delete and File.rename into one 'transaction'?
======
class Stri...
mghomn (Justin Peal)
12:41 PM Revision 64dbc10b (git): * lib/net/http/generic_request.rb (encode_multipart_form_data): remove
tempfile explicitly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:32 AM Revision d5b7fc43 (git): * array.c: Improve documentation about
comparison by hash for concerned methods. [ruby-core:51266]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
09:30 AM Revision 18a8812e (git): debug: trivial fixes
* ext/-test-/debug/init.c (Init_debug): use normal module.
* ext/-test-/debug/inspector.c (callback): debug_inspector interfaces
now use long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:58 AM Revision e3f88ac4 (git): test_settracefunc.rb: fix tests
* test/ruby/test_settracefunc.rb (assert_security_error_safe4): fix
tests to set $SAFE separatedly
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:28 AM Revision 68fa2e8c (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:25 AM Revision 18e01f63 (git): * vm_backtrace.c: fix issue of rb_debug_inspector_open().
The order of making binding should be stack (frame) top to bottom.
[Bug #7635]
And also fix issue of collecting klass. Collecting klass is same
as TracePoint#defined_class.
(previous version, it returns T_ICLASS (internal objects...
ko1 (Koichi Sasada)
07:51 AM Revision 499ca89e (git): vm_trace.c: TracePoint safe level check
* vm_trace.c (rb_tracepoint_enable, rb_tracepoint_disable): check safe
level as well as set_trace_func.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:50 AM Revision e26c2bc2 (git): vm_trace.c: trace_func safe level check
* vm_trace.c (set_trace_func, thread_{add,set}_trace_func_m): check
safe level as well as 1.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:49 AM Revision b0c4ac77 (git): proc.c: original arity
* proc.c (rb_mod_method_arity): return original arity of the method if
aliased because of visibility change, like as Method#arity.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:06 AM Revision 2d55537d (git): * test/ruby/test_marshal.rb: remove temporally files early.
* test/ruby/test_process.rb: ditto.
* test/psych/test_exception.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:58 AM Revision 1d15bbda (git): ChangeLog: remove duplicated entry
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:32 AM Revision ae047835 (git): * 2013-01-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:32 AM Revision a1ed445b (git): * ext/socket/socket.c (sock_s_pack_sockaddr_un): calculate the
correct address length of an abstract socket.
* test/socket/test_unix.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)

01/28/2013

11:45 PM Bug #7750 (Rejected): GC中にオブジェクトが割り当てられる
下記が吐き出されたメッセージです。
0062.rb:2: [BUG] object allocation during garbage collection phase
ruby 1.9.3p374 (2013-01-15) [i386-mingw32]
-- Control frame information -----------------------------------------------
c:0005 p:---- s:0012 b:0...
konishi_takurou (瀧澤 悠介)
11:24 PM Bug #7276: TestFile#test_utime failure
This daylight savings time bug is described at
http://www.codeproject.com/Articles/1144/Beating-the-Daylight-Savings-Time-bug-and-getting
and
http://support.microsoft.com/kb/158588/en-us
The workaround is using the Windows API call...
phasis68 (Heesob Park)
05:31 PM Bug #7737: problem with generated rbconfig.rb for Haiku
Seems RPATHFLAG unnecessary for extconf.rb.
Attaching newer patch.
nobu (Nobuyoshi Nakada)
05:16 PM Bug #7279 (Feedback): Zlib load error on HP-UX
=begin
Could you try this patch?
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index c9e738a..fe6f771 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -317,9 +317,9 @@ def link_command(ldflags, opt="", libpath=$DEFLIBPATH|$LIBPATH)
...
nobu (Nobuyoshi Nakada)
04:11 PM Feature #7748 (Assigned): Contextual send
=begin
If I write a method that uses #send vs. #public_send, I am making an assumption about how that method is invoked. For example, take the simplest form of such a method:
class String
def send_out(op, *a, &b)
send(o...
trans (Thomas Sawyer)
03:54 PM Bug #7743 (Rejected): protected なメソッドを respond_to? で評価した時の結果が 1.9 と異なる
了解しました。
よくよく考えてみましたが、変更後の挙動の方が正しいと思いますのでクローズします。
影響のあったライブラリの方を直すことにします。
ご回答ありがとうございます。
hsbt (Hiroshi SHIBATA)
08:46 AM Bug #7743 (Assigned): protected なメソッドを respond_to? で評価した時の結果が 1.9 と異なる
hsbt (Hiroshi SHIBATA) wrote:
> 以下のようなコードを 1.9.3 と 2.0.0 で実行した時の結果が異なるようです。
(snip)
> ...
r34582で導入された意図的な変更だと思います。
[ruby-dev:40461]のスレッドで議論されたものです。
呼び出し元のコンテキストにおけるレシーバのクラスをチェックして、そのprotectedメソッド
を呼べるクラスであればtrueを返すのが理想ではないかと思いますが...
shugo (Shugo Maeda)
11:55 AM Bug #7482 (Closed): test_system_redirect_win(TestSystem) failure on Windows 8
nobu (Nobuyoshi Nakada)
12:32 AM Bug #7482 (Assigned): test_system_redirect_win(TestSystem) failure on Windows 8
luislavena (Luis Lavena)
10:58 AM Bug #4502 (Closed): strange Module.new behaviour
nobu (Nobuyoshi Nakada)
10:58 AM Bug #5350 (Closed): WeakRef で謎の NoMethodError
Please file new ticket for documentation. nobu (Nobuyoshi Nakada)
09:02 AM Revision 616f2c43 (git): vm_backtrace.c: use long
* vm_backtrace.c (rb_debug_inspector_frame_{class,binding,iseq}_get):
use long as index as well as RARRAY_LEN().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:51 AM Revision 43ce5ce1 (git): envutil.rb: no core dump
* test/ruby/envutil.rb (assert_separately): imply no core dump.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:18 AM Feature #7747: Expanded API for Binding semantics
It should also be possible to implement feature request #6710 with this API. The "isolated" binding mentioned in that request could be implemented as:
```ruby
def isolated_eval(src)
isolated = Binding.new #=> No source binding cre...
jballanc (Joshua Ballanco)
08:08 AM Feature #7747 (Open): Expanded API for Binding semantics
=begin
Currently, the only way to create a new instance of Binding is to get a copy of the current scope's binding, or ask some other object for its binding. In either case, the binding object returned always has semantics identical to ...
jballanc (Joshua Ballanco)
08:11 AM Feature #7702: Remove Proc#binding
I should note that this will obviously require much thought and some more research. First big question: how much would break if Proc#binding was removed? How severely, for example, would debugging be effected?
Also, an alternative to ...
jballanc (Joshua Ballanco)
03:34 AM Revision ea632a6d (git): * 2013-01-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:34 AM Revision 8477d313 (git): * ext/fcntl/fcntl.c: update document. use "file descriptor" instead
of "file handle" because it is not used other Ruby documents and
it is confusing with Windows file handle.
correct F_DUPFD behavior.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:19 AM Feature #7745 (Assigned): lib/observer.rb: Observers are compared by identity
=begin
From ((<github issue 239|URL:https://github.com/ruby/ruby/pull/239>)):
((*Please consider changing @observer_peers to compare_by_identity. This fixes surprising effects when Strings or Arrays are used as observers.*))
I've ...
zzak (zzak _)
02:13 AM Bug #7744 (Closed): Fix signed integer overflows Github #242
=begin
From ((<github issue 242|URL:https://github.com/ruby/ruby/pull/242>)):
((*Signed integer overflow is undefined behavior in C. Many compilers assume no signed integer overflows and even optimize away overflow checks. The -fno-s...
zzak (zzak _)

01/27/2013

09:24 PM Bug #7743 (Rejected): protected なメソッドを respond_to? で評価した時の結果が 1.9 と異なる
以下のようなコードを 1.9.3 と 2.0.0 で実行した時の結果が異なるようです。
% cat respond_to.rb
class A
def initialize
p respond_to?(:foo)
p respond_to?(:foo, true)
end

protected

def foo
end
end

A.new
実行結果は以下の通りです。
...
hsbt (Hiroshi SHIBATA)
04:58 PM Bug #7482: test_system_redirect_win(TestSystem) failure on Windows 8
As you can see in http://ci.rubyinstaller.org/job/ruby-trunk-x64-test-all/607/console,
This issues is not solved with changeset r38956.
1) Failure:
test_system_redirect_win(TestSystem) [C:/Users/Worker/Jenkins/workspace/ruby-trunk...
phasis68 (Heesob Park)
01:04 PM Bug #7482 (Closed): test_system_redirect_win(TestSystem) failure on Windows 8
This issue was solved with changeset r38956.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
test_system.rb: fix test
* test/ruby/test_system.rb (TestSyste...
nobu (Nobuyoshi Nakada)
03:04 PM Bug #7699: rubyspec failed: BigDecimal#divmod Can be reversed with * and +
I cannot reproduce it with ruby 2.0.0dev (2013-01-27 trunk 38957) [x86_64-darwin12.2.0] built by clang.
mrkn (Kenta Murata)
01:13 PM Revision b2ca2c58 (git): test_system.rb: commit miss
* test/ruby/test_system.rb (TestSystem#test_system_redirect_win): fix
intentional failure left carelessly. [Bug #7482]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:26 AM Feature #4276: Allow use of quotes in symbol syntactic sugar for hashes
One of the reason I didn't introduce this was, a few bundled scripts had compatibility issue when once I tried. nobu (Nobuyoshi Nakada)
11:10 AM Bug #7441 (Third Party's Issue): Segmentation Fault generated with 1.9.3 installed by library1.8.so.1.8.7
Ask RVM project about installation problem with RVM. nobu (Nobuyoshi Nakada)
04:04 AM Revision d10cea50 (git): test_system.rb: indent
* test/ruby/test_system.rb (TestSystem#test_system): adjust indent
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:04 AM Revision ad1715f0 (git): test_system.rb: fix test
* test/ruby/test_system.rb (TestSystem#test_system_redirect_win): fix
meaningless test. [Bug #7482]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

01/26/2013

10:39 PM Bug #7627 (Closed): Instance variables of a Struct object are marshaled even when marshal_dump method is defined.
This issue was solved with changeset r38952.
Kirill, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
marshal.c: marshal_dump instance varialbes
* marshal.c (w_obje...
nobu (Nobuyoshi Nakada)
07:18 PM Revision dbf8e164 (git): * 2013-01-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:18 PM Revision 888ccebb (git): * NEWS: Improve wording
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
04:03 PM Bug #7742: System encoding (Windows-1258) is not recognized by Ruby to convert back to UTF-8
Mars (Hong Ha Dang ) wrote:
> > C:/RailsInstaller/scripts/config_check.rb:64:in 'exist?': code converter not
> ...
Yes, windows-1258 (for Vietnamese) is currently not supported. The reason for this is because conversion from windows...
duerst (Martin Dürst)
03:33 PM Bug #7742 (Assigned): System encoding (Windows-1258) is not recognized by Ruby to convert back to UTF-8
I installed Railsinstaller in win8. After intall complete the screen set to
> configuration Railsinstaller on cmd (step 2). I give user name: DHH Mars and
> ...
> C:\Sites>
Mars (Hong Ha Dang )
01:48 PM Revision a8d4b22c (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:39 PM Revision 3d0786a3 (git): marshal.c: marshal_dump instance varialbes
* marshal.c (w_object): dump instance varialbes of the result of
marshal_dump not the original object. [ruby-core:51163] [Bug #7627]
* complex.c (nucomp_marshal_dump): need to copy instance variables.
* rational.c (nurat_marshal_dump)...
nobu (Nobuyoshi Nakada)
09:51 AM Revision 68d131d6 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e authorNari (Narihiro Nakamura)
08:36 AM Bug #6820 (Closed): Time#to_s on NEWS
This issue was solved with changeset r38944.
Nobuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
updating news [Bug #6820]
tenderlovemaking (Aaron Patterson)
07:13 AM Bug #7541: Can't use Ruby 2.0.0 as as BASERUBY
This appears to be a chicken and egg problem, but I don't have enough information to know how to solve it.
Should RubyGems know not to load when run as BASERUBY? How should RubyGems determine this?
drbrain (Eric Hodel)
07:12 AM Revision 2eae39e0 (git): Windows Vista supports __declspec(thread) in dynamic loaded dll, so
Change the following comment in ChangeLog
to avoid SEGV if win32ole.so loaded with LoadLibrary in Windows Vista
-> to avoid SEGV if win32ole.so loaded with LoadLibrary in Windows XP
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
suke (Masaki Suketa)
07:07 AM Bug #4731 (Assigned): ruby -S irb fails with mingw/msys vanilla builds
drbrain (Eric Hodel) wrote:
> Luis, Nobu, what is the status of this?
I proposed an alternate rbinstall.rb method in #6769 that will correct this issue.
However, workload has been high and code in rbinstall.rb is not very clear.
luislavena (Luis Lavena)
06:48 AM Bug #4731: ruby -S irb fails with mingw/msys vanilla builds
Luis, Nobu, what is the status of this? drbrain (Eric Hodel)
07:03 AM Bug #7482: test_system_redirect_win(TestSystem) failure on Windows 8
Kosaki-san, can you check this issue? drbrain (Eric Hodel)
07:02 AM Bug #7318 (Third Party's Issue): activerecord-3.2.8/lib/active_record/connection_adapters/postgresql_adapter.rb:1213: [BUG] Segmentation fault
Marking as third party issue due to lack of feedback from the submitter. No evidence this is a ruby bug has been presented. drbrain (Eric Hodel)
07:01 AM Bug #7008 (Rejected): rake is crashing when trying to compile ffi gem
Marking rejected due to lack of feedback from the submitter. drbrain (Eric Hodel)
07:00 AM Bug #6995 (Rejected): Code converter not found (UTF-8 to EUC-TW)
Marking rejected due to lack of feedback from the submitter. drbrain (Eric Hodel)
06:59 AM Bug #6896 (Third Party's Issue): Ruby crash bringing default http://localhost:3000 page
Marking as third party issue due to lack of feedback from the submitter. There is no evidence presented that this is a ruby bug. drbrain (Eric Hodel)
06:59 AM Bug #6829 (Rejected): Failure using Win32ole (happens in 1.8.7 and 1.9
Marking this as rejected due to lack of feedback by the submitter. drbrain (Eric Hodel)
06:57 AM Bug #6803 (Third Party's Issue): Ruby Interpreter (CUI) 1.9.3p194 [i386-mingw32] has stopped working
I am marking this is third party issue due to lack of feedback by the author. No evidence of a ruby bug has been presented. drbrain (Eric Hodel)
06:55 AM Bug #6391 (Assigned): Segment Fault while execute make_encmake.rb for Ruby 1.9.3 P194 ( MinGW64)
There is feedback on this issue that has not been addressed. Luis, Nobu can you comment? drbrain (Eric Hodel)
06:53 AM Bug #6281 (Rejected): 1.9.3-p125 crashes when using therubyracer 0.9.10
There has been no feedback from the submitter so I am marking this as rejected. drbrain (Eric Hodel)
06:52 AM Bug #5990 (Third Party's Issue): Random Segmentation Fault when running on Linux Fedora
Due to lack of feedback I'm marking this as third party issue. No mention of a bug in ruby has been made. drbrain (Eric Hodel)
06:51 AM Bug #4923 (Closed): [ext/openssl] test_ssl.rb: test_client_auth fails
I am closing this due to lack of feedback and the note of a possible fix above. drbrain (Eric Hodel)
06:47 AM Bug #5811 (Rejected): Ruby Process Deadlocks With Fork on Mac OS X Lion
The requested Gemfile was not attached by the submitter so I am rejecting this. drbrain (Eric Hodel)
06:46 AM Bug #5756 (Rejected): crashs when Twitter.update_with_media with rails
No response from the submitter after a feedback request so I am rejecting this. drbrain (Eric Hodel)
06:45 AM Bug #5493 (Rejected): Commit r33357 breaks build on Debian/sparc
No feedback from the submitter after a failure to reproduce, so I am rejecting this. drbrain (Eric Hodel)
06:45 AM Bug #5357 (Assigned): Indentation of nested operators should nest
drbrain (Eric Hodel)
06:44 AM Bug #4623 (Rejected): Consistent crash related to action_mailer
The submitter did not provide a way to reproduce this so I am rejecting it. drbrain (Eric Hodel)
06:43 AM Bug #4533 (Rejected): rake db:migrate ----Segmentation fault
Submitter didn't provide a way to reproduce this so I am rejecting it. drbrain (Eric Hodel)
06:41 AM Bug #6645 (Rejected): Segmentation fault in net/http.rb
No feedback that allows us to reproduce this so I'm rejecting it. drbrain (Eric Hodel)
06:19 AM Feature #7654: Add optional code block to IO::readlines
I think next minor. It is a new feature but trunk is closed for new features. drbrain (Eric Hodel)
04:36 AM Revision 623f6d66 (git): * ext/fcntl/fcntl.c: Document Fcntl constants
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
03:58 AM Revision 0051369b (git): * hash.c (rb_env_size): Restored documentation for ENV.size
* lib/drb/drb.rb: Documented DRb::DRb#run.
* lib/erb.rb (class ERB): Improved documentation of ERb.
* transcode.c: Documented Encoding::Converter constants.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38948 b2dd03c8-39d4-4d8...
drbrain (Eric Hodel)
02:31 AM Revision 6048f9a6 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:31 AM Revision a110d178 (git): extconf.rb: fix warnings
* ext/socket/extconf.rb: fix warnings from IN6_IS_ADDR_ macros in
apple's netinet6/in6.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:15 AM Bug #7718 (Closed): test_ioctl_linux fails on PPC and PPC64
This issue was solved with changeset r38941.
Vit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/ruby/test_io.rb (test_ioctl_linux): skip if a platform is
...
kosaki (Motohiro KOSAKI)
01:12 AM Revision 28afe277 (git): * lib/webrick/accesslog.rb: Improved WEBrick documentation.
* lib/webrick/cgi.rb: ditto.
* lib/webrick/config.rb: ditto.
* lib/webrick/cookie.rb: ditto.
* lib/webrick/httpauth/authenticator.rb: ditto.
* lib/webrick/httpauth/basicauth.rb: ditto.
* lib/webrick/httpauth/digestauth.rb: ditto.
*...
drbrain (Eric Hodel)
12:06 AM Bug #7716: Readdressing Autoload
Priority: High trans (Thomas Sawyer)

01/25/2013

11:36 PM Revision 89232d1d (git): updating news [Bug #6820]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
11:33 PM Revision 07e9f122 (git): * ext/socket/raddrinfo (rsock_unix_sockaddr_len): renamed from
rsock_unixpath_len, because it returns not the length of the path,
but the length of a socket address for the path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
07:08 PM Feature #7738: Deprecate Set#+ as an alias of Set#|, use it for symmetric difference. Introduce Hash#| for Hash#reverse_merge in Rails.
I agree that having the same symbol for the symmetric difference as for XOR would be nice, given that there are not so many different ASCII symbols. However, the main part of my request is to *not use '+' for the union of sets*. This use... alexeymuranov (Alexey Muranov)
06:42 PM Feature #7739: Define Hash#| as Hash#reverse_merge in Rails
@drbrain, my idea was to propose a concise syntax to merge hashes (one or the other direction), and `#|` looked like a natural candidate.
---
Update: Also, `#reverse_merge!` can be replaced with `#|=`.
Update 2013-08-19: I have realized...
alexeymuranov (Alexey Muranov)
06:32 PM Feature #7739: Define Hash#| as Hash#reverse_merge in Rails
=begin
nathan.f77 (Nathan Broadbent) wrote:
> I would personally love a more concise way to merge/reverse_merge hashes. Would you also propose Hash#& as merge?

(({Hash#&})) would be the intersection of two hashes, i think:
{ :a =...
alexeymuranov (Alexey Muranov)
07:22 AM Feature #7739 (Assigned): Define Hash#| as Hash#reverse_merge in Rails
We don't have any operations that use mathematical or logical operators for Hash.
It seems confusing to introduce an operator (|) when a name (reverse_merge) exists.
Hash and Set are different data structures and serve different pu...
drbrain (Eric Hodel)
03:53 AM Feature #7739: Define Hash#| as Hash#reverse_merge in Rails
I would personally love a more concise way to merge/reverse_merge hashes. Would you also propose Hash#& as merge?

P.S. in your example, a reverse_merge should result in :b => 2


On Friday, 25 January 2013 at 1:57 AM, alexe...
nathan.f77 (Nathan Broadbent)
06:29 PM Bug #7715: Lazy enumerators should want to stay lazy.
shugo (Shugo Maeda) wrote:
> I guess these methods were forgotten to change when lazy was implemented.
That's right :-( I thought these methods does not need to be overriden
because they return Enumerator, but they should return E...
yhara (Yutaka HARA)
06:24 PM Bug #7715: Lazy enumerators should want to stay lazy.
marcandre (Marc-Andre Lafortune) wrote:
> I can do it, unless there are objections.
Your proposal sounds reasonable.
I guess these methods were forgotten to change when lazy was implemented.
shugo (Shugo Maeda)
03:20 PM Bug #7715 (Assigned): Lazy enumerators should want to stay lazy.
I can do it, unless there are objections. marcandre (Marc-Andre Lafortune)
12:09 PM Bug #7715: Lazy enumerators should want to stay lazy.
Who's ball? ko1 (Koichi Sasada)
06:20 PM Feature #7639: More freedom for location of comments
sawa (Tsuyoshi Sawada) wrote:
> duerst:
(please call me Martin)
I agree that bad comments (too long, unrelated to what's going on,...) are bad, and we should not be too concerned with that. However, that is not my main point.
...
duerst (Martin Dürst)
05:35 PM Feature #7639: More freedom for location of comments
It's all about the implementation cost because this is not a bug.
How about taking a glance at the lexer & parser code to see if it's worth it?
knu (Akinori MUSHA)
05:15 PM Revision 6b36e958 (git): * 2013-01-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:15 PM Revision 0dddb4b3 (git): * test/ruby/test_io.rb (test_ioctl_linux): skip if a platform is
not x86 because linux ioctl request number depend on cpu arch.
At least, alpha, mips, sparc and ppc have a different number.
[Bug #7718] [ruby-core:51544]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38941 b2dd03c8-39d4-4d8f-98...
kosaki (Motohiro KOSAKI)
03:43 PM Bug #7737 (Feedback): problem with generated rbconfig.rb for Haiku
Could you try the attached patch? nobu (Nobuyoshi Nakada)
12:05 PM Bug #7737: problem with generated rbconfig.rb for Haiku
Nobu, could you check this issue? ko1 (Koichi Sasada)
03:18 PM Feature #7657: Array#& doesn't accept Enumerables
Nevir (Ian MacLeod) wrote:
> Let me see if I understand the implicit conversion cases:
> ...
By implementing `to_ary`, your class states must return an array because after MRI asks for implicit conversion with `to_ary, it will then acc...
marcandre (Marc-Andre Lafortune)
02:55 PM Bug #6677 (Closed): Bignum#== and Float#== should be symmetric
Fixed as of r38825. marcandre (Marc-Andre Lafortune)
02:53 PM Bug #5746 (Closed): Proc#curry too strict about lambda's arity.
This was fixed when #5694 was resolved. marcandre (Marc-Andre Lafortune)
02:42 PM Bug #7620 (Closed): Incorrect exception for non-square matrix in Matrix::LUPDecomposition#det
Oh, I already fixed it with r38807, just forgot to reference the bug report in the commit log.
Thanks pypypy for the bug report
marcandre (Marc-Andre Lafortune)
12:13 PM Bug #7620: Incorrect exception for non-square matrix in Matrix::LUPDecomposition#det
(I'm not sure about this issue)
marcandre, Is this 2.0 issue? High priority? (release blocker?)
ko1 (Koichi Sasada)
01:24 PM Bug #7689: Crash @enumerator.so with ruby 1.9.3/thin/RoR 3.2.11
(2013/01/25 12:48), ko1 (Koichi Sasada) wrote:
> I may solved.

Ah, sorry. I want to say "It may be solved."

--
// SASADA Koichi at atdot dot net
ko1 (Koichi Sasada)
12:48 PM Bug #7689: Crash @enumerator.so with ruby 1.9.3/thin/RoR 3.2.11
Could you check it on 1.9.3 head?
I may solved.
ko1 (Koichi Sasada)
01:02 PM Bug #7714 (Closed): a bit of docs for DRb
This issue was solved with changeset r38938.
Vincent, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/drb/drb.rb: Updated documentation based on patch from V...
drbrain (Eric Hodel)
12:55 PM Bug #7627: Instance variables of a Struct object are marshaled even when marshal_dump method is defined.
I'm not sure about this issue, but is it high-priority trunk issue?
or not important issue?
ko1 (Koichi Sasada)
12:53 PM Bug #7615: assignment to context variable changes the precedence order of function call with followed by ' (' (whitespace-bracket)
Nobu, could you check it?
ko1 (Koichi Sasada)
12:51 PM Bug #7522: Non-core "Type()" Kernel methods return new objects
I'm not sure who should take this issue.
ko1 (Koichi Sasada)
12:42 PM Bug #7678: $_ and $~ are shared across Fibers halfway
Nobu, should we finish this issue before 2.0? ko1 (Koichi Sasada)
12:19 PM Bug #7731 (Feedback): Segmentation fault when trying to start rails server
I don't have Snow Leopard.
Anyone can reproduce this?
naruse (Yui NARUSE)
12:17 PM Feature #7654: Add optional code block to IO::readlines
next minor issue or 2.0.0 issue?
ko1 (Koichi Sasada)
12:16 PM Feature #7652 (Feedback): Add FreeMiNT support to Ruby
ko1 (Koichi Sasada)
12:16 PM Bug #7648: GServer does not close cleanly from signal interrupt context
Who can check it? ko1 (Koichi Sasada)
12:15 PM Bug #7635 (Assigned): debug_inspector API segfaults when opened from inside an eval frame
Ah.. I missed this ticket.
ko1 (Koichi Sasada)
12:06 PM Feature #7730: Top level variables aren't checked for assigned but unused behavior
Nobu, do you need matz's approval?
ko1 (Koichi Sasada)
12:04 PM Bug #6750: Comment above rb_iseq_struct.local_size gives out of date description
I'm sorry I missed this issue (because no "target version". sorry again).
I applied it.
Thanks!
ko1 (Koichi Sasada)
12:03 PM Bug #6750 (Closed): Comment above rb_iseq_struct.local_size gives out of date description
This issue was solved with changeset r38936.
David, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_core.h: modify a comment about rb_iseq_t::local_size.
A p...
ko1 (Koichi Sasada)
11:42 AM Bug #7721: test_too_long_path2(TestProcess) fails on mingw32
NoMemoryError could occur at many places, almostly everywhere creating
a new object, adding a new instance variable, growing up a container
object, etc. It's just rare in normal cases.
r30682 reduced the sizes from 100MB to 10MB be...
nobu (Nobuyoshi Nakada)
10:37 AM Bug #7721 (Closed): test_too_long_path2(TestProcess) fails on mingw32
This issue was solved with changeset r38934.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
test_process.rb: reduce command string size
* test/ruby/test_p...
nobu (Nobuyoshi Nakada)
10:17 AM Revision 57408cb1 (git): * ext/win32ole/win32ole.c: use TlsAlloc instead of __declspec(thread)
to avoid SEGV if win32ole.so loaded with LoadLibrary in Windows
Vista or earlier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
08:15 AM Revision ad55d141 (git): * ext/socket/raddrinfo.c (rsock_unixpath_len, init_unix_addrinfo),
ext/socket/unixsocket.c (unixsock_connect_internal,
rsock_init_unixsock): calculate the correct address length of
an abstract socket. Without this fix, sizeof(struct sockaddr_un)
is specified as the length of an abstract socket fo...
shugo (Shugo Maeda)
04:02 AM Revision 76ade818 (git): * lib/drb/drb.rb: Updated documentation based on patch from Vincent
Batts. [ruby-trunk - Bug #7714]
* lib/drb/ssl.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
03:25 AM Revision 90e69dfd (git): * lib/drb/drb.rb: Improved documentation by adding or hiding methods.
* lib/drb/eq.rb: ditto.
* lib/drb/extserv.rb: ditto.
* lib/drb/gw.rb: ditto.
* lib/drb/invokemethod.rb: ditto.
* lib/drb/observer.rb: ditto.
* lib/drb/ssl.rb: ditto.
* lib/drb/timeridconv.rb: ditto.
* lib/drb/unix.rb: ditto.
* s...
drbrain (Eric Hodel)
03:03 AM Revision d50bd493 (git): * vm_core.h: modify a comment about rb_iseq_t::local_size.
A patch by davidbalbert (David Albert) [Bug #6750]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
01:39 AM Revision 8a77b478 (git): ChangeLog: fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:37 AM Revision 8cc69387 (git): test_process.rb: reduce command string size
* test/ruby/test_process.rb (test_spawn_too_long_path),
(test_aspawn_too_long_path): reduce command string size until
intended exception occurs. [ruby-core:51592] [Bug #7721]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38934 ...
nobu (Nobuyoshi Nakada)
01:37 AM Revision c8a4d4b0 (git): * lib/mkmf.rb: Documented MakeMakefile constants. Hid implementation
details from RDoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
01:04 AM Revision 5e3ebde7 (git): * lib/rubygems/compatibility.rb: Hide compatibility shims from RDoc
* lib/rubygems/config_file.rb: Hide RbConfig use from RDoc
* lib/rubygems/test_case.rb: Added note to use realpath when 1.8
support is dropped.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38932 b2dd03c8-39d4-4d8f-98ff-823fe6...
drbrain (Eric Hodel)
12:15 AM Revision e2d341d9 (git): * 2013-01-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:15 AM Revision 2d579c00 (git): * lib/rdoc/generator/darkfish.rb: Fixed debug message. RDoc bug #174
by Thomas Leitner.
* lib/rdoc/store.rb: Fixed deletion of ri attribute data when a class
was loaded then saved. RDoc bug #171 by Thomas Leitner.
* test/rdoc/test_rdoc_store.rb: Test for above.
git-svn-id: svn+ssh://ci.ruby-lang.o...
drbrain (Eric Hodel)

01/24/2013

11:42 PM Feature #7738: Deprecate Set#+ as an alias of Set#|, use it for symmetric difference. Introduce Hash#| for Hash#reverse_merge in Rails.
I see. Thanks.
Well, I hate to mention b/c I don't like it, but Ruby uses #^ for xor. So wouldn't that be the more appropriate operator for this? Using :+ for this seems strange.
trans (Thomas Sawyer)
09:53 PM Feature #7738: Deprecate Set#+ as an alias of Set#|, use it for symmetric difference. Introduce Hash#| for Hash#reverse_merge in Rails.
Sorry for not being clear. The symmetric difference of A and B is the set of all those elements which belong to exactly one of the two sets A or B. It is like the bitwise "exclusive or".
This would mean:
Set[:a, :b] + Set[:b, :c] # => ...
alexeymuranov (Alexey Muranov)
09:20 PM Feature #7738: Deprecate Set#+ as an alias of Set#|, use it for symmetric difference. Introduce Hash#| for Hash#reverse_merge in Rails.
It would help if you gave some examples of what "symmetric difference" actually meant.
Put the last "I also suggest" in another issue. Ok?
trans (Thomas Sawyer)
08:36 PM Feature #7738 (Rejected): Deprecate Set#+ as an alias of Set#|, use it for symmetric difference. Introduce Hash#| for Hash#reverse_merge in Rails.
=begin
I am almost sure this will be rejected, but i want to try anyway. My goal is to propose a more efficient and consistent use of binary operator symbols for some classes, in this case for (({Set})) and (({Hash})).
I propose to ...
alexeymuranov (Alexey Muranov)
09:57 PM Feature #7739 (Assigned): Define Hash#| as Hash#reverse_merge in Rails
=begin
I suggest for to define (({Hash#|})) as (({Hash#reverse_merge})) in ((*Rails*)), in my opinion this would correspond nicely to (({Set#|})), to the logical (({#||})) and to the bitwise (({#|})):
{ :a => 1, :b => 2 } | { :b =>...
alexeymuranov (Alexey Muranov)
09:28 PM Feature #7712: Add .txt extensions to all plain-text documentation files for Windows users
@luislavena The `.txt` extension might not be necessary, but it wouldn't hurt, yes? And in some cases it would help?
Also, there is the point of adding `.rdoc` to those files that are using it. Or, thinking ahead (imho), converting th...
trans (Thomas Sawyer)
07:53 PM Feature #7712: Add .txt extensions to all plain-text documentation files for Windows users
On 23/01/13 22:48, luislavena (Luis Lavena) wrote:
>
> Issue #7712 has been updated by luislavena (Luis Lavena).
>
>
> Hello,
>
> More than filename and extensions, there is a line-ending issue.
>
> All the source code...
regularfry (Alex Young)
07:48 AM Feature #7712: Add .txt extensions to all plain-text documentation files for Windows users
Hello,
More than filename and extensions, there is a line-ending issue.
All the source code is LF (unix) which will result in something unreadable if opened with plain notepad (at least Windows 7 does a terrible job).
I don't se...
luislavena (Luis Lavena)
06:48 PM Bug #6573: Webrick test failures
Could somebody please do something about this bug? I am sad that although this was reported almost 8 months ago and triaged including patch, it is still not fixed. Sometimes I have feeling that it would be faster to ask committer rights ... vo.x (Vit Ondruch)
05:51 PM Feature #7639: More freedom for location of comments
duerst:
I don't think your concern is warranted. In the use case that I showed, the comments will be a description about what will immediately follow. It would be there to signify the reader what is going to follow; if it works in the ...
sawa (Tsuyoshi Sawada)
04:40 PM Bug #7721: test_too_long_path2(TestProcess) fails on mingw32
The NoMemoryError is raised from rb_syserr_new_str call in make_errno_exc_str function with too long path string.
Here is a patch:
diff --git a/error.c b/error.c.new
index 481c117..c26feff 100644
--- a/error.c
+++ b/error.c.new
@...
phasis68 (Heesob Park)
04:05 PM Bug #7706 (Closed): Lazy#zip should not call `lazy`
This issue was solved with changeset r38925.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* enumerator.c: Optimize Lazy#zip when passed only arrays
...
marcandre (Marc-Andre Lafortune)
03:26 PM Bug #7696 (Open): Lazy enumerators with state can't be rewound
Bugs in MRI are fixed, but keeping open so Matz can decide how users should handle state. marcandre (Marc-Andre Lafortune)
03:22 PM Bug #7696 (Closed): Lazy enumerators with state can't be rewound
This issue was solved with changeset r38920.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* enumerator.c: Fix state handling for Lazy#take
[bug #76...
marcandre (Marc-Andre Lafortune)
03:23 PM Bug #7691 (Closed): 3 bugs with Lazy enumerators with state
This issue was solved with changeset r38921.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* enumerator.c: Fix state handling for Lazy#drop_while
[b...
marcandre (Marc-Andre Lafortune)
12:29 PM Bug #7729: __dir__ returns a absolute dir path
On Wed, Jan 23, 2013 at 10:19 PM, Shugo Maeda <shugo@ruby-lang.org> wrote:
> 2013/01/24 2:28 "SASADA Koichi" <ko1@atdot.net>:
>
>> Only the first script returns relative path by __FILE__.
>> I think all of __FILE__ and __dir__ s...
kosaki (Motohiro KOSAKI)
11:32 AM Bug #7729 (Rejected): __dir__ returns a absolute dir path
I've rejected this ticket, because I think it's not a bug.
ko1 (Koichi Sasada) wrote:
> (2013/01/23 23:31), authorNari (Narihiro Nakamura) wrote:
> ...
I see. Could you open a new ticket for this comment?
authorNari (Narihiro Nakamura)
02:29 AM Bug #7729: __dir__ returns a absolute dir path
(2013/01/23 23:31), authorNari (Narihiro Nakamura) wrote:
> File.dirname(__FILE__) returns a relative path. This is only my reason.

$ cat t.rb
p [:__FILE__, __FILE__]
p [:__dir__, __dir__]
require './t'
$ ruby t.rb
#=>
...
ko1 (Koichi Sasada)
10:56 AM Revision f1ef3d60 (git): * NEWS (yaml): Write about bundled libyaml.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sorah (Sorah Fukumori)
07:54 AM Revision dbcf2006 (git): * doc/syntax/calling_methods.rdoc: Added a Method Lookup section.
* doc/syntax/refinements.rdoc (Method Lookup): Clarified that
refinement methods are looked up in classes, not instances.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
07:51 AM Revision 96af5360 (git): * enum.c (enum_zip): Fix error message
* array.c (take_items): Same, for Array#zip
[Bug #7706]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
07:50 AM Revision aab2f788 (git): * enumerator.c (lazy_zip): raise error for bad arguments
[Bug #7706]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
07:20 AM Bug #7717: lib/rubygems/test_case.rb fails to setup
Once I drop 1.8.7 support in RubyGems I can use File.realpath. I added a note to remind myself. drbrain (Eric Hodel)
07:05 AM Revision 1af390b1 (git): * enumerator.c: Optimize Lazy#zip when passed only arrays
[Bug #7706]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
06:55 AM Revision cc6e6de2 (git): re-fix documents
File.realdirpath(path) is not a shorthand for
File.dirname(File.realpath(path)), just does not err if the last
component does not exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:24 AM Revision 41d6ba87 (git): * enumerator.c: Fix state handling for Lazy#zip
[bug #7696] [bug #7691]
* test/ruby/test_lazy_enumerator.rb: test for above
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
06:23 AM Revision 9d94a1a5 (git): * enumerator.c: Fix state handling for Lazy#drop
[bug #7696] [bug #7691]
* test/ruby/test_lazy_enumerator.rb: test for above
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
06:23 AM Revision bcbeb5d0 (git): * enumerator.c: Fix state handling for Lazy#drop_while
[bug #7696] [bug #7691]
* test/ruby/test_lazy_enumerator.rb: test for above
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
06:22 AM Revision de0e8876 (git): * enumerator.c: Fix state handling for Lazy#take
[bug #7696]
* test/ruby/test_lazy_enumerator.rb: test for above
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
05:35 AM Revision 892e8efd (git): fix documents. __dir__ is a shorthand File.realdirpath(__FILE__).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e authorNari (Narihiro Nakamura)
04:38 AM Bug #7724: 6 bugs with Range#bsearch over floats
mame (Yusuke Endoh) wrote:
> Thanks Marc-Andre!
> ...
Sure, I'll do it.
> Notice that the current implementation does NOT assume that the internal
> ...
Actually, I don't think there is need to know how many bits are used for the m...
marcandre (Marc-Andre Lafortune)
04:33 AM Bug #7736 (Closed): problem with generated rbconfig.rb for Haiku
> had a problem when sending this bug report, this one is duplicated
ok, I close this then.
kosaki (Motohiro KOSAKI)
04:20 AM Revision ded754f3 (git): Refix of r38916: it uses realpath
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:08 AM Revision b5c0c4ee (git): fix NEWS of __dir__
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e authorNari (Narihiro Nakamura)
03:03 AM Revision 2ad01137 (git): fix rdoc of __dir__ [Bug #7729]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:50 AM Revision 8ad15646 (git): * eval.c (f_current_dirname): Add documentation about "__dir__
returns always an absolute path". [Bug #7729]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
authorNari (Narihiro Nakamura)
01:28 AM Revision cef8eae8 (git): * NEWS (RDoc): Added mention of page support and markdown support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
12:40 AM Revision 30a9931b (git): * doc/syntax/refinements.rdoc: Added refinements document based on
the specification from the wiki.
* doc/syntax.rdoc: Added link to refinements document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
12:13 AM Bug #7734 (Rejected): Post IF - undefined local variable
The local variables are considered defined *after* the assignments, so that in above case, tree appears before the assignment is intentionally left undefined.
Matz.
matz (Yukihiro Matsumoto)
 

Also available in: Atom