Enzo,

What I meant is that there are various versions of HotCocoa on GitHub. You might want to try someone's repo that was updated more recently. The "official"/original version ( https://github.com/richkilmer/hotcocoa ) is probably the one you are using, but you can find a more recent one with patches, etc. by looking at its network in GitHub:
https://github.com/richkilmer/hotcocoa/network

for example, some more recent versions at time of writing are:
https://github.com/gmanley/hotcocoa
https://github.com/jamis/hotcocoa

Gary


On 3/30/11 5:32 PM, Vincenzo Piombo wrote:
Gary,
"Virus" was joke of course, however I changed the name on gist.
I doubt it is a hotcocoa issue, but as soon as I have some time will try to replicate it with an IB version.

What do you mean by "where you got it" ? The code is mine, I was trying to do something along the lines of this http://www.nongnu.org/gstutorial/en/ch13s04.html.


By the way, do you know where can I find a working drag&drop macruby example ?

Enzo

On Wed, Mar 30, 2011 at 11:17 PM, Gary Weaver <gary.wea...@duke.edu <mailto:gary.wea...@duke.edu>> wrote:

    Enzo,

    It might be a translation issue, but I wouldn't call that a virus
    (it doesn't replicate, it is just something that freezes your
    computer). I wouldn't call it "Virus" in the gist either, if I
    were you.

    If it is a bug in HotCocoa, than it may be a bug (or at least
    undesired functionality if it freezes your Mac) in MacRuby or OS
    X, so you might want to dig deeper and provide more info on
    version (and where you got it, since it is in various places in
    GitHub) of HotCocoa.

    Thanks!
    Gary


    On 3/29/11 5:27 PM, Vincenzo Piombo wrote:
    Hi all,
     I was trying to add drag & drop capabilities to a hotcocoa
    program and stumbled into a problem that really puzzles me: a
    macruby program can freeze your mac !

    I uploaded the buggy fragment here: https://gist.github.com/893300

    Don't run it unless you are prepared to reboot your machine the
    hard way, don't even "Force quit" works.
    In the instructions I say to launch it twice, but every drag &
    drop with any app  after the crash freezes the app.


    I'm using macruby 0.9, tried 0.10 but hotcocoa does not work with
    it (but this is another story !)

    Hope someone can tell me if I did something wrong or found a bug
    somewhere.

    Enzp





    _______________________________________________
    MacRuby-devel mailing list
    MacRuby-devel@lists.macosforge.org
    <mailto:MacRuby-devel@lists.macosforge.org>
    http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to