Commit Graph

306 Commits

Author SHA1 Message Date
Christian Hammond 63480ac2bd Many sections need to be filled out, but I've updated the notification spec a little to add some things I feel should be in there. I'll try to get to the details later, but I'm packing and getting ready to move. 2004-08-11 09:27:00 +00:00
Christian Hammond 748fba2408 Ignore the test-replace tool. 2004-08-09 20:46:43 +00:00
Christian Hammond eba0b16911 Slight code cleanups. 2004-07-30 01:31:32 +00:00
Mike Hearn f26e56113a First attempt at wording for default actions 2004-07-29 21:02:55 +00:00
Mike Hearn 392d030acf * libnotify/notify.c: Use pointers instead of GINT_TO_POINTER
* tools/test-replace.c: Test replacing notifications
2004-07-14 01:09:40 +00:00
Mike Hearn d513d0de37 State what the return of Notify is when replaces != NIL 2004-07-14 00:10:21 +00:00
Mike Hearn 2f45073df4 Tidy up spec a bit, fix code to set timeout in notify-send 2004-07-14 00:08:12 +00:00
Mike Hearn 6ba11f0bdb Add support for the "replaces" protocol field.
Update SPECIFICATION with clarifications from Maciej
2004-07-13 23:00:33 +00:00
Mike Hearn fa61f33b98 note about knotify 2004-07-06 21:26:03 +00:00
Mike Hearn bd9b91a53d Add a "replaces" field to the Notify request, add fallback to urgency field 2004-07-06 21:18:00 +00:00
Mike Hearn 0ab190f75e We decided NIDs are unique within a session 2004-07-06 20:48:50 +00:00
Mike Hearn 075e6dda7f treat expiry times < current time as timeouts from current instant, convenience for shell scripts 2004-07-04 23:10:25 +00:00
Mike Hearn 3ab64b8b15 fix warning 2004-07-04 23:05:06 +00:00
Mike Hearn c712f972cb Use a direct hash rather than an int hash 2004-07-04 21:52:26 +00:00
Christian Hammond 62c4728327 Don't make IDs of 0 bad. They just want to be loved, too. 2004-07-04 21:34:41 +00:00
Christian Hammond db56d94133 - Changed timeouts to expire times.
- Install notify-send.
2004-07-04 21:09:58 +00:00
Christian Hammond 216d1eaf74 Don't initialize the library until we're ready to talk to it. 2004-07-04 20:54:31 +00:00
Christian Hammond b7208624ca Don't initialize the library until we're ready to talk to it. 2004-07-04 20:46:56 +00:00
Christian Hammond b775f9946e Added the urgency level to the spec, and made it a byte. 2004-07-04 20:34:32 +00:00
Christian Hammond 4661df2654 Renamed tests to tools. 2004-07-04 20:29:23 +00:00
Christian Hammond f835814523 Added the notify-send tool. 2004-07-04 20:28:35 +00:00
Christian Hammond 45fede4d56 Added support for GetCapabilities. 2004-07-03 19:35:55 +00:00
Christian Hammond 3c6d135535 Add support for GetServerInformation. 2004-07-03 19:28:14 +00:00
Christian Hammond 85e21cf7b3 Remove the application info sent on calls to Notify for now, until/if something gets added to the spec about it. 2004-07-03 19:21:57 +00:00
Christian Hammond e6a9f0b27d - Removed the last of the request implementation.
- More work toward migrating the code to the specification.
- Simplified the action implementation a little bit.
2004-07-03 19:18:06 +00:00
Christian Hammond d10e4df0aa Cleaned up some things and updated some stuff to be compliant with the spec. More will come soon. 2004-07-03 18:26:53 +00:00
Christian Hammond 6c7864326f Added a notification ID to the ActionInvoked signal, and renamed a couple things for consistency. 2004-07-03 18:21:37 +00:00
Christian Hammond 8bb3453c72 Renaming EndNotify to CloseNotify 2004-07-01 23:17:04 +00:00
Mike Hearn a6bd8dab1f Add a couple of signals 2004-07-01 23:12:37 +00:00
Mike Hearn 7a564f9ce2 Add GetServerInformation message 2004-07-01 23:05:12 +00:00
Mike Hearn a0897d8451 rename CapsQuery to GetCapabilities 2004-07-01 23:03:12 +00:00
Mike Hearn 203f183810 add some protocol requests. change "buttons" in the overview to "actions". 2004-07-01 23:01:36 +00:00
Mike Hearn e52fa3acf3 Add info on icons/sounds, add CapsQuery protocol request. 2004-07-01 22:44:17 +00:00
Mike Hearn a3e3ba43a4 Update spec 2004-07-01 21:53:48 +00:00
Christian Hammond d4b24da04e Just some additions to the spec. Some of this really needs discussion, and one part should really have its own proposed spec at fd.o :) 2004-07-01 07:59:41 +00:00
Christian Hammond a52bde5491 Change the information about the timeout. If the timeout is 0, it's up to the server to determine what to do (which should be urgency and type-specific) 2004-06-30 18:58:41 +00:00
Christian Hammond 25e119c21b Trailing whitespace bad 2004-06-30 18:44:57 +00:00
Mike Hearn 6d4976e1d1 Initial version 2004-06-30 13:01:57 +00:00
Mike Hearn f4bab23735 change timestamp to standard format 2004-06-30 12:26:37 +00:00
Mike Hearn 52fa6a0bdf * libnotify/notify.[ch]: Add file variables for emacs to match the settings Christian is using. 2004-06-30 12:23:36 +00:00
Christian Hammond 896a99db9d Free up the handle memory for a closed notification. 2004-06-30 09:53:58 +00:00
Christian Hammond 5e153367b3 Due to the new icon struct, a lot of redundant functions have now been removed. 2004-06-30 02:34:10 +00:00
Christian Hammond f722bacff3 Added a NotifyIcon struct and the beginnings of the API. 2004-06-30 02:27:21 +00:00
Christian Hammond 0f58a300f2 Replaced the guint32 ID numbers that were passed around to represent notifications and requests and replaced them with an opaque data structure that abstracts that and other stuff. 2004-06-30 01:51:40 +00:00
Christian Hammond 071df6bfb7 Changed 8 space to 4 space tabs. 2004-06-30 01:21:33 +00:00
Christian Hammond 96276c9d43 Update the AUTHORS file. 2004-06-29 21:53:51 +00:00
Christian Hammond 13356532df Patch by Mike Hearn to add a print_error() function for dumping extra info when we have an error. 2004-06-29 21:53:12 +00:00
Christian Hammond a2cdc71421 Pass 0.0.1 as the version number to AC_INIT(). 2004-06-28 04:50:49 +00:00
Christian Hammond 29de19e1ac Added support for the NotificationClosed and RequestClosed signals, along with request callbacks. I wonder if any of this works. 2004-06-28 04:40:04 +00:00
Christian Hammond 755f81fbe9 Keep track of request IDs so that we can do callback stuff in a bit. 2004-06-28 03:24:08 +00:00