Re: [MacRuby-devel] REXML

2009-05-22 Thread Robert Rice
library, I can't seem to see it on rubyforge, so I'm not sure what you are referring to. - Matt On Fri, May 22, 2009 at 9:44 AM, Robert Rice rice.au...@pobox.com wrote: Dear MacRuby development team: I am new to Ruby and I have an application that I would like to port to MacRuby. The two

Re: [MacRuby-devel] REXML

2009-05-23 Thread Robert Rice
mentioned there: http://www.macruby.org/trac/ticket/134 Regarding the serialport library, I can't seem to see it on rubyforge, so I'm not sure what you are referring to. - Matt On Fri, May 22, 2009 at 9:44 AM, Robert Rice rice.au...@pobox.com wrote: Dear MacRuby development team: I am new

Re: [MacRuby-devel] macruby nightly build 2009-09-10

2009-09-23 Thread Robert Rice
is used, but keep in mind that using these selectors won't do anything. Laurent On Sep 23, 2009, at 2:46 PM, Robert Rice wrote: ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Re: [MacRuby-devel] NSTimer

2009-10-11 Thread Robert Rice
problems it might be better to switch to a Thread instead. Laurent On Oct 11, 2009, at 12:55 PM, Robert Rice wrote: Hi Matt: I am using the most recent build. I get a traceback for compile errors but not for execution errors on the NS run loop. Bob On Oct 11, 2009, at 2:49 PM, Matt

Re: [MacRuby-devel] NSTimer

2009-10-11 Thread Robert Rice
Thanks: I filed the request. Bob Rice On Oct 11, 2009, at 5:10 PM, Jordan K. Hubbard wrote: On Oct 11, 2009, at 1:45 PM, Robert Rice wrote: NSTimer wil work well for my app except I will still need to use a thread to read data from my GPS receiver unless I can find a non- blocking serial

[MacRuby-devel] Obj C objects

2009-10-12 Thread Robert Rice
Hi Team: Converting a RubyCocoa project to MacRuby should I convert my Objective C objects to normal Ruby objects (excluding NS objects) and get rid of the call to alloc? Bob Rice ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org

Re: [MacRuby-devel] Obj C objects

2009-10-12 Thread Robert Rice
On Oct 12, 2009, at 3:15 PM, Laurent Sansonetti wrote: Hi Robert, Could you be more explicit? I don't understand your question :) Thanks, Laurent On Oct 12, 2009, at 8:15 AM, Robert Rice wrote: Hi Team: Converting a RubyCocoa project to MacRuby should I convert my Objective C objects

[MacRuby-devel] Serial Port I/O

2009-10-17 Thread Robert Rice
Hi Team: Do you have a recommended way to do serial port I/O in a MacRuby environment? I was using ruby-serialport in the RubyCocoa environment but the gem gives me the following error: Password: ERROR: While executing gem ... (RuntimeError) MacRuby does not support native extensions

Re: [MacRuby-devel] UTF8 Strings

2009-12-06 Thread Robert Rice
Hi Laurent: Can't comment on NSXMLDocument but I have been using REXML with MacRuby without any problems. Great job! Bob Rice On Dec 6, 2009, at 3:43 PM, s.ross wrote: Laurent-- Sorry to be pesty about this XML thing, but I have Objective-C like this: NSString* xml =

[MacRuby-devel] Error Handling

2009-12-29 Thread Robert Rice
MacRuby is working out well for my application with the exception of error handling. I find that I cannot get a traceback of all errors even when I have a rescue pushed on the stack. Sending a message to an undefined class action causes a hang with no error message that I cannot recover from.

[MacRuby-devel] Input field list

2009-12-29 Thread Robert Rice
This is an unrelated Cocoa newbe question but I'm sure someone could help me. Is there a way to programmatically get a list of the input and control field objects in a view rather than linking all of the fields separately in Interface Builder? Thanks, Bob Rice

Re: [MacRuby-devel] REXML broken

2010-01-26 Thread Robert Rice
, Robert Rice wrote: This problem started with either the 1/23 or the 1/24 nightly. Last login: Mon Jan 25 19:18:11 on console new-host:~ robertrice$ macirb irb(main):001:0 require rexml/document Assertion failed: (chmaxlen sizeof(chbuf)), function unescape_escaped_nonascii, file re.c, line

