Commit Graph

306 Commits

Author SHA1 Message Date
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 d8c0864049 - Removed all references to NIL, and explained briefly how each parameter can be made empty.
- Bumped to version 0.6.
2005-04-01 17:12:51 +00:00
Mike Hearn 2d528a5351 spaces -> tabs 2004-11-08 23:01:20 +00:00
Mike Hearn 3d86854e83 spaces -> tabs 2004-11-08 23:01:03 +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 79c1adf73f Quiet svn a bit. 2004-11-06 23:17:55 +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 e63e4a8141 - Added a "suppress-sound" hint.
- Added a "sound" capability.
- Renamed the "soundfile" hint to "sound-file."
- Bumped to version 0.5.
2004-10-02 06:45:31 +00:00
Christian Hammond 22b29718c5 Version 0.4. 2004-09-30 05:35:36 +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 22e87adf07 add tests 2004-09-25 10:05:10 +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 79889fefe6 - Added <img/> tag support in the markup section.
- Detailed what markup is and what it is not, and its restrictions.
- Removed the High urgency level.
- Gave a better categorization to notification type formats.
- Added new notification types.
- Fixed notification expiration so it's a timeout rather than a timestamp.
2004-09-25 07:23:17 +00:00
Christian Hammond 5b02b5e988 Let's comment out the winid and the table and surrounding paragraph for now, until we come up with some standard hints we'd want to use. 2004-09-12 07:07:32 +00:00
Christian Hammond a6e20f61f8 - Changed the app_icon parameter of Notify to take a byte array, string, or NIL, so that it's the same as loading a single frame of a set of images.
- Renamed "Icons and Sounds" to just "Icons."
- Changed the wording about the fallback in case the notification server can't do actions.
2004-09-04 05:28:05 +00:00
Christian Hammond b1b4fdb7ee Removed the sound information. Fixed several typos and references to KNotify. Removed the PID hint. Added some D-BUS Error stuff. 2004-09-02 16:19:28 +00:00
Christian Hammond 59f895bd42 Wrote the section about hints. 2004-09-02 08:19:24 +00:00
Christian Hammond 7681f73929 Wrote about urgency levels. 2004-09-02 08:05:12 +00:00
Christian Hammond 1c085e545e NotificationClosed now returns a reason of 3 when CloseNotification is called. 4 is now Undefined/Reserved. 2004-09-02 07:54:25 +00:00
Christian Hammond 9fe2dbeb18 Shush, svn. 2004-09-01 08:05:26 +00:00
Christian Hammond a538788cb2 Marked up parameters. 2004-09-01 08:05:02 +00:00
Christian Hammond b9dd64dce4 Moved the notification components into a table. 2004-09-01 07:51:10 +00:00
Christian Hammond 4188fb54d3 Moved specification and ChangeLog documentation. 2004-09-01 07:41:05 +00:00
Christian Hammond bed9226908 Added vertical alignment of top to the tables. 2004-09-01 07:39:17 +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