Re: [MacRuby-devel] Update (Laurent Sansonetti)

2012-04-12 Thread Laurent Sansonetti
;> >> >> Hi, >> >> >> >> We only added the install location to correspond to Xcode 4.3 for >> >> template and rb_nibtool. >> >> I think we did not change template itself. >> >> >> >> I had confirmed below combina

Re: [MacRuby-devel] Update (Laurent Sansonetti)

2012-04-12 Thread Laurent Sansonetti
On Thu, Apr 12, 2012 at 8:32 AM, Tim Rand wrote: > "First, we will release master as 0.12 (and just forget about 0.11). It > is important since master has changes for the latest Xcode that have > never been snipped yet." > > Does that mean the macruby project template will be updated to work with

[MacRuby-devel] Update

2012-04-10 Thread Laurent Sansonetti
Hi guys, So we had a team chat, and we agreed on the following. First, we will release master as 0.12 (and just forget about 0.11). It is important since master has changes for the latest Xcode that have never been snipped yet. I will work on this. In the meantime, if you can, please do install o

Re: [MacRuby-devel] Future of MacRuby

2012-04-07 Thread Laurent Sansonetti
On Fri, Apr 6, 2012 at 9:09 PM, Jordan K. Hubbard wrote: > > On Apr 6, 2012, at 4:20 AM, Laurent Sansonetti > wrote: > > Yes, I'm still alive :) As you may have noticed, I have been absent > here for a few months. > > > [ Looks at Calendar]  I think it was close

Re: [MacRuby-devel] The Future of MacRuby

2012-04-07 Thread Laurent Sansonetti
Yes, ARC as is can't be used in MacRuby, but the principles can be ported. Which is what I did, more or less, in an experimental branch. Now, there are various challenges to solve in order to reach stability, but don't worry, we will get there. Laurent 2012/4/7 Francis Chong : > Automatic Referen

[MacRuby-devel] Future of MacRuby

2012-04-06 Thread Laurent Sansonetti
Hi guys, Yes, I'm still alive :) As you may have noticed, I have been absent here for a few months. Last year we got a baby, then we moved back to Europe. I decided to leave Apple a few months ago to achieve one of my dreams: work on a startup, in part so that I would be flexible in my time and be

Re: [MacRuby-devel] MacRuby and ARC was: Advice for Total Tyro

2011-10-18 Thread Laurent Sansonetti
Hi Perry, On Tue, Oct 18, 2011 at 12:07 AM, Perry E. Metzger wrote: > On Mon, 17 Oct 2011 13:44:56 -0700 Matt Aimonetti > wrote: >> See my earlier reply, basically, you are right, it is technically >> possible to change the way MacRuby works to use an automatic >> reference counting approach. >>

[MacRuby-devel] brace yourselves, 0.11 is coming!

2011-10-17 Thread Laurent Sansonetti
Hi guys, No it isn't a joke, 0.11 is really coming out! I uploaded an installer, please give it a try with your project and let us know if it works, or not. https://github.com/downloads/MacRuby/MacRuby/MacRuby%200.11.zip In the meantime I'm preparing the release notes. If everything goes well,

Re: [MacRuby-devel] [ANN] Launch: MemoryCloud - Where memories live

2011-09-18 Thread Laurent Sansonetti
A bit late to the party... but congratulations, it looks great, and thanks for using MacRuby :-) Laurent On Thu, Sep 1, 2011 at 6:16 PM, Steven Buxton wrote: > > http://memorycloudapp.com - We built this 100% in MacRuby 0.10 and it was a > blast to build.  Started building it in 0.6 and worked o

Re: [MacRuby-devel] Invoking an obj-c method requiring a block

2011-09-18 Thread Laurent Sansonetti
Hi Andy, Blocks should work. Perhaps there is a problem with this very specific API. Could you file a ticket? We will investigate. Thanks Laurent On Sat, Aug 20, 2011 at 11:52 PM, Andy Park wrote: > I tried using blocks today, to no avail. > > This didn't work: >                NSNotificationCe

Re: [MacRuby-devel] -twolevel_namespace issue?

2011-09-18 Thread Laurent Sansonetti
Hi Jeremy, Could the problem be fixed by linking statically your own copy of SQLite against the Amalgalite library, and perhaps passing all SQLite symbols to -unexported_symbols_list during ld time? I am guessing symbols wouldn't collide anymore this way. >From what I understand, it looks like it

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

2011-09-18 Thread Laurent Sansonetti
Hi Robert I guess it can be either a problem in MacRuby or a problem in Lion. Can you share more details 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

Re: [MacRuby-devel] linking an NSTextView with my AppDelegate

2011-09-18 Thread Laurent Sansonetti
Hi Brice, AFAIK, IB support in Xcode4 was broken for a long time but has been fixed in the beta builds. Unless you can't use the beta, http://www.macruby.org/trac/ticket/1322 contains a workaround. Laurent On Mon, Sep 12, 2011 at 9:37 PM, Brice Ruth wrote: > Good afternoon - > > I saw a thread

