Closed GoogleCodeExporter closed 8 years ago
While I am flagging this as started in the Growl.framework-3.0 branch, it is
still very much a WIP.
Some notes about what I have done so far.
The 'singleton' has been turned into a real singleton instead of a bunch of
statics nightmare mess.
The API so far has been untouched.
A new class, GrowlNote is what actually holds onto it's attempts, and is where
all new API should be placed, new delegate methods, new init methods.
One new API has been added to the main API, -notifyWithNote: which takes a
GrowlNote
GrowlNote can have it's own delegate or callback blocks set.
Life cycle of a GrowlNote is unfinished, for now when we get back from GNTP
that we are finished with the note, it removes our reference to the note. This
does not however cover the case of a sticky NSUserNotification, and possibly
other cases.
It generates a UUID on init, and GAB holds on to them by that, so removing by
UUID will be easy enough
Registration is a bit of a mess. The old methods (and there were a lot of
them) have had to be rewritten to allow for a lack of delegate and manually set
registration dict, and I am unsure if this has been completed properly yet.
We no longer retain our delegate, but this might cause issues in some apps.
API wise we shouldn't crash, but there might be some edge cases that have crept
in for a rare implementation.
Original comment by dan...@growl.info
on 16 May 2013 at 3:49
This is continuing to progress, GrowlNote is getting fleshed out, and now
supports a number of things that Growl could have been reporting on, but
wasn't, such as note closed (by the close button), and note not displayed.
These are sent back both via GNTP and via NSDNC.
NSDNC is going to hopefully fix the click after socket close issue, by sending
a note UUID and clicked/closed/timedout/notdisplayed/etc back over NSDNC (but
not using any payload)
Adding blocked on 473
Original comment by dan...@growl.info
on 25 May 2013 at 10:55
The roots of this are done now, for better or for worse, additional work can be
created as new tickets on the new framework. I am flagging this particular
issue as FixedInSource
Original comment by dan...@growl.info
on 18 Jun 2013 at 9:40
Original issue reported on code.google.com by
dan...@growl.info
on 28 Apr 2013 at 9:10