Commit Graph

45 Commits

Author SHA1 Message Date
Christian Hammond 7848ca6968 A few things I did on the way home:
- Added support for hints in the API.
- Don't install the test programs during make install.
2005-07-01 06:42:29 +00:00
Christian Hammond 81a5a510b7 Be a little better at not crashing. Just a bit better. There's still another crash I'm trying to track down. 2005-06-20 08:56:22 +00:00
Christian Hammond 7b16a860ff Close the right container in D-BUS 0.3x. 2005-06-20 07:58:00 +00:00
Christian Hammond 9802bab2b4 Add dbus-compat.h. 2005-06-20 06:33:27 +00:00
Christian Hammond 43e3261d36 Add support for compiling under D-BUS 0.3x. Actually running has not yet been tested! 2005-06-20 06:29:25 +00:00
Christian Hammond 88afc98c6e Updated for the 0.6 notification spec. 2005-04-01 17:30:08 +00:00
Christian Hammond a5720caff4 Move our TODO list to the Doxygen @todo commands, so we'll get it in a nice little page of its own in the API docs. 2004-11-06 23:42:20 +00:00
Christian Hammond 034a0598a4 Move the emacs mode string out of the Doxygen comment and into its own. 2004-11-06 23:36:18 +00:00
Christian Hammond 7415bbe964 Add a Doxyfile.in and update things so we can get doxygen docs. 2004-11-06 23:14:48 +00:00
Christian Hammond 43c819deaa Use glib's memory allocation stuff instead of libc's. 2004-11-04 07:50:16 +00:00
Christian Hammond 41d4a3e498 Patch from Mike Hearn to do a bunch of stuff, like handling icons and animations better. 2004-11-04 07:44:53 +00:00
Christian Hammond 8012961132 Don't flush the D-BUS connection, and make sure we disconnect from it. 2004-09-30 05:34:33 +00:00
Christian Hammond f4bce0d062 Updated to match the spec. 2004-09-30 04:53:30 +00:00
Christian Hammond 8ee064f00a Fixed to compile. 2004-09-25 19:59:43 +00:00
Mike Hearn 5918a785f4 The libnotify side of things. Test cases will be checked in later 2004-09-25 09:54:53 +00:00
Christian Hammond eba0b16911 Slight code cleanups. 2004-07-30 01:31:32 +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 6ba11f0bdb Add support for the "replaces" protocol field.
Update SPECIFICATION with clarifications from Maciej
2004-07-13 23:00:33 +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 b775f9946e Added the urgency level to the spec, and made it a byte. 2004-07-04 20:34:32 +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 25e119c21b Trailing whitespace bad 2004-06-30 18:44:57 +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 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 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