[Unison-hackers] updated mac frontend (2.27)

Onne Gorter o.gorter at gmail.com
Tue Sep 29 04:49:06 EDT 2009


Hi,

my father in law uses unison, and a while back I updated the mac
frontend (2.27) to behave a bit nicer:
* when you close the app, it now quits unison, instead of leaving an
empty icon which won't do anything anymore
* fix a bug in the cell renderer usage, clicking in the progress
columns will corrupt memory and eventually crash the app

(Every column uses one cell renderer, not a cell renderer per cell, so
you should not retain and release images, especially not on dealloc,
which will do an extra release of the last image; but honestly, I
don't know the implied usage of a cell renderer, and the documentation
doesn't really mention any of this. But it does fix the crash, and
does not introduce a leak.)

I've mirrored the (then) stable release on github, after upgrading the
mac project to xcode 3 and xib format, this is the commit that fixes
things:
http://github.com/onnlucky/unison/commit/cc3840d2ee0e1d62dc8193e882b1b6863fa60c89

unfortunately, as xcode goes, the diff of the xib is rather useless,
the rest should be legible ...


I guess I should redo the work for the new stable, which at least has
already upgraded its xcode stuff, but as things go, I'll do that just
in time (when upgrading my in laws setup), if nobody beat me to it ...

thanks for the great app,

-regards,
Onne


More information about the Unison-hackers mailing list