Re: [MacRuby-devel] macruby produces strings with encodings that differ from MRI

2011-09-18 Thread Laurent Sansonetti
Hi Steve, It would be nice to know what exactly in ruby-mysql causes the problem. If you can reduce the problem to a simple code snippet or point us to the ruby-mysql source code it would be great. Thanks Laurent On Sun, Sep 18, 2011 at 8:38 AM, Steve Clarke wrote: > Yes, looks like the same is

Re: [MacRuby-devel] 0.11 schedule

2011-06-20 Thread Laurent Sansonetti
myself get > distracted by my kids, once I got to a stable state again. :) > I'll reproduce it this evening and file a ticket with the output and what I > can figure out. > --  Morgan > > On Mon, Jun 20, 2011 at 3:54 PM, Laurent Sansonetti > wrote: >> >> Thanks Morgan.

Re: [MacRuby-devel] 0.11 schedule

2011-06-20 Thread Laurent Sansonetti
is problem in spades until I downgraded to 0.10, but if > you install the mechanize gem on a 0.11 version it pretty consistently fails > to load. > Since nokogiri and mechanize are pretty important to what I'm building, it's > a bad place to be... :/ > --  Morgan >

Re: [MacRuby-devel] 0.11 schedule

2011-06-20 Thread Laurent Sansonetti
; Martin > > On Mon, Jun 20, 2011 at 22:20, Laurent Sansonetti > wrote: >> Hi guys, >> >> A lot of good work has been integrated into master recently, so it's >> now time to think about making a new release (hopefully it will be the >> last 0.x relea

[MacRuby-devel] 0.11 schedule

2011-06-20 Thread Laurent Sansonetti
Hi guys, A lot of good work has been integrated into master recently, so it's now time to think about making a new release (hopefully it will be the last 0.x release!). Here is a list of bugs I think are blockers to this release: http://www.macruby.org/trac/ticket/1286 http://www.macruby.org/tra

Re: [MacRuby-devel] Does everyone do this with their MacRuby apps?

2011-06-17 Thread Laurent Sansonetti
I think we need an "official" tutorial on the website on how to prepare an app for submission to the app store. Is someone here interested in contributing to it? Laurent On Jun 17, 2011, at 12:34 AM, Andre Lewis wrote: > I wrote the post at > http://redwoodapp.posterous.com/macruby-and-xcode-

Re: [MacRuby-devel] Re: Nokogiri leaks

2011-05-28 Thread Laurent Sansonetti
The free function pointer is not honored by MacRuby, yet. But it can be done :) Can you file a ticket? Thanks, Laurent On Sat, May 28, 2011 at 8:07 AM, Watson wrote: > Hi, > I think that MacRuby needs to call a deallocating function which specified > with Data_Wrap_Struct() macro. > > > Thank yo

Re: [MacRuby-devel] Dynamic refresh in a view - xcode 4 / MacRuby

2011-05-25 Thread Laurent Sansonetti
Just one minor detail, the NSTimer callback method accepts an argument (which is a reference to the NSTimer object). So it should be: def drawWord(sender) … end If it works otherwise, then it's pure luck :) Laurent On May 24, 2011, at 10:50 PM, Thomas R. Koll wrote: > Laurent is righ

Re: [MacRuby-devel] Break in Block Fails only in Macruby

2011-05-25 Thread Laurent Sansonetti
Indeed. $ ./miniruby -e "require 'find'; p Find.find('.') { break 42 }" nil $ ruby1.9 -e "require 'find'; p Find.find('.') { break 42 }" 42 Can you file a ticket? Thanks, Laurent On May 25, 2011, at 1:23 PM, Shannon Love wrote: > Greetings, > > If I run the following under the system ruby 1.8

Re: [MacRuby-devel] Dynamic refresh in a view - xcode 4 / MacRuby

2011-05-24 Thread Laurent Sansonetti
Hi, It doesn't work because you're (probably) blocking the main thread, which is responsible for drawing. What you want to do instead is scheduling a timer inside the main run loop. Look at the NSTimer class. Also, don't forget to force the view to be redrawn, by using the setNeedsDisplay: method.

Re: [MacRuby-devel] Constant definitions

2011-05-24 Thread Laurent Sansonetti
Hi Bob, https://github.com/MacRuby/MacRuby/commit/68ac3fcaf1041ef9b25fb3bc940a47f41505b7e5 happened. This fixes bugs but also 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/

Re: [MacRuby-devel] MacRuby WWDC Meetup

