Project

General

Profile

Activity

From 03/06/2009 to 03/12/2009

03/12/2009

10:18 PM Feature #1045: nicer icon for ruby.exe
=begin
My first try: http://www.cyann.net/2009/03/12/ruby-icon/
I'm thinking of creating other icons for the .rb a...
flavien (Flavien Scheurer)
10:11 PM Feature #1275 (Rejected): IPAddr unnecessarily destroys information on creation
=begin
The IPAddr class internally stores both a complete IP address and a network mask. For many applications, cl...
chrylis (Christopher Smith)
06:17 PM Bug #1254 (Closed): MSVC 2008 Compiler warnings
=begin
Applied in changeset r22914.
=end
nobu (Nobuyoshi Nakada)
03:19 PM Bug #1274 (Closed): Heap Corruption in float#to_s
=begin
Ruby compiled with -RCT1, VC 2008

Ruby code: -0.0.to_s

Result: Heap corruption.

Problem:

...
cfis (Charlie Savage)
01:48 PM Bug #1265: test_import calls printf in different c runtime libraries
=begin
Hi Usaku,

I tried the same approach before submitting my patch, put it doesn't work:

ruby test_dl2....
cfis (Charlie Savage)
12:58 PM Bug #1273 (Closed): Fix Compiler Warnings - pack.c
=begin
Fix for compiler warnings generated when running VC 2008 with -W3
=end
cfis (Charlie Savage)
12:56 PM Bug #1272 (Closed): Fix Compiler Warnings - gc, numeric, random, strftime, variable, vsnfprintf
=begin
Bunch of small patches that fix MSVC 2008 compiler warnings when compiled with -W3
=end
cfis (Charlie Savage)
12:29 AM Feature #1269: warning when Kernel#p is used
=begin
遠藤です。

2009/03/11 23:48 SASADA Koichi <[email protected]>:
>  ささだです.
>
> Yusuke ENDOH wrote::
>> - 新しいオプシ...
mame (Yusuke Endoh)

03/11/2009

11:50 PM Feature #1269: warning when Kernel#p is used
=begin
 ささだです.

Yusuke ENDOH wrote::
> - 新しいオプションを追加する
> - 環境変数で指定する
> - RubyVM.warn_p = true という warn-p....
ko1 (Koichi Sasada)
10:27 PM Feature #1269: warning when Kernel#p is used
=begin
遠藤です。

2009/03/11 21:50 U.Nakamura <[email protected]>:
> 私は
>
> p foo if $DEBUG
>
> というコードを頻繁に書く...
mame (Yusuke Endoh)
09:53 PM Feature #1269: warning when Kernel#p is used
=begin
こんにちは、なかむら(う)です。

In message "[ruby-dev:38153] [feature:trunk] warning when Kernel#p is used"
on Mar.1...
usa (Usaku NAKAMURA)
09:31 PM Feature #1269 (Rejected): warning when Kernel#p is used
=begin
遠藤です。

Kernel#p は非常に便利ですが、デバッグ後に p の呼び出しをすべて消せたか
不安になることがあります。
p という名前は使うときは非常に便利ですが、残念ながら検索するには非常に
...
mame (Yusuke Endoh)
10:39 PM Bug #1271 (Third Party's Issue): Segfault problem
=begin
This happens when I try to save an entry within a model in rails (this is a ruby problem not a rails problem)...
draginx (Daniel Durante)
08:29 PM Bug #1267: DL::Handle#sym segfaults with nil
=begin
なかだです。

At Wed, 11 Mar 2009 18:40:15 +0900,
Nobuyoshi Nakada wrote in [ruby-dev:38150]:
> DL::Handle#symに...
nobu (Nobuyoshi Nakada)
08:17 PM Bug #1267 (Closed): DL::Handle#sym segfaults with nil
=begin
Applied in changeset r22891.
=end
nobu (Nobuyoshi Nakada)
06:48 PM Bug #1267: DL::Handle#sym segfaults with nil
=begin

=end
nobu (Nobuyoshi Nakada)
06:47 PM Bug #1267: DL::Handle#sym segfaults with nil
=begin

