4101-8816

3944-4245 subjects 4341-4554

[ ruby-Bugs-1271 ] irb does not work with the latest 1.8 CVS ruby
4101 [noreply@ru y] Bugs item #1271, was opened at 2005-01-04 21:03

[ ruby-Bugs-1273 ] error in test_kernel_open(PathNameTest) with cvs head on mingw
4110 [noreply@ru y] Bugs item #1273, was opened at 04-01-2005 23:40

[ ruby-Bugs-1274 ] Big Float literal results Infinity
4114 [noreply@ru y] Bugs item #1274, was opened at 2005-01-05 16:23

Test::Unit::Collector::Dir won't work with code that modifies $LOAD_PATH
4116 [drbrain@se m] charset=US-ASCII;
+ 4181 [drbrain@se m] Can we get some eyeballs on this?  Word has it that many people using
+ 4185 [nobu.nokada@] I'm curious why or how that dependency is needed.
  4188 [drbrain@se m] Rails does two things with modifying $:, it adds directories to make
  4231 [drbrain@se m] Well?  Is this a go or not?
  4240 [ntalbott@gm ] Eric (and others affected),
  4325 [ntalbott@gm ] ...
  4331 [ntalbott@gm ] ...
  4340 [ntalbott@gm ] Sure enough, there's a gotcha. The version that modifies $LOAD_PATH
  4342 [drbrain@se m] Or make sure that -I is set correctly...

