18665-24210

18437-23220 subjects 18907-19217

unsbscription
18665 [niketmhatre@] ...

Rake updated to 0.8.2 in the Ruby 1.9 SVN Tree
18683 [jim.weirich@] The Ruby 1.9 SVN tree has been updated to the latest released version

unsubscribe
18689 [niketmhatre@] ...

Next design meeting
18698 [evan@fa li g] So sorry, I dropped the ball after Lone Star Ruby Conf to send out
+ 18699 [matz@ru y- a] 23rd is National Holiday in Japan.  I think some of us Japanese
| 18701 [evan@fa li g] The 23rd is fine with me. If anyone has an objections, please let them
| 18703 [charles.nutt] Four of the primary members of JRuby will be at the JVM Languages
| 18752 [ko1@at ot ne] FYI.
+ 18832 [matz@ru y- a] Since we couldn't make it at the date, I propose Oct 2, or 9 for the

[Bug #574] Proc.new{}.arity is equal to -1 instead of 0
18708 [redmine@ru y] Bug #574: Proc.new{}.arity is equal to -1 instead of 0

Encoding Safe Regexp.escape()
18710 [james@gr yp ] As part of my ongoing process to make CSV m17n savvy, I'm needing an =20
+ 18711 [michael.seli] I could be wrong, but I think this may now be working - at least it
| + 18716 [james@gr yp ] $ ruby_dev -e 'p Regexp.escape("|".encode("UTF-16BE").tap { |c| p c })'
| | 18718 [gregory.t.br] I just want to say thanks to both James and Michael for really
| + 18731 [duerst@it ao] Yes indeed. Conversion from UTF-7 to UTF-8 is not yet available,
+ 18721 [michael.seli] ruby -e 'p ("\x00".."\x7f").select {|c| c != Regexp.escape(c)}'
  18740 [james@gr yp ] Very clever!

1.8.7 on BeOS
18712 [pete.goodeve] Being new here, I hope I'm going about the things the right way...

[Bug #575] module_function: undefined method
18738 [redmine@ru y] Bug #575: module_function: undefined method

[Bug #575] module_function: undefined method
18741 [redmine@ru y] Issue #575 has been updated by Shyouhei Urabe.

[Bug #405] ssl.rb:31: [BUG] Bus Error
18743 [redmine@ru y] Issue #405 has been updated by Pirkka Hartikainen.

[Bug #576] Segfault if Class.new is aliased
18749 [redmine@ru y] Bug #576: Segfault if Class.new is aliased

M17N Inspect Messages
18750 [james@gr yp ] What is the correct way to handle inspect() with regards to M17N?  Do
18764 [james@gr yp ] irb(main):001:0> "R=E9sum=E9".encode("ISO-8859-1").inspect.encoding
18765 [matz@ru y- a] UTF-16 (still) has a lot of restrictions.  Don't call them
+ 18766 [james@gr yp ] Sorry.  I just meant that I didn't know what is good behavior when
+ 18767 [michael.seli] To be fair to James, he was simply pointing out that "inspect" seems to

rdoc --ri -M error
18758 [transfire@gm] I sent this to the wrong email address a while back. I don't recall it

[Feature #578] add method to disassemble Proc objects
18762 [redmine@ru y] Feature #578: add method to disassemble Proc objects
24169 [nobu@ru y- a] It's pretty easy.
24210 [rogerdpack@g] PiBJdCdzIHByZXR0eSBlYXN5Lgo+Cj4KPiBJbmRleDogaXNlcS5jCj4gPT09PT09PT09PT09PT09

Problem with MakeOpenFile
18771 [claudio@cf o] my name is Claudio and this my first post in this ml,
18775 [matz@ru y- a] MakeOpenFile takes an IO object for its first argument, where you gave
18797 [claudio@cf o] Thanks, now works!

Re: [Bug #531] XMLRPC with ISO8859-1 accentuation doesn't work.
18772 [ser@ge ma e-] If whoever is in control of the redmine site would give me contributor status,
18798 [matz@ru y- a] Now you are.

CSV Upgrade Complete
18773 [james@gr yp ] I finished my first pass at reworking the standard CSV library to have =20=
18990 [nobu@ru y- a] /home/nobu/src/ruby/trunk-debug/src/test/csv/tc_encodings.rb:214: warning: shadowing outer local variable - csv
18992 [james@gr yp ] $ ruby_dev -ve 'p "a String: #{123} #{:abc}".encoding'

Re: Character encodings - a less radical suggestion
18776 [duerst@it ao] Many thanks for your proposal. Earlier, when I proposed some
+ 18777 [james@gr yp ] I really think this a bigger minus than this implies.  I can name a
| + 18779 [vincent.isam] As we said before the main use of default_internal is for
| | 18791 [james@gr yp ] I just can't stop thinking this is too dangerous.  It's really just a
| + 18780 [michael.seli] That is very true, but the situation exists independent of
| + 18782 [duerst@it ao] Having a library expect UTF-8 is fine, if it's well known.
|   18790 [james@gr yp ] Encoding.default_internal = "Shift_JIS"
+ 18778 [vincent.isam] I'd say we should make it impossible. If you are playing with dummy or
+ 18781 [michael.seli] Wow, that is rather ambitious - 3 days?
| + 18783 [michael.seli] While I think about it, there is at least one more issue with
| | 18787 [duerst@it ao] Very good point. Anything other than pure ASCII won't convert anyway.
| + 18852 [duerst@it ao] Well, that's the deadline for feature changes for 1.9.1.
|   18854 [michael.seli] Sorry, I am new here, so I didn't know about that URL, nor about the
|   18874 [duerst@it ao] I'm quite sure it doesn't.
|   18876 [michael.seli] My reasoning is this: if a Ruby programmer puts "Encoding: XXX" at the top
+ 18792 [james@gr yp ] I really think we need to avoid any solution that means we will need
| 18801 [michael.seli] As long as "default_internal" is used sanely, I actually think that it may
| + 18802 [halostatue@g] What if it's "set once"? It's treated as essentially frozen after it's
| + 18806 [meinrad.rech] ...
+ 18829 [michael.seli] I guess all you guys are busy on other things at the moment, so I am happy

[Feature #440] Better introspection for methods (declaring class, arity)
18784 [redmine@ru y] Issue #440 has been updated by Koichi Sasada.

[Feature #235] default charset of rdoc
18785 [redmine@ru y] Issue #235 has been updated by Yuki Sonoda.

[Bug #549] ri -f html mungles constants
18786 [redmine@ru y] Issue #549 has been updated by Koichi Sasada.

MultiEncodingString
18788 [caleb@in or ] Now I'm hardly an expert on any character set but ascii, but I've been
18826 [naruse@ai em] I thought this idea too.

[Feature #504](Closed) Tempfile.open should return the new tempfile rather than nil
18789 [redmine@ru y] Issue #504 has been updated by Yukihiro Matsumoto.

[ruby-dev:36155] useless external functions
18793 [ko1@at ot ne] I counted references of external functions in MRI/trunk.
+ 18449 [hramrach@ce ] While you are looking at this - are the visible symbols in libruby
| 18468 [charles.nutt] The oniguruma thing should definitely be addressed. The version
| 18485 [hramrach@ce ] I do not see how onigiruma is different from the other symbols that
+ 18450 [ko1@at ot ne] // SASADA Koichi at atdot dot net
+ 18794 [ko1@at ot ne] [ruby-dev:36158] Re:  useless external functions

Hello from Hurricane IKE -- Yipes
18795 [admin@ha th ] Well my power was out for 8 Days.  Phone is

[Bug #585] BigDecimal#remainder is not correct with small divisors
18796 [redmine@ru y] Bug #585: BigDecimal#remainder is not correct with small divisors

[Feature #462](Rejected) autoload with a block
18799 [redmine@ru y] Issue #462 has been updated by Yukihiro Matsumoto.

[Feature #427](Rejected) FileTest return values
18800 [redmine@ru y] Issue #427 has been updated by Yukihiro Matsumoto.

lib warnings patch from RDoc
18803 [drbrain@se m] ...
18807 [mame@ts .n .] I executed `make test-all' and any error or failure did not
18811 [drbrain@se m] Thank you, I have committed.

difference in speed between for and #each in Ruby 1.9
18804 [fxn@ha hr f.] There's a thread in ruby-talk about for versus #each.

1.9.0-4 "make test" fails under Ubuntu Dapper
18805 [B.Candler@po] $ ./configure && make && make test

[PATCH] mismatched indentation in uri fix
18808 [langwij@gm i] ...
18812 [drbrain@se m] second ago.

[Bug #549] ri -f html mungles constants
18809 [redmine@ru y] Issue #549 has been updated by Dave Thomas.

[Bug #588] Offset parameter breaks IO.binread
18810 [redmine@ru y] Bug #588: Offset parameter breaks IO.binread

Feature idea: Class#subclasses
18813 [charles.nutt] In JRuby we have added an extension that provides a "subclasses" method
+ 18814 [Daniel.Berge] Seems alright to me. I prefer "descendants", though, as an antonym to
+ 18816 [pbrannan@at ] I'm unclear why this couldn't be implemented using #inherited.
| + 18824 [jeremy@bi sw] It could, but at some penalty if you never need to use #subclasses.
| + 18837 [charles.nutt] It certainly could, but that requires that you have freedom to install
|   18966 [rick.denatal] ...
+ 18841 [ryand-ruby@z] as a minor tangent, miniunit went into 1.9 today and is already in

mv trunk/include/ruby/node.h to trunk/node.h
18815 [ko1@at ot ne] I moved trunk/include/ruby/node.h to trunk/node.h.  On 1.9, only
18818 [pbrannan@at ] What changes are planned to this structure?
18822 [ko1@at ot ne] nd_file (2nd word of RVALUE) is no longer needed.  So we can use
+ 18860 [pbrannan@at ] Conceptually, when a C++ function is wrapped in Rice, a wrapper is
+ 19227 [pbrannan@at ] I should have mentioned before; a patch to do what Rice needs was posted

signal.h removed but referenced?
18817 [langwij@gm i] ...

[Feature #235] default charset of rdoc
18819 [redmine@ru y] Issue #235 has been updated by Yui NARUSE.

miniunit added
18820 [ryand-ruby@z] I've replaced test/unit with miniunit in order to meet the feature
+ 18821 [ko1@at ot ne] ko1@vd:~/ruby/build$ make test-all
| 18823 [ko1@at ot ne] Following patch works fine on my environment
| 18845 [ryand-ruby@z] thanks. added along with support for "make test-all FILES='xxx yyy'"
+ 18825 [ko1@at ot ne] 1) doesn't output SEGV backtrace.
  + 18828 [ko1@at ot ne] It's seems double fault.  So Ruby's issue.
  | 18830 [ko1@at ot ne] I got it.
  | 18831 [ko1@at ot ne] I modified mini/test.rb.
  | + 18835 [mame@ts .n .] I have no idea whether miniunit should delay message creation.
  | | 18839 [matz@ru y- a] I am very interested in how one can make recursive range where range
  | | 18840 [akr@fs j. rg] % limit stacksize 500k
  | | 18843 [matz@ru y- a] I know it's possible with artificial programs like above, but what I
  | | 18846 [ryand-ruby@z] afaik, all miniunit did was inspect an object like the above. The test
  | + 18836 [ryand-ruby@z] your patch felt wrong, changing the feel too much. I did a similar
  + 18834 [ko1@at ot ne] 3) -x option is ignored

String#lchomp
18827 [transfire@gm] Does 1.9 have a String#lchomp method? If not, can I make a feature
18870 [transfire@gm] If I write the patch for this would it be accepted (excluding the

[Bug #588](Closed) Offset parameter breaks IO.binread
18833 [redmine@ru y] Issue #588 has been updated by Yukihiro Matsumoto.

[Bug #342](Closed) [PATCH] REXML Pretty Formatter's private method wrap breaks if no space is found
18838 [redmine@ru y] Issue #342 has been updated by Yukihiro Matsumoto.

[Feature #235] default charset of rdoc
18842 [redmine@ru y] Issue #235 has been updated by Eric Hodel.

[Bug #592] String#rstrip sometimes strips NULLs, sometimes doesn't - encoding dependent
18844 [redmine@ru y] Bug #592: String#rstrip sometimes strips NULLs, sometimes doesn't - encoding dependent
18851 [usa@ga ba ec] There is a patch.
18856 [matz@ru y- a] I made almost identical patch.  Please commit.

problem with argument type
18853 [claudio@cf o] in my Rbluez::Hci class i'have added this function using

Possible build issue
18858 [dave@pr gp o] ./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb  ./
18862 [ryand-ruby@z] I get that too... I haven't had time to look into it. Another `make`

[Bug #592](Closed) String#rstrip sometimes strips NULLs, sometimes doesn't - encoding dependent
18859 [redmine@ru y] Issue #592 has been updated by Usaku NAKAMURA.

tokenizing regular expressions when passed as method params
18861 [seth.dilling] I'm working on an upgrade to the Ruby language module in a Mac OS X text editor.
+ 18863 [ryand-ruby@z] You'll want to look at ruby's parse.y either directly or indirectly.
| 18932 [seth.dilling] Having now looked at it, I have to say that you were wrong: I did
+ 18865 [caleb@in or ] Cases like this are mostly resolved by what I call the before but not
+ 18869 [furr@cs um .] Ruby's syntax can be disambiguated using just static information, but its
  18935 [seth.dilling] Michael, thank you, you've really answered the question in the way I needed.

I'm changing the PickAxe to document miniunit
18866 [dave@pr gp o] require 'test/unit'
+ 18867 [dave@pr gp o] Sorry, I meant mini/test
| 18885 [ryand-ruby@z] no offense taken. ;)
+ 18884 [ryand-ruby@z] I'm open to suggestions... the only other thing that test/unit does is

mini/test assert_in_epsilon
18868 [dave@pr gp o] The current implementation is
18880 [ryand-ruby@z] kk. added.

[Bug #599] mini/test reports incorrect source file for refutations
18871 [redmine@ru y] Bug #599: mini/test reports incorrect source file for refutations
18883 [ryand-ruby@z] my fault entirely... I didn't update my backtrace filtering after I

[RIP] Guy Decoux.
18872 [jftran@ru yf] I'm sad to announce you Guy Decoux's death in the beginning of the month
+ 18873 [mguterl@gm i] It is very sad to hear this, but I thank you for letting us all know.
+ 18877 [martindemell] Thanks for letting us know. I'll miss him and his contributions to the grou=
+ 18887 [pit.capitain] This makes me really sad. It definitely is a tremendous loss for the
+ 18897 [ jfh@uf .e u] I'm in the middle of a project heavily using his Berkeley DB module.
+ 18911 [rick.denatal] ...
+ 18912 [dave@pr gp o] Like everyone else, I'll miss his presence, and his wit.
| + 18921 [Daniel.Berge] =20
| + 18924 [dblack@ru yp] ...
| + 18926 [ara.t.howard] that's a fantastic idea dave.  matz, i don't think it's ever been done =20=
| + 18930 [jftran@ru yf] Another suggestion (not incompatible) is dedicating a future Ruby release
+ 18940 [eleanor@ga e] that just happened to be Ruby, or so it often seemed, and many times
+ 18945 [horacio.lope] Chapeau, Guy.
+ 18980 [shortcutter@] It took me a while to discover this sad news in the pile of messages.

Mini-Unit pass/fail detection
18878 [jim.weirich@] I asked this question back in June and I think it got lost in the
18882 [ryand-ruby@z] Yes, that got lost in the noise... Sorry. How's this?
18904 [jim.weirich@] I did an svn update and it looks good, at least in code using

Mini Unit changing exceptions
18879 [jim.weirich@] Why does mini-unit change the exception in the test below?
18881 [ryand-ruby@z] def fail msg = nil
18900 [jim.weirich@] Hmmmm...  It seems bad form to change the semantics of a kernel
18953 [ryand-ruby@z] omg... I never even knew that existed. I've never seen any code that
18956 [jim.weirich@] I'm probably one of the few that uses it regularly.  I use :fail to
18959 [ryand-ruby@z] *nod*
18960 [jim.weirich@] Short version: I'm testing a module that is designed to be included

Re: [ruby-cvs:26761] Ruby:r19543 (trunk): Not a typo. The name is better plural. Better English and more consistent with the other assertions.
18888 [nobu@ru y- a] But inconsistent with other methods and the Ruby convention.
18890 [ryand-ruby@z] ruby convention is a fair reason... but I'm a bit of a grammar nazi
18898 [nobu@ru y- a] Then shouldn't it be assert_to_raise if `raise' ia a verb?

mini/test lacks autorunner.rb
18891 [ko1@at ot ne] mini/test lacks autorunner feature which is written in
18892 [ko1@at ot ne] // SASADA Koichi at atdot dot net

RubyGems 1.3.0 imported
18894 [drbrain@se m] rake RUBYARCHDIR=/tmp/test_rubygems_35162/gemhome/gems/a-2/lib
18896 [drbrain@se m] Yup, found and fixed.

refute_{equal, match, nil, same} is not useful
18899 [fuj@ra bi .j] Test/Unit was replaced to Miniunit.
+ 18901 [halostatue@g] I agree with reversing this deprecation. When I write a test, I'm not
| + 18903 [james@gr yp ] I think we will need to call that a matter of opinion.  ;)
| + 19184 [ryand-ruby@z] I know not to get into an email argument with you, but for the sake of
|   19185 [mguterl@gm i] I think Austin brings up a good point with his argument for semantics.
|   19187 [halostatue@g] I can actually see Ryan's point of saying that "refute_equal a, b"
|   + 19188 [dave@pr gp o] Why can't we let people have both miniunit and test::unit? If you're
|   + 19207 [jimfreeze@gm] Wow, this feels awkward to me.
+ 18902 [meinrad.rech] ...
+ 19167 [mame@ts .n .] I think ryan has a duty to reply to this.
| 19198 [duerst@it ao] Just yesterday, I re-ran some tests that I had made weeks ago.
| 19210 [eric.mahurin] ...
| 19230 [jftran@ru yf] of
| + 19232 [meinrad.rech] ...
| + 19233 [jimfreeze@gm] Those read very well.
|   19237 [radek.bulat@] T24gVGh1LCBPY3QgOSwgMjAwOCBhdCAxOjMzIEFNLCBKaW0gRnJlZXplIDxqaW1mcmVlemVAZ21h
|   + 19238 [radek.bulat@] QW5kIG9mIGNvdXJzZSBjaGFuZ2UgY2xhc3MgbmFtZSBUZXN0Q2FzZSB0byBUZXN0RmFpbENhc2Uu
|   + 19240 [notheory@gm ] SXMgdGhlIGxleGljb24gZm9yIHVuaXQgdGVzdGluZyByZWFsbHkgc28gaW5mbGV4aWJsZT8KClRo
+ 19183 [ryand-ruby@z] I'm sorry you don't like the new nomenclature. I really like it and so
| 19189 [billk@ct .c ] require 'test/unit'
| 19190 [drbrain@se m] Can you give an example where it is broken or incompatible?  I can't
| 19194 [billk@ct .c ] Yikes!  Have I completely misunderstood this thread?  If so,
| 19197 [sdsykes@gm i] I would definitely write "I assert that a and b are not equal".  It's
| 19209 [jeremymcanal] Even further, refute isn't actually an antonym to assert.  Refute
| 19212 [phil@ha el .] I fully support the idea of deprecating assert_not_*, but I agree that
+ 19221 [charles.nutt] I dislike refute. Refute is to prove something wrong, not to prove the
  19229 [laurent.sans] I agree with Charles. Also, I think that the miniruby APIs should all

output format of miniunit
18905 [mame@ts .n .] The output format of miniunit changed dramatically from one of Test::Unit.
18909 [dave@pr gp o] Actually, I disagree with this past point quite strongly. One of the
+ 18916 [mame@ts .n .] I feel this is easy to scan because the two values is vertically aligned.
| 18918 [dave@pr gp o] Agreed, which is why I suggested the multiline format if the output
| 18923 [mame@ts .n .] Like this?
| 18925 [james@gr yp ] <#<struct FooBarBaz
| 18927 [mame@ts .n .] Aha!  Sorry I was stupid  X-(
+ 19038 [ryand-ruby@z] I always found the <obj> output to be harder to read... and multiple
  19045 [mame@ts .n .] Hmm... Why?
  + 19165 [mame@ts .n .] I still look forward to hearing from you soon.
  + 19186 [ryand-ruby@z] Then maybe you should admit to a bit of bias here.
    19201 [mame@ts .n .] Well, I have to admit that's true.  <#<blahblah>> is indeed hard to read
threads.html
top