Re: [Ironruby-core] IronRuby r100 on Mono

2008-05-10 Thread Robert Bazinet
Ah yes, work perfectly. Actually both the solution syou and Daniele worked great. Thanks. -Rob On Sat, May 10, 2008 at 7:36 AM, Tobias H. Michaelsen < [EMAIL PROTECTED]> wrote: > You can add the following to your ~/.bash_profile (or equivalent): > > export > PKG_CONFIG_PATH="/Library/Framework

Re: [Ironruby-core] RubyForge bug fixes

2008-05-10 Thread Unnikrishnan Nair
Hi John, Here is my code that I have, this is the first method I attemepted since this is one of the interesting logic. I thought I post my code for you to review as well. This passed most of the test as well[ { returnString = path; } [ { } [ {RubyMethod("basename", RubyMethodAttributes.PublicSi

Re: [Ironruby-core] Code Review: MutableString5

2008-05-10 Thread Tomas Matousek
$KCODE is orthogonal to the encoding in MutableString. $KCODE seems to be just a value that is used by some library methods that perform binary operations on textual data. MutableString.Encoding is encoding of the representation. If a MutableString instance is created from .NET string an encodin

Re: [Ironruby-core] RubyForge bug fixes

2008-05-10 Thread John Lam (IRONRUBY)
Unnikrishnan Nair: > Quick question, are these following assertions are correct? > > should_raise(TypeError){ File.basename(1) } > should_raise(TypeError){ File.basename("bar.txt", 1) } > should_raise(TypeError){ File.basename(true) } Yes they are. You can easily verify this in MRI yo

Re: [Ironruby-core] RubyForge bug fixes

2008-05-10 Thread Unnikrishnan Nair
Quick question, are these following assertions are correct?     should_raise(TypeError){ File.basename(1) }     should_raise(TypeError){ File.basename("bar.txt", 1) }     should_raise(TypeError){ File.basename(true) } I was expecting all the above three should be ArgumentError than TypeError, unti

Re: [Ironruby-core] IronRuby r100 on Mono

2008-05-10 Thread Tobias H. Michaelsen
You can add the following to your ~/.bash_profile (or equivalent): export PKG_CONFIG_PATH="/Library/Frameworks/Mono.framework/Libraries/pkgconfig/" That did it for me. # Tobias 2008/5/9 Daniele Alessandri <[EMAIL PROTECTED]>: > On 5/9/08, C.J. Adams-Collier <[EMAIL PROTECTED]> wrote: > >> Same

Re: [Ironruby-core] Code Review: MutableString5

2008-05-10 Thread Peter Bacon Darwin
This is a big old diff to search through. I couldn't work out a way of easily patching it onto my source at home due to the folder differences. I really like this hybrid idea and it looks like it will work well. I have one question with regards to encodings and KCODE. I appreciate that String i

Re: [Ironruby-core] PATCH: $KCODE global variable

2008-05-10 Thread John Lam (IRONRUBY)
Andrew Peters: > I'm keen to help out the effort and so I started having a look at > implementing the nkf library. > > I'm about half done on nkf but it requires $KCODE so I thought I'd > contribute that first on it's own. > > Still finding my way around so all feedback appreciated :-) Hi Andrew,

[Ironruby-core] IronRuby r102 is out

2008-05-10 Thread John Lam (IRONRUBY)
This is a fairly major update. Ruby-visible changes include: 1) A brand new MutableString implementation that supports byte, char, and immutable char strings. 2) Some wrappers for Regexp to support binding to the new MutableString implementation 3) Bug fixes for module_function, singleton_method