Have you found a need for it?
-Matt
On Wed, Jan 5, 2011 at 5:34 PM, Brad Hutchins wrote:
> Will MacRuby eventually allow for optional Static Typing like in
> Objective-C?
> ___
> MacRuby-devel mailing list
> MacRuby-devel@lists.macosforge.org
> http:/
Thanks for the suggestion, Kyossi! I found that bridgesupport 2 includes
bridgesupports for all of the system frameworks:
http://bridgesupport.macosforge.org/trac/wiki/Releases
On Jan 5, 2011, at 9:35 AM, kyossi wrote:
> Hi,
>
>> However, I do not see any struct definitions in the generated b
I'm guessing this is documented somewhere but have not been able to find it
yet... How can objective C runtime methods such as class_copyMethodList be
called from MacRuby? Thanks! -Garett
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.o
Hi everyone,
Has anyone had any trouble with NSPredicate causing occasional crashes when
used with NSArrayController? Well actually about 50% of the time.
What I have is a subclass of NSArrayController which is a data source for an
NSTableView that accepts drag and drop operations. In 'awakeFro
I am not sure if I am just doing something wrong or what, but I am trying to
read in a CSV file and it seems the code I use for ruby 1.9.2 works fine,
but not in MacRuby. I think I am doing something wrong, but not quite sure
what since I am still new to MacRuby and getting familiar with it.
I hav
I have a plugin that's supposed to call into MacRuby to deliver stock prices.
This may happen a few times per second.
I will be running other MacRuby code at the same time. Think a trading systems
development environment, with charting, Ruby code editing, etc.
Will MacRuby be able to handle t
I would like to edit MacRuby code in a Cocoa text window, press a button to
"compile" it and display error information in a status line.
I would also like to highlight the position of the error in my text window.
How do I programmatically grab the error location from an evaluation or
compilat
Hi,
MacRuby support bridgesupport .You can call any C-function,
See "Accessing Static APIs" in
http://www.macruby.org/documentation/tutorial.html
but..I cannot load bridgesupport file for runtime.h
$ cd /Developer/SDKs/MacOSX10.6.sdk/usr/include/objc
$ gen_bridge_metadata -c '-I.' runtime.h > ~
How do I build MacRuby -just- for 64 bits?
Thanks, Joel
---
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/lis
Is this normal?
I built the latest trunk, i.e.
commit 36f01b88ae4290e9963ef2d48f26e5bdacdf2b54
Author: lsansone...@apple.com http://svn.macosforge.org/repository/ruby/MacRuby/tr...@5123 233
---
macruby joelr$ rake spec:ci --trace
(in /Users/joelr/Work/ruby/macruby)
** Invoke spec:ci (first_tim
Hi Brad,
AFAIK, the static typing in Objective-C is only there to help compilation, it
has no effect on the runtime side of the program.
What do you have in mind exactly?
Laurent
On Jan 5, 2011, at 5:34 PM, Brad Hutchins wrote:
> Will MacRuby eventually allow for optional Static Typing like i
Hi,
Good catch, the Method structure is likely clashing with the Ruby Method class
:) I'm not sure if we should try to make it work, as it's surely an edge case.
Maybe #load_bridge_support_file should accept a Module object where the
constants should be defined, as a second, optional, argument?
Hi Alan,
The crash may be a bug in the way we compile calls to variadic functions (such
as predicateWithFormat:). Could you locate the crash report and copy/paste the
backtrace information?
Laurent
On Jan 6, 2011, at 11:14 AM, Alan Skipp wrote:
> Hi everyone,
> Has anyone had any trouble with
Hi Buddy,
It doesn't look like a MacRuby bug. Maybe the csv.rb library hasn't been
updated recently. Could you file a ticket? We will have a look.
Laurent
On Jan 6, 2011, at 12:05 PM, Buddy Lindsey, Jr. wrote:
> I am not sure if I am just doing something wrong or what, but I am trying to
> re
Hi Joel,
Yes, MacRuby is fully re-entrant and multi-threaded. The GC also runs on its
own threads and will allocate/collect memory from them. There shouldn't be any
problem, assuming you are careful not trying to run into the same object from
different threads. Unlike the traditional Ruby impl
I would catch the SyntaxError exception and poke at its content.
If you want to catch syntax errors ahead of execution, you can use the ripper
extension, which is bundled in MacRuby. It's basically an interface to the Ruby
parser and allows you to retrieve the AST.
Laurent
On Jan 6, 2011, at 1
Laurent,
Sure I can do that. I just wanted to check here before I did that incase it
a problem with me.
Buddy
---
Buddy Lindsey
http://www.buddylindsey.com
http://www.twitter.com/buddylindsey
On Thu, Jan 6, 2011 at 4:45 PM, Laurent Sansonetti wrote:
> Hi Buddy,
>
> It doesn't look like a MacRu
Hi Joel,
Pass the archs=x86_64 option to rake when building.
Alternatively, you can build with the default options, but strip the i386 bits
using lipo after.
Laurent
On Jan 6, 2011, at 1:16 PM, Joel Reymont wrote:
> How do I build MacRuby -just- for 64 bits?
>
> Thanks, Joel
>
> ---
Hi Buddy,
Thanks for checking. As a rule of thumb, if a given snippet works with CRuby
1.9.2, then it should work in MacRuby too :)
Laurent
On Jan 6, 2011, at 2:50 PM, Buddy Lindsey, Jr. wrote:
> Laurent,
>
> Sure I can do that. I just wanted to check here before I did that incase it a
> pro
On Jan 6, 2011, at 2:48 PM, Laurent Sansonetti wrote:
> Yes, MacRuby is fully re-entrant and multi-threaded. The GC also runs on its
> own threads and will allocate/collect memory from them. There shouldn't be
> any problem, assuming you are careful not trying to run into the same object
> fro
Are there substantial benefits to running the 64-bit version of MacRuby?
For example, does LLVM JIT work better on x86-64?
Thanks, Joel
---
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
___
MacRuby-devel mailin
Hi Laurent,
I couldn't find a crash report in Console, but Xcode gave the following with
build and debug.
#0 0x7fff815020da in objc_exception_throw
#1 0x7fff81af26f0 in _qfqp2_performParsing
#2 0x7fff81af05b9 in +[NSPredicate predicateWithFormat:arguments:]
#3 0x7fff81af057c i
Hi Joel,
Yes, many benefits. From the top of my head, the Objective-C runtime is
better/faster (and ObjC exceptions are true C++ exceptions, which match
perfectly with our model), we can store more fixnums and floats as immediate
values, etc.
More importantly, MacRuby is always tested and deve
The IRB::Source class uses Ripper and might be of help as well.
On 6 jan 2011, at 23:50, Laurent Sansonetti wrote:
> I would catch the SyntaxError exception and poke at its content.
>
> If you want to catch syntax errors ahead of execution, you can use the ripper
> extension, which is bundled i
On Jan 7, 2011, at 12:20 AM, Eloy Duran wrote:
> The IRB::Source class uses Ripper and might be of help as well.
Why would it be beneficial to catch syntax errors before execution by getting
hold of the AST using Ripper?
---
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelre
25 matches
Mail list logo