[MacRuby-devel] New error

2010-03-16 Thread Robert Rice
After loading the latest nightly build I have a new error message generated by the following string: #{degrees}° #{minutes}' #{seconds}\ returns: incompatible character encodings: US-ASCII and UTF-8 Is there something I can change so that I can use special characters again? Bob Rice

[MacRuby-devel] String functions not working in 3/17/2010 build

2010-03-17 Thread Robert Rice
Hi group: UTF-8 default is working again in 3/17 build but I have new problems with strings: Given: def reportDate return nil if @calendar.nil? desc = @calendar.dateValue.description desc.slice(0..3) + desc.slice(5..6) +

[MacRuby-devel] NSView.knowsPageRange( range )

2010-05-22 Thread Robert Rice
I'm have some trouble understanding the new Pointer class. In older versions of MacRuby I used: def knowsPageRange( range ) # Override pagination. Image my clip on some printers # The range is passed by reference. range.location = 1 # first page number

Re: [MacRuby-devel] NSView.knowsPageRange( range )

2010-05-23 Thread Robert Rice
really be a Pointer object. Laurent On May 22, 2010, at 9:50 PM, Robert Rice wrote: I'm have some trouble understanding the new Pointer class. In older versions of MacRuby I used: def knowsPageRange( range ) # Override pagination. Image my clip on some printers

[MacRuby-devel] REXML

2010-06-09 Thread Robert Rice
Note to REXML users. I suspect that there is a bug in the each_element method of REXML. In the each_element loop I would get intermittent errors where the index was not a REXML element or I would get a Bad Instruction crash with no traceback. My system became stable after replacing calls to

[MacRuby-devel] ImageAndTextCell

2010-06-09 Thread Robert Rice
Has anyone used Apple's ImageAndTextCell in a MacRuby example? ImageAndTextCell is included in the DragNDropOutlineView sample code. Thanks, Bob Rice ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org

[MacRuby-devel] malloc error

2010-07-26 Thread Robert Rice
MacRuby 0.6 is working well for me but I recently started getting the following malloc error while using the custom page size dialog in Page Setup: MacRuby 0.6 Release(774,0x7fff7045cc20) malloc: reference count underflow for 0x20275e080, break on auto_refcount_underflow_error to debug. MacRuby

[MacRuby-devel] PDF_View - Quartz Framework

2010-08-12 Thread Robert Rice
I recently added the Quartz framework and a PDF_View to my app. The PDF_View works great except for these warnings when I start my app: 2010-08-12 10:49:45.297 MacDriverLog[265:a0f] [QL] image sp_zoomp_handle not found 2010-08-12 10:49:45.300 MacDriverLog[265:a0f] [QL] image sp_zoomp_track_left

[MacRuby-devel] MacRuby hanging

2010-08-12 Thread Robert Rice
Hi MacRuby developers: Using MacRuby 0.6 stable, the most time consuming problem debugging is the tendency of MacRuby to hang without generating an error when calling an undefined method name. I usually can breakpoint until I find my error but occasionally the undefined method is called from a

Re: [MacRuby-devel] Break Points. Was Re: MacRuby hanging

2010-08-13 Thread Robert Rice
indicates a memory allocation problem. This problem started when I added PDFView and the Quartz.framework to my app. I don't want to have to remove my PDFView from my app. Bob Rice On Aug 12, 2010, at 10:31 PM, Henry Maddocks wrote: On 13/08/2010, at 3:31 AM, Robert Rice wrote: Hi MacRuby

[MacRuby-devel] Warnings from print operation

2010-08-15 Thread Robert Rice
Hi Developers: I get the followings warning from my PrintOperation: SimpleX_ViewController.print 2010-08-15 12:25:12.609 MacDriverLog-0.7[243:a0f] -[NSView(NSPrinting) beginPrologueBBox:creationDate:createdBy:fonts:forWhom:pages:title:] was deprecated before Mac OS 10.0 and overrides of it are

Re: [MacRuby-devel] Warnings from print operation

