Re: [MacRuby-devel] date broken in experimental r2001?

2009-07-08 Thread Timothy Wood
Oh hey, maybe I could just use NSDate and friends… thanks for the idea! =) -tim On Jul 7, 2009, at 11:59 PM, Matt Aimonetti wrote: Ruby's DateTime is pretty bad, if you are still using MRI, you might want to give http://github.com/jeremyevans/third_base/tree/master a shot. - Matt

Re: [MacRuby-devel] date broken in experimental r2001?

2009-07-08 Thread Laurent Sansonetti
I highly recommend using the Foundation classes when you do MacRuby- only programming: generally they are faster and more stable than the Ruby stdlib counterparts :) Laurent On Jul 8, 2009, at 12:01 AM, Timothy Wood wrote: Oh hey, maybe I could just use NSDate and friends… thanks for the

Re: [MacRuby-devel] I want to help too

2009-07-08 Thread Eloy Duran
Ugh, sorry Perry. It seems I forgot to actually send my email... Anyways, Mike is correct. For more info on MSpec, and all the options for the runners, see: http://rubyspec.org/wiki/mspec Eloy On Jul 7, 2009, at 10:36 PM, Mike Sassak wrote: On Fri, Jul 3, 2009 at 9:30 AM, Perry Smith wrote

Re: [MacRuby-devel] [MacRuby] #290: Hashes do NOT stay ordered

2009-07-08 Thread MacRuby
#290: Hashes do NOT stay ordered ---+ Reporter: martin.ploe...@… | Owner: eloy.de.en...@… Type: defect | Status: new Priority: blocker|

Re: [MacRuby-devel] [MacRuby] #290: Hashes do NOT stay ordered

2009-07-08 Thread MacRuby
#290: Hashes do NOT stay ordered ---+ Reporter: martin.ploe...@… | Owner: eloy.de.en...@… Type: defect | Status: new Priority: blocker|

[MacRuby-devel] Checkbox state

2009-07-08 Thread Marinus van der Lugt
Hi All, First post, so a little bit about me: I am a SW engineer and have been one for over 20 years, increadible as that may sound. I have programmed on the Mac before in Ada95, Obj-C and Java (but I have had a pause of about 5 years from the Mac). Now that MacRuby seems to gain some foothold I'd

Re: [MacRuby-devel] Checkbox state

2009-07-08 Thread John Shea
Hi Marinus / Rien, I just did a quick test, given a nib with window and a controller ruby file. 1. I dragged a checkbox NSButton onto the window 2. i created an attr_accessor :check in my controller 3. I created a method called test_check in my controller: def test_check(sender) p @che

[MacRuby-devel] [MacRuby] #292: FileUtils.cp_r can abort

2009-07-08 Thread MacRuby
#292: FileUtils.cp_r can abort ---+ Reporter: t...@… | Owner: lsansone...@… Type: defect | Status: new Priority: blocker| Milestone:

Re: [MacRuby-devel] Checkbox state

2009-07-08 Thread Marinus van der Lugt
Thanks John, Yes the simple example works OK. My controller looks like this: class DisclaimerController < NSWindowController attr_accessor :showAgain def exitButtonAction(sender) NSLog("Disclaimer Window: exit button clicked") end def startButtonAction(sender) NSLog("

[MacRuby-devel] RubyCocoa & MacRuby interaction?

2009-07-08 Thread Marinus van der Lugt
I am getting rather desperate here :-( The initWithWindowNibName suddenly stopped working. It still works in a previous xcode project that I had, but I cannot create new MacRuby projects that use this method. Is there something scr*d-up on my machine? I am still on the checkbox problem and

Re: [MacRuby-devel] RubyCocoa & MacRuby interaction?

2009-07-08 Thread Laurent Sansonetti
Hi Marinus, Are you by any chance trying to run a RubyCocoa project (of parts of it) with MacRuby? Both projects use a different syntax and are therefore incompatible. You should be able to use initWithWindowNibName in both RubyCocoa and MacRuby projects. In case it does not work for yo

[MacRuby-devel] [MacRuby] #293: Object.methods in macirb returns crazy results

2009-07-08 Thread MacRuby
#293: Object.methods in macirb returns crazy results ---+ Reporter: t...@… | Owner: lsansone...@… Type: defect | Status: new Priority: blocker

Re: [MacRuby-devel] [MacRuby] #293: Object.methods in macirb returns crazy results

2009-07-08 Thread MacRuby
#293: Object.methods in macirb returns crazy results ---+ Reporter: t...@… | Owner: lsansone...@… Type: defect | Status: new Priority: blocker