General

Profile

coatl (caleb clausen)

  • Login: coatl
  • Registered on: 10/26/2008
  • Last sign in: 08/23/2010

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 11 11

Activity

07/11/2010

09:47 AM Ruby Bug #3428: ri outputs ansi escape sequences even when stdout is not a tty
=begin
Sorry for the delay getting back to you on this. Here's a patch which expands test_formatter slightly to exercise the path when output is not a tty. I had hoped to write a high-level black box test, which would be more robust and...
coatl (caleb clausen)

07/06/2010

10:49 PM Ruby Bug #3428: ri outputs ansi escape sequences even when stdout is not a tty
=begin
Since the maintainer of rdoc is AWOL, I feel we really need to have a test for this bug, so that the next time eric merges his latest rdoc into ruby, we can be sure he didn't accidentally overwrite this fix and cause a regression...
coatl (caleb clausen)

06/15/2010

06:05 AM Ruby Feature #3436: Spawn the timer thread lazily
=begin
Unfortunately, that timer thread is also somehow involved with the select statement that lurks at the bottom of ruby's io system like tiamat in the deepest pit of hell. If you get rid of the timer thread, you break io. I don't ex...
coatl (caleb clausen)

06/12/2010

04:03 AM Ruby Feature #3427: instances of Dir class can't be compared
=begin
Oh, I see. Dir is actually a directory handle. I was thinking it was just a wrapper around the directory name; more akin to a Pathname than a File.

I agree, that makes == for Dir instances much less likely to be needed.
=end
coatl (caleb clausen)
03:49 AM Ruby Bug #3428: ri outputs ansi escape sequences even when stdout is not a tty
=begin
Ruby 1.8's ri never prints _any_ escape sequences... at least, I know that's true in 1.8.6.
=end
coatl (caleb clausen)

06/11/2010

10:30 PM Ruby Bug #3428 (Closed): ri outputs ansi escape sequences even when stdout is not a tty
=begin
ri should only use ansi escape sequences if explicitly asked for or if stdout is known to be a tty. Otherwise, ugliness will occur when piping ri's output to something else. For instance, here are the first few lines displayed wh...
coatl (caleb clausen)
08:10 PM Ruby Feature #3427 (Rejected): instances of Dir class can't be compared
=begin
Dir#== and friends seem to be absent.

$ install/bin/ruby -e 'p Dir.new(".")==Dir.new(".")'
false
=end
coatl (caleb clausen)
08:07 PM Ruby Feature #3426 (Rejected): exec doesn't allow command lines which begin with an env variable assignment
=begin
The documentation for exec states: "If single string is given as the command, it is taken as a command line that is subject to shell expansion before being executed." However, command lines that begin with environment variable a...
coatl (caleb clausen)

05/26/2010

09:55 AM Ruby Bug #3337: MS-DOS device names are identified as readable_real
I'm not certain that the above list is complete. Among other things, windows allows programs to define their own ms-dos device names using `DefineDosDevice`. It might be better (at least on windows) to query the system for the list of cu... coatl (caleb clausen)

05/22/2010

09:34 AM Ruby Feature #3176: Thread#priority= should actually do something
=begin
I'm attaching a patch for using setpriority on linux and thereby bypassing (on that platform) all the priority queue stuff which my patch implements. setpriority still doesn't work for me, so this patch is to be considered highly...
coatl (caleb clausen)

Also available in: Atom