Hey guys,
I added the MacRuby framework to an existing project (gitx on github,
which uses GC also fortunately). After setting the build to compile
64bit only everything (-1, see below) works fine, so far I can say
now. I am impressed!
I defined my own controller in Ruby, call methods of
Hi,
I found this interesting article http://www.appleinsider.com/articles/09/10/06/html5_assault_on_adobe_flash_heats_up_with_clicktoflash.html&page=2
, describing how Adobe plans to port it's Flash to the iPhone via
LLVM.
I have never programmed for Flash (I hate Flash), but I know, that
Hi Laurent,
I have to thank you (and all the others) for your great effort!
When I first saw Obj-C (~1993, I don‘t remember exactly, I got a NeXT
computer for testing purposes), my first thought was: What a weird
language! At this moment absolutely nobody could foresee, that this
will be t
Hi,
the XCode MacRuby templates are generating .nib files instead of xib
files (like Obj-C projects).
(.xib is better for diffs in git or svn)
Bernd
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailm
Hi all!
Using Cocoa in MacRuby is sometimes a hard job, because all
documentation, examples and sample code is Obj-C. For example, I found
this piece of code '[NSNumber numberWithBool:NO]' and asked myself how
to write that in Macruby.
I opened macirb and typed:
> NSNumber.numberWithBool
Hi John,
Am 14.10.2009 um 10:34 schrieb John Shea:
Hi Bernd,
YES and NO in ObjC are translated to true and false in MacRuby.
so you were probably after:
NSNumber.numberWithBool(false)
(I am curious as to how often that is useful actually)
I will leave the table idea for others to comment
Hi,
Am 14.10.2009 um 11:04 schrieb Laurent Sansonetti:
Hi,
On Oct 14, 2009, at 1:03 AM, B. Ohr wrote:
Hi all!
Using Cocoa in MacRuby is sometimes a hard job, because all
documentation, examples and sample code is Obj-C. For example, I
found this piece of code '[NSN
Hi,
I got nanoc3 working with MacRuby (http://nanoc.stoneship.org/). It‘s
a static site generator like webby (I think it is more powerful).
I haven't done much yet, just the basic things like create a site
skeleton, replace a 'yield' in a layout page (does not work yet,
ticket #386), and
Am 16.10.2009 um 04:55 schrieb s.ross:
On Oct 15, 2009, at 6:10 PM, Conrad Taylor wrote:
On Thu, Oct 15, 2009 at 5:03 PM, s.ross wrote:
On Oct 15, 2009, at 1:43 PM, Laurent Sansonetti wrote:
Hi Craig,
On Oct 14, 2009, at 7:07 PM, Craig Williams wrote:
Hi Everyone,
I have searched the we
Hi,
what do you think about a macgem with mixed-in ObjC?
This could be useful for supporting native C libraries without using
the MRI C interface, for calling parts of the OS X framework that is
not Obj-C, for speed optimized code and so on.
A macgem could also be delivered with a prec
Am 26.10.2009 um 01:00 schrieb Matt Aimonetti:
I'm back from vacation and wrote a very simple tutorial:
MacRuby tips: create a Cocoa file/folder browser in a few lines of
code: http://bit.ly/1VuxBZ
Could you please upload the current state to the github repository?
It looks like it's tim
Am 26.10.2009 um 08:32 schrieb Matt Aimonetti:
On Mon, Oct 26, 2009 at 12:26 AM, B. Ohr wrote:
Am 26.10.2009 um 01:00 schrieb Matt Aimonetti:
I'm back from vacation and wrote a very simple tutorial:
MacRuby tips: create a Cocoa file/folder browser in a few lines of
code: http://b
Hi Ruben!
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
Like you I played around a little with this issue. My current state is:
If
Hi,
I have written a MacRuby class that reads binary data (a special
format) from a file. Is there a chance that I can use this class in a
Quicklook plugin or a spotlight importer?
Both targets don't support GC-memory, but all object instances are
created in one procedure with autorelease
Am 14.11.2009 um 21:17 schrieb Matthias Neeracher:
On Nov 14, 2009, at 15:44 , MacRuby wrote:
#339: YAML error with UTF-16 string
---
+
Reporter: d...@… |Owner: lsansone...@…
Type: defect
I found the same error yesterday while debugging one of my broken HotCocoa Apps.
Am 19.12.2009 um 07:10 schrieb Jeremy Voorhis:
> I've just installed the latest MacRuby beta binaries on my new macbook, and
> this happens:
>
> Jeremy-Voorhiss-MacBook-Pro:~ jvoorhis$ cat test.rb
> require 'hot
Hi,
sometimes it´s fun „programming“ a workflow or a service with the automator
(and some times not).
Because there is no macruby cmd in the shell script section, I wrote this
install script:
# file: automator-macruby.rb
#
# extend the automator shell script configuration
# by simply copyi
My apps are working too!
Unfortunately compiling to static code is broken:
$ cat a.rb
puts 42
$ macrubyc --static a.rb
Undefined symbols:
"llvm::ExecutionEngine::createJIT(llvm::ModuleProvider*,
std::basic_string, std::allocator >*,
llvm::JITMemoryManager*, llvm::CodeGenOpt::Level, bool,
l
.5. Now i am
using the nightly builds...
>
> --static only works if you installed LLVM manually.
Ooops, that’s new for me!
> This is a problem that we should fix in 0.6…
+1
Bernd
>
> Laurent
>
> On Apr 23, 2010, at 4:18 AM, B. Ohr wrote:
>
>> My apps are work
Hi Laurent,
many thanks for the new version!
if I might express a wish, then this:
MacRuby on the iPhone (or iPad) - Simulator (yes, the Simulator, not the
iPhone itself)
for the quick checkout of ideas, however, also learning around the frameworks.
Prototyping in ObjC is the hell, at least
f other
> things that have a higher priority. However, I'm sure that if the community
> gets organized, that feature can be added without the direct involvement of
> Laurent or other Apple's employees working on the project.
>
> - Matt
>
> On Tue, May 4, 2010 at
Jordan,
you can do something like that:
class Object
alias :old_inspect :inspect
def inspect
i = old_inspect
if i.start_with?('#<')
d = description
d.start_with?('<') ? i : d
else
i
end
end
end
But you’re right, a better integration of „description“ woul
Hi, I have strange timeout problems with 0.6 and 0.7
$ time macruby_select 0.7 -e 'framework "Cocoa"'
2010-05-06 07:03:55.018 macruby[1922:607]
__CFServiceControllerBeginPBSLoadForLocalizations timed out while talking to pbs
real0m1.588s
user0m0.699s
sys 0m0.096s
0.6 takes even longe
stions:
> - That might be stupid, but did you try rebooting?
> - What language are you using on your system?
> - Did you ever try to "shrink" applications by getting rid of different
> languages?
>
> Thanks :-)
>
> --
> Thibault Martin-Lagardette
>
>
&g
Hi,
v0.7 has a different behavior than v0.5 when using a Cocoa-Obj (NSCalendarDate)
as a key in a hash.
I must admit that I do not know what is exactly specified in Ruby, but
obviously the generated value of an hashkey of different objects is same in all
other cases if the objects itself are
I have a binding of an user interface element to my controller
(Controller.self.test): The setTest does work, but the 'test =' does not.
class Controller < NSWindowController
attr_accessor :test
def works
setTest true
end
def doesnotwork
test = true
end
end
Is this a bug?
"set via #setSomeAttr"
> "set via #someAttr="
>
> --
> Thibault Martin-Lagardette
>
>
>
> On May 17, 2010, at 00:47, B. Ohr wrote:
>
>>
>> I have a binding of an user interface element to my controller
>> (Controller.self.tes
Ooops, shame on me, you are right. Now it is working….
Am 17.05.2010 um 10:20 schrieb Vincent Isambart:
>> class Controller < NSWindowController
>> attr_accessor :test
>> def works
>>setTest true
>> end
>> def doesnotwork
>>test = true
>> end
>> end
>
> "test = true" should be "sel
Hi Ernest,
Am 04.06.2010 um 19:03 schrieb Ernest N. Prabhakar, Ph.D.:
> Hmm, you should NOT need to call "group" on the @job for normal usage.
>
> Could you just use "@job.join" to get the behavior you want?
>
Thanks, I am using join now!
Unfortunately join is crashing too with the main que
I’m thinking a long time about doing my own audio app, but the missing Obj-C
framework stopped me every time. Somebody said, that the Obj-C method
dispatching is too slow for real time audio.
But now, according to Gruber (Daring Fireball) there seems to be a new upcoming
framework (AV Foundatio
Hi!
>
> In the upcoming 0.7 release static compilation will be permitted, you will be
> able to generate a standalone binary that contains both the MacRuby runtime
> (some features disabled) and your application code, in about 1.5MB for
> regular-size apps.
>
I tested that and it is looking
Hi,
just for those who are interested, I translated John Grubers ‚open urls in
safari tabs‘-script to pure MacRuby.
The rather complex regular expression for detecting URLs in text is working
fine in MacRuby!
(AOT-compilation does not work yet, see ticket #821)
-- Bernd
#!/usr/local/bin/mac
Hi,
I ported a small demo the UIKit framework for Mac OS X
(http://chameleonproject.org/) to MacRuby. Although the framework is not
currently known to be GC-safe it is working for me:
https://gist.github.com/884875
I will do further investigations in this topic because I want to learn UIKit
> the headers. See `man gen_bridge_metadata` for more info.
>
> On Mar 24, 2011, at 12:09 PM, B. Ohr wrote:
>
>> Hi,
>>
>> I ported a small demo the UIKit framework for Mac OS X
>> (http://chameleonproject.org/) to MacRuby. Although the framework is not
>>
>
> ……. Or maybe we can just agree to only support the latest Xcode version
> (thoughts?)
Oh, please do not! I am still running snow leopard and Xcode 4.2!
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/ma
Hey, after installing r2590 with backtrace support (thanks for that!)
now I have the problem to catch segment faults.
It seems to be a problem inside of a hash#each_pair, but I have
absolutely no idea where, and because it is foreign code a file name
and line number would be more than use
ier in the collector.
Laurent
On Sep 20, 2009, at 3:03 AM, B. Ohr (dev) wrote:
Hey, after installing r2590 with backtrace support (thanks for
that!) now I have the problem to catch segment faults.
It seems to be a problem inside of a hash#each_pair, but I have
absolutely no idea where, and
Hi,
autoload is not working:
$ macruby -e 'autoload :YAML, "yaml"; p YAML'
core:in `const_missing:': uninitialized constant YAML (NameError)
from -e:1:in `'
I saw some tags about this so I am asking before I open a ticket...
___
MacRuby-devel
38 matches
Mail list logo