Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Martin Häcker's latest activity

Thursday, April 30 2009
286 -hash is broken on CPArray was updated in Cappuccino
  • Martin Häcker
    Martin Häcker commented at 10:54 AM

    Oh damn.

    I just had a look around in the source and lots of objects like CPDictionary, CPData, CPDate and CPNull don't overide -hash but should. (And most shoul...

  • Martin Häcker
    Martin Häcker commented at 10:30 AM

    Too late to finish sentences...

    The one which I provided does fit the contract and also behaves the same way that the others do.

  • Martin Häcker
    Martin Häcker commented at 10:23 AM

    I'm not sure I understand you correctly, -[CPObject hash] does return __adress, I haven't checked all the other objects, but all objects who redefine -isEqual: ...

  • Martin Häcker
    Martin Häcker created the ticket at 2:06 AM

    It breaks the contract that two arrays which are -isEqual: also need to report the same -hash value.

    Patch and tests included

    It's also the same way that GnuSte...

285 capp only copies frameworks was created in Cappuccino
  • Martin Häcker
    Martin Häcker created the ticket at 1:25 AM

    This will become a problem as soon as a new version of the framework doesn't contain files it used to contain.

    So if you update a project with capp -f to the ne...

284 'capp -f .' does not update the frameworks in place was updated in Cappuccino
  • Martin Häcker
    • Tag set to 0.7b, capp
    by Martin Häcker at 1:23 AM
  • Martin Häcker
    Martin Häcker created the ticket at 1:23 AM

    Hi there,

    I'm not really sure why this is, the source code looks ok to me and trying the shell commands out by hand also seems to work.

    Please fix it.

    Regards, ...

283 CPMutableDictionary compatibility class missing was created in Cappuccino
  • Martin Häcker
    Martin Häcker created the ticket at 1:13 AM

    Well, it's not there - but for CPMutableArray there is one.

    So I created one and provide the patch here.

    Regards, Martin