[MacRuby-devel] Using an SQLite wrapper with macruby

2011-01-05 Thread Ruben Fonseca
Hi all. I'm trying to build a MacRuby 0.8 app with XCode. I want to interact with an exisitng Sqlite3 database. Since I don't want to package or mess with any Rubygem, I decided to look into existing Objective-C Sqlite wrappers. I've tried PLDatabase and fmdb, and failed with both. The code compi

Re: [MacRuby-devel] 0.5 status... good to go!

2010-02-01 Thread Ruben Fonseca
Huge congratulations Laurent all all the team! YOU ROCK!! Please please PLEASE keep the good work and the lightning pace of development :) Ruben On Feb 1, 2010, at 8:19 AM, Carlo Zottmann wrote: > Very nice, well done. Thanks for the whole project, by the way… I'm > loving it. :) > > Cheers fr

[MacRuby-devel] OpenCL experiment (request for comments)

2010-01-26 Thread Ruben Fonseca
Hi @all! I promised Laurent I would start a discussion on OpenCL and Macruby on the ML, and here I am :) I wrote a small hack for MacRuby that adds basic (and hacky) support for OpenCL kernels running on your GPUs or CPUs. You can read about it on my blog post here http://blog.0x82.com/2010/1/

Re: [MacRuby-devel] spotlight - MDItemRef

2009-11-04 Thread Ruben Fonseca
Hey Eloy! On Oct 30, 2009, at 9:50 PM, Eloy Duran wrote: Hey, Forgive me that I haven't read the complete thread, so ignore this if it's not a possibility. But couldn't you use NSMetadataItem etc? You know what this silence means don't you? :) I had no idea about NSMetadataItem.. Ho

Re: [MacRuby-devel] spotlight - MDItemRef

2009-10-30 Thread Ruben Fonseca
Hi Lauren! On Oct 29, 2009, at 8:17 PM, Laurent Sansonetti wrote: It would definitely be interesting to share the wrappers, but I don't know if bundling them as part of MacRuby is a good idea. If we start doing that we would have to make sure all wrappers are consistent. And these wrappers

Re: [MacRuby-devel] spotlight - MDItemRef

2009-10-29 Thread Ruben Fonseca
Hi Josh! On Oct 29, 2009, at 5:48 PM, Josh Ballanco wrote: Hi Ruben, Using an Objective-C class in a MacRuby script is the first step in both recipes currently posted to the MacRuby website (http://www.macruby.org/documentation.html ). Your choices are either to add a "dummy" Init_foo{} fun

Re: [MacRuby-devel] spotlight - MDItemRef

2009-10-29 Thread Ruben Fonseca
Hi Alan! Thank you, that's very simple. However I'm still curious about the daily non-Xcode scripts. Image I want to write a macruby script that uses my Objective-C helper class. What's the easiest way to accomplish that outside XCode? Ruben On Oct 29, 2009, at 11:43 AM, Alan Skipp wrote:

Re: [MacRuby-devel] spotlight - MDItemRef

2009-10-29 Thread Ruben Fonseca
Hi Alan! Thank you, that's very simple. However I'm still curious about the daily non-Xcode scripts. Image I want to write a macruby script that uses my Objective-C helper class. What's the easiest way to accomplish that outside XCode? Ruben On Oct 29, 2009, at 11:43 AM, Alan Skipp wrote:

Re: [MacRuby-devel] spotlight - MDItemRef

2009-10-29 Thread Ruben Fonseca
Hi Laurent. Just a quick question. On Oct 28, 2009, at 12:31 AM, Laurent Sansonetti wrote: Hi Alan, I'm afraid the MD* APIs haven't been covered by BridgeSupport yet, so it may not be possible to call it directly from MacRuby at this point. I would recommend to file a bug at http:// bugre

Re: [MacRuby-devel] spotlight - MDItemRef

2009-10-29 Thread Ruben Fonseca
Hi Laurent! On Oct 28, 2009, at 12:31 AM, Laurent Sansonetti wrote: and to wrap this C API into an Objective-C class that you can call from MacRuby in the meantime. Laurent Just a quick question. Imagine I have an Objective-C class that wraps that API. How can I then use it on a Macruby

[MacRuby-devel] newbie wants to help

2009-06-01 Thread Ruben Fonseca
Hi @all again After successfully building the experimental branch of macruby and run some tests, I would like to offer some of my spare time to help the project. However, I have no idea on where to start. Do you have some "janitor" work or so that I could do, in order to better understand

Re: [MacRuby-devel] macruby-experimental build failing

2009-06-01 Thread Ruben Fonseca
Hi @all! On Mon Jun 01, 2009 at 10:55:26AM +0900, Vincent Isambart wrote: > > So either use LLVM 2.5 or wait for macruby to upgrade to 2.6 > 2.5 does not work with MacRuby either. For the time being you need the > SVN revision of LLVM written in README.rdoc. Thank you for all your replies. I reco

[MacRuby-devel] macruby-experimental build failing

2009-05-31 Thread Ruben Fonseca
hi I was trying to build the trunk on the 'experimental' branch. I checked out the source form SVN, followed the README.rdoc, but the build is failing and I have no clue why. (the only modification I did is install LLVM to /opt/local, using SVN trunk) the error is /usr/bin/g++ -I/opt/l