Commit Graph

39 Commits

Author SHA1 Message Date
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
Christian Hammond eb30d19b88 Send the list of button texts as a string array, rather than appending each one individually. 2004-06-28 03:02:38 +00:00
Christian Hammond 26727e0933 - Split notify_close() into notify_close_notification() and notify_close_request().
- Implement notify_send_request() and notify_send_request_with_icon_data(), and add versions of those functions that take a va_list for the buttons.
2004-06-28 01:39:16 +00:00
Christian Hammond b47093bf2c - Added a utility function for doing most of the D-BUS message creation.
- Implemented notify_close_notification() and notify_close_request().
2004-06-27 23:47:17 +00:00
Christian Hammond 59b49141a0 Make sure we include our config.h if we have one. 2004-06-27 23:39:09 +00:00
Christian Hammond 8e32891f81 Added the initial header file and connection code. 2004-06-27 23:38:07 +00:00
Christian Hammond 4c8bd53e0d Added the initial libnotify library, for experimental work on this notification stuff TD and I are working on. 2004-06-27 22:28:52 +00:00