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

2012-04-12 Thread James Chen
tem_c.dylib 0x7fff88134fb1 start_wqthread + 13 It's a Net::HTTP request with use_ssl set as true, inside a Dispatch::Queue.concurrent.async block. ( https://github.com/ashchan/gmail-notifr/blob/master/Classes/GNChecker.rb, line 53) Thanks, --- James Chen ashchan.com | @ashch

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

2012-04-12 Thread James Chen
I also have this issue and a few others. But I'm afraid 10.8 and Xcode 4.4 is still under NDA so we cannot discuss it. On 2012/04/12, at 23:58, Ben Mills wrote: > What about 10.8 + Xcode 4.4? I just tried creating a new MacRuby project > (worked fine) but Xcode can't find the MacRuby framew

Re: [MacRuby-devel] Including Bridge Support into App

2012-02-26 Thread James Chen
Kevin, Did you try creating an empty app with --bs option? For a long time I also saw segfaults from several stdlibs (libssh for example). So it's hard to say if it's the preview that caused your problem or other libs. James On Mon, Feb 27, 2012 at 9:01 AM, Kevin Colyar wrote: > No problem Jam

Re: [MacRuby-devel] Including Bridge Support into App

2012-02-24 Thread James Chen
Sorry Kevin, The above code was actually loading extra bridge support file (Security in this case). I have misunderstood your question. Guys I'm very sorry about this interruption. James On Sat, Feb 25, 2012 at 8:19 AM, James Chen wrote: > Kevin, > > Even with the -bs optio

Re: [MacRuby-devel] Including Bridge Support into App

2012-02-24 Thread James Chen
Kevin, Even with the -bs option, MacRuby app might still not be able to load the bridge support preview properly on 10.6. Here's what I do for Gmail Notifr: dir_path = NSBundle.mainBundle.resourcePath.fileSystemRepresentation load_bridge_support_file "#{dir_path}/BridgeSupport/Security.bridgesupp

Re: [MacRuby-devel] Xcode 4.3 move template files

2012-02-18 Thread James Chen
der, > > 1. create "~/Library/Developer/Xcode/Templates/Application" > 2. copy "misc/xcode4-templates/File Templates" and > "misc/xcode4-templates/Project Templates" into above folder. > > However, I don't know whether move the rb_nibtool as sam

Re: [MacRuby-devel] MacRuby & MountainLion + what you can do to help the project

2012-02-18 Thread James Chen
It seems we can put templates in user's application support location instead of /Develper: ~/Library/Application Support/Developer/Shared/Xcode Still need to update template though. Copying current templates to that location doesn't work. James On Sat, Feb 18, 2012 at 7:04 PM,

Re: [MacRuby-devel] Xcode 4.3 move template files

2012-02-18 Thread James Chen
The user's shared folder for that is ~/Library/Application Support/Developer/Shared/Xcode, but simply copying MacRuby's templates into that folder doesn't seem to work. James On Sat, Feb 18, 2012 at 7:34 PM, Sean Mateus wrote: > Hallo Geoffrey, > * > * > I believe the since Xcode is a signed app

Re: [MacRuby-devel] MacRuby & MountainLion + what you can do to help the project

2012-02-18 Thread James Chen
4.3? ;) > > Thanks in advance, > > - Matt > > > On Sat, Feb 18, 2012 at 1:12 AM, James Chen wrote: > >> Matt, >> >> Great and excited to hear all these! >> >> Regarding Xcode template support, dropping update < Xcode 4.3 would not >> b

Re: [MacRuby-devel] MacRuby & MountainLion + what you can do to help the project

2012-02-18 Thread James Chen
Matt, Great and excited to hear all these! Regarding Xcode template support, dropping update < Xcode 4.3 would not be a big issue. For 4.2 or lower the current template can be used. Can't wait to see 0.11 and other updates! Thanks a lot! James On Sat, Feb 18, 2012 at 5:54 PM, Matt Aimonetti w

Re: [MacRuby-devel] macruby_deploy problem with app having space in name

2011-07-21 Thread James Chen
21, 2011 at 12:53 PM, Mark Rada wrote: > Oopsie, I'll get that fixed in a few moments...unless it's fixed by the > time I finish this email. > > Sent from my iDevice > > On 2011-07-20, at 23:30, James Chen wrote: > > Hey guys, > > I have an app

Re: [MacRuby-devel] macruby_deploy problem with app having space in name

2011-07-20 Thread James Chen
Wow, that would be great! Thanks Mark. James On Thu, Jul 21, 2011 at 12:53 PM, Mark Rada wrote: > Oopsie, I'll get that fixed in a few moments...unless it's fixed by the > time I finish this email. > > Sent from my iDevice > > On 2011-07-20, at 23:30, James Chen

[MacRuby-devel] macruby_deploy problem with app having space in name

2011-07-20 Thread James Chen
macruby_deploy on it then change back the name) (On another machine I have nightly build of April installed, and that macruby_deploy actually worked). Thanks! --- James Chen ashchan.com | @ashchan <http://twitter.com/ashchan> ___ MacRuby-devel

Re: [MacRuby-devel] get and set a checkbox in tableview

2011-04-29 Thread James Chen
nything in tableView:setObjectValueForColumn:row to check/uncheck the checkbox. When the user clicks the checkbox, this method is called and you could persistant the object value. Do check the tableView:setObjectValueForColumn:row too. Here's some real snippet: http://bit.ly/m98G2P Hope this helps. --- James C

Re: [MacRuby-devel] Concurrent SSL requests -> segfault

2011-04-05 Thread James Chen
I also had this issue when implementing https wrapped in NSOperation for Gmail Notifr: https://gist.github.com/791984 Regards, James Chen ashchan.com | @ashchan <http://twitter.com/ashchan> On Wed, Apr 6, 2011 at 5:43 AM, Andre Lewis wrote: > Hm. trying something similar within Xc

Re: [MacRuby-devel] menu app in the login items

2011-01-25 Thread James Chen
Yes, the master branch is on MacRuby. Sent from my iPhone On 2011/01/25, at 23:18, Joshua Ballanco wrote: On Jan 25, 2011, at 2:54 PM, Joel Reymont wrote: > > Are there any examples of a MacRuby app that sits in the menu, > TimeMachine and WiFi indicator style? > Check out Gmail Notifr: http

Re: [MacRuby-devel] A little NSStatusBar app - Gmail Notifr

2010-11-19 Thread James Chen
t function does nothing and returns noErr. */ So, I'm not sure if that's what you're looking for. Hopefully it's at least a start. The projects look awesome, and if/when I have some more time I'd love to help you out :-) Cheers, Josh On Fri, Nov 19, 2010 at 9:36 AM, Ja

Re: [MacRuby-devel] A little NSStatusBar app - Gmail Notifr

2010-11-19 Thread James Chen
a start. The projects look awesome, and if/when I have some more time I'd love to help you out :-) Cheers, Josh On Fri, Nov 19, 2010 at 9:36 AM, James Chen wrote: > Hi guys, > > Gmail Notifr was originally written in RubyCocoa, which runs as a little > NSStatusBar app and check

[MacRuby-devel] A little NSStatusBar app - Gmail Notifr

2010-11-19 Thread James Chen
this API: SecKeychainItemModifyAttributesAndData It would be really great if anyone knows how to construct SecKeychainAttributeList and other necessary parameters for this API and offers some help. --- James Chen ashchan.com | @ashchan <http://twitter.com