Project

General

Profile

Activity

From 05/06/2012 to 05/12/2012

05/12/2012

09:46 PM Revision 7c943092 (git): * 2012-05-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:46 PM Revision 32ef6114 (git): * test/ruby/test_io.rb (class TestIO): Disable GC during IO tests to
avoid file descriptors being GC'ed. Suggestion by Tomoyuki Chikanaga
[ruby-core:43951][Bug #6228]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
luislavena (Luis Lavena)
07:05 PM Bug #6427 (Rejected): ruby ioctl: Error integer 2148012656 too big to convert to `int'
Hi,
the upgrade to ubuntu 12.04 came with an upgrade to ruby 1.9.3.
Unfortunately, in recent 1.9.3 versions of ruby there's a bug in the
ioctl function. E.g. if you want to do getbsz() on a block device and do
a
f.ioctl(0x800812...
hadmut (Hadmut Danisch)
03:53 PM Bug #6426: Segmentation fault when invoking
Sorry, forgot to complete the title.
Seg Fault when invoking thread executing OLE test with Mutex on (mingw32)
zhimin (Zhimin Zhan)
03:40 PM Bug #6426 (Rejected): Segmentation fault when invoking
Hi,
The Seg fault happens when invoking the test below (Ruby 1.9.3p194 on Windows XP SP3). Ran Ok when commented out $semaphore.lock line.

$semaphore = Mutex.new
# ..
def test_run_spec_file_web
$LOADWISE_PREVIEW = ...
zhimin (Zhimin Zhan)
07:08 AM Bug #6410 (Closed): Documentation for SDBM
Ok, now it's applied for real, sorry about the mixup drbrain (Eric Hodel)
06:31 AM Bug #6410 (Assigned): Documentation for SDBM
drbrain (Eric Hodel)
06:19 AM Bug #6410: Documentation for SDBM
Think you meant #6411 zzak (zzak _)
06:03 AM Bug #6410 (Closed): Documentation for SDBM
This issue was solved with changeset r35626.
Justin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/fileutils.rb (cp_r): Fixed cp_r example. Patch by TJ Ko...
drbrain (Eric Hodel)
07:01 AM Bug #6378: irb incorrectly considers line incomplete when parenthesis are excluded
I noticed while working today that this only affects certain symbols, particularly :+ and :-
If you attempt the same code with :* it works perfectly.
irb(main):001:0> [1,2,3,4].reduce :-
irb(main):002:0* ^D
irb(main):002:0> [1,2,...
devans (Daniel Evans)
07:01 AM Bug #6411 (Closed): Small documentation correction for cp_r GH#114
Applied as r35626, thanks for the patch! drbrain (Eric Hodel)
04:55 AM Bug #6425 (Closed): Psych issue with !!omap
=begin
Psych doesn't seem to know ordered map. It parses fine, but loose the type when round-tripped.
a = YAML.load %{
--- !!omap
a: 1
b: 2
}
=> {"a"=>1, "b"=>2}
a.class
=> Hash
puts a.to_yaml
---...
trans (Thomas Sawyer)
04:53 AM Feature #5632: Attempt to open included class shades it instead.
On 9 May 2012 13:49, boris_stitnicky (Boris Stitnicky)
<boris@iis.sinica.edu.tw> wrote:
>
> Issue #5632 has been updated by boris_stitnicky (Boris Stitnicky).
>
>
> Back to the original issue, having
> module A; class X; d...
Eregon (Benoit Daloze)
04:07 AM Revision 4a4f81c9 (git): workaround hack for broken ioctl.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:58 AM Bug #6124: remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby)
Another troubling issue might be found at [ruby-core:44996] vo.x (Vit Ondruch)

05/11/2012

11:57 PM Bug #4603: lib/csv.rb: when the :encoding parameter is not provided, the encoding of CSV data is treated as ASCII-8BIT
Thanks Naruse!
theirishpenguin (Declan McGrath)
01:23 AM Bug #4603: lib/csv.rb: when the :encoding parameter is not provided, the encoding of CSV data is treated as ASCII-8BIT
theirishpenguin (Declan McGrath) wrote:
> I seem to be still getting this problem on Ruby 1.9.2p290 revision 32553.
> ...
No, revision numbers are repository global number.
r32553 > r31370 doesn't mean it because they are different br...
naruse (Yui NARUSE)
11:28 PM Feature #2565: adding hooks for better tracing
Hi,
The attached patch reimplements dummy_probe_gen.rb, which is now capable to generate the probes.h directly from the probes.d.
vo.x (Vit Ondruch)
10:29 PM Feature #6421: Add zlibwapi to extconf.rb file for zlib library
phasis68 (Heesob Park) wrote:
> I have tested it.
> ...
Just to be sure, Ruby zlib extension will need to ensure ZLIB_WINAPI is not defined (undef if necessary)
luislavena (Luis Lavena)
03:46 PM Feature #6421: Add zlibwapi to extconf.rb file for zlib library
I have tested it.
The zlibwapi.dll can be stdcall or cdecl depend on the macro ZLIB_WINAPI defined or not.
I think there is no problem if it is not accepted.
You can rename zlibwapi.dll and zlibwapi.lib to zlib.dll and zlib.lib.
phasis68 (Heesob Park)
03:25 PM Feature #6421: Add zlibwapi to extconf.rb file for zlib library
Have anyone tested it?
If it has enough compatibility with normal zlib, there is no problem
I think.
usa (Usaku NAKAMURA)
08:11 AM Feature #6421 (Assigned): Add zlibwapi to extconf.rb file for zlib library
Hello,
According to the wiki, zlib has no maintainer:
http://bugs.ruby-lang.org/projects/ruby/wiki/Maintainers
Was my understanding that zlibwapi exported symbols as stdcall and not cdecl.
Assigning to Usaku Nakamura.
luislavena (Luis Lavena)
10:10 PM Revision 83d75765 (git): Fixed issue number in fileutils changelog entry
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
10:00 PM Revision 66796b4c (git): * ext/sdbm/init.c: Added documentation. Patch by Justin Collins,
cleanup by Zachary Scott. [ruby-trunk - #6410]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
09:39 PM Revision 209354c0 (git): merge revision(s) 35610:
Skip IPv6 addresses whose interface is set as IFDISABLED.
FreeBSD 9.0 with default setting (ipv6_activate_all_interfaces
is not YES) sets IFDISABLED to interfaces which don't have
global IPv6 address.
Lin...
naruse (Yui NARUSE)
09:02 PM Revision dfa9522c (git): * lib/fileutils.rb (cp_r): Fixed cp_r example. Patch by TJ Koblentz
from pull request #114. [ruby-trunk - Bug #6410]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
08:39 PM Revision 151093b9 (git): * thread.c (rb_threadptr_execute_interrupts_common):
test_signal_requiring of test/ruby/test_signal.rb fail if the sub
process is killed on waiting IO in lex_io_gets in rb_load_file in
rb_load_internal in require.
This is because
(1) the process receive the killing signal in
...
naruse (Yui NARUSE)
03:24 PM Revision 2650c695 (git): * 2012-05-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:24 PM Revision cc08e95b (git): Revert r35622.
It breaks bootstraptest/test_exception.rb:388.
"* thread.c (rb_threadptr_execute_interrupts_common): th->errinfo is"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:23 PM Bug #6419 (Closed): { } ではなく do ~ end でかくとsyntax errorでる箇所
This issue was solved with changeset r35620.
西行寺, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Bug #6419: fix cmdarg begin
* parse.y (primary): begin/end block ...
nobu (Nobuyoshi Nakada)
02:03 PM Revision 38d3b013 (git): * thread.c (rb_threadptr_execute_interrupts_common): th->errinfo is
not Fixnum, but exception object.
This causes test_signal_requiring of test/ruby/test_signal.rb fail
if the sub process is killed on waiting IO in lex_io_gets in require
itself, not sleep.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
naruse (Yui NARUSE)
02:03 PM Revision 2f56c64b (git): Add a test: BigDecimal("0").div(BigDecimal("Infinity")).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:00 PM Feature #6418: Supporing a subset of ANSI escape code on Windows
Recent patch:
https://github.com/ruby/ruby/pull/125
nobu (Nobuyoshi Nakada)
07:44 AM Feature #6418: Supporing a subset of ANSI escape code on Windows
nobu (Nobuyoshi Nakada) wrote:
> Some improvements.
Thank you Nobu,
I've run some naive tests against it, simulating a big and fast test suite and using minitest/pride to report colorful output:
https://gist.github.com/2655794
...
luislavena (Luis Lavena)
06:33 AM Bug #6087: How should inherited methods deal with return values of their own subclass?
I never noticed this before, so I'm jumping in a couple months late.
Duping the original object or copying its instance vars is wrong. Instance variables are state of an individual object, and should not be carried on to a *new* objec...
headius (Charles Nutter)
05:38 AM Feature #6310: add EC_POINT_mul and EC_POINTs_mul to the ruby openssl ec wrapper
Thanks, I'll have a look! MartinBosslet (Martin Bosslet)
05:23 AM Revision 4bbb0f98 (git): Bug #6419: fix cmdarg begin
* parse.y (primary): begin/end block should be isolated from outside.
[ruby-dev:45631][Bug #6419]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:09 AM Revision a4e76099 (git): * ext/bigdecimal/bigdecimal.c (PUSH): to prevent VALUE from GC,
must not cast it to unsigned long, which may be shorter than
VALUE, and the result can be mere garbage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@35619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:09 AM Revision 9c3bf9be (git): * ext/bigdecimal/bigdecimal.c (PUSH): to prevent VALUE from GC,
must not cast it to unsigned long, which may be shorter than
VALUE, and the result can be mere garbage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@35619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:09 AM Revision 8acdd955 (git): * ext/bigdecimal/bigdecimal.c (PUSH): to prevent VALUE from GC,
must not cast it to unsigned long, which may be shorter than
VALUE, and the result can be mere garbage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@35619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:09 AM Revision 67166228 (git): * ext/bigdecimal/bigdecimal.c (PUSH): to prevent VALUE from GC,
must not cast it to unsigned long, which may be shorter than
VALUE, and the result can be mere garbage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:09 AM Revision af310963 (git): * ext/bigdecimal/bigdecimal.c (PUSH): to prevent VALUE from GC,
must not cast it to unsigned long, which may be shorter than
VALUE, and the result can be mere garbage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:50 AM Revision 9cc7e9d1 (git): Revert r35616 "* ext/bigdecimal/bigdecimal.c: use RB_GC_GUARD. [ruby-dev:45627]"
RB_GC_GUARD() is only for variables on the machine stack, because it
forces a VALUE to be stored in a variable which should be referenced
from the GC, but does not add any reference path to the variable.
So it makes no sense for objects ...
nobu (Nobuyoshi Nakada)
03:08 AM Feature #6277: Hash#convert_key
It occurs to me that this issue could be solved in another way, via Subclassing. A subclass of Hash could be made with certain methods overridden to convert the keys as needed. This would offer complete flexibility (where as callbacks ar... trans (Thomas Sawyer)
12:51 AM Revision 5f58cd09 (git): lib/test/unit.rb: no unnecessary newlines
* lib/test/unit.rb (Test::Unit::Runner#failed): no unnecessary
newlines if no reports to be displayed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:36 AM Bug #6410: Documentation for SDBM
I've added patch 0002 to clean whitespace for Justin's patch.
Also added patch 0003 for my revisions: word-wrapped lines to 80 columns, formatting of parameters and ruby symbols, :nodoc: deprecated SDBM#index and spell check.
zzak (zzak _)

05/10/2012

10:00 PM Bug #5151 (Closed): test/socket/test_socket.rb fail when udp connection failed
まず、原因の累計として、
* OS のバグ (CentOS 5.6 や OpenBSD)
* 通信が無効になっている (FreeBSD9 の IFDISABLED、POINTOPOINT など)
後者は ifconfig の結果を眺めつつ、man を読むとわかったりわからなかったりします。
r35610 や r35611 ではこの辺の対策を入れています。
元々の問題である "fd5e:b7ac:aaf8:9f02:223:32ff:feb4:f300"...
naruse (Yui NARUSE)
08:15 PM Bug #4603: lib/csv.rb: when the :encoding parameter is not provided, the encoding of CSV data is treated as ASCII-8BIT
Hi,
I seem to be still getting this problem on Ruby 1.9.2p290 revision 32553. This issue should be fixed in revision 32553, correct? (as 32553 > 31370)
See below for test case.
Regards,
Declan
Test case
---------
1) ...
theirishpenguin (Declan McGrath)
08:11 PM Feature #2565: adding hooks for better tracing
I don't feel very comfortable to see dummy_probes.h as part of the patch while probes.h is generated by dtrace during build. Either both files should be already in patch, or both files should be created during compilation. I prefer the l... vo.x (Vit Ondruch)
07:15 PM Feature #2565: adding hooks for better tracing
> We shouldn't add it today because we don't know the license of the
> ...
The license is known: http://svn.joyent.com/opensource/dtrace/ruby/Joyent_copyright_notice.txt
vo.x (Vit Ondruch)
08:04 PM Feature #6421 (Closed): Add zlibwapi to extconf.rb file for zlib library
The vstudio contrib solution in zlib 1.2.7 creates a "zlibwapi" dll file. According to the readme.txt file, "The new DLL was renamed because there exist several incompatible versions of zlib.dll on the Internet."
So, I propose this ve...
djberg96 (Daniel Berger)
07:12 PM Feature #6418: Supporing a subset of ANSI escape code on Windows
=begin
Some improvements.
* better multi-params sequence
* bold by intensity
* allow split output
=end
nobu (Nobuyoshi Nakada)
02:40 AM Feature #6418: Supporing a subset of ANSI escape code on Windows
vo.x (Vit Ondruch) wrote:
> Seems like case for extension gem. But we'd been there already and it was failure. Not sure why this should be reintroduced and even directly into the Ruby. Let's keep focus on correct Ruby functionality and ...
luislavena (Luis Lavena)
02:30 AM Feature #6418: Supporing a subset of ANSI escape code on Windows
Seems like case for extension gem. But we'd been there already and it was failure. Not sure why this should be reintroduced and even directly into the Ruby. Let's keep focus on correct Ruby functionality and ANSI escape characters leave ... vo.x (Vit Ondruch)
06:44 PM Revision c8b35283 (git): * ext/bigdecimal/bigdecimal.c: use RB_GC_GUARD. [ruby-dev:45627]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
06:03 PM Revision bc6a32ce (git): * 2012-05-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:03 PM Revision 64c73b50 (git): adding a few tests surrounding file open arguments
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
04:05 PM Revision 64b6f2b2 (git): merge revision(s) 35594: [Backport #6422]
* io.c (io_unread): fix IO#pos with mode 'r' bug on Windows.
If the end of reading buffer is CR, io_unread() needs to unread one
more byte.
[ruby-core:44874] [Bug #6401]
* test/ruby/test_io_m17n.rb ...
naruse (Yui NARUSE)
12:37 PM Revision bfbf9d09 (git): fix the path of ifconfig.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:29 AM Revision ba8a7431 (git): skip addresses whose interface is set as POINTOPOINT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:43 AM Bug #6209: Marshal.load unable to load previously marshaled data: invalid encoding symbol (EncodingError)
I'm having this issue in ruby 1.9.2 p320. Is the bug resolved in any of the available releases?
Thanks in advance!
ninguno (ninguno ninguno)
03:47 AM Revision 08b3a446 (git): Skip IPv6 addresses whose interface is set as IFDISABLED.
FreeBSD 9.0 with default setting (ipv6_activate_all_interfaces
is not YES) sets IFDISABLED to interfaces which don't have
global IPv6 address.
Link-local IPv6 addresses on those interfaces don't work.
git-svn-id: svn+ssh://ci.ruby-lang....
naruse (Yui NARUSE)
03:36 AM Feature #6367: #same? for Enumerable
I like 'same_by?'
['ten', 'six', 'one', 'two'].same_by? &:length ===> true
IMO It's better to use a simple word, such as 'same', over 'identical' or 'coincident'
tho119cl (Thomas Green)
01:55 AM Revision 989f5a1e (git): test/minitest: Correct requiring path to metametameta.rb.
* test/minitest/test_minitest_mock.rb: Correct requiring path to
metametameta.rb.
* test/minitest/test_minitest_unit.rb: Correct requiring path to
metametameta.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35609 b2dd03c8-39...
nobu (Nobuyoshi Nakada)
01:25 AM Bug #6420 (Assigned): undefined local variable or method `parser' for URI::Generic:Class
ayumin (Ayumu AIZAWA)
12:23 AM Bug #6420: undefined local variable or method `parser' for URI::Generic:Class
I've added Wes' patch from GH#124 zzak (zzak _)
12:12 AM Bug #6420: undefined local variable or method `parser' for URI::Generic:Class
Pull request issued: https://github.com/ruby/ruby/pull/124 cap10morgan (Wes Morgan)
12:09 AM Bug #6420: undefined local variable or method `parser' for URI::Generic:Class
=begin
Obviously that code line above should read:
(({URI::Generic.build2(path: "/foo bar/baz")}))
=end
cap10morgan (Wes Morgan)
12:08 AM Bug #6420 (Closed): undefined local variable or method `parser' for URI::Generic:Class
=begin
When using the URI::Generic.build2 class method, if a URL component needs to be escaped (space -> %20, for example), it will attempt to call parser.escape on it. This generates an exception of "undefined local variable or method ...
cap10morgan (Wes Morgan)
01:18 AM Revision 35201084 (git): * 2012-05-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:18 AM Revision ae32e9a2 (git): parse.y: debugging stuff
* parse.y (lex_state_name): returns name for lex_state_e, for debug
use.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

05/09/2012

09:30 PM Feature #6310: add EC_POINT_mul and EC_POINTs_mul to the ruby openssl ec wrapper
I've added Sambasiva's patch from GH#121. zzak (zzak _)
08:49 PM Feature #5632: Attempt to open included class shades it instead.
Back to the original issue, having
module A; class X; def hello; puts 'hello' end end end
module B; include A end
then using "class X" statement inside B module does not behave as you say,
"X = defined?(X) ? X : Class.new", but as
...
Anonymous
04:23 AM Feature #5632: Attempt to open included class shades it instead.
Hello,

On 8 May 2012 20:41, boris_stitnicky (Boris Stitnicky)
<boris@iis.sinica.edu.tw> wrote:
> In this place, I'd also like to provide user feedback about my (unwarranted, but real)
> surprise involving a weakly related iss...
Eregon (Benoit Daloze)
03:41 AM Feature #5632: Attempt to open included class shades it instead.
In this place, I'd also like to provide user feedback about my (unwarranted, but real)
surprise involving a weakly related issue:
```ruby
module A; def initialize; puts "hello"; end
class B; include A end
A = Module.new
B.new
> ...
Anonymous
02:47 AM Feature #5632: Attempt to open included class shades it instead.
Well, it feels weird to disagree with the creator of the language you decided to use for your career, but matz, I think that in your example, in
```ruby
class B
A = 42
end
```
it is very clear, that you are performing a...
Anonymous
08:47 PM Bug #6419 (Closed): { } ではなく do ~ end でかくとsyntax errorでる箇所
=begin
こういうのを書いた場合にsyntax errorがでるみたいです
p begin
1.times { 1 }
1.times do 1 end # syntax error
end
=end
uy (西行寺 うゆ)
07:56 PM Revision 2924c953 (git): Ignore mkmf-generated Makefile
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
06:29 PM Feature #6418: Supporing a subset of ANSI escape code on Windows
(updated the patch) usa (Usaku NAKAMURA)
11:37 AM Feature #6418: Supporing a subset of ANSI escape code on Windows
usa (Usaku NAKAMURA) wrote:
> Are there those who need this?
A lot of libraries uses ANSI without offering non-colored (non-ANSI) alternatives.
Windows users needed to depend on win32console (back in 1.8x) and now external tools l...
luislavena (Luis Lavena)
11:18 AM Feature #6418: Supporing a subset of ANSI escape code on Windows
Here is an example command that exercises ri ANSI output:
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- bin/ri --no-standard -d .ext/rdoc Regexp -f ansi
drbrain (Eric Hodel)
11:16 AM Feature #6418: Supporing a subset of ANSI escape code on Windows
RDoc uses ANSI escape sequences for ri output. drbrain (Eric Hodel)
11:04 AM Feature #6418 (Closed): Supporing a subset of ANSI escape code on Windows
Are there those who need this? usa (Usaku NAKAMURA)
05:35 PM Bug #6405: Re: [ruby-cvs:42717] ryan:r35541 (trunk): Imported minitest 2.12.1 (r7323)
Sorry, r35571.
Why don't you run even the test for the library which you are about to commit?
nobu (Nobuyoshi Nakada)
05:29 PM Bug #6405 (Assigned): Re: [ruby-cvs:42717] ryan:r35541 (trunk): Imported minitest 2.12.1 (r7323)
r35563 is overwritten. nobu (Nobuyoshi Nakada)
03:22 PM Bug #6407: Most Test Failure for BigDecimal on 64bit Windows, any GCC parameter needed?
Due to the Revision r33978, this issue is not occurred with the trunk version.
I think r33978 should be backported to 1.9.3.
phasis68 (Heesob Park)
02:35 AM Bug #6407 (Assigned): Most Test Failure for BigDecimal on 64bit Windows, any GCC parameter needed?
luislavena (Luis Lavena)
01:21 AM Bug #6407: Most Test Failure for BigDecimal on 64bit Windows, any GCC parameter needed?
it is due to the mingw/mingw64 both use the default msvcrt.dll, which is not C99 compatiable. but both of them provide a externsion to override the msvcrt printf. and MinGW64 prefer use __USE_MINGW_ANSI_STDIO as a switch for this, instea... raylinn@gmail.com (ray linn)
11:05 AM Feature #6417 (Rejected): Supporing a subset of ANSI escape code on Windows
投げ先間違えたのでこっちは殺します orz usa (Usaku NAKAMURA)
10:49 AM Feature #6417 (Rejected): Supporing a subset of ANSI escape code on Windows
Are there those who need this? usa (Usaku NAKAMURA)
07:36 AM Revision 74134f57 (git): lib/mkmf.rb: check pkg-config result
* lib/mkmf.rb (MakeMakefile#pkg_config): check if libs resulted from
pkg-config works actually.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:03 AM Revision 2e63cd97 (git): * lib/net/imap.rb (decode_utf7, encode_utf7): refactored by
Nobuyoshi Nakada, to use String#encode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
07:00 AM Revision 9a10c972 (git): merge revision(s) 33978:
* configure.in (RUBY_WERROR_FLAG): append all warning flags which
are enabled to compile, so that printf format modifiers properly
fail. [ruby-core:41351] [Bug #5679]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bra...
nobu (Nobuyoshi Nakada)
06:33 AM Bug #6415 (Closed): wrong documentation for Regex#==/eql?
This issue was solved with changeset r35600.
John, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* re.c (rb_reg_equal): Removed incorrect example for Regexp#== w...
drbrain (Eric Hodel)
06:21 AM Bug #6415 (Assigned): wrong documentation for Regex#==/eql?
drbrain (Eric Hodel)
05:40 AM Bug #6415 (Closed): wrong documentation for Regex#==/eql?
The documentation states that "Two regexps are equal if their patterns are identical, they have the same character set code, and their casefold? values are the same" and gives the following example:
/abc/ == /abc/n #=> false
...
john_firebaugh (John Firebaugh)
06:13 AM Bug #6416 (Closed): Deadlock when calling Thread#join from signal interrupt context
=begin
The interpreter can deadlock when calling Thread#join both from the main context and from the signal handler context.
t = Thread.new{ sleep 3 }
Signal.trap "SIGINT" do
t.join
end
puts 'Press ctrl + c now'
...
ender672 (Timothy Elliott)
04:26 AM Revision e62c35fb (git): * test/rubygems/test_gem_remote_fetcher.rb: skip OpenSSL dependent
tests if not available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:09 AM Revision a213c2ed (git): Imported minitest 3.0.0 (r7435) w/ fixes for rubygems. 10955 tests, 2253343 assertions, 1 failures, 1 errors, 28 skips minus drb tests on x86_64-darwin11.3.0 and reviewed by drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
03:46 AM Feature #5474: keyword argument
Hi,
mame (Yusuke Endoh) wrote:
> ## Marc-Andre's hash decomposition [ruby-core:41772]
> ...
Maybe I misread Matz' comment, but I understood he was not sure yet.
In any case, a new feature request (#6414) was just opened, so we ca...
marcandre (Marc-Andre Lafortune)
03:19 AM Feature #6414 (Closed): Destructuring Assignment
I mean:
john = {name: "John", last: "Smith"}
{name, last} = john # extract value by key from the hash and set to local variable with same name
name # => "John"
last # -> "Smith"
Useful for ex. for "options" hashes:
def select(...
edtsech (Edward Tsech)

05/08/2012

11:18 PM Bug #6407: Most Test Failure for BigDecimal on 64bit Windows, any GCC parameter needed?
This issue is related with sprintf "%zd" format which is a C99 feature.
To enable sprintf "%zd" format, Ruby 1.9.3 defines macro _GNU_SOURCE.
If _GNU_SOURCE is defined, MinGW32 defines __USE_MINGW_ANSI_STDIO macro.
But MinGW64 ignores _G...
phasis68 (Heesob Park)
10:16 PM Feature #6373: public #self
Perhaps Smalltalk has the best suggestion. :) shevegen (Robert A. Heiler)
10:13 PM Feature #6412: Make Dir.entries default to Dir.entries(Dir.pwd)
Sorry, this is the wrong one.
This is not a "bug", I wanted to mark it as feature, but it
seems I clicked too quickly. Can someone remove this here?
(I don't know how to remove it)
This should be under "feature" instead.
shevegen (Robert A. Heiler)
10:12 PM Feature #6412 (Rejected): Make Dir.entries default to Dir.entries(Dir.pwd)
Is there a reason why Dir.entries requires one argument?
I think it would be easier and more convenient for the userruby if it would default to the current directory. Like so:
Dir.entries(i = Dir.pwd)
Or is there a reason why t...
shevegen (Robert A. Heiler)
10:12 PM Feature #6413 (Rejected): Make Dir.entries default to Dir.entries(Dir.pwd)
Is there a reason why Dir.entries requires one argument?
I think it would be easier and more convenient for the userruby if it would default to the current directory. Like so:
Dir.entries(i = Dir.pwd)
Or is there a reason why t...
shevegen (Robert A. Heiler)
09:33 PM Revision 2dece928 (git): * re.c (rb_reg_equal): Removed incorrect example for Regexp#== with
"n" option. [ruby-talk - Bug #6415]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
09:25 PM Revision 16c364ad (git): * ext/date/date_core.c: reverted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
09:01 PM Bug #6401 (Closed): Windows bug with File.pos
This issue was solved with changeset r35594.
Jason, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c (io_unread): fix IO#pos with mode 'r' bug on Windows.
I...
Anonymous
01:02 PM Bug #6401: Windows bug with File.pos
Sounds like changes worth waiting for! I look forward to the next 1.9.3 patch release because my application requires this bug fix. Thanks again for your good work. jmthomas (Jason Thomas)
01:52 AM Bug #6401: Windows bug with File.pos
As just one example, due to the Windows IO refactoring led primarily by Shirosaki-san, read performance improved from ~18.5s on 1.9.2/1.9.3p0 to ~1.4s on 1.9.3p125+ with one of my micro-benchmarks
http://blade.nagaokaut.ac.jp/cgi-bi...
jonforums (Jon Forums)
01:34 AM Bug #6401: Windows bug with File.pos
jmthomas (Jason Thomas) wrote:
> Is there some reason that the file reading got so messed up between 193p0 and now? Was there a refactor / rewrite of this fundamental operation?
Short answer: yes, there was a refactor of IO on Window...
luislavena (Luis Lavena)
01:14 AM Bug #6401: Windows bug with File.pos
Is there some reason that the file reading got so messed up between 193p0 and now? Was there a refactor / rewrite of this fundamental operation? jmthomas (Jason Thomas)
08:44 PM Bug #6411 (Closed): Small documentation correction for cp_r GH#114
The following is a cross-post from GH#114
https://github.com/ruby/ruby/pull/114
zzak (zzak _)
08:29 PM Feature #6409: public_send is easily bypassed
=begin
Maybe something like:

class SafeClass
METHOD_SAFE = { :safe_method_1 => true, :safe_method_2 => true }
def safe_send(method, *arguments)
send(method, *arguments) if METHOD_SAFE[method]
end
end
But this is...
alexeymuranov (Alexey Muranov)
08:02 PM Feature #6409: public_send is easily bypassed
Now I know `public_send` should _not_ be trusted with arbitrary method names/arguments. Is there even a safe version of `send`? postmodern (Hal Brodigan)
07:48 PM Feature #6409: public_send is easily bypassed
Wouldn't something as proposed in http://bugs.ruby-lang.org/issues/5455 help in the long run? MartinBosslet (Martin Bosslet)
07:02 PM Feature #6409: public_send is easily bypassed
@postmodern, `send` is a public method, why would `public_send` refuse to call it? Were you suggesting to remove the `send` method? alexeymuranov (Alexey Muranov)
04:39 PM Feature #6409 (Rejected): public_send is easily bypassed
The whole purpose of public_send is to prohibit the invocation of non-public methods, probably to help detecting error earlier. In that sense, as Jeremy expressed, we see no reason to prohibit #send the public method. public_send (and ... matz (Yukihiro Matsumoto)
02:34 PM Feature #6409: public_send is easily bypassed
I see no reason to special case this. send is a public method, therefore public_send should be allowed to call it. Attempting to deny access to send for safety reasons is pointless considering that instance_eval is public can be used t... jeremyevans0 (Jeremy Evans)
02:18 PM Feature #6409: public_send is easily bypassed
(({public_send})) should only allow _calling_ public methods. By extension, it should not allow calling (({send})), since that would negate the purpose of (({public_send})). In the context of (({public_send})), the (({send})) method has ... postmodern (Hal Brodigan)
12:41 PM Feature #6409: public_send is easily bypassed
This is definitely not a bug, as `send` is public.
I don't understand the rationale behind your request. You are still using `send`. `public_send` does not and cannot guarantee that a private method won't be called at some point; only...
marcandre (Marc-Andre Lafortune)
09:37 AM Feature #6409 (Rejected): public_send is easily bypassed
=begin
(({public_send})) can easily be bypassed, by using it to call (({send})). (({public_send})) should explicitly not allow calling (({send})).
class Test
private
def secret
"top secret"
end
...
postmodern (Hal Brodigan)
07:35 PM Revision 9fdf9df1 (git): * 2012-05-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:35 PM Revision 113b94e1 (git): * lib/rinda/ring.rb (lookup_ring_any): fix Rinda::RingFinger.primary
hungs forever. [ruby-talk:395364]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Masatoshi SEKI
02:28 PM Revision a089fe01 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:39 PM Bug #6410 (Closed): Documentation for SDBM
Some documentation for the SDBM standard library. jsc (Justin Collins)
12:47 PM Revision 5ccee663 (git): * include/ruby/win32.h (FD_SET): change function to macro.
To avoid buffer overflow when smaller FD_SETSISE is used in ext
libraries.
* win32/win32.c (rb_w32_fdset): this function is not used anymore.
But we leave this for compatibility.
* win32/win32.c (rb_w32_select_with_thread): fix SEG...
h.shirosaki (Hiroshi Shirosaki)
12:01 PM Revision 7e134cf7 (git): * io.c (io_unread): fix IO#pos with mode 'r' bug on Windows.
If the end of reading buffer is CR, io_unread() needs to unread one
more byte.
[ruby-core:44874] [Bug #6401]
* test/ruby/test_io_m17n.rb (TestIO_M17N#test_pos_with_buffer_end_cr):
add a test for above.
git-svn-id: svn+ssh://ci.ru...
h.shirosaki (Hiroshi Shirosaki)
09:49 AM Bug #6346 (Closed): Fix typo in documentation for abbrev.rb
drbrain (Eric Hodel)
08:31 AM Feature #5373 (Assigned): SMTP - new method
drbrain (Eric Hodel)
08:31 AM Feature #5373: SMTP - new method
Here is a patch with a test, may I commit?
There aren't many net/smtp tests so perhaps there is a better way than FakeSocket.
drbrain (Eric Hodel)
06:50 AM Revision c45d780b (git): test/mkmf/base.rb: hide compiler output
* test/mkmf/base.rb (TestMkmf::Capture#reopen): reopen replaced IO
too, to hide compiler output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:50 AM Revision 63a164f3 (git): test: fix test conditions
* test/csv/test_features.rb (TestCSV#test_gzip_reader_bug_fix): test
only if zlib is available.
* test/csv/test_features.rb (TestCSV#test_gzip_writer_bug_fix): ditto.
* test/open-uri/test_open-uri.rb (TestOpenURI#test_content_encodin...
nobu (Nobuyoshi Nakada)
06:49 AM Revision a0d2cd2e (git): test: why believe source directories are writable always?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:46 AM Bug #6381 (Third Party's Issue): Useful methods like included don't appear in RDoc
=begin
Documentation for Module.included is displayed by using ri generated from 1.9.3:
$ ~/.multiruby/install/1.9.3-p125/bin/ri Module.included
Module.included

(from ruby core)
So the display of documentation for Modu...
drbrain (Eric Hodel)
04:47 AM Revision 965121cd (git): * ext/date/date_core.c: improving introduction in Date/DateTime doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
04:36 AM Revision f8599f92 (git): configure.in: fix for BSD make
* configure.in (POSTLINK): default to : command to get rid of flag
only command, since BSD make does not work with it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:35 AM Revision b4b9183f (git): lib/test/unit.rb: remove exact trace
* lib/test/unit.rb (MiniTest#run_test): remove exact trace and get rid
of IndexError, which could caused by modified $@ sometimes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:23 AM Revision 844ddfdd (git): * test/minitest/metametameta.rb (MetaMetaMetaTestCase#assert_report):
support drive letter on Windows. yes, the original code is metameta.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:13 AM Bug #6387: 1.9.3p194 crashed on require in ubuntu
Sorry, I tried, I can't. It happens just in that app under ubuntu. Let me do some more digging when I found the time. ywen (Yi Wen)
12:25 AM Revision 77992262 (git): tests: customizable colors
* bootstraptest/runner.rb, lib/test/unit.rb, sample/test.rb:
customizable colors.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:25 AM Revision 1af101f8 (git): lib/test/unit.rb: old behavior if verbose
* lib/test/unit.rb (Test::Unit::Runner#_prepare_run): keep the old
behavior if --verbose option is given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

05/07/2012

11:55 PM Revision 79f28211 (git): * lib/abbrev.rb: Fixed typo in abbrev pattern documentation. Based on
patch by Mark Rushakoff. [ruby-trunk - #6346]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
10:46 PM Revision c047e1ec (git): * ext/openssl/ossl_ssl.c (ossl_start_ssl): remove useless rb_sys_fail
before ossl_raise. this cause a test failure on Linux.
http://u64.rubyci.org/~chkbuild/ruby-trunk/log/20120507T190102Z.log.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:19 PM Bug #6401: Windows bug with File.pos
I confirmed the issue. Thanks for your test case.
If the end of reading buffer is CR, io_unread() needs to unread one more byte for CR.
I created a patch and a simplified test case for that.
h.shirosaki (Hiroshi Shirosaki)
08:35 PM Revision f6e2081c (git): * object.c (Init_Object): Added reference to variable.c where
public_constant and private_constant documentation lives. [#6381]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
08:12 PM Revision bd62d2a9 (git): lib/test/unit.rb: initialize instace variable
* lib/test/unit.rb (Test::Unit::Runner#output): suppress uninitialized
instance variable warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:54 PM Feature #6399: IO.read ignores valid open_args on Windows
I do not think that Ruby must support such non standard modes.
But if you can provide a patch to support them in other platforms,
your request may get more persuasive.
usa (Usaku NAKAMURA)
07:47 PM Revision 5789992f (git): lib/test/unit.rb: use local output
* lib/test/unit.rb (Test::Unit::Runner#output): prefer local output to
get rid of unexpected side effect in test/minitest/metametameta.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:54 PM Revision 13c76c07 (git): lib/test/unit.rb: test name in $0
* lib/test/unit.rb (MiniTest#run_test): show the running test in $0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:54 PM Revision fbebe848 (git): lib/test/unit.rb: output in status line
* lib/test/unit.rb (Test::Unit::StatusLineOutput): new class to output
in status line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:54 PM Revision fca2ac96 (git): test/testunit: fix for recent minitest
* test/testunit/test_hideskip.rb (TestHideSkip#test_hideskip):
MiniTest#puke now reports Skipped messages only if verbose mode.
* test/testunit/test_sorting.rb (TestTestUnitSorting#test_sorting):
ditto.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
06:53 PM Revision ec76e156 (git): lib/test/unit.rb: refactoring puke
* lib/test/unit.rb (Test::Unit::Runner#puke): modify only result and
drop useless reports, not override entirely.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:53 PM Revision a6003269 (git): bootstraptest/runner.rb: refine output
* bootstraptest/runner.rb (exec_test, show_progress): show rotators
and pass/fail counts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:51 PM Revision 8da4634b (git): sample/test.rb: refine output
* sample/test.rb (PROGRESS): refine output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:44 PM Revision 9c4fc91c (git): * ext/json/lib/json/generic_object.rb: missing file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:08 PM Bug #6405 (Closed): Re: [ruby-cvs:42717] ryan:r35541 (trunk): Imported minitest 2.12.1 (r7323)
This issue was solved with changeset r35563.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/minitest/unit.rb (assert_match): replace matcher only if bot...
naruse (Yui NARUSE)
12:43 AM Bug #6405: Re: [ruby-cvs:42717] ryan:r35541 (trunk): Imported minitest 2.12.1 (r7323)
=begin
Another issue.
/Users/nobu/build/ruby/trunk/src/test/minitest/test_minitest_unit.rb: cannot load such file -- test/minitest/metametameta
=end
nobu (Nobuyoshi Nakada)
05:49 PM Revision 49331dde (git): * lib/minitest/unit.rb (assert_match): refix of r35563.
r35563 breaks the intention of the original change.
https://github.com/seattlerb/minitest/commit/68858105b2eb11c85105ffac5f32b662c59397f3
* lib/minitest/unit.rb (refute_match): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
naruse (Yui NARUSE)
05:49 PM Revision 40f19396 (git): Correct requiring path to metametameta.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:18 PM Revision 8545d2f4 (git): test_ssl.rb: test only if necessary option is available.
* test/openssl/test_ssl.rb (test_forbid_tls_v1_{1,2}_{for_client,from_server}):
test only if necessary option is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:00 PM Revision a1352029 (git): * 2012-05-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:00 PM Revision 5a00be2b (git): * ext/json: Merge JSON 1.7.1.
https://github.com/flori/json/commit/e5b9a9465c1159fae533bca320d950b772bcb4ac
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:05 PM Bug #6397 (Closed): Net::IMAP::ResponseParseError: unexpected token LPAR (expected QUOTED or LITERAL)
This issue was solved with changeset r35558.
Roman, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/imap.rb (body_type_attachment): parse body type
"ATT...
shugo (Shugo Maeda)
11:57 AM Revision 5f7be315 (git): * ext/openssl/ossl_ssl.c: add support for option flags
OpenSSL::SSL::OP_NO_TLSv1_1
OpenSSL::SSL::OP_NO_TLSv1_2
to allow blocking specific TLS versions. Thanks to Justin Guyett for
pointing this out to me.
* test/openssl/test_ssl.rb: add tests to assert correct behavior when
blocking ...
MartinBosslet (Martin Bosslet)
11:25 AM Revision 2099780e (git): merge revision(s) 35545,35564,35565:
* lib/securerandom.rb: show actual read length in an error message.
* lib/securerandom.rb (random_bytes): call to_int method for the
argument at first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@...
naruse (Yui NARUSE)
11:15 AM Revision e1ee200b (git): refine an error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:15 AM Revision e76660ca (git): * lib/securerandom.rb (random_bytes): call to_int method for the
argument at first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:03 AM Bug #6406 (Closed): Ruby crashes with Segmentation fault
This issue was solved with changeset r35555.
Shmel, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/bigdecimal/bigdecimal.c (Init_bigdecimal): define IDs befo...
naruse (Yui NARUSE)
02:23 AM Bug #6406: Ruby crashes with Segmentation fault
Sorry, made mistake in gem name, should be newrelic_rpm.
Updated step by step instruction assuming rails 3.2.x:
* rails new foo
* cd foo
* echo 'gem "newrelic_rpm"' >> Gemfile
* bundle install
* printf "development:\n monitor_mode: fal...
shmeltex (Shmel de Tex)
10:22 AM Bug #5423: readlineの入力待機中に端末のウィンドウサイズ変更すると入力内容が乱れる
mameさん、naruseさん、情報ありがとうございます。
こちらの環境では再現しないため、どうにも困っていました。
いただいた情報を元に少し調べてみます。
Readlineのバージョン(5.X, 6.1, 6.2)も関係があるのかもしれませんね。
なんにせよ、SEGVとかregressionは早くなんとかしますね。
kouji (Kouji Takao)
10:20 AM Bug #6408: DelegateClass#eql? and <=> don't work as expected
Hi,
jeremyevans (Jeremy Evans) wrote:
> Changing this behavior would likely break existing code. So if this to
> ...
I had misunderstood that the goal was to make equality symmetric. In any case, you're right, I don't think it sho...
marcandre (Marc-Andre Lafortune)
09:53 AM Bug #6408: DelegateClass#eql? and <=> don't work as expected
On 05/07 07:15, marcandre (Marc-Andre Lafortune) wrote:
>
> Hi,
>
> In your patch, for both `if obj.equal? self`, shouldn't it be `if obj.is_a? Delegator`?
>
> For many classes that define their comparison operators, this...
jeremyevans (Jeremy Evans)
08:34 AM Bug #6408: DelegateClass#eql? and <=> don't work as expected
Hi,
> I was thinking that too, but the current implementation of != and ==
> ...
Sounds good. In any case, +1 from me.
== and != should also be modified to call self == self and self != self in case `other.equal?(self)`, even tho...
marcandre (Marc-Andre Lafortune)
08:23 AM Bug #6408: DelegateClass#eql? and <=> don't work as expected
On Mon, May 07, 2012 at 07:15:34AM +0900, marcandre (Marc-Andre Lafortune) wrote:
>
> Issue #6408 has been updated by marcandre (Marc-Andre Lafortune).
>
>
> Hi,
>
> In your patch, for both `if obj.equal? self`, shouldn't it ...
Anonymous
07:24 AM Bug #6408: DelegateClass#eql? and <=> don't work as expected
marcandre (Marc-Andre Lafortune) wrote:
> Hi,
> ...
Or if you did mean `obj.equal? self`, then you can return true / 0, at least that what != and == are doing. Better not delegate to NaN :-)
marcandre (Marc-Andre Lafortune)
07:15 AM Bug #6408: DelegateClass#eql? and <=> don't work as expected
Hi,
In your patch, for both `if obj.equal? self`, shouldn't it be `if obj.is_a? Delegator`?
For many classes that define their comparison operators, this might not be sufficient if you want comparison operators to work well, as the...
marcandre (Marc-Andre Lafortune)
04:48 AM Bug #6408 (Closed): DelegateClass#eql? and <=> don't work as expected
It seems these two methods aren't delegating to the delegate object when compared against itself.
I've attached a patch with tests and a fix. It seems nobody is the maintainer for delegate.rb (according to the wiki), so if nobody obj...
tenderlovemaking (Aaron Patterson)
09:08 AM Revision 34a8bfa9 (git): * lib/minitest/unit.rb (assert_match): replace matcher only if both
matcher and obj are String. fix r35541. [Bug #6405]
DON'T COMMIT IF YOU CAN'T RUN TEST.
FIX AS SOON AS POSSIBLE YOU BREAK TESTS.
patched by ayumin.
https://github.com/seattlerb/minitest/pull/124
* lib/minitest/unit.rb (refute_ma...
naruse (Yui NARUSE)
08:46 AM Revision 251001c8 (git): Revert r35560.
This breaks tests:
http://u64.rubyci.org/~chkbuild/ruby-trunk/log/20120507T070102Z.log.html.gz
And don't change local codes, contribute it to upstream:
https://github.com/flori/json
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@355...
naruse (Yui NARUSE)
08:25 AM Revision e9231035 (git): * ext/json/parser/depend: need to specify the base directory for nmake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
05:11 AM Revision 0bd56268 (git): ext/json/fbuffer/fbuffer.h
* ext/json/fbuffer/fbuffer.h: comment-out unused functions.
* ext/json/parser/depend: add dependency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:41 AM Revision 0be8f819 (git): codesign
* Makefile.in (PROGRAM), configure.in (POSTLINK): sign built program
using RUBY_CODESIGN identity.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:05 AM Revision 9be3aa17 (git): * lib/net/imap.rb (body_type_attachment): parse body type
"ATTACHMENT". [ruby-core:44849] [Bug #6397]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
02:45 AM Bug #6343: Improved Fiber documentation
Thanks, ok that makes sense. What should happen if someone does try and yield from a fiber that has been transferred control to from some other fiber? I will add it to RubySpec which is currently missing the spec for Fiber transfer. Than... andhapp (Anuj Dutta)
02:09 AM Revision f4be1257 (git): merge revision(s) 35555:
* ext/bigdecimal/bigdecimal.c (Init_bigdecimal): define IDs before
they are used. [ruby-core:44900] [Bug #6406]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:09 AM Revision 551031f1 (git): Revert r35536.
The behavior is expected because of the Unicode 4.1.0. [ruby-dev:45619]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:03 AM Revision 0fce0545 (git): * ext/bigdecimal/bigdecimal.c (Init_bigdecimal): define IDs before
they are used. [ruby-core:44900] [Bug #6406]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:27 AM Revision cc3f3307 (git): rmd160.c: fix for huge data
* ext/digest/rmd160/rmd160.c (RMD160_Update): fix for huge data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:23 AM Revision 29825889 (git): use assert_equal, assert_match, and so on.
* test/fileutils/fileasserts.rb: use assert_equal, assert_match, and so on.
* test/ruby/enc/test_utf16.rb, test/ruby/enc/test_utf32.rb,
test/ruby/test_io_m17n.rb (assert_str_equal): ditto.
* test/rubygems/test_gem_remote_fetcher.rb
(...
nobu (Nobuyoshi Nakada)
01:16 AM Revision b5ba059a (git): test_gem_installer.rb: fix argument order
* test/rubygems/test_gem_installer.rb (TestGemInstaller#test_dir): fix
argument order. expected value must come first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:37 AM Revision 07ea7112 (git): * Fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e MartinBosslet (Martin Bosslet)

05/06/2012

10:26 PM Revision 5aa9b57d (git): * 2012-05-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:26 PM Revision 060184c3 (git): * ext/openssl/ossl_ssl.c: support TLSv1.1 & TLSv1.1. Add
SSLContext#version to inspect the version that was negotiated for
a given connection.
* ext/openssl/extconf.rb: detect TLS 1.1 & 1.2 support.
* test/openssl/test_ssl.rb: add tests for TLS 1.1 & 1.2 given they
are supported by the nat...
MartinBosslet (Martin Bosslet)
09:56 PM Bug #6406 (Feedback): Ruby crashes with Segmentation fault
Please write procedure in commands, like
* rails g foo
* cd foo
* echo 'gem "newrelic"' >> Gemfile
And I failed the produce in "run bundler" as following:
% bundle
Fetching gem metadata from https://rubygems.org/.........
Co...
naruse (Yui NARUSE)
12:22 PM Bug #6406: Ruby crashes with Segmentation fault
Tried with ruby 1.9.3p203 (2012-05-04 revision 35536) [x86_64-darwin11.3.0] and got the same result. shmeltex (Shmel de Tex)
11:35 AM Bug #6406 (Closed): Ruby crashes with Segmentation fault
Ruby consistently crashes with Segmentation fault. Gem newrelic in development mode has a link "List Threads", every time I click the link - Ruby crashes.
Steps to reproduce:
- generate rails app
- add gem 'newrelic' to Gemfile
- ...
shmeltex (Shmel de Tex)
09:53 PM Bug #6405: Re: [ruby-cvs:42717] ryan:r35541 (trunk): Imported minitest 2.12.1 (r7323)
(2012/05/06 6:17), zenspider (Ryan Davis) wrote:
>
> Issue #6405 has been updated by zenspider (Ryan Davis).
>
>
> How can I run the tests if the tests _hang_?

make RUBYOPT=-w TESTS='-qv -j3 -x drb' test-all

or as...
naruse (Yui NARUSE)
12:23 PM Bug #6405: Re: [ruby-cvs:42717] ryan:r35541 (trunk): Imported minitest 2.12.1 (r7323)
2012/5/6 zenspider (Ryan Davis) <redmine@ruby-lang.org>:

> This is why I don't run full tests before:
>
> % egrep "= (E|F)" test.ruby.1.txt
> TestBug4409#test_bug4409 = 76.40 s = E
> TestDRbAry#test_01 = 75.83 s = E
> ...
akr (Akira Tanaka)
06:53 AM Bug #6405: Re: [ruby-cvs:42717] ryan:r35541 (trunk): Imported minitest 2.12.1 (r7323)
(2012/05/06 5:05), zenspider (Ryan Davis) wrote:
>
> Issue #6405 has been updated by zenspider (Ryan Davis).
>
>
> =begin
> This is why I don't run full tests before:
>
> % egrep "= (E|F)" test.ruby.1.txt
> Test...
naruse (Yui NARUSE)
06:29 AM Bug #6405: Re: [ruby-cvs:42717] ryan:r35541 (trunk): Imported minitest 2.12.1 (r7323)
On Sat, May 5, 2012 at 5:17 PM, zenspider (Ryan Davis)
<redmine@ruby-lang.org> wrote:
>
> Issue #6405 has been updated by zenspider (Ryan Davis).
>
>
> How can I run the tests if the tests _hang_?

fix a bug?

At lea...
kosaki (Motohiro KOSAKI)
06:17 AM Bug #6405: Re: [ruby-cvs:42717] ryan:r35541 (trunk): Imported minitest 2.12.1 (r7323)
How can I run the tests if the tests _hang_? zenspider (Ryan Davis)
05:53 AM Bug #6405: Re: [ruby-cvs:42717] ryan:r35541 (trunk): Imported minitest 2.12.1 (r7323)
Hi Ryan

We hope to you will run full-test before importing any change to keep ruby stable.
You can use parallel-test with -j option to run full-test faster.

Anyway, r35541 broke existing test of ruby-core. it should be a bu...
ayumin (Ayumu AIZAWA)
05:05 AM Bug #6405: Re: [ruby-cvs:42717] ryan:r35541 (trunk): Imported minitest 2.12.1 (r7323)
=begin
This is why I don't run full tests before:
% egrep "= (E|F)" test.ruby.1.txt
TestBug4409#test_bug4409 = 76.40 s = E
TestDRbAry#test_01 = 75.83 s = E
TestDRbAry#test_02_collect = 76.00 s = E
TestDRbAry#test_03_redo = 76.25 s...
zenspider (Ryan Davis)
09:17 PM Bug #6387: 1.9.3p194 crashed on require in ubuntu
Could you show a small reproducible code and process to run it?
[ruby-core:42488] is a good example.
naruse (Yui NARUSE)
11:00 AM Bug #6387: 1.9.3p194 crashed on require in ubuntu
And it never happened on Mac OSX, just under ubuntu ywen (Yi Wen)
10:59 AM Bug #6387: 1.9.3p194 crashed on require in ubuntu
It is not by yard itself. It is a Rails project and it has pry-doc installed. When running rspec loading gems it encounters such errors. ywen (Yi Wen)
02:53 PM Bug #6407 (Closed): Most Test Failure for BigDecimal on 64bit Windows, any GCC parameter needed?
Compiled with MinGW64, GCC (4.6.3) or (GCC 4.7.0), configure as ./configure --build=x86_64-w64-mingw32 CFLAGS="-O2 -finline-functions -I/usr/local/include" LDFLAGS="-L/usr/local/lib" ,after compiled, zero error on make test. but when mak... raylinn@gmail.com (ray linn)
02:41 PM Bug #6391: Segment Fault while execute make_encmake.rb for Ruby 1.9.3 P194 ( MinGW64)
that means even choose -O0, still could see this issue. could it be duplicated on Linux? raylinn@gmail.com (ray linn)
12:39 PM Revision 6a7666e5 (git): * io.c (io_encoding_set): suppress warnings. [ruby-dev:45627]
this tmp1 is not required after r35538.
* addr2line.c: suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:40 AM Revision 6051f542 (git): * compile.c (iseq_compile_each): remove unused variable `size'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:58 AM Bug #4814: minitest 2.2.x and test/unit do not get along
On Jun 2, 2011, at 03:56 , Shota Fukumori wrote:

> could test again with `make TESTS="-v testunit/test_parallel.rb" test-all` at r31902?
>
> I can't reproduce at `ruby 1.9.3dev (2011-06-02 trunk 31902) [x86_64-darwin10.7.0]`.

A...
zenspider (Ryan Davis)
05:57 AM Bug #4814: minitest 2.2.x and test/unit do not get along
On Jun 2, 2011, at 03:56 , Shota Fukumori wrote:

> could test again with `make TESTS="-v testunit/test_parallel.rb" test-all` at r31902?
>
> I can't reproduce at `ruby 1.9.3dev (2011-06-02 trunk 31902) [x86_64-darwin10.7.0]`.

A...
zenspider (Ryan Davis)
05:51 AM Revision 0a983d5a (git): * 2012-05-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:51 AM Revision a961a8ed (git): * lib/securerandom.rb: show actual read length in an error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
 

Also available in: Atom