2010-08-15 Thread Robert Rice
objective-c calls :-) -- Thibault Martin-Lagardette On Aug 15, 2010, at 09:44, Robert Rice wrote: Hi Developers: I get the followings warning from my PrintOperation: SimpleX_ViewController.print 2010-08-15 12:25:12.609 MacDriverLog-0.7[243:a0f] -[NSView(NSPrinting

[MacRuby-devel] Fwd: Warnings from print operation

2010-08-15 Thread Robert Rice
) end end Thanks, Bob Rice Begin forwarded message: From: Laurent Sansonetti lsansone...@apple.com Date: August 16, 2010 12:18:21 AM EDT To: Robert Rice rice.au...@pobox.com Cc: MacRuby development discussions. macruby-devel@lists.macosforge.org Subject: Re: [MacRuby-devel] Warnings from print

Re: [MacRuby-devel] Warnings from print operation

2010-08-16 Thread Robert Rice
show your source code? Just from what you pasted I would assume you're using deprecated APIs. Laurent On Aug 15, 2010, at 3:19 PM, Robert Rice wrote: Hi Thibault Martin-Lagardette: Yes, but the deprecated calls are originating from NSView. Printing had stopped working for the views

[MacRuby-devel] super method

2010-09-07 Thread Robert Rice
Questions on the super method: Is the super method unique to MacRuby? super forwards the current message to the superclass with the same method name and arguments. Is there a way to send a message to the superclass method with different arguments either from within the subclass method of the

Re: [MacRuby-devel] super method

2010-09-07 Thread Robert Rice
not unique to MacRuby (Ruby and Obj-C support that feature) and yes you can pass other arguments :) - Matt Sent from my iPhone On Sep 7, 2010, at 12:16, Robert Rice rice.au...@pobox.com wrote: Questions on the super method: Is the super method unique to MacRuby? super forwards

Re: [MacRuby-devel] super method

2010-09-08 Thread Robert Rice
iPhone On Sep 7, 2010, at 12:53, Robert Rice rice.au...@pobox.com wrote: Thanks Matt: I didn't see super in the ruby-doc.org/ruby-1.9/index.html unless super is short for superclass. Can I reach a superclass method without having the message go first to my subclass override of the method

Re: [MacRuby-devel] super method

2010-09-08 Thread Robert Rice
Thanks Matt: I don't think I've seen any examples using the initWith method. Is that method called after init? Bob Rice On Sep 8, 2010, at 12:22 PM, Matt Aimonetti wrote: initWith ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org

[MacRuby-devel] FYI - Update on NSView printing problem

2010-09-10 Thread Robert Rice
I tracked down my NSView printing problem to the NSPrintPanel preview view. My view printing now works again by overriding the default option to display the small preview view: def print po = NSPrintOperation.printOperationWithView( @printableView ) po.printPanel.setOptions( 0 )

Re: [MacRuby-devel] FYI - Update on NSView printing problem

2010-09-14 Thread Robert Rice
project? If it only crashes in your app, maybe it's related to your view. How complex is the view? Laurent On Sep 10, 2010, at 9:30 AM, Robert Rice wrote: I tracked down my NSView printing problem to the NSPrintPanel preview view. My view printing now works again by overriding the default

Re: [MacRuby-devel] backtrace in cocoa callbacks ...

2010-09-14 Thread Robert Rice
Hi Steven: I've noticed that my backtraces (when I get them) are often incomplete. Some method calls will be missing from the backtrace. But I'm more concerned that some errors, e.g., undefined method names, will often cause a loop that I can't catch. And if I don't kill it quickly enough it

Re: [MacRuby-devel] Noob question: Interface builder not picking up MacRuby definitions

2010-09-15 Thread Robert Rice
Hi Iain: As my app has grown IB became very, very slow to update my MacRuby class information. Because of that I tend to avoid using IB to link outlets. Instead I tag my subfields and search for then in my initialization scripts using view.viewWithTag and for my new MacRuby classes I paste in

Re: [MacRuby-devel] Noob question: Interface builder not picking up MacRuby definitions

2010-09-15 Thread Robert Rice
be very interested in a perf problem that makes IB that unusable. Matt On Sep 15, 2010, at 9:35 AM, Robert Rice wrote: Hi Iain: As my app has grown IB became very, very slow to update my MacRuby class information. Because of that I tend to avoid using IB to link outlets. Instead I tag

Re: [MacRuby-devel] Noob question: Interface builder not picking up MacRuby definitions