2011-05-23 Thread Laurent Sansonetti
1, at 9:08 PM, Christian Niles wrote: > >> On May 20, 2011, at 1:55 PM, Laurent Sansonetti wrote: >> >>> I can't speak for Erik, but I'm not allowed to do any presentation. I can >>> attend the meeting, discuss the project and answer questions though (like

Re: [MacRuby-devel] MacRuby WWDC Meetup

2011-05-20 Thread Laurent Sansonetti
On May 20, 2011, at 1:03 PM, Christian Niles wrote: > On May 20, 2011, at 12:21 PM, Laurent Sansonetti wrote: > >> Hi Christian, >> >> Awesome! Thanks for setting this up! >> >> I think we should wait one more day before advertising the link on twitter,

Re: [MacRuby-devel] MacRuby WWDC Meetup

2011-05-20 Thread Laurent Sansonetti
ventbrite.com/ > > Right now I have Erik Michaels-Ober and Laurent Sansonetti on board to give > some brief presentations. If anyone else feels like presenting a topic or a > project, let me know. > > Also, please help out and publicize this event. Attendance is limited to 50

Re: [MacRuby-devel] macruby_deploy and nokogiri - LoadError on some mac

2011-05-18 Thread Laurent Sansonetti
http://www.macruby.org/trac/ticket/1286 Laurent On May 18, 2011, at 1:57 PM, Laurent Sansonetti wrote: > Good catch! > > It looks like we could improve macruby_deploy to warn (or die?) if of the > embedded binaries link against something in /opt (or better, in anything but > t

Re: [MacRuby-devel] macruby_deploy and nokogiri - LoadError on some mac

2011-05-18 Thread Laurent Sansonetti
Good catch! It looks like we could improve macruby_deploy to warn (or die?) if of the embedded binaries link against something in /opt (or better, in anything but the default link paths). That would make sure this problem would not happen again. Laurent On May 18, 2011, at 9:06 AM, Eloy Duran

Re: [MacRuby-devel] Syntax Coloring in XCode 4

2011-05-17 Thread Laurent Sansonetti
Hi Alec / Chris, You may want to tell the Xcode team: http://bugreporter.apple.com Laurent On Mon, May 16, 2011 at 8:13 PM, Chris Rhoden wrote: > Hey Alec, > This is something that's come up on the list previously; unfortunately, it's > out of our hands. Apple needs to support it with the way t

Re: [MacRuby-devel] String#sub/gsub and text encodings

2011-05-16 Thread Laurent Sansonetti
Hi Caio, On May 16, 2011, at 2:21 PM, Caio Chassot wrote: > On 2011-05-16, at 00:37 , Laurent Sansonetti wrote: > >> Filling dups is always a good idea as it helps up prioritizing work. > > Oh Laurent, please let's not encourage this terrible dupes-as-voting-system &g

Re: [MacRuby-devel] String#sub/gsub and text encodings

2011-05-15 Thread Laurent Sansonetti
If the script works different in CRuby 1.9, then a ticket will be helpful too, as it is likely something we need to fix. I don't know by heart if it's a well-known issue, but we will figure it out later. Filling dups is always a good idea as it helps up prioritizing work. Thanks, Laurent On Ma

Re: [MacRuby-devel] Invoking a block in MacRuby, instantiated in Objective-C

2011-05-15 Thread Laurent Sansonetti
Hi Christian, I think I only implemented Ruby -> ObjC blocks support, not the other way around :) I didn't know Cocoa was exposing APIs returning ObjC blocks yet. Could you file a ticket? I will try to get that fixed in the upcoming release. Thanks, Laurent On May 15, 2011, at 1:42 PM, Christi

Re: [MacRuby-devel] handlers and carets

2011-05-06 Thread Laurent Sansonetti
Hi Pavlos, You simply pass a Proc object. handler = Proc.new do |result| if result == … ... end oPanel.beginSheetModalForWindow self.window, completionHandler: handler Make sure you installed the latest BridgeSupport preview before, avail

Re: [MacRuby-devel] Unable to Upload Application to the App store

2011-05-06 Thread Laurent Sansonetti
Hi Daniel, What version of MacRuby are you using? You may want to try a nightly build as it contains up to date fixes in the deployment tool. Laurent On May 6, 2011, at 12:06 PM, Daniel Westendorf wrote: > Hi all, > > I'm running into some trouble uploading my application to the App store. I

Re: [MacRuby-devel] hpricot and macruby?

2011-05-04 Thread Laurent Sansonetti
Hi Daniel, I think the master branch is able to run hpricot, although I recommend using NSXMLDocument. Laurent On May 4, 2011, at 12:56 PM, macr...@djc.net wrote: > With: > MacRuby 0.10 (ruby 1.9.2) [universal-darwin10.0, x86_64] > and having done successfully: > macgem install hpricot ... >

Re: [MacRuby-devel] Failure with outlineView data source

2011-04-30 Thread Laurent Sansonetti
Hi Malcolm, Have you tried removing the #to_s call in the outlineView:objectValueForTableColumn:byItem: method? An important thing to keep in mind when writing an outline view data source is to always return the same object reference for an item, not copies. The references must also be unique. La

Re: [MacRuby-devel] Sqlite3 without core data

