Commit Graph

72 Commits

Author SHA1 Message Date
Christian Hammond e09f929373 Use a variant type for the hint dictionary values. This let's us actually use various data types in D-BUS 0.3x. 2005-07-28 18:22:09 +00:00
Christian Hammond 47b4f8bfb5 Forgot this ChangeLog entry.. Basically, we're releasing. 2005-07-28 08:57:15 +00:00
Christian Hammond 07e112a7ee Don't send all hint values as strings. Send as integers, booleans, or strings, depending on what the user set. 2005-07-28 08:54:18 +00:00
Christian Hammond b2b4e09eb6 Support setting boolean hints. 2005-07-28 06:10:32 +00:00
Christian Hammond f40ef57aae Disable animation support on D-BUS 0.3x, since arrays of arrays of a type seems broken. 2005-07-28 05:57:47 +00:00
Christian Hammond ca4d385fa6 - Flush the D-BUS connection queue on uninit so that messages go through and so we don't trigger this ugly little warning on D-BUS 0.3x.
- Fix a compiler warning on gcc4.
2005-07-28 05:53:37 +00:00
Christian Hammond a6949ef276 Actually set the expires flag in the notification handle so we don't just kill off all notifications as soon as we create them and exit. 2005-07-27 09:14:42 +00:00
Christian Hammond bd4f01f033 Handle SIGINT and SIGTERM When raised, we call notify_uninit. notify_uninit now checks if there are any non-expiring notifications and closes them. This is a best-effort to preventing stale notifications from a dead process from displaying on the screen. Of course, we can't handle SIGKILL, so we're stuck there. 2005-07-27 08:50:35 +00:00
Christian Hammond be828ca9ce Patch (bug #3050) by Duarte Henriques to prevent closing notifications we don't own. 2005-07-27 08:15:33 +00:00
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