Commit Graph

63 Commits

Author SHA1 Message Date
Christian Hammond 12f74a149c Patch (bug #3734) by Duarte Henriques to provide a convenient way of integrating libnotify with the glib mainloop. Modifications by me to make it even easier. 2005-07-27 08:11:33 +00:00
Christian Hammond 56cdbb7087 Actually support our own spec and use the number of seconds until expiration instead of current time + number of seconds. That was creating all kinds of problems. 2005-07-27 07:54:15 +00:00
Christian Hammond 430eb532df Compile under D-BUS 0.2x again. 2005-07-27 07:33:37 +00:00
Christian Hammond 7fdc36d00e If the handle given in ActionInvoked is not found in the local table of handles, return from the ActionInvoked handler. Otherwise, every program using libnotify will crash when a notification is clicked. Oops! 2005-07-27 07:22:32 +00:00
Christian Hammond 057751cc69 Fix the key type for the dictionary for hints on D-BUS 0.3x. The notification-daemon side is still broken in this regard. 2005-07-17 01:29:30 +00:00
Christian Hammond 55d6f9dfcc Fixed a couple of D-BUS 0.3x bugs. Several remain though. 2005-07-17 01:25:52 +00:00
Christian Hammond 621266fc7b Update the AUTHORs file with our current contributors. 2005-07-12 19:30:49 +00:00
Christian Hammond edccbd1f40 Patch by Richard Hughes to fix make distcheck, and to provide a Fedora Core 4 RPM spec file. 2005-07-12 19:29:55 +00:00
Christian Hammond 711ba22be4 Decrease the wait time for the replacement notification. 2005-07-10 23:48:15 +00:00
Mike Hearn a2f80feafb Fill in handle->user_data in notify_send_notification_varg 2005-07-09 17:30:55 +00:00
Christian Hammond 635fc9d10a - Conditionally build gdk-dependent test apps if we have gdk.
- Added a X, Y stress test that will be used to help test accurately positioning the arrows.
2005-07-04 09:15:43 +00:00
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 e9347e99f2 Fix make distcheck. 2004-11-03 09:21:23 +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
Christian Hammond 4188fb54d3 Moved specification and ChangeLog documentation. 2004-09-01 07:41:05 +00:00
Christian Hammond 26439403c1 Finishing adding the rest of the signals to the spec. 2004-09-01 07:32:05 +00:00
Christian Hammond c9f2aac99a Added the notification spec in docbook format. It's not finished. I'm just tired of working on it. 2004-08-30 05:28:22 +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 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 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 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
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 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