2010-09-15 Thread Robert Rice
. /F 2010/9/15 Iain Barnett iainsp...@gmail.com: On 15 Sep 2010, at 17:35, Robert Rice wrote: Hi Iain: As my app has grown IB became very, very slow to update my MacRuby class information. Because of that I tend to avoid using IB to link outlets. Instead I tag my subfields

Re: [MacRuby-devel] backtrace in cocoa callbacks ...

2010-09-17 Thread Robert Rice
2010, at 00:00, Robert Rice wrote: After viewing the introduction to Xcode 4 and LLVM, I am curious if MacRuby compiler could be integrated into and directly compiled by LLVM. LLVM claims to have much improved diagnostics and an enviable analysis phase. Is this idea on the MacRuby roadmap

Re: [MacRuby-devel] backtrace in cocoa callbacks ...

2010-09-18 Thread Robert Rice
. Prabhakar, Ph.D. wrote: Hi Bob, On Sep 17, 2010, at 12:56 PM, Robert Rice wrote: After viewing the introduction to Xcode 4 and LLVM, I am curious if MacRuby compiler could be integrated into and directly compiled by LLVM. LLVM claims to have much improved diagnostics and an enviable analysis

[MacRuby-devel] CSV class crashes macirb since 5/31/2010

2010-09-22 Thread Robert Rice
from macruby_nightly-2010-06-02.pkg: Last login: Thu Sep 23 00:44:07 on ttys001 new-host:~ robertrice$ macirb irb(main):001:0 require CSV Assertion failed: ((b-flags flags) == flags), function rb_vm_prepare_block, file dispatcher.cpp, line 1481. Abort trap new-host:~ robertrice$ from

Re: [MacRuby-devel] CSV class crashes macirb since 5/31/2010

2010-09-23 Thread Robert Rice
Hi Laurent: OK. Remind me how to file a ticket. Bob Rice On Sep 23, 2010, at 4:21 PM, Laurent Sansonetti wrote: Hi Robert, Could you report this as a ticket? Thanks, Laurent On Sep 22, 2010, at 10:25 PM, Robert Rice wrote: from macruby_nightly-2010-06-02.pkg: Last login: Thu

Re: [MacRuby-devel] CSV class crashes macirb since 5/31/2010

2010-09-24 Thread Robert Rice
the tracker here: http://www.macruby.org/trac/ Laurent On Sep 23, 2010, at 1:37 PM, Robert Rice wrote: Hi Laurent: OK. Remind me how to file a ticket. Bob Rice On Sep 23, 2010, at 4:21 PM, Laurent Sansonetti wrote: Hi Robert, Could you report this as a ticket? Thanks, Laurent

[MacRuby-devel] 0.7 Release

2010-10-02 Thread Robert Rice
Hi Laurent: Great work! You have to reload version 0.6 to fully appreciate the performance increase. Today's nightly build deletes version 0.7 from the MacRuby framework but my project still references it: dyld: Library not loaded:

Re: [MacRuby-devel] 0.7 Release

2010-10-02 Thread Robert Rice
, at 11:43 AM, Robert Rice wrote: Hi Laurent: Great work! You have to reload version 0.6 to fully appreciate the performance increase. Today's nightly build deletes version 0.7 from the MacRuby framework but my project still references it: dyld: Library not loaded: /Library/Frameworks

Re: [MacRuby-devel] 0.7 Release

2010-10-02 Thread Robert Rice
symbol. Are you sure MacRuby.framework is included in your Xcode project as a dependency? If yes, try removing it and adding it again, maybe. Laurent On Oct 2, 2010, at 1:24 PM, Robert Rice wrote: Hi Laurent: Thanks for the quick reply. I get a new error doing a clean build: Ld build

[MacRuby-devel] rtf gem

2010-10-28 Thread Robert Rice
I would like to use Peter Wood's rtf-0.1.0 gem but it requires deprecated file 'parsedate'. LoadError: no such file to load -- parsedate Can anyone suggest how I could get this gem to work? Thanks, Bob Rice ___ MacRuby-devel mailing list

Re: [MacRuby-devel] rtf gem

