[Galago-commits] r2384 - in releases/libnotify: . 0.3.0 0.3.0/tests
0.3.0/tools
galago-commits at freedesktop.org
galago-commits at freedesktop.org
Wed Dec 14 15:13:05 PST 2005
Author: johnp
Date: 2005-12-14 15:13:00 -0800 (Wed, 14 Dec 2005)
New Revision: 2384
Added:
releases/libnotify/0.3.0/
releases/libnotify/0.3.0/ChangeLog
releases/libnotify/0.3.0/NEWS
releases/libnotify/0.3.0/tests/Makefile.am
releases/libnotify/0.3.0/tools/Makefile.am
releases/libnotify/0.3.0/tools/notify-send.c
Removed:
releases/libnotify/0.3.0/ChangeLog
releases/libnotify/0.3.0/NEWS
releases/libnotify/0.3.0/tests/Makefile.am
releases/libnotify/0.3.0/tools/Makefile.am
releases/libnotify/0.3.0/tools/notify-send.c
Log:
- Real 0.3.0 release
Copied: releases/libnotify/0.3.0 (from rev 2371, trunk/libnotify-ng)
Deleted: releases/libnotify/0.3.0/ChangeLog
===================================================================
--- trunk/libnotify-ng/ChangeLog 2005-12-13 22:16:51 UTC (rev 2371)
+++ releases/libnotify/0.3.0/ChangeLog 2005-12-14 23:13:00 UTC (rev 2384)
@@ -1,379 +0,0 @@
-Fri Dec 09 2005 John (J5) Palmieri <johnp at redhat.com>
-
- * libnotify/notifymarshal.[c|h]: new files where GLib callback
- marshalers are added
-
- * libnotify/notifynotification.c (notify_notifiaction_init): Add a
- marshaller for signals with uint, string parameters
- (_gslist_to_string_array): new internal method that coverts
- a GSList to a NULL terminated array of strings
- (_notify_notification_show_internal): send the actions list as an
- array of strings, not a GSList which does not work with the bindings
-
- * libnotify/Makefile.am: notifymarshal.[c|h] added
-
- * tests/test-multi-actions.c: working example of using actions
-
-
-Fri Dec 02 2005 John (J5) Palmieri <johnp at redhat.com>
-
- * libnotify/notifynotification.c (notify_notification_add_action):
- implement adding actions
- (_action_signal_handler): handle actions coming from the server
- (notify_notifcation_clear_actions): new method for clearning out
- the actions list and hash
-
-Fri Dec 02 2005 John (J5) Palmieri <johnp at redhat.com>
-
- * libnotify/notifynotification.c (notify_notification_show_and_forget):
- new method that shows and then unrefs the NotifyNotification object.
- use this if you just want to fire off a quick notification.
-
- * various compiler warning cleanups
-
-Fri Dec 02 2005 John (J5) Palmieri <johnp at redhat.com>
-
- * libnotify/notifynotification.c (SIGNAL_TYPE_CLOSED): "closed" glib
- signal added
- (notify_notification_clear_hints): New API for clearing out the
- hints hash
- (notify_notification_ref, notify_notification_unref): removed - use
- g_object_ref/unref
-
- * tests/*: Various changes to the test binaries
-
-Thu Nov 10 14:00:00 EST 2005 John (J5) Palmieri <johnp at redhat.com>
-
- * Complete rewrite and first import to libnotify-ng module in SVN
-
-Mon Jul 04 02:13:56 PDT 2005 Christian Hammond <chipx86 at chipx86.com>
-
- * tests/Makefile.am:
- * tests/test-markup.c:
- A tests/test-xy-stress.c:
- * configure.ac:
- - 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.
-
-Thu Jun 30 21:09:18 PDT 2005 Christian Hammond <chipx86 at chipx86.com>
-
- * tests/Makefile.am:
- - Don't install the test programs during make install.
-
-Thu Jun 30 21:03:30 PDT 2005 Christian Hammond <chipx86 at chipx86.com>
-
- * libnotify/notify.c:
- * libnotify/notify.h:
- * tests/test-animation.c:
- * tests/test-basic.c:
- * tests/test-default-action.c:
- * tests/test-error.c:
- * tests/test-image.c:
- * tests/test-markup.c:
- * tests/test-multi-actions.c:
- * tests/test-replace.c:
- * tools/notify-send.c:
- - Added support for hints in the API.
-
-Mon Jun 20 06:13:02 PDT 2005 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- - Be a little better at not crashing. Just a bit better. There's
- still another crash I'm trying to track down.
-
-Mon Jun 20 04:53:29 PDT 2005 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- - Close the right container in D-BUS 0.3x.
-
-Mon Jun 20 02:49:27 PDT 2005 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/Makefile.am:
- A libnotify/dbus-compat.h:
- - Add dbus-compat.h.
-
-Mon Jun 20 02:43:26 PDT 2005 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- * configure.ac:
- - Add support for compiling under D-BUS 0.3x. Actually running
- has not yet been tested!
-
-Fri Apr 01 09:21:26 PST 2005 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- - Updated to work with 0.6 of the notification spec.
-
-Sat Nov 06 15:40:48 PST 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.h:
- - 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.
-
-Sat Nov 06 15:35:52 PST 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.h:
- - Move the emacs mode string out of the Doxygen comment and into its
- own.
-
-Sat Nov 06 15:11:53 PST 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.h:
- A Doxyfile.in:
- * Makefile.am:
- * configure.ac:
- - Add a Doxyfile.in and update things so we can get doxygen
- docs.
-
-Wed Nov 03 23:39:23 PST 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- - Use glib's memory allocation stuff instead of libc's.
-
-Wed Nov 03 23:34:10 PST 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- * libnotify/notify.h:
- * tests/test-animation.c:
- * tests/test-image.c:
- - Patch from Mike Hearn to do a bunch of stuff, like handling icons
- and animations better.
-
-Wed Nov 03 01:19:42 PST 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * configure.ac:
- A libnotify.spec.in:
- - Fix make distcheck.
-
-Wed Sep 29 22:34:03 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- * tools/notify-send.c:
- - Don't flush the D-BUS connection, and make sure we disconnect from it.
-
-Wed Sep 29 21:53:15 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- * libnotify/notify.h:
- * tests/test-animation.c:
- * tests/test-basic.c:
- * tests/test-default-action.c:
- * tests/test-error.c:
- * tests/test-image.c:
- * tests/test-markup.c:
- * tests/test-multi-actions.c:
- * tests/test-replace.c:
- * tools/notify-send.c:
- - Updated to match the spec.
-
-Sat Sep 25 12:59:26 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- * tests/test-animation.c:
- * tests/test-default-action.c:
- - Fixed to compile.
-
-Wed Sep 01 00:39:23 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * docs/ChangeLog:
- * SPECIFICATION:
- - Moved specification documentation.
- - Moved specification ChangeLog.
-
-Wed Sep 01 00:30:53 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * docs/notification-spec.xml:
- - Finishing adding the rest of the signals to the spec.
-
-Sun Aug 29 22:27:42 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- A docs/notification-spec.ps:
- A docs/notification-spec.xml:
- - Added the notification spec in docbook format. It's not finished.
- I'm just tired of working on it.
-
-Wed Jul 14 02:11:48 GMT 2004 Mike Hearn <mike at navi.cx>
- * libnotify/notify.c: Use pointers instead of GINT_TO_POINTER
- * tools/test-replace.c: Test replacing notifications
-
-Tue Jul 13 23:58:54 GMT 2004 Mike Hearn <mike at navi.cx>
- * SPECIFICATION: CloseNotification sends NotificationClosed signal.
-
-Mon Jul 5 00:12:03 GMT 2004 Mike Hearn <mike at navi.cx>
- * tools/notify-send.c (main): Treat expiry times < current time
- as timeouts from current instant
-
-Sun Jul 4 22:54:44 GMT 2004 Mike Hearn <mike at navi.cx>
- * libnotify/notify.c: Use a direct hash rather than an int hash
-
-Sun Jul 04 14:32:46 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- - Don't make IDs of 0 bad. They just want to be loved, too.
-
-Sun Jul 04 14:08:59 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- * libnotify/notify.h:
- * tools/notify-send.c:
- * SPECIFICATION:
- - Changed timeouts to expire times.
- - Install notify-send.
-
-Sun Jul 04 13:46:32 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * tools/notify-send.c:
- - Don't initialize the library until we're ready to talk to it.
-
-Sun Jul 04 13:34:14 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- * SPECIFICATION:
- - Added the urgency level to the spec, and made it a byte.
-
-Sun Jul 04 13:28:51 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- A tools/:
- R tests/:
- * Makefile.am:
- * configure.ac:
- - Renamed tests to tools.
-
-Sun Jul 04 13:28:00 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * tests/Makefile.am:
- A tests/notify-send.c:
- - Added the notify-send tool.
-
-Sat Jul 03 12:35:35 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- * libnotify/notify.h:
- - Added support for GetCapabilities.
-
-Sat Jul 03 12:27:58 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- * libnotify/notify.h:
- - Add support for GetServerInformation.
-
-Sat Jul 03 12:21:05 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- - Remove the application info sent on calls to Notify for now,
- until/if something gets added to the spec about it.
-
-Sat Jul 03 12:14:48 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- * libnotify/notify.h:
- - Removed the last of the request implementation.
- - More work toward migrating the code to the specification.
- - Simplified the action implementation a little bit.
-
-Sat Jul 03 11:26:03 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- * libnotify/notify.h:
- - Cleaned up some things and updated some stuff to be compliant with
- the spec. More will come soon.
-
-Thu Jul 1 23:46:28 GMT 2004 Mike Hearn <mike at navi.cx>
- * SPECIFICATION: Add info on icons/sounds, add some
- protocol requests. Change "buttons" in the overview to "actions".
-
-Wed Jun 30 14:03:51 GMT 2004 Mike Hearn <mike at navi.cx>
- * SPECIFICATION: Initial version
-
-Wed Jun 30 13:28:18 GMT 2004 Mike Hearn <mike at navi.cx>
- * libnotify/notify.[ch]: Add file variables for emacs to match
- the settings Christian is using.
-
-Wed Jun 30 02:53:36 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- - Free up the handle memory for a closed notification.
-
-Tue Jun 29 19:33:43 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- * libnotify/notify.h:
- - Due to the new icon struct, a lot of redundant functions have now
- been removed.
-
-Tue Jun 29 19:26:58 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- * libnotify/notify.h:
- - Added a NotifyIcon struct and the beginnings of the API.
-
-Tue Jun 29 18:49:38 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- * libnotify/notify.h:
- - 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.
-
-Tue Jun 29 18:21:05 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- - Changed 8 space to 4 space tabs.
-
-Tue Jun 29 14:49:51 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- - Patch by Mike Hearn to add a print_error() function for dumping
- extra info when we have an error.
-
-Sun Jun 27 21:50:33 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * configure.ac:
- - Pass 0.0.1 as the version number to AC_INIT().
-
-Sun Jun 27 21:39:13 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- - Added support for the NotificationClosed and RequestClosed signals,
- along with request callbacks. I wonder if any of this works.
-
-Sun Jun 27 20:23:00 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- - Keep track of request IDs so that we can do callback stuff in a bit.
-
-Sun Jun 27 20:02:09 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- - Send the list of button texts as a string array, rather than appending
- each one individually.
-
-Sun Jun 27 18:30:19 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- * libnotify/notify.h:
- - 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.
-
-Sun Jun 27 16:46:32 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- - Added a utility function for doing most of the D-BUS message
- creation.
- - Implemented notify_close_notification() and notify_close_request().
-
-Sun Jun 27 16:38:42 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- - Make sure we include our config.h if we have one.
-
-Sun Jun 27 16:37:30 PDT 2004 Christian Hammond <chipx86 at gnupdate.org>
-
- * libnotify/notify.c:
- * libnotify/notify.h:
- - Added the initial header file and connection code.
-
Copied: releases/libnotify/0.3.0/ChangeLog (from rev 2372, trunk/libnotify-ng/ChangeLog)
Deleted: releases/libnotify/0.3.0/NEWS
===================================================================
Copied: releases/libnotify/0.3.0/NEWS (from rev 2383, trunk/libnotify-ng/NEWS)
Deleted: releases/libnotify/0.3.0/tests/Makefile.am
===================================================================
--- trunk/libnotify-ng/tests/Makefile.am 2005-12-13 22:16:51 UTC (rev 2371)
+++ releases/libnotify/0.3.0/tests/Makefile.am 2005-12-14 23:13:00 UTC (rev 2384)
@@ -1,50 +0,0 @@
-if HAVE_GDK
-gdk_tests = \
- test-xy-stress
-
-test_xy_stress_SOURCES = test-xy-stress.c
-else
-gdk_tests =
-endif
-
-noinst_PROGRAMS = \
- test-replace \
- test-replace-widget \
- test-default-action \
- test-multi-actions \
- test-image \
- test-basic \
- test-error \
- test-markup \
- test-xy \
- $(gdk_tests)
-
-common_ldflags = \
- $(top_builddir)/libnotify/libnotify.la \
- $(PACKAGE_LIBS) \
- $(GDK_LIBS)
-
-test_replace_SOURCES = test-replace.c
-test_replace_LDADD = $(common_ldflags)
-test_replace_widget_SOURCES = test-replace-widget.c
-test_replace_widget_LDADD = $(common_ldflags)
-test_default_action_SOURCES = test-default-action.c
-test_default_action_LDADD = $(common_ldflags)
-test_multi_actions_SOURCES = test-multi-actions.c
-test_multi_actions_LDADD = $(common_ldflags)
-test_image_SOURCES = test-image.c
-test_image_LDADD = $(common_ldflags)
-test_basic_SOURCES = test-basic.c
-test_basic_LDADD = $(common_ldflags)
-test_error_SOURCES = test-error.c
-test_error_LDADD = $(common_ldflags)
-
-test_markup_SOURCES = test-markup.c
-test_markup_LDADD = $(common_ldflags)
-
-test_xy_SOURCES = test-xy.c
-test_xy_LDADD = $(common_ldflags)
-
-test_xy_stress_LDADD = $(common_ldflags)
-
-INCLUDES = $(PACKAGE_CFLAGS) $(GDK_CFLAGS)
Copied: releases/libnotify/0.3.0/tests/Makefile.am (from rev 2372, trunk/libnotify-ng/tests/Makefile.am)
Deleted: releases/libnotify/0.3.0/tools/Makefile.am
===================================================================
--- trunk/libnotify-ng/tools/Makefile.am 2005-12-13 22:16:51 UTC (rev 2371)
+++ releases/libnotify/0.3.0/tools/Makefile.am 2005-12-14 23:13:00 UTC (rev 2384)
@@ -1,11 +0,0 @@
-bin_PROGRAMS = notify-send
-
-common_ldflags = \
- $(top_builddir)/libnotify/libnotify.la \
- $(PACKAGE_LIBS) \
- -lpopt
-
-notify_send_SOURCES = notify-send.c
-notify_send_LDADD = $(common_ldflags)
-
-INCLUDES = $(PACKAGE_CFLAGS)
Copied: releases/libnotify/0.3.0/tools/Makefile.am (from rev 2372, trunk/libnotify-ng/tools/Makefile.am)
Deleted: releases/libnotify/0.3.0/tools/notify-send.c
===================================================================
--- trunk/libnotify-ng/tools/notify-send.c 2005-12-13 22:16:51 UTC (rev 2371)
+++ releases/libnotify/0.3.0/tools/notify-send.c 2005-12-14 23:13:00 UTC (rev 2384)
@@ -1,144 +0,0 @@
-/**
- * @file notify-send.c A tool for sending notifications.
- *
- * Copyright (C) 2004 Christian Hammond.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public
- * License along with this program; if not, write to the Free
- * Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
- */
-#include <libnotify/notify.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <time.h>
-#include <popt.h>
-#include <glib.h>
-
-#define N_(x) (x)
-
-int
-main(int argc, const char **argv)
-{
- const gchar *summary = NULL;
- const gchar *body = NULL;
- const gchar *type = NULL;
- char *urgency_str = NULL;
- gchar *icon_str = NULL;
- gchar *icons = NULL;
- NotifyUrgency urgency = NOTIFY_URGENCY_NORMAL;
- long expire_timeout = NOTIFY_TIMEOUT_DEFAULT;
- char ch;
- poptContext opt_ctx;
- const char **args;
- NotifyNotification *notify;
- GError *error = NULL;
-
- g_type_init ();
-
- struct poptOption options[] =
- {
- { "urgency", 'u', POPT_ARG_STRING | POPT_ARGFLAG_STRIP, &urgency_str,
- 0, N_("Specifies the urgency level (low, normal, critical)."),
- NULL },
- { "expire-time", 't', POPT_ARG_INT | POPT_ARGFLAG_STRIP,
- &expire_timeout, 0,
- N_("Specifies the timeout in seconds at which to expire the "
- "notification."),
- NULL },
- { "icon", 'i', POPT_ARG_STRING | POPT_ARGFLAG_STRIP, &icons, 0,
- N_("Specifies an icon filename or stock icon to display."),
- N_("ICON1,ICON2,...") },
- { "type", 't', POPT_ARG_STRING | POPT_ARGFLAG_STRIP, &type, 0,
- N_("Specifies the notification type."),
- N_("ICON1,ICON2,...") },
- POPT_AUTOHELP
- POPT_TABLEEND
- };
-
- opt_ctx = poptGetContext("notify-send", argc, argv, options, 0);
- poptSetOtherOptionHelp(opt_ctx, "[OPTIONS]* <summary> [body]");
-
- while ((ch = poptGetNextOpt(opt_ctx)) >= 0)
- ;
-
- if (ch < -1 || (args = poptGetArgs(opt_ctx)) == NULL)
- {
- poptPrintUsage(opt_ctx, stderr, 0);
- exit(1);
- }
-
- if (args[0] != NULL)
- summary = args[0];
-
- if (summary == NULL)
- {
- poptPrintUsage(opt_ctx, stderr, 0);
- exit(1);
- }
-
- if (args[1] != NULL)
- {
- body = args[1];
-
- if (args[2] != NULL)
- {
- poptPrintUsage(opt_ctx, stderr, 0);
- exit(1);
- }
- }
-
- if (icons != NULL)
- {
- char *c;
-
- /* XXX */
- if ((c = strchr(icons, ',')) != NULL)
- *c = '\0';
-
- icon_str = icons;
-
- }
-
- if (urgency_str != NULL)
- {
- if (!strcasecmp(urgency_str, "low"))
- urgency = NOTIFY_URGENCY_LOW;
- else if (!strcasecmp(urgency_str, "normal"))
- urgency = NOTIFY_URGENCY_NORMAL;
- else if (!strcasecmp(urgency_str, "critical"))
- urgency = NOTIFY_URGENCY_CRITICAL;
- else
- {
- poptPrintHelp(opt_ctx, stderr, 0);
- exit(1);
- }
- }
-
- if (!notify_init("notify-send"))
- exit(1);
-
-
- notify = notify_notification_new (summary, body, icon_str, NULL);
- notify_notification_set_category (notify, type);
- notify_notification_set_urgency (notify, urgency);
- notify_notification_set_timeout (notify, expire_timeout);
-
- notify_notification_show (notify, error);
-
- poptFreeContext(opt_ctx);
- notify_uninit();
-
- return 0;
-}
Copied: releases/libnotify/0.3.0/tools/notify-send.c (from rev 2372, trunk/libnotify-ng/tools/notify-send.c)
More information about the galago-commits
mailing list