The face of Unicode support in the future
4146 [headius@gm i] I am a developer on the JRuby project, and we have recently been
4152 [matz@ru y- a] Nothing much.
+ 4153 [matju@sy pa ] * characters are represented by integers
| + 4154 [ruby-lists@l] ditto here. having [0] result in a
| | 4202 [matju@sy pa ] My concern is not that it would result in a performance problem, because
| + 4156 [matz@ru y- a] I think a fixnum is not enough since a character may not be
|   + 4159 [halostatue@g] It would be useful to have a handy way of getting the codepoint for
|   | 4166 [matz@ru y- a] Something like String#explode will be provided, e.g.
|   | 4169 [ jupp@gm .d ] I would rather expect "abc".explode to return ["a", "b", "c"] and
|   + 4204 [matju@sy pa ] 1. are those features of unicode ?
|     + 4205 [matz@ru y- a] Unicode features contain code composition, not only to make accented
|     + 4206 [joaopedrosa@] Matz has talked about this in the past. comp.lang.ruby should have
+ 4167 [chneukirchen] "abc"[0] should return ?a.
  4175 [matz@ru y- a] The "right" definition of characters differs application to
  + 4178 [headius@gm i] Here's a feature that hasn't been mentioned, so perhaps it already
  | + 4179 [brent@mb ri ] Will the built-in String support Unicode?
  | + 4182 [matz@ru y- a] We will support "\x{xxxx}" where xxxx is a hexadecimal number for a
  + 4186 [pbrannan@at ] I don't understand what you mean here.  How is having "abc"[0] return a
  | + 4192 [matz@ru y- a] It's kinda hard for me to express in detail in English.  The definition
  | | + 4193 [brent@mb ri ] Paul's recent mail and Matz's response explain much of
  | | | 4194 [matz@ru y- a] Yes.  Nothing will change in string object format, except for an
  | | + 4195 [florgro@gm i] Can those one-character Strings be optimized somehow? I think it would
  | | | 4196 [matz@ru y- a] I'm not sure.  There's a quote that "premature optimization is the
  | | | + 4197 [florgro@gm i] Depends on whether you're handling them as raw bytes or not. :)
  | | | | + 4198 [halostatue@g] UTF-16 is better than UCS2 -- UTF-16 is UCS2 with surrogate
  | | | | | 4199 [transami@ru ] A Blob class? Why would it be called a 'vector'?
  | | | | | 4212 [matju@sy pa ] Well, a better name would be ByteArray or ArrayOfByte, and it could work
  | | | | + 4211 [matju@sy pa ] Ok, I hadn't read this mail before my posting on using the Symbol section
  | | | + 4209 [matju@sy pa ] You know, there's absolutely nothing preventing you from improving upon
  | | + 4218 [eivind@Fr eB] This feels wrong to me.  My hunch tells me it often will work
  | | | 4219 [matz@ru y- a] It was so in my first prototype, but the compatibility between plain
  | | | 4220 [eivind@Fr eB] Yes.  I'll use one that has bit me in other directions: Input comes from
  | | | 4221 [matz@ru y- a] Hmm, interesting case.  Let me think about it.
  | | | 4228 [matju@sy pa ] I don't agree with the fact that "hello" in iso-8859-1 encoding is going
  | | | 4230 [ser@ge ma e-] charset="iso-8859-1"
  | | + 4224 [pbrannan@at ] Yes, a few.
  | | | 4225 [matz@ru y- a] The raw char*, in the encoding of the string.
  | | + 4234 [wmorgan-ruby] How will regexps be handled? Can I use the same Regexp object against,
  | |   4235 [matz@ru y- a] Each regexp has its encoding (can be seen by Regexp#encoding), and
  | |   4269 [wknaka@po ox] Is there opposition to a separate unicode string class, that would
  | |   4270 [matz@ru y- a] That's true in C strings (char* or wchar_t*), which you have to
  | |   4275 [wknaka@po ox] Will this be efficient enough?  When using a non-fixed-width encoding,
  | |   + 4276 [florgro@gm i] While I'm not qualified to answer this I will make a guess: I think it
  | |   | + 4277 [hgs@dm .a .u] ...
  | |   | + 4288 [transami@ru ] Just a small aside. I hope "code point" will not become the standard
  | |   + 4278 [matz@ru y- a] Right.  And you have to trust me, it's efficient enough for most of
  | |     + 4279 [florgro@gm i] Maybe that could be equivalent to String.new("\244\336...", "euc-jp")?
  | |     | 4280 [matz@ru y- a] Probably.
  | |     | 4281 [florgro@gm i] Moin.
  | |     | 4284 [matz@ru y- a] Hm.
  | |     + 4282 [wknaka@po ox] Will there be a way of getting the byte length?
  | |       + 4283 [florgro@gm i] Why not ary.map { |cp| cp.chr("utf8") }.join where ary could be [0xE3,
  | |       + 4285 [matz@ru y- a] Yes, but the name is not fixed (perhaps String#buffer_size).
  | |         + 4286 [wknaka@po ox] Yes, I'm getting quite confused! :)
  | |         | 4287 [matz@ru y- a] Sorry for confusion.
  | |         + 4291 [lists@za a. ] What about String#char_length/char_size and String#byte_length/byte_size
  | |           4292 [matz@ru y- a] byte_length/byte_size sound good.
  | |           + 4298 [transami@ru ] If you do then I'm sure we will too :)
  | |           + 4300 [matz@ru y- a] I don't want to deprecate shorter names, since deprecation makes
  | + 4201 [chneukirchen] This sounds likely to result in duplicated efforts... Do it
  |   4203 [matz@ru y- a] * code point
  |   4216 [halostatue@g] I'm not going to claim to be an expert, but in my work I have had to
  |   4217 [matz@ru y- a] We are going to prepare string normalization methods in M17N Ruby,
  + 4207 [matju@sy pa ] Another thing I don't understand. If the right definition of characters is
    4208 [matz@ru y- a] To avoid a repeated implementation of character encoding scheme
    4229 [matju@sy pa ] I have to admit that I'm not familiar at all with those issues, I just got

[ ruby-Bugs-1319 ] rdoc crashes on stock Mandrake 10.1 Official
4180 [noreply@ru y] Bugs item #1319, was opened at 2005-01-10 14:59

change in %w{} in 1.8?
4183 [dblack@wo bl] Not the most important case, but... using space as a delimiter for %w
4184 [matz@ru y- a] Yes.  The parser confuses separating spaces and delimiters now.  It
4187 [nobu.nokada@] Well, actually it seems possible.

[PATCH] Authenticated proxy support for open-uri
4189 [nakohl@gm il] ...
4190 [akr@m1 n. rg] Thank you for the patch.
4191 [nakohl@gm il] Unfortunately with scripts that need network access via an

[1.8] static extension / make distclean
4200 [decoux@mo lo] To see the problem, I've removed what is in ext :-)

Re: optimisations (was: unicode)
4210 [matju@sy pa ] BTW, another solution to the potential speed problems of a Character class

FL_USER* flags
4213 [cmills@fr es] Which of the FL_USER flags can be used by extension writers (when
4214 [matz@ru y- a] From FL_USER0 to FL_USER7 for T_DATA.  You are not supposed to use
4215 [cmills@fr es] Thanks, whoops I meant "you shouldn't" :)

Re: Segfault in timer.rb
4222 [segfault.rub] (Cross posting to core)
4244 [segfault.rub] ...
+ 4247 [segfault.rub] I'll do that when someone officially tells me that 'cygwin' is
| 4260 [segfault.rub] I just tried the latest snapshot and it doesn't work. I get the segfault
+ 4253 [decoux@mo lo] I was unable to reproduce the problem (linux, openbsd, solaris), someone

Re: Segfault in timer.rb (segfault: message 13 of 20)
4223 [decoux@mo lo] With such a name, ruby can only segfault and it do this just to be

patch to date.rb
4226 [ryand-ruby@z] If date.rb is loaded twice, the second load raises NameError.
4359 [ryand-ruby@z] pretty please?

Makefile broken wrt parallelism and configure.in
4227 [ryand-ruby@z] touch configure.in array.c; make -j 4

[BUG] Carriage return on shebang
4232 [florgro@gm i] Moin.
4236 [nobu.nokada@] Moin,
+ 4237 [florgro@gm i] Remoin.
| 4239 [nobu.nokada@] Moin,
| 4241 [florgro@gm i] Moin.
+ 4238 [matz@ru y- a] Commit the fix please.

Ruby/DL2: call for reviews
4233 [ttate@tt ky ] I have a plan to release ruby-dl2 on the arrival of a next stable version

[PATCH] tracer.rb: Do not list pseudo source lines of binary extensions
4242 [florgro@gm i] ...
4246 [nobu.nokada@] Moin,
4252 [florgro@gm i] ...
4254 [nobu.nokada@] Moin,
4255 [florgro@gm i] Moin again.

Patch that enables https in open-uri.rb
4243 [mneumann@nt ] ...
4248 [akr@m1 n. rg] Thank you for the patch.
4259 [mneumann@nt ] Hm, yes, you're right. I don't know how to do it, or whether that would
4365 [akr@m1 n. rg] The problem is ruby has no CA certificates.
4366 [sir_raorn@im] Using hardcoded unoverrideable dsitribution-dependant paths in
+ 4386 [pabs@pa lo r] Agreed.  I think it would be more appropriate to pass that as an
+ 4410 [akr@m1 n. rg] I found SSL_CTX_set_default_verify_paths.

Thread misbehavior
4249 [brent@mb ri ] This short demo illustrates some very odd threading behavior in

irb completion patch
4250 [csaba-ml@be ] What do you think about the attached patch for irb/completion.rb?
4251 [csaba-ml@be ] Um, sorry, the patch was corrupt. I attach the correct version.

[ ruby-Bugs-1350 ] Typo in lib/uri/common.rb
4256 [noreply@ru y] Bugs item #1350, was opened at 16/01/2005 15:51
4257 [decoux@mo lo] it's not possible to correct such bug report ?
4258 [tom@in oe he] - PORT = "\d*"

What do when when T_DATA is redefined?
4261 [Daniel.Berge] Ruby 1.8.2
+ 4262 [Daniel.Berge] Er, that subject line should read "What to do when T_DATA is redefined?"
+ 4263 [decoux@mo lo] If I'm right T_DATA is only used by t_look(). If you don't use it, it
| 4264 [Daniel.Berge] Just out of curiosity, what would one do if t_look() was being used?
| 4265 [decoux@mo lo] No idea but one way is to define a function which use t_look() when T_DATA
+ 4271 [nobu.nokada@] Can't you divide the source to separated two files, and perhaps
  4272 [Daniel.Berge] I'm afraid I don't understand.  Can you be more specific?
  4274 [cmills@fr es] I think he means separate the code into two modules - one that uses

PHP ERB
4266 [patrick@he a] One of the nice things about php is that the '<?>' keys are close to
4267 [patrick@he a] Cheers,

[BUG] alias of writer in struct
4268 [vjoel@PA H. ] === alias-struct.rb ===

Bug: backquotes report error
4273 [lists@be tr ] $ uname

Building ruby 1.8.2 with static extensions on Windows XP
4290 [dave@in oe h] ...
4294 [usa@ga ba ec] Does this patch help you?
4297 [dave@in oe h] That worked great.  Thanks.

[ ruby-Bugs-1364 ] Memory leak in Generator
4293 [noreply@ru y] Bugs item #1364, was opened at 2005-01-20 18:38
4295 [decoux@mo lo] Generator.new { |g| g.yield 1 }

[PATCH] parse_c.rb: allow whitespace after function names
4296 [tilman@co e-] ...
4299 [matz@ru y- a] It should be.  If the maintainer didn't show up after a certain period
+ 4301 [tilman@co e-] Excellent :)
| 4303 [cmills@fr es] ...
| 4304 [matz@ru y- a] Unified diff please.
| 4307 [cmills@fr es] ...
+ 4373 [tilman@co e-] So, can you please take care of these patches?
  4375 [ryand-ruby@z] I'm in the process of clearing my plate enough that I can start

[PATCH] RDoc parse_rb.rb: Logic for def Builtin.method() end
4302 [florgro@gm i] ...

Looking for some help
4305 [Dave@Pr gP o] It's clear that with my current workload, I'm not keeping up with

YAML.load 'true' with multibyte characters bug
4306 [zn@mb .n ft ] I expected

RSS traceback on Ubuntu Linux
4308 [sera@fh an .] I just got a tech-support email from somebody using FeedBlender, and
4309 [halostatue@g] Ubuntu is based on Debian. Ask your user if they have the ruby-rexml
4320 [pabs@pa lo r] In case anyone is wondering, the Debian package name he's referring to

Parsing bug?
4310 [g_ogata@op u] Should this be a syntax error?
4319 [k.shutemov@s] It's happen because parser think that 'String:' is a tLABEL. It's bug I

RFE: Enumerable#group_by, Array#^
4311 [florgro@gm i] Moin.
+ 4312 [mneumann@nt ] It's even better if you allow customization on the storage (in your case
| 4316 [florgro@gm i] This is a nice generalization of my original proposal. I like it. If the
+ 4313 [joaopedrosa@] I use something similar but for bidimensional arrays. Though I use the
| 4315 [joaopedrosa@] My whole post was nonsense, sorry.
+ 4314 [timsuth@ih g] require 'set'
  4317 [florgro@gm i] And Set#^ is already provided, too. But I wonder if it would not be nice

YAML.load({nil=>1}.to_yaml) raises exception
4318 [matz@ru y- a] It's reported in [ruby-list:40570].
5546 [nobuyoshi.na] I believe so.

[ ruby-Bugs-1396 ] Inconsistent use of st_foreach
4321 [noreply@ru y] Bugs item #1396, was opened at 2005-01-26 21:10
4322 [matz@ru y- a] It shouldn't cause any error, since the fourth argument does not have

test/unit doesn't rescue a Exception
4323 [akr@m1 n. rg] test/unit doesn't rescue a Exception in a test method, as follows.
8773 [akr@fs j. rg] How about this patch?
8776 [ntalbott@gm ] I'm fine with this - I just wish I could remember why I limited it the
8777 [drbrain@se m] I think Interrupt should be re-raised.  If a user wants to explicitly
8778 [akr@fs j. rg] Fair enough.
8779 [drbrain@se m] What about Timeout::Error?
8780 [akr@fs j. rg] Oops.  It seems that the class hierarchy is not appropriate
+ 8782 [drbrain@se m] ===================================================================
+ 8783 [akr@fs j. rg] I investigated the class hierarchy on second thought.
  8784 [drbrain@se m] I have expected tests to raise SystemExit for example when testing a
  8785 [matz@ru y- a] Eric, can you commit?  Or should we wait for Nathaniel?
  8786 [drbrain@se m] If Nathaniel doesn't approve/commit by Wednesday I will complete the
  8799 [ntalbott@gm ] I approve - go for it.
  8816 [drbrain@se m] Committed.

[ ruby-Bugs-1399 ] Incorrect documentation for REXML::StreamListener#tag_start
4324 [noreply@ru y] Bugs item #1399, was opened at 2005-01-27 16:13

RDoc parse_c.rb for C ext libs consisting of many *.c files
4326 [sheepman@tc ] rdoc cann't treat C extention library consisting of many *.c files. An outer module and
4327 [cmills@fr es] This functionality would be very nice.  Is this patch sensitive to the
4328 [sheepman@tc ] Yes. Sorry, I missed that. But it works well for ext/openssl by chance.

[ ruby-Bugs-1405 ] Bug in IRB::Context#verbose?
4329 [noreply@ru y] Bugs item #1405, was opened at 2005-01-29 12:26

Typo in irb: --tracer doesn't work
4330 [flori@ni e. ] ...
4337 [matz@ru y- a] Thank you.

[PATCH] IO#clearerr missing in action
4332 [drbrain@se m] charset=US-ASCII;
4333 [akr@m1 n. rg] clearerr should be useless in Ruby 1.9 because Ruby 1.9 doesn't use
4343 [drbrain@se m] Would it make sense to add this to Ruby 1.8 only then?
4344 [akr@m1 n. rg] No.  It is too drastic to incorporate to 1.8.

$VERBOSE breaks code?
4334 [rpav@me hl .] rpav@central:~% ruby -v
5123 [rubyzbibd@ub] Was there any resolution to this issue?  I ask, because my colleagues and
5161 [matz@ru y- a] Ryan's opinion (and yours) is reasonable.  I will fix so that

When will Object#type disappear?
4335 [dblack@wo bl] Will Object#type disappear at some point in the 1.9 series?  It seems
4336 [matz@ru y- a] Not too far future.

Attaching a block to []
4338 [binary42@gm ] Talking to Tilman Sauerbeck on IRC lead me to an interesting bug in
4339 [dblack@wo bl] I don't consider this a bug, but rather a consequence of having the []
threads.html
top