2010-10-28 Thread Robert Rice
, Robert Rice rice.au...@pobox.com wrote: I would like to use Peter Wood's rtf-0.1.0 gem but it requires deprecated file 'parsedate'. LoadError: no such file to load -- parsedate Can anyone suggest how I could get this gem to work? Thanks, Bob Rice

Re: [MacRuby-devel] Compiled Ruby files

2010-11-05 Thread Robert Rice
the need to add an option to the tool. Laurent On Nov 3, 2010, at 2:35 PM, Robert Rice wrote: Hi Laurent: Does macruby_deploy have an option to compile .rb files in subdirectories of the Resources directory? For a large project some of us may want to better organize our source files

[MacRuby-devel] System crash - MacRuby priority

2010-11-06 Thread Robert Rice
I determined that my system crash was not due to an endless loop - rather due to a very inefficient algorithm. MacRuby seems to run at such a high priority that it can cause the system to crash - especially if a streaming video is running. Can I lower the priority of my MacRuby application?

Re: [MacRuby-devel] System crash - MacRuby priority

2010-11-07 Thread Robert Rice
want us to have a look. Laurent On Nov 6, 2010, at 4:19 PM, Robert Rice wrote: I determined that my system crash was not due to an endless loop - rather due to a very inefficient algorithm. MacRuby seems to run at such a high priority that it can cause the system to crash

Re: [MacRuby-devel] Compiled Ruby files

2010-11-09 Thread Robert Rice
. Laurent On Nov 3, 2010, at 2:35 PM, Robert Rice wrote: Hi Laurent: Does macruby_deploy have an option to compile .rb files in subdirectories of the Resources directory? For a large project some of us may want to better organize our source files. Thanks, Bob Rice On Nov 2, 2010, at 4

[MacRuby-devel] Compile target

2010-12-01 Thread Robert Rice
Hi MacRuby devotees: Would it be possible to configure XCODE and macruby_deploy to produce the compiled output in a separate folder and not delete the .rb source files? The .rbo files should be given the same time stamp as the .rb file so that recompiling could be optimized to only the files

[MacRuby-devel] macirb malloc error

2010-12-04 Thread Robert Rice
I got this error using macirb but I couldn't reproduce it. Last login: Fri Dec 3 12:40:15 on ttys000 new-host:~ robertrice$ macirb irb(main):001:0 Deg_To_Rad = Math::PI / 180.0 = 0.0174532925199433 irb(main):002:0 Median_Radius_Feet= 20902221.0 = 20902221.0 irb(main):003:0 Median_Rad_Miles =

[MacRuby-devel] Segmentation fault

2010-12-06 Thread Robert Rice
Would it be possible to catch this error rather than allowing MacRuby to crash with a Segmentation fault: Last login: Mon Dec 6 11:05:14 on console new-host:~ robertrice$ macirb irb(main):001:0 nil.alloc.init Segmentation fault new-host:~ robertrice$ Thanks, Bob Rice

Re: [MacRuby-devel] csv.rb oddity

2011-01-07 Thread Robert Rice
Hi Gang: The CSV package provides several different methods to read and parse CSV files and I use several of the options in my application without any problems. The CSV.open method returns an instance of CSV as the error indicates. You invoke the shift method on a CSV instance to parse a line

[MacRuby-devel] Help subclassing NSXMLElement

2011-01-09 Thread Robert Rice
I've been trying to subclass NSXMLElement in MacRuby without success. I have implemented NSXMLDocument.replacementClassForClass returning my custom subclass to replace NSXMLElement but the parser returns NSXMLFidelityElement instances rather than my custom class instances. Has anyone done this

Re: [MacRuby-devel] Help subclassing NSXMLElement

2011-01-09 Thread Robert Rice
, Robert Rice wrote: I've been trying to subclass NSXMLElement in MacRuby without success. I have implemented NSXMLDocument.replacementClassForClass returning my custom subclass to replace NSXMLElement but the parser returns NSXMLFidelityElement instances rather than my custom class

[MacRuby-devel] Question on Hash performance

2011-01-13 Thread Robert Rice
I suspect that there is considerably more overhead in creating a Hash as compared to an Array and that using an Array is more efficient unless the Array will become large. I am wondering about how large the Array would have to be before it becomes more efficient to use a Hash. Consider the

Re: [MacRuby-devel] is_a? method

