Dear MacRuby development team:
I am new to Ruby and I have an application that I would like to port
to MacRuby. The two extensions I will need are XML and serial port I/O.
So far I have not been able to get them to work:
Last login: Fri May 22 12:31:48 on ttys000
new-host:~ robertrice$ macirb
ruby.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
wrote:
Dear MacRuby development team:
I am new to Ruby and I have an application that I woul
tch I 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
wrote:
Dear MacRuby development team:
I am new to Rub
How would I track down the following error from the nightly build?
[Session started at 2009-09-11 12:43:22 -0400.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1344) (Fri Jul 3 01:19:56
UTC 2009)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Publ
b Rice
On Sep 11, 2009, at 12:53 PM, Laurent Sansonetti wrote:
Looks like we are hitting an assertion in the symbol generator...
Could you send us what you are trying to execute here?
Laurent
Sent from my iPhone
On Sep 11, 2009, at 9:48 AM, Robert Rice wrote:
How would I track down the
.
Thanks,
Bob Rice
#
# JBH_F7575101_WindowController.rb
# Cocoa-Ruby Driver Assistant
#
# Created by Robert Rice on 9/4/09.
# Copyright (c) 2009 Rice Audio. All rights reserved.
#
class JBH_F7575101_WindowController < NSWindowController
# require 'TextUtilities'; include TextUtilitie
Hi Laurent:
Thanks for your quick reply. I have attached another file that causes
a similar crash without a call to autorelease.
Bob Rice
#
# OutlineRowNode.rb
# Cocoa-Ruby Driver Assistant
#
# Created by Robert Rice on 9/4/09.
# Copyright (c) 2009 Rice Audio. All rights reserved
d macruby to not crash in case autorelease or dealloc 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.or
On Sep 23, 2009, at 8:23 PM, Laurent Sansonetti wrote:
Hi Robert,
This one will be hard to debug without your code. At least, from
gdb, could you do a "bt" and copy/paste the output?
Laurent
On Sep 23, 2009, at 5:17 PM, Robert
Congratulations MacRuby Development Team:
My application almost runs now in MacRuby.
Is NSTimer class supported in MacRuby?
I was doing background processing using NSTimer as follows:
@timer = NSTimer.scheduledTimerWithTimeInterval( 5.0, :target,
self, :selector, :periodicUpdate, :userInfo,
nection delegates or timers)
- but for data crunching using all cores I will use something like
Laurent's barber shop code: http://www.macruby.org/blog/2009/10/07/macruby05b1.html
.
J
On Oct 11, 2009, at 6:19 PM, Robert Rice wrote:
Congratulations MacRuby Development Team:
My applic
;this is a test"
rescue Exception => e
raise "#{e.message} #{e.backtrace}"
end
- Matt
On Sun, Oct 11, 2009 at 11:45 AM, Robert Rice
wrote:
Thanks John::
I wasn't familiar with this new syntax. I was using the old syntax
"NSTimer.scheduledTimerWithTimeInterval_ta
see some performance
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, 20
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
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
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 ob
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 y
Hi Group:
The string.each method is undefined in MacRuby.
I can work around it by using string.each_byte then convert the fixnum back to
a character using the i.chr method.
Also string.split( "" ) does not convert the string to an array as it did
before.
Bob Rice
__
; does.
>
> each is not a method on String in 1.9 either, so I don't think this is a
> MacRuby problem.
>
> You should file a bug for the problem with split().
>
> On Nov 28, 2009, at 14:30, Robert Rice wrote:
>
>> Hi Group:
>>
>> The string.each
books? They don't like each as valid for String in 1.9.
>
> If you need to file a bug though (especially for your split problem) try
> https://www.macruby.org/trac/report
>
> Jordan
>
> On Nov 28, 2009, at 18:09, Robert Rice wrote:
>
>> Hi Jordon:
>>
>&g
ov 29, 2009 at 12:37 PM, Conrad Taylor wrote:
> On Sun, Nov 29, 2009 at 10:14 AM, Robert Rice wrote:
> Thanks Jordon:
>
> I didn't realize that some core Ruby class methods changed for 1.9. I will
> update my documentation.
>
> Bob Rice
>
>
> Bob, this
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 = @"steve123
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. No
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
_
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 2205.
Abort trap
new-
; On Jan 25, 2010, at 11:40 PM, 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
Hi Jordan:
Paolo Bosettti put an ObjC class on github several months ago that works well.
Bob Rice
On Feb 4, 2010, at 1:03 PM, Jordan K. Hubbard wrote:
>
> On Feb 4, 2010, at 8:03 AM, John-Paul Bader wrote:
>
>> Do you guys have any idea how to make macruby talk to the serial port or do
>>
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
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) + de
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
;
> I don't know why range.location=1 was working in earlier versions of MacRuby.
> It should 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 v
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 eac
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
http://lists.macosforge.org/mailma
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
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
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
d that this class usually 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
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
ecated 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
&
end
puts "view #{ currentOperation.view.class }" # OK
super # super returns NSMakePoint( 0, 0 )
end
end
Thanks,
Bob Rice
Begin forwarded message:
> From: Laurent Sansonetti
> Date: August 16, 2010 12:18:21
t; Could you 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 originat
les) 1.7MB? That's quite big for
> a sample project, but maybe we can reduce its length.
>
> In any case, feel free to post it somewhere or e-mail it to me directly :)
>
> As for your bug, did you try building your main project for something higher
> than 10.5?
>
>
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 sa
it's 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 wrote:
>
>> Questions on the super method:
>>
>> Is the su
>
> - Matt
>
> Sent from my iPhone
>
> On Sep 7, 2010, at 12:53, Robert Rice 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 super
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
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 )
use this code into a new
> Xcode 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 t
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 wi
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 t
#x27;m
> sure the team would 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
>
download to start.
>
> /F
>
> 2010/9/15 Iain Barnett :
>>
>> 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 t
Sep 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
00 PM, Ernest N. 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.
>>&
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 mac
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:
>
>> fr
; FYI, you can access 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
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/MacRuby.framework/Versions/0.7/usr/lib/li
In the future we won't use the MacRuby version number in the link path to
> avoid these problems :)
>
> Laurent
>
> On Oct 2, 2010, at 11:43 AM, Robert Rice wrote:
>
>> Hi Laurent:
>>
>> Great work! You have to reload version 0.6 to fully appreciate the
>> perf
plain the missing 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:
>>
>> Tha
Hi Shaun:
Lower case method names is only a convention. MacRuby will work fine using
upper case, i.e., constant, method names.
I know because I only recently changed my project to conform to the convention.
Bob Rice
On Oct 19, 2010, at 7:17 PM, Shaun August wrote:
> Hi There,
>
> I am attemp
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
MacRuby-devel
28, 2010 at 8:48 AM, Robert Rice 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 sugge
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:25 AM, Laurent Sansonetti wrote:
> Hi Larry,
>
> Indeed, the R
Resources/**/*.rb'))
>
> without breaking anything, and without 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 s
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?
Th
what's
> going on. Feel free to upload the profile somewhere if you 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 ine
reaking anything, and without 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 dire
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 th
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 =
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
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 f
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
> On Jan 9, 2011, at 11:47 AM, 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
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 foll
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 need to create a loop checking using the
superclass method to check the inheritance of a class or is there an easier way?
Thanks,
Bob Rice
will return true
> a.kind_of? String 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? metho
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
MacRuby-devel@lists.
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
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
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
1Q2K2C
>
> PS I know 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:
>>
>> MacDr
t; Created as relative link 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 w
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 wrote:
>> On 2011-01-19, at 20:50 , Robert Rice 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 the compare value were interchanged.
Thanks,
Bob Rice
___
MacRuby-devel mailin
gt; stable, for example.
>
> This is a common problem; most systems don't need a stable sort, so they use
> Quicksort as a 'best general purpose' algorithm.
>
> -- Morgan
>
> On Sun, Jan 30, 2011 at 12:03 PM, Robert Rice wrote:
> Hi:
>
> Does the Ruby A
as a higher second (sequence) number,
> meaning"
>
> puts "it's out of order now."
>
> puts paired.sort {|x,y| x.first <=> y.first }.inspect
>
> puts
>
> puts "Now we sort exclusively on the value, while preserving ordering;"
>
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
Hi:
Is MacRuby fully compatible with Xcode 4 or should I wait a while before
upgrading?
Thanks,
Bob Rice
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
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
http://lists.macosf
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
MacRuby-devel@lists.macosfo
9:26 AM, Henry Maddocks wrote:
>
>>
>> On 6/04/2011, at 9:10 AM, Robert Rice wrote:
>>
>>> 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
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 = message.conte
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
_
o introduces 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:
Hi devotees,
I was using an Obj-C wrapper for serial port IO written by Paolo Bosetti but I
found that it no longer works in Lion. Does anyone know what might have
changed? Does MacRuby have a better solution for serial IO yet than using an
Obj-C wrapper?
Thanks,
Bob 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 i
y GC warning that MacRuby has on Lion 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:
>>
>
ails 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 wrote:
>> Hi devotees,
>>
>> I was using an Obj-C wrapper for serial port IO written by Pao
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
1 - 100 of 116 matches
Mail list logo