2011-04-28 Thread Laurent Sansonetti
Hi Petr, Have you tried using `macruby_deploy --embed --gem ...' instead of vendoring the gems by yourself? It should work out of the box, and you do not need to change LOAD_PATH. Laurent On Thu, Apr 28, 2011 at 1:16 AM, Petr Kaleta wrote: > Thanks for this hint, this lib looks great. Problem i

Re: [MacRuby-devel] macruby_deploy --embed bug

2011-04-17 Thread Laurent Sansonetti
On Apr 17, 2011, at 2:18 PM, Nathaniel Talbott wrote: > On Sun, Apr 17, 2011 at 12:07 PM, Nathaniel Talbott > wrote: > >> Tonight I'll be able to submit a reproduction of the issue (have to >> run out now) but in the meantime, any ideas as to what the cause might >> be? > > After doing a bit of

Re: [MacRuby-devel] BridgeSupport crash

2011-04-17 Thread Laurent Sansonetti
On Apr 16, 2011, at 11:34 AM, Nathaniel Talbott wrote: > In the meantime, is there any simple workaround for 0.10? Would love > to get this app shipped in working form to my alpha testers > post-haste. Sadly no, but either your patch or embedding the master branch of MacRuby should work. At this

Re: [MacRuby-devel] BridgeSupport crash

2011-04-17 Thread Laurent Sansonetti
On Apr 16, 2011, at 2:30 PM, Nathaniel Talbott wrote: > On Sat, Apr 16, 2011 at 2:34 PM, Nathaniel Talbott > wrote: > >> Excellent! Can't wait to see your commit, since I've been playing with >> a fix and am curious if I'm even looking in the right place :-) > > Attached is my hacky patch; my s

Re: [MacRuby-devel] BridgeSupport crash

2011-04-16 Thread Laurent Sansonetti
On Apr 16, 2011, at 6:52 AM, Nathaniel Talbott wrote: > On Sat, Apr 16, 2011 at 9:29 AM, Nathaniel Talbott > wrote: > >> I have not tried to get it to crash on my development box (though I'll >> probably attempt that next); perhaps the difference is running it on a >> box that truly has never h

Re: [MacRuby-devel] BridgeSupport crash

2011-04-15 Thread Laurent Sansonetti
u embedded in your app. Do you have any framework (other than MacRuby) inside your app? If yes, did you generate a BridgeSupport file for it? Also, it would be interesting if you could reduce the problem to a sample .app that you can give me. Laurent On Apr 15, 2011, at 8:16 PM, Laurent Sanson

Re: [MacRuby-devel] BridgeSupport crash

2011-04-15 Thread Laurent Sansonetti
Hi Nathaniel, This is likely the same problem as http://www.macruby.org/trac/ticket/1217. I'll have a look, hopefully I should be able to get a fix this week-end. Laurent On Apr 15, 2011, at 8:58 AM, Nathaniel Talbott wrote: > I have a MacRuby app that's working great on my local box, but when

Re: [MacRuby-devel] I want to talk about MacRuby support of Lion.

2011-04-07 Thread Laurent Sansonetti
Hi Kouji, We can continue this conversation privately (off-list). I dropped you an e-mail. Laurent On Apr 7, 2011, at 7:49 PM, Takao Kouji wrote: > Hi, > > I have joined the "Mac Developer Program". > I am compiling and testing MacRuby on Mac OS X Lion Preview 2. > I am using CruiseControl.rb

Re: [MacRuby-devel] WWDC ?

2011-04-07 Thread Laurent Sansonetti
. Laurent On Apr 7, 2011, at 12:01 PM, Christian Niles wrote: > Hey Laurent, > > How many people came last year? I can start asking around and see if any > local companies have the space to host a meetup. > > christian. > > On Apr 6, 2011, at 6:34 PM, Laurent Sansonetti wro

Re: [MacRuby-devel] WWDC ?

2011-04-07 Thread Laurent Sansonetti
On Apr 6, 2011, at 10:10 PM, Rich Morin wrote: > At 6:34 PM -0700 4/6/11, Laurent Sansonetti wrote: >> (Sorry for the late reply!) >> >> I would be glad to attend any MacRuby meetup during WWDC, >> and reply to any question and discuss MacRuby's current >>

Re: [MacRuby-devel] Tyro Needs Ruby vs. O-C Advice

2011-04-06 Thread Laurent Sansonetti
Hi Bryan, I see that many people responded to that thread, but I would like to still add the following points: 1) MacRuby can't be used for iOS programming at this time. 2) In order to fully program in Objective-C, you must know C first. If you're a seasoned C programmer, picking Objective-C s

Re: [MacRuby-devel] WWDC ?

2011-04-06 Thread Laurent Sansonetti
(Sorry for the late reply!) I would be glad to attend any MacRuby meetup during WWDC, and reply to any question and discuss MacRuby's current state and future. Rich, if you still desire to organize something, please go ahead. Last year I tried to organize something but it was a failure, too ma

Re: [MacRuby-devel] Moving to GitHub!

2011-03-28 Thread Laurent Sansonetti
The move is now complete! I wrote a small message on the blog: http://www.macruby.org/blog/2011/03/26/github.html Now let's continue fixing 1.0 bugs :) Laurent On Mar 25, 2011, at 9:30 PM, Laurent Sansonetti wrote: > Hi guys, > > We finally decided to move MacRuby's sou

[MacRuby-devel] Moving to GitHub!

2011-03-25 Thread Laurent Sansonetti
Hi guys, We finally decided to move MacRuby's source code repository from subversion to Git, and GitHub seems to be the best place to do it. The move will happen somewhere this week-end, or Monday. The repository address will be: https://github.com/MacRuby/MacRuby. Currently, this repository i

Re: [MacRuby-devel] Xcode 4 LLVM >= r127367

2011-03-23 Thread Laurent Sansonetti
Hi Dave, Xcode4 does not expose the LLVM header files and libraries needed for MacRuby, so you will have to build and install LLVM by yourself (as outlined in the README.rdoc file). Xcode4, on the other side, installs clang, which can be used to compile MacRuby instead of gcc, but you will sti

[MacRuby-devel] [ANN] MacRuby 0.10

2011-03-23 Thread Laurent Sansonetti
Hi, After just a couple weeks of development since the last release, MacRuby 0.10 is now available. Get it here while it's still hot! MacRuby is an implementation of Ruby 1.9 directly on top of Mac OS X core technologies such as the Objective-C runtime and garbage collector, the LLVM compiler inf

Re: [MacRuby-devel] 0.10 - update

2011-03-23 Thread Laurent Sansonetti
Here are the release notes. Highlights: - Support for the new MacBook Pro hardware (SandyBridge processors). - Fixes in macruby_deploy for App Store submissions. - Xcode4 support. - Minor stability fixes. Changes: - Fixed a bug where we would crash when protecting an internal call during an ex

[MacRuby-devel] 0.10 - update

2011-03-23 Thread Laurent Sansonetti
Hi guys, As the Xcode4 templates seem to be functional, I just branched trunk for the 0.10 release. I will do more testing and hopefully, 0.10 should be released either tonight or tomorrow! Development continues in trunk, which is now using the 0.11 version number. Laurent

Re: [MacRuby-devel] Why the MacRuby does not implement cref?

2011-03-23 Thread Laurent Sansonetti
Hi Kouji, I think that you're looking for the current_class variable of RoxorVM and the rb_vm_outer_t structure. That's how const lookup is implemented in MacRuby, basically. It is possible that the current implementation is not good enough in order to fix these issues and that a solution like

Re: [MacRuby-devel] Proposal: splitting macrubyc UI from logic

2011-03-23 Thread Laurent Sansonetti
Hi Mark, Sorry for the late reply. Could you file at ticket and add a link to the changes on github? I will look into this once we release 0.10. Thanks! Laurent On Mar 14, 2011, at 6:58 PM, Mark Rada wrote: > On 2011-03-14, at 16:05, Laurent Sansonetti wrote: > >> Hi Mar

[MacRuby-devel] xcode4 templates - update

2011-03-22 Thread Laurent Sansonetti
Hi guys, I know some of you are waiting for the Xcode4 templates. Some work has been committed to trunk. You should be able to create new MacRuby projects from Xcode4 (basic, document-based, core-data based or preference pane). Each template has a Deployment target builtin that will call macrub

Re: [MacRuby-devel] MacRuby build issues with LLVM

2011-03-18 Thread Laurent Sansonetti
undle it. Laurent On Mar 18, 2011, at 11:56 AM, Geoffrey Grosenbach wrote: > On Thu, Mar 10, 2011 at 1:34 PM, Laurent Sansonetti > wrote: >> Thanks for verifying the fixes. I will release trunk as 0.10 tomorrow >> evening. > > Is this still the plan? Many customers ar

Re: [MacRuby-devel] TIL - Uncaught exceptions in threads cause SIGABRT in the main thread!

2011-03-14 Thread Laurent Sansonetti
Hi Morgan, Well in theory, you should NOT get a segfault when doing that. When an exception isn't rescued inside a Thread, the correct behavior is that the thread will quit, and that the exception will be silently ignored. Then, once the Thread object is garbage collected, if the exception has

Re: [MacRuby-devel] "framework" method gotcha

2011-03-14 Thread Laurent Sansonetti
Hi Christian, These tests should probably be removed, they are not used anymore (these were used before we switched to RubySpec). The correct thing to do is probably make a macruby spec (under the spec/macruby directory). How do you intend to change #framework exactly? Maybe you should work on

Re: [MacRuby-devel] Proposal: splitting macrubyc UI from logic

2011-03-14 Thread Laurent Sansonetti
Hi Mark, As macrubyc's compilation logic is essentially spawning several command-line tools, I wonder if calling the logic directly from macruby_deploy is going to bring significant advantages, vs the complexity of splitting macrubyc. I think a better strategy would be to optimize what's slow i

Re: [MacRuby-devel] macruby_deploy not embedding all of MacRuby

2011-03-11 Thread Laurent Sansonetti
Hi Kevin, It sounds like a data corruption problem, but it could also maybe due to running the application on an Intel 32-bit machine (because, as of 0.10, i386 support is not built in anymore by default). I would run md5 hashes on both the embedded dylib and the one in /Library/Frameworks to

Re: [MacRuby-devel] Xcode 4 is out... any plan to integrate soon?

2011-03-11 Thread Laurent Sansonetti
I just tested Xcode4 on a Snow Leopard machine, after having re-installed MacRuby, and it seems that outlets and actions are recognized again! Thanks for letting me know, I will prepare and integrate some templates into the upcoming 0.10 release. Laurent On Mar 11, 2011, at 12:53 PM, Shaun Aug

[MacRuby-devel] trunk depends on a new LLVM

2011-03-11 Thread Laurent Sansonetti
For those compiling from the repository: MacRuby now requires LLVM 2.9. I tested revision 127367 to be okay, so I recommend this one. The README.rdoc file has been updated with newer instructions. Also, as trunk no longer builds for i386 by default, LLVM doesn't need to be built for it anymore,

Re: [MacRuby-devel] Note of warning about Xcode 4

2011-03-10 Thread Laurent Sansonetti
Hi Sven, On Mar 10, 2011, at 2:56 PM, Sven Schwyn wrote: > Hi Laurent > >> What Vincent is referring to is the Xcode 3 feature where IB would >> automatically reveal the outlets and actions written in Ruby. This is not >> working in Xcode 4, and may be the reason why you want to stick to Xcode

Re: [MacRuby-devel] MacRuby build issues with LLVM

2011-03-10 Thread Laurent Sansonetti
in my previous laptop? Is it perhaps just that > LLVM is failing to detect the CPU correctly, and is creating code based on > incorrect assumptions? > > On 10 Mar 2011, at 02:27, Laurent Sansonetti wrote: > >> I got confirmation that trunk as of r5271 should work. Becaus

Re: [MacRuby-devel] Note of warning about Xcode 4

2011-03-10 Thread Laurent Sansonetti
Hi Sven, On Mar 10, 2011, at 2:09 AM, Sven Schwyn wrote: > Hi > > Referring to Vincent's recent post: > >> - But the biggest problem is that currently there is no MacRuby support in >> the interface editor: the actions and properties added in the Ruby code >> won't appear in the interface edi

Re: [MacRuby-devel] MacRuby build issues with LLVM

2011-03-09 Thread Laurent Sansonetti
Example: $ rake > CFLAGS="-D__SUPPORT_LLVM_29__" jobs=8 > > If this fixes the problem, we might need to roll out a MacRuby release with > this new LLVM soon, as I suspect the problem will hit many people. > > Laurent > > On Mar 9, 2011, at 2:10 PM, Laurent Sansonetti wrot

Re: [MacRuby-devel] MacRuby build issues with LLVM

2011-03-09 Thread Laurent Sansonetti
uot; jobs=8 If this fixes the problem, we might need to roll out a MacRuby release with this new LLVM soon, as I suspect the problem will hit many people. Laurent On Mar 9, 2011, at 2:10 PM, Laurent Sansonetti wrote: > Okay, API breakage, but I can reproduce that on my machine :) I will ha

Re: [MacRuby-devel] MacRuby build issues with LLVM

2011-03-09 Thread Laurent Sansonetti
on of ‘DIFactory’ with no type > compiler.h:82: error: expected ‘;’ before ‘*’ token > rake aborted! > Command failed with status (1): [/usr/bin/g++-4.2 -I. -I./include -fblocks > ...] > > (See full trace by running task with --trace) > > > > > On 9 Mar 2011, at 21:3

Re: [MacRuby-devel] MacRuby build issues with LLVM

2011-03-09 Thread Laurent Sansonetti
LLVM supports the new hardware and that it doesn't introduce API breakage. 2) Re-build and install MacRuby trunk after doing a rake clean. Laurent On Mar 9, 2011, at 1:08 PM, Laurent Sansonetti wrote: > Sorry the late reply. It's probably because this version of LLVM that we use &g

Re: [MacRuby-devel] MacRuby build issues with LLVM

2011-03-09 Thread Laurent Sansonetti
Sorry the late reply. It's probably because this version of LLVM that we use cannot target the new CPU yet. I will investigate :) Laurent On Mar 9, 2011, at 12:10 PM, Nick Ludlam wrote: > Yes, this looks like it's exactly the problem I'm having, from the look of > the log, so perhaps it's a Sa

Re: [MacRuby-devel] macgem and macirb broken after trunk r5248 (0.10) install

2011-02-26 Thread Laurent Sansonetti
Hi Franco, As the version number got changed, I recommend starting with a fresh copy of MacRuby, by doing a `rake clean'. Then, you can build the project as usual, then you may want to delete the /Library/Frameworks/MacRuby.framework directory before doing a `rake install' (though this should n

Re: [MacRuby-devel] stopping to build for i386

2011-02-25 Thread Laurent Sansonetti
Hi Eric, On Feb 24, 2011, at 2:19 PM, Eric Christopherson wrote: > On Tue, Feb 22, 2011 at 8:31 PM, Laurent Sansonetti > wrote: >> Hi, >> As of r5239 in trunk, the default build process will no longer build for >> both i386 and x86_64, but just x86_64. This is an attemp

Re: [MacRuby-devel] iokit again

2011-02-25 Thread Laurent Sansonetti
Hi Joel, Support is almost complete, be patient a bit more. Also, please follow up on the ticket (that's what they are meant to be used for). Laurent On Feb 23, 2011, at 12:20 PM, Joel Reymont wrote: > I'm chomping at the bit to have IOKit support in MacRuby. > > Can you tell me what needs t

[MacRuby-devel] [ANN] MacRuby 0.9

2011-02-25 Thread Laurent Sansonetti
Hi, After about 2 months of development since the last release, MacRuby 0.9 is now available. Get it here while it's still hot! MacRuby is an implementation of Ruby 1.9 directly on top of Mac OS X core technologies such as the Objective-C runtime and garbage collector, the LLVM compiler infrastru

[MacRuby-devel] MacRuby 0.9 release notes

2011-02-25 Thread Laurent Sansonetti
Here are the release notes for MacRuby 0.9! An e-mail announcing the release will be following. Highlights: - Lots of stability fixes (crashers, memory leaks and race conditions), and a few performance improvements. - The internal representation of Strings changed from a dual binary / UTF-16 m

Re: [MacRuby-devel] 0.9 update

2011-02-23 Thread Laurent Sansonetti
Hi Andre, Thanks for reporting this. Are you using the new macruby_deploy --gem option to embed the gems? Laurent On Feb 23, 2011, at 5:33 PM, Andre Lewis wrote: > It would be nice if you could try the latest nightly build with your app and > favorite Ruby lib > > My app is working with 0.9.

Re: [MacRuby-devel] 0.9 update

2011-02-23 Thread Laurent Sansonetti
due to > a bug that was fixed two days after 0.8 came out. :) > > Btw, can I contribute an example of a StatusBarMenu with a custom view in one > of the menuitems? > > ciao, tom > > > Am 22.02.2011 um 23:20 schrieb Laurent Sansonetti: > >> Hi guys, >>

Re: [MacRuby-devel] NoMethodError (ib_outlets)

2011-02-23 Thread Laurent Sansonetti
Hi Rob, ib_outlets is an old RubyCocoa craft that is not supported in MacRuby since a long time. You can define IB outlets using the attr_writer or attr_accessor methods. You can define IB actions by defining methods accepting a single argument, named 'sender'. There are lots of documentation

[MacRuby-devel] stopping to build for i386

2011-02-22 Thread Laurent Sansonetti
Hi, As of r5239 in trunk, the default build process will no longer build for both i386 and x86_64, but just x86_64. This is an attempt at accelerating the build process and reducing the framework objects size. We are however not removing any i386-related code from the project, and one will sti

Re: [MacRuby-devel] Towards a compile option for macgem

2011-02-22 Thread Laurent Sansonetti
I think that macgem should just compile the gem source files during installation, by default. We could eventually add a --no-compile argument to skip the compilation. There is just one problem: AOT compilation does not remember the DWARF metadata yet, so backtraces won't be complete. This is th

Re: [MacRuby-devel] NSLocalizedString

2011-02-22 Thread Laurent Sansonetti
We could add such a method in MacRuby core, but I wonder if it will be really that much of a use. NSLocalizedString macros are used in Objective-C programs because they are parsed by the genstrings command-line tool, to generate the translation file. I am not sure if genstrings can be used on Ru

[MacRuby-devel] 0.9 update

2011-02-22 Thread Laurent Sansonetti
Hi guys, 0.9 is now ready to be released! (really!). The trunk branch has been copied as branches/0.9 and we will continue the development on trunk, which now uses the 0.10 version number. It would be nice if you could try the latest nightly build with your app and favorite Ruby lib, and let m

[MacRuby-devel] 0.9 update

2011-02-22 Thread Laurent Sansonetti
Hi guys, 0.9 is now ready to be released! (really!). The trunk branch has been copied as branches/0.9 and we will continue the development on trunk, which now uses the 0.10 version number. It would be nice if you could try the latest nightly build with your app and favorite Ruby lib, and let m

Re: [MacRuby-devel] WeakRef advice

2011-02-15 Thread Laurent Sansonetti
so neither object goes out of scope > and neither can be garbage collected. > > If I changed the implementation perhaps I could avoid this problem, though > I'm not sure what the solution would be as yet. > > al > > On 14 Feb 2011, at 22:09, Laurent Sansonetti wr

Re: [MacRuby-devel] WeakRef advice

2011-02-14 Thread Laurent Sansonetti
Hi Alan, MacRuby should have the same problem. ObjectSpace._id2ref in MacRuby basically maps an object pointer value to a numerical description, and the GC recycles objects. I am curious why you need weak references, though. MacRuby is able to detect and deal with reference cycles, so you sho

Re: [MacRuby-devel] MacRuby 0.9 - crash using Proc.new with NSArray.enumerateObjectsUsingBlock

2011-02-13 Thread Laurent Sansonetti
Hi Jonathan, Your snippet does not require the Foundation framework. Add the following line to your script framework 'Foundation' You will also need MacRuby 0.8 and the latest BridgeSupport Preview 3 release. Then let us know if you still reproduce the crash. The snippet works fine i

[MacRuby-devel] macruby_deploy changes

2011-02-09 Thread Laurent Sansonetti
Hi guys, For those who are not following trunk, macruby_deploy got some changes recently: - The --gem option is added. This option will embed the given RubyGem and its dependencies inside the application's bundle. ex. $ macruby_deploy --embed --gem nokogiri Foo.app - The --bs option is added

Re: [MacRuby-devel] error: gc operation on unregistered thread

2011-02-09 Thread Laurent Sansonetti
It is not a MacRuby problem. This message is triggered by the GC when an operation (allocation, collection, whatever) happens on a thread that has not been registered. I suspect macfuse spawns new pthreads without calling the objc_registerThreadWithCollector() function. Laurent On Feb 9, 2011,

Re: [MacRuby-devel] macfuse example broken again?

2011-02-09 Thread Laurent Sansonetti
Please open a new ticket and we will look :) Laurent On Feb 9, 2011, at 7:49 AM, Joel Reymont wrote: > Is it just me or has the hellofs example [1] stopped working again? > > [1] http://www.macruby.org/trac/ticket/922 > >