2011-01-19 Thread Robert Rice
will return false assuming I haven't miss understood your question. Dave. On 19 Jan 2011, at 21:06, Robert Rice wrote: Hi: I notice that the obj.is_a? method does not work on a class constant. It only works on an instance of the class. Is this the way it should work? Do I

[MacRuby-devel] macruby command in console

2011-01-19 Thread Robert Rice
Entering macruby by mistake on the console command line instead of macirb gets no reply. The user must type ctrl-C to abort it. Probably macruby should reply with usage information and exit. Bob Rice ___ MacRuby-devel mailing list

Re: [MacRuby-devel] is_a? method

2011-01-19 Thread Robert Rice
Hi Caio: Yep. That will work. I didn't find the = class method in the RDoc. Thanks, Bob Rice On Jan 19, 2011, at 6:15 PM, Caio Chassot wrote: On 2011-01-19, at 20:50 , Robert Rice wrote: You instantiated AnArray. Try this: class AnArray Array; end AnArray.kind_of?( Array

Re: [MacRuby-devel] macruby command in console

2011-01-19 Thread Robert Rice
Hi Caio: Is macruby similar to macirb but without the prompts? Thanks, Bob Rice On Jan 19, 2011, at 6:17 PM, Caio Chassot wrote: On 2011-01-19, at 20:55 , Robert Rice wrote: Entering macruby by mistake on the console command line instead of macirb gets no reply. The user must type ctrl

[MacRuby-devel] MacDriverLog Installer

2011-01-24 Thread Robert Rice
Hi MacRubyists: MacDriverLog is an application I am developing for truckers using MacRuby. I can't fully test the installer without a second machine. I would appreciate it if someone could download it from http://MacDriverLog.com and let me know if the install package works. Thanks, Bob Rice

Re: [MacRuby-devel] MacDriverLog Installer

2011-01-25 Thread Robert Rice
this is not what your question was about, feel free to ignore it, but the font on that page you linked to is really not friendly on the eyes imho. On Jan 25, 2011, at 3:22 AM, Robert Rice wrote: Hi MacRubyists: MacDriverLog is an application I am developing for truckers using MacRuby. I

Re: [MacRuby-devel] MacDriverLog Installer

2011-01-25 Thread Robert Rice
with: $ ln -s original/For\ those\ who\ took\ the\ effort.jpg On Jan 25, 2011, at 4:59 PM, Robert Rice wrote: Hi Eloy: Thanks for the feedback. I used an alias file. Will a symlink work better than an alias file when the zip is expanded on a different volume? I'm using Iceberg to build

Re: [MacRuby-devel] is_a? method

2011-01-29 Thread Robert Rice
Hi Eric: Thanks, the ancestors method will work better. Do class objects inherit all of the Module methods? Bob Rice On Jan 29, 2011, at 1:22 AM, Eric Christopherson wrote: On Wed, Jan 19, 2011 at 5:15 PM, Caio Chassot li...@caiochassot.com wrote: On 2011-01-19, at 20:50 , Robert Rice

[MacRuby-devel] Ruby sort algorithm

2011-01-30 Thread Robert Rice
Hi: Does the Ruby Array sort algorithm maintain the relative position for children returning the same value for the comparison? I had an instance where two children having the compare value were interchanged. Thanks, Bob Rice ___ MacRuby-devel

Re: [MacRuby-devel] Ruby sort algorithm

2011-01-30 Thread Robert Rice
general purpose' algorithm. -- Morgan On Sun, Jan 30, 2011 at 12:03 PM, Robert Rice rice.au...@pobox.com wrote: Hi: Does the Ruby Array sort algorithm maintain the relative position for children returning the same value for the comparison? I had an instance where two children having

Re: [MacRuby-devel] Ruby sort algorithm

2011-01-31 Thread Robert Rice
Hi Morgan: Thanks for all your help with the sort algorithm. It occurred to me that in my app I could sort my elements as I create them in my NSXMLParser delegate methods such that I wouldn't need to use a sort algorithm. I now have: def add_child( child ) change

[MacRuby-devel] Degree symbol in toolTip

2011-03-29 Thread Robert Rice
I'm having trouble getting the degree symbol ° to display correctly in toolTips and Alert dialogs. Do I need to escape this special character somehow? Thanks, Bob Rice ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org

[MacRuby-devel] Computer Serial Number