=end
nobu (Nobuyoshi Nakada)
06:42 PM Bug #1267 (Closed): DL::Handle#sym segfaults with nil
=begin
DL::Handle#symにシンボル名としてnilを渡すと代わりにRTLD_NEXTを使
うようになっていますが、RTLD_NEXTが渡せるのはシンボル名ではなく
て第一引数のハンドルのほうです。

...
nobu (Nobuyoshi Nakada)
05:47 PM Bug #1265 (Closed): test_import calls printf in different c runtime libraries
=begin
Applied in changeset r22890.
=end
usa (Usaku NAKAMURA)
06:45 AM Bug #1265 (Closed): test_import calls printf in different c runtime libraries
=begin
On Windows, test import loads msvcrt.dll and then calls printf. That only works with mingw or VC6. Any newe...
cfis (Charlie Savage)
05:37 PM Bug #1263 (Closed): SHGetFolderPath uses wrong calling convention in tempdir
=begin
Applied in changeset r22889.
=end
usa (Usaku NAKAMURA)
06:41 AM Bug #1263 (Closed): SHGetFolderPath uses wrong calling convention in tempdir
=begin
The second occurrence of this - should use stdall, not cdecl. Sure we shouldn't default all Win32API calls t...
cfis (Charlie Savage)
01:07 PM Bug #1262 (Closed): Heap Corruption in DL::Handle
=begin
Applied in changeset r22883.
=end
nobu (Nobuyoshi Nakada)
04:41 AM Bug #1262: Heap Corruption in DL::Handle
=begin
Hmm, gettimeofday is *not* defined, which reveals the bug.
=end
cfis (Charlie Savage)
04:41 AM Bug #1262 (Closed): Heap Corruption in DL::Handle
=begin
The test case below on Window, when running with -RCT1, reveals heap corruption. The problem is that gettime...
cfis (Charlie Savage)
06:48 AM Bug #1266 (Closed): relative_path broken on windows
=begin
pwd = Pathname.new("C:/Development/src/ruby_trunk/test/minitest")
basedir = Pathname.new("c:/Development/ru...
cfis (Charlie Savage)
06:43 AM Bug #1264 (Closed): dl/test_win32 incorrect module name
=begin
test_win32 defines a module Win32API. Problem is if you run test/runner.rb the Win32API class is loaded ahea...
cfis (Charlie Savage)
04:37 AM Bug #1260 (Closed): Fix win32.c compiler warnings
=begin
Applied in changeset r22879.
=end
nobu (Nobuyoshi Nakada)

03/10/2009

08:17 PM Bug #1253 (Closed): Fix MSVC Build Issues
=begin
Applied in changeset r22877.
=end
nobu (Nobuyoshi Nakada)
05:08 PM Bug #1253: Fix MSVC Build Issues
=begin
Thanks for applying the LDFLAGS change, that is the most important one.

#2 is still open, the one about ...
cfis (Charlie Savage)
12:40 PM Bug #1253 (Open): Fix MSVC Build Issues
=begin
#2 and #4 is closed, but others not yet.
=end
usa (Usaku NAKAMURA)
12:37 PM Bug #1253 (Closed): Fix MSVC Build Issues
=begin
Applied in changeset r22869.
=end
nobu (Nobuyoshi Nakada)
12:06 PM Bug #1253: Fix MSVC Build Issues
=begin
Usaku,

To help push this forward, I've attached a new patch. It does two things:

1. Takes -link o...
cfis (Charlie Savage)
08:05 PM Bug #1259 (Closed): Fix array.c compiler warnings
=begin
Applied at changeset r22872.
=end
nobu (Nobuyoshi Nakada)
11:58 AM Bug #1259 (Closed): Fix array.c compiler warnings
=begin
Attached patch fixes array.c compiler warnings with vc2008.

cl -nologo -nologo -MD -RTC1 -Zi -Od -W3 -wd...
cfis (Charlie Savage)
07:47 PM Bug #1258 (Closed): Fix callback-7 compiler warnings
=begin
Applied in changeset r22875.
=end
nobu (Nobuyoshi Nakada)
11:56 AM Bug #1258 (Closed): Fix callback-7 compiler warnings
=begin
Attached patch fixes mscv2008 compiler warnings for callback-7 in dl extension.

cl -nologo -I. -I../../....
cfis (Charlie Savage)
05:01 PM Bug #1260 (Closed): Fix win32.c compiler warnings
=begin
This patch fixes the majority of compiler warnings for win32.c.

At a minimum I'd recommend the change to...
cfis (Charlie Savage)
11:42 AM Feature #1256 (Rejected): Add constant TAILRECURSION to let a program recognize if tail recursion optimization is implemented
=begin

=end
nobu (Nobuyoshi Nakada)
11:13 AM Feature #1256: Add constant TAILRECURSION to let a program recognize if tail recursion optimization is implemented
=begin
Hi,

At Tue, 10 Mar 2009 04:26:51 +0900,
Wolfgang Nádasi-Donner wrote in [ruby-core:22785]:
> Afterwards ...
nobu (Nobuyoshi Nakada)
07:24 AM Feature #1256: Add constant TAILRECURSION to let a program recognize if tail recursion optimization is implemented
=begin
As far as I understand this Ticket can be closed. If RubyVM::InstructionSequence.compile_option exists (defin...
WoNaDo (Wolfgang Nádasi-Donner)
04:28 AM Feature #1256: Add constant TAILRECURSION to let a program recognize if tail recursion optimization is implemented
=begin
Nobuyoshi Nakada schrieb:
> Hi,
>
> At Mon, 9 Mar 2009 02:41:55 +0900,
> Wolfgang Nádasi-Donner wrote in...
WoNaDo (Wolfgang Nádasi-Donner)
03:22 AM Bug #1238 (Feedback): invalid multibyte char (US-ASCII)
=begin

=end
nobu (Nobuyoshi Nakada)
03:02 AM Bug #1248: e.exception(e) returns self
=begin
What's the status of Unicode/culture-sensitive operations in Ruby 1.9.1?

I tried following:

# encoding:...
tmat (Tomas Matousek)

03/09/2009

06:49 PM Bug #1227: [BUG] object allocation during garbage collection phase
=begin
Hi,

At Sun, 1 Mar 2009 02:00:04 +0900,
Chris Schlaeger wrote in [ruby-core:22597]:
> To reproduce:
> ge...
nobu (Nobuyoshi Nakada)
06:33 PM Bug #1227: [BUG] object allocation during garbage collection phase
=begin
Yes, I was using Ruby 1.9.1 (or rather a post 1.9.1 SVN snapshot).

Chris

On Mon, Mar 9, 2009 at 8:00 AM...
orem (Chris Schlaeger)
04:01 PM Bug #1227: [BUG] object allocation during garbage collection phase
=begin
Hey Chris,

Just saw this. I haven't had a chance to update ruby-prof to 1.9.1 yet. Have you tried yet?...
cfis (Charlie Savage)
03:55 PM Bug #1172: [sparc] *** glibc detected *** ruby1.9: free(): invalid pointer: 0xf7ef6a54 ***
=begin
(gdb) file ruby1.9
Reading symbols from /home/lucas/r191-0218/ruby1.9-1.9.1.0/ruby1.9...done.
(gdb) core...
lucas (Lucas Nussbaum)
03:16 PM Bug #1172: [sparc] *** glibc detected *** ruby1.9: free(): invalid pointer: 0xf7ef6a54 ***
=begin
I was looking for a decoded stack trace. If you can follow the directions I sent this should render the decod...
vipaca (Chad Dollins)
02:04 PM Bug #1253: Fix MSVC Build Issues
=begin
Hi Usaku,

> They are not mutually exclusive.
> -Os sometimes makes more faster code.
> -Oy sometimes...
cfis (Charlie Savage)
01:27 PM Bug #1253: Fix MSVC Build Issues
=begin
Hello,

In message "[ruby-core:22768] [Bug #1253] Fix MSVC Build Issues"
on Mar.09,2009 11:08:06, <red...
usa (Usaku NAKAMURA)
11:10 AM Bug #1253: Fix MSVC Build Issues
=begin
Sorry, I meant to write Usaku not Usaka :( My apologies.
=end
cfis (Charlie Savage)
11:09 AM Bug #1253: Fix MSVC Build Issues
=begin
Hi Usaka,

Thanks for looking at this. Some more comments inline.

> 1. However, mkmf.rb is seen not ...
cfis (Charlie Savage)
10:25 AM Bug #1253: Fix MSVC Build Issues
=begin
> 1. LDFLAGS not passed to extconf.rb

You should use DLDFLAGS, though Nobu has already answered.
How...
usa (Usaku NAKAMURA)
05:20 AM Bug #1253: Fix MSVC Build Issues
=begin
1. Makefiles for extension libraries use DLDFLAGS instead.

But that doesn't work when compiling the con...
cfis (Charlie Savage)
11:54 AM Bug #883: Failure: test_handle_special_CROSSREF_no_underscore(TestRDocMarkupToHtmlCrossref)
=begin
Hi,

At Wed, 17 Dec 2008 00:30:45 +0900,
Kazuhiro NISHIYAMA wrote in [ruby-core:20599]:
> another failure...
nobu (Nobuyoshi Nakada)
09:53 AM Feature #1256: Add constant TAILRECURSION to let a program recognize if tail recursion optimization is implemented
=begin
Hi,

At Mon, 9 Mar 2009 02:41:55 +0900,
Wolfgang Nádasi-Donner wrote in [ruby-core:22748]:
> Tail recursi...
nobu (Nobuyoshi Nakada)
03:39 AM Feature #1256: Add constant TAILRECURSION to let a program recognize if tail recursion optimization is implemented
=begin
Shyouhei Urabe schrieb:
> I'm curious, how you can be happy if you detect your VM supports tail-call optimiz...
WoNaDo (Wolfgang Nádasi-Donner)
03:13 AM Feature #1256: Add constant TAILRECURSION to let a program recognize if tail recursion optimization is implemented
=begin
I'm curious, how you can be happy if you detect your VM supports tail-call optimization or not (from your scr...
shyouhei (Shyouhei Urabe)
02:43 AM Feature #1256 (Rejected): Add constant TAILRECURSION to let a program recognize if tail recursion optimization is implemented
=begin
Ruby 1.9 has the possibility to support tail recursion optimization for methods and proc objects. Due to tech...
WoNaDo (Wolfgang Nádasi-Donner)

03/08/2009

10:29 PM Bug #1253: Fix MSVC Build Issues
=begin
Hi,

At Sun, 8 Mar 2009 08:19:23 +0900,
Charlie Savage wrote in [ruby-core:22725]:
> 1. LDFLAGS not pass...
nobu (Nobuyoshi Nakada)
08:20 AM Bug #1253 (Closed): Fix MSVC Build Issues
=begin
The attached patch fixes a couple of linking bugs with MSVC 2008 against head, plus does a bit of makefile cl...
cfis (Charlie Savage)
06:40 PM Bug #1172: [sparc] *** glibc detected *** ruby1.9: free(): invalid pointer: 0xf7ef6a54 ***
=begin
You wrote:
> So I guess I'll take a different approach because this didn't work.
>
> Please use gdb to ...
lucas (Lucas Nussbaum)
08:30 AM Bug #1254 (Closed): MSVC 2008 Compiler warnings
=begin
Compiling with standard warning levels with vc2008 (-w3) results in a very large number of compiler warnings ...
cfis (Charlie Savage)
02:53 AM Bug #1251: gsub problem
=begin
Thanks a lot for clearing that up so fast !

Alexander Pettelkau
=end
pettel (Alexander Pettelkau)
02:38 AM Bug #1243: 1 is prime
=begin
On Fri, Mar 6, 2009 at 8:42 PM, Jacob Fugal <[email protected]> wrote:
> I have a hard time imagining a situ...
RobertDober (Robert Dober)

03/07/2009

09:02 PM Bug #1251: gsub problem
=begin
Yukihiro Matsumoto schrieb:
> To substitute one backslash into two, you have to do
>
> s.gsub!("\\","\\...
WoNaDo (Wolfgang Nádasi-Donner)
08:49 PM Bug #1251 (Rejected): gsub problem
=begin

=end
matz (Yukihiro Matsumoto)
06:30 PM Bug #1251: gsub problem
=begin
Alexander Pettelkau schrieb:
> Bug #1251: gsub problem
> http://redmine.ruby-lang.org/issues/show/1251
>
...
WoNaDo (Wolfgang Nádasi-Donner)
06:29 PM Bug #1251: gsub problem
=begin
HI,

In message "Re: [ruby-core:22715] [Bug #1251] gsub problem"
on Sat, 7 Mar 2009 18:08:11 +0900, Al...
matz (Yukihiro Matsumoto)
06:09 PM Bug #1251 (Rejected): gsub problem
=begin
I wanted to replace "\" with "\\" in the string "\TEST":

s="\\TEST"
puts s # Output --> "\TEST"
s...
pettel (Alexander Pettelkau)
06:53 PM Bug #1172: [sparc] *** glibc detected *** ruby1.9: free(): invalid pointer: 0xf7ef6a54 ***
=begin
sent
=end
lucas (Lucas Nussbaum)
10:06 AM Bug #1172: [sparc] *** glibc detected *** ruby1.9: free(): invalid pointer: 0xf7ef6a54 ***
=begin
Send me a copy to bug1172 at cdollins dot otherinbox dot com
=end
vipaca (Chad Dollins)
09:42 AM Bug #907: Various system() and backticks problems on Windows
=begin
backport to 1.8.x would be nice. I'm not sure if you can currently pass parameters to batch files even :)
=end
rogerdpack (Roger Pack)
02:42 AM Bug #1248: e.exception(e) returns self
=begin
What should be the result of calling x.exception(Exception arg) and x.exception(Class arg) then? Currently bo...
tmat (Tomas Matousek)

03/06/2009

11:12 PM Bug #1243: 1 is prime
=begin
On Wed, Mar 4, 2009 at 9:15 AM, Yugui (Yuki Sonoda) <[email protected]> wrote:
> On 3/4/09 1:40 AM, Dave B wrot...
RobertDober (Robert Dober)
05:45 PM Bug #1248: e.exception(e) returns self
=begin
Hi,

In message "Re: [ruby-core:22698] Re: [Bug #1248] e.exception(e) returns self"
on Fri, 6 Mar 2009...
matz (Yukihiro Matsumoto)
04:54 PM Bug #1248: e.exception(e) returns self
=begin
Well the reason is that arg is supposed to be a message, right? A message can be an arbitrary object. So if I...
tmat (Tomas Matousek)
03:56 PM Bug #1248: e.exception(e) returns self
=begin
Hi,

In message "Re: [ruby-core:22687] [Bug #1248] e.exception(e) returns self"
on Fri, 6 Mar 2009 04:...
matz (Yukihiro Matsumoto)
04:37 AM Bug #1248 (Rejected): e.exception(e) returns self
=begin
Exception#exception(arg) instance method should return a new exception of the same class as self with message...
tmat (Tomas Matousek)
04:38 PM Bug #1250 (Rejected): String#to_r and String#to_c with float number
=begin
irb(main):001:0> "1/2".to_r
=> (1/2)
irb(main):002:0> "1.5/2".to_r
=> (3/4)
irb(main):003:0> "1.5/2.5...
phasis68 (Heesob Park)
03:07 PM Bug #1244 (Closed): Improving the error message when Ruby crashes
=begin
Applied in changeset r22794.
=end
matz (Yukihiro Matsumoto)
01:17 PM Feature #1212 (Closed): doc for Array#fill misses indication about negative value for the start argument
=begin
Applied in changeset r22787.
=end
matz (Yukihiro Matsumoto)
 

Also available in: Atom