Re: [MacRuby-devel] BridgeSupport Requirement

2011-02-09 Thread Laurent Sansonetti
u said was difficult) it's going to be hard to fix this. > > regards > Martin > > On Feb 8, 10:54 pm, Laurent Sansonetti wrote: > >> Seems good! Let us know if it does not work. >> >>>>>> I think we should add an option to macruby_deploy to auto

Re: [MacRuby-devel] BridgeSupport Requirement

2011-02-08 Thread Laurent Sansonetti
On Feb 8, 2011, at 5:30 AM, Martin Hawkins wrote: > Thank you for the replies. > >>> On 8/02/2011, at 10:50 PM, Laurent Sansonetti wrote: >> >>>> Hi Martin, >> >>>> There is a way: if you copy the .bridgesupport files of your system inside

Re: [MacRuby-devel] BridgeSupport Requirement

2011-02-08 Thread Laurent Sansonetti
bert Payne wrote: > If you specify a full path does Bridge Support behave this way? Such as > > load_bridge_support_file NSBundle.mainBundle.pathForResource("MyFramework", > ofType:"bridgesupport") > > Robert > > On 8/02/2011, at 10:50 PM, Laurent Sanson

Re: [MacRuby-devel] BridgeSupport Requirement

2011-02-08 Thread Laurent Sansonetti
Hi Martin, There is a way: if you copy the .bridgesupport files of your system inside your application's bundle, under the Resources/BridgeSupport directory, MacRuby should look at them in priority. Examples: Foo.app/Contents/Resources/BridgeSupport/Foundation.bridgesupport Foo