2011-04-05 Thread Robert Rice
Hi Gang: Could anyone help me to read the computer's serial number from a MacRuby program. Since I don't know Objective C, I haven't been able to figure out how to access it. Thanks, Bob Rice ___ MacRuby-devel mailing list

Re: [MacRuby-devel] Computer Serial Number

2011-04-06 Thread Robert Rice
Dev 17/1/2011 Looks like I talked too fast, there isn't any BridgeSupport file for IOKit, even in Preview 2. I will look into it, as I'm planning to roll out a new version soon. Laurent On 6/04/2011, at 9:26 AM, Henry Maddocks wrote: On 6/04/2011, at 9:10 AM, Robert Rice wrote: Hi

[MacRuby-devel] NSString.to_data

2011-04-18 Thread Robert Rice
Using the Scripting Bridge to process e_mails, the bridge return NSString rather than String class when reading the message content. This works fine except that the .to_data method is undefined for NSString. I am able to use dataUsingEncoding as in the following: content =

[MacRuby-devel] Constant definitions

2011-05-24 Thread Robert Rice
Hi Fans: What changed on 5/19/2011? I haven't been able to use the nightly builds since 5/18/2011. Constant definitions stopped working and I get an uninitialized constant xxx (NameError) message wherever my code tries to reference a constant defined in the same class. Thanks, Bob Rice

Re: [MacRuby-devel] Constant definitions

2011-05-24 Thread Robert Rice
others. We have tickets covering the new bugs and Kouji-san is working on them. https://www.macruby.org/trac/ticket/1292 https://www.macruby.org/trac/ticket/1288 https://www.macruby.org/trac/ticket/1285 Laurent On May 24, 2011, at 8:46 AM, Robert Rice wrote: Hi Fans: What changed

[MacRuby-devel] New warning message

2011-08-20 Thread Robert Rice
I get this new warning message running my MacRuby app on Lion: MacDriverLog(262,0x104f0e000) malloc: *** auto malloc[262]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug. This doesn't crash my app. Can I safely

Re: [MacRuby-devel] New warning message

2011-08-21 Thread Robert Rice
right now. Could you log a bug against MacRuby for this issue? Thanks, Mark On 2011-08-20, at 8:44 PM, Robert Rice wrote: I get this new warning message running my MacRuby app on Lion: MacDriverLog(262,0x104f0e000) malloc: *** auto malloc[262]: error: GC operation

Re: [MacRuby-devel] Serialport IO and OS X Lion

2011-09-20 Thread Robert Rice
on this? Some system frameworks shipped with GC regressions in Lion, maybe that's the problem here. Laurent On Sat, Aug 20, 2011 at 9:42 PM, Robert Rice rice.au...@pobox.com wrote: Hi devotees, I was using an Obj-C wrapper for serial port IO written by Paolo Bosetti but I found that it no longer

Re: [MacRuby-devel] Document based application template

2012-01-08 Thread Robert Rice
Hi, I see that I'm not the only one having trouble using the MacRuby document-based project template although I am still using Xcode 3.2.4. I can create a new MacRuby Application project and the empty project will build and run ok, but now I to write a document-based application and the empty

[MacRuby-devel] CNC Machine control using USB to IEEE 1284 Parallel port adapter

2012-01-17 Thread Robert Rice
Hi, I've become interested in Computer Numeric Control (CNC) machine control. I find there is very little support for the Macintosh platform and many PC programs for the task have a crude user interface so I would like to create a Macintosh CNC application using MacRuby. CNC programs and

Re: [MacRuby-devel] CNC Machine control using USB to IEEE 1284 Parallel port adapter

2012-01-17 Thread Robert Rice
Hi Scott, I have lots of device files in dev but nothing identified by 1284. Is there a way to search other than by file name? Thanks, Bob On Jan 17, 2012, at 10:07 PM, Scott Ribe wrote: On Jan 17, 2012, at 7:11 PM, Robert Rice wrote: Prolific provides documentation for the simple report

Re: [MacRuby-devel] CNC Machine control using USB to IEEE 1284 Parallel port adapter

2012-01-17 Thread Robert Rice
. Thanks, Bob Rice On Jan 17, 2012, at 10:32 PM, Scott Ribe wrote: On Jan 17, 2012, at 8:17 PM, Robert Rice wrote: I have lots of device files in dev but nothing identified by 1284. Is there a way to search other than by file name? No, but you can compare the listings with the device plugged

Re: [MacRuby-devel] CNC Machine control using USB to IEEE 1284 Parallel port adapter

2012-01-18 Thread Robert Rice
and you just supply the 4 axis motion vector you want over the USB bus and it generates the appropriate pulse trains to control the steppers. Dave. On 18 Jan 2012, at 02:11, Robert Rice wrote: Hi, I've become interested in Computer Numeric Control (CNC) machine control. I find

Re: [MacRuby-devel] CNC Machine control using USB to IEEE 1284 Parallel port adapter

2012-01-18 Thread Robert Rice
Hi Will, Thanks for the info on Arduino - looks like some interesting possibilities there. I didn't realize that Arduino had several different boards available. I may be able to connect one or more boards to a DB25 parallel connector to control my HobbyCNC micro-stepping driver board. Thanks,

Re: [MacRuby-devel] CNC Machine control using USB to IEEE 1284 Parallel port adapter

2012-01-20 Thread Robert Rice
Hi, Thanks for all of the replies. I was looking for a Mac based CNC program long ago and was amazed that there still is little or none. I don't have a lot of time in this yet, but I was able to design a nice CNC UI and basic motion engine easily using MacRuby. There is certainly enough

Re: [MacRuby-devel] CNC Machine control using USB to IEEE 1284 Parallel port adapter

2012-01-20 Thread Robert Rice
Hi Rich, Switch de-bounce logic in the Arduino would be a nice feature. I'm thinking that probably I could offload most or all of the motion engine to the Atmel µP. That would be desirable to to keep motors synchronized within a half micro-step while doing linear and circular interpolation.

Re: [MacRuby-devel] CNC Machine control using USB to IEEE 1284 Parallel port adapter

2012-01-23 Thread Robert Rice
useful capability to the Mac. Sent from my iPad On Jan 17, 2012, at 9:11 PM, Robert Rice rice.au...@pobox.com wrote: Hi, I've become interested in Computer Numeric Control (CNC) machine control. I find there is very little support for the Macintosh platform and many PC programs

[MacRuby-devel] Installer Fails

2012-04-16 Thread Robert Rice
Hi MacRubyists, It's been a long time since I posted on this forum. I've been doing well with MacRuby. But I ran into a problem trying to bring my installation up-to-date. updated I found that I could only update to the 2/21/2012 nightly build. After that the installer gives me a message

[MacRuby-devel] Compile error

2012-04-16 Thread Robert Rice
Hi, I have a project nearing release and I'm trying to compile it but I get the following error in my Build Results: *** Deployment started *** Compiling files ld: library not found for -lbundle1.o collect2: ld returned 1 exit status Can't compile

Re: [MacRuby-devel] Installer Fails

2012-04-16 Thread Robert Rice
#L10 - MacRuby framework was installed in your environment. So, you can use macruby command in Terminal. - Template and rb_nibtool was not installed. 2012/4/17 Robert Rice rice.au...@pobox.com: Hi MacRubyists, It's been a long time since I posted on this forum. I've been doing well

Re: [MacRuby-devel] Installer Fails

2012-04-17 Thread Robert Rice
packager which include the Xcode3 template into installer, so nightly build which you have might lost the Xcode3 template. please try with latest. Thanks, 2012/4/17 Robert Rice rice.au...@pobox.com: Hi, I'm still using Xcode 3.2.4. Does MacRuby now require Xcode 4? I backed up

[MacRuby-devel] Help with class files

2012-04-18 Thread Robert Rice
Help, I have a recurring problem with corrupted class files created by Xcode 3.2.4 and I don't know much about class files. I start having this problem whenever my application become large and I try to change the inheritance of some MacRuby files. Occasionally, the change will cause Interface

Re: [MacRuby-devel] Installer Fails

2012-04-18 Thread Robert Rice
imported XIB files were corrupted instead of just crashing like IB did. Thanks, Bob On Apr 18, 2012, at 2:01 PM, Robert Rice wrote: Hi Watson, I tried the 4/18 nightly build and it still fails, although it seems to have gotten further. Now the last line in the files window is: ./usr