Re: [MacRuby-devel] Subject: Re: Strange NSDate behavior building 32 bit v 64 bit

2011-02-01 Thread Laurent Sansonetti
ocess? > > Thanks again, > > Richard > > On Jan 31, 2011, at 3:22 PM, Vincent Isambart wrote: > >> Sorry, I'm not patient so I filed the ticket: >> http://www.macruby.org/trac/ticket/1143 >> And fixed it in r5215 :D >> http://www.macruby.org/trac/c

Re: [MacRuby-devel] Subject: Re: Strange NSDate behavior building 32 bit v 64 bit

2011-01-31 Thread Laurent Sansonetti
Like Jordan said :) Please file a ticket and we will get this fixed in 0.9. Bugs breaking applications are considered as a priority. I think 0.9 should remain 32/64 bits, but the release after may drop 32-bit support (unless people really need it). I can add a note in the 0.9 release notes and

Re: [MacRuby-devel] Gems again; signing records

2011-01-28 Thread Laurent Sansonetti
Hi Caio, On Jan 28, 2011, at 2:39 PM, Caio Chassot wrote: > On 2011-01-28, at 20:30 , Laurent Sansonetti wrote: >> >> As I suggested on IRC yesterday, I think we should add a --gem argument to >> macruby_deploy, which would make sure the given gems and their dependencies &

Re: [MacRuby-devel] Gems again; signing records

2011-01-28 Thread Laurent Sansonetti
Hi Martin, I think we now get the "how to embed gems in a MacRuby Xcode project?" question every week. I think it's time that we provide a way to automate that and properly document it on the website. As I suggested on IRC yesterday, I think we should add a --gem argument to macruby_deploy, wh

  1   2   3   4   5   6   7   8   >