Added LoginHelper interface. Fixed test progs to use proper prefixes on
authorbillh <billh@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Thu, 27 May 2004 17:39:19 +0000 (17:39 +0000)
committerbillh <billh@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Thu, 27 May 2004 17:39:19 +0000 (17:39 +0000)
#include'ed files.  Incremented to version 1.5.2.

git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@669 e2bd861d-eb25-0410-b326-f6ed22b6b98c

12 files changed:
ChangeLog
Makefile.am
configure.in
idl/Makefile.am
test/Makefile.am
test/app.c
test/at.c
test/key-listener-test.c
test/keypad-test.c
test/keysynth-demo.c
test/keysynth-test.c
test/stress-test.c

index 3288529..38533ca 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,36 @@
+2004-05-27  Bill Haneman <bill.haneman@sun.com>
+
+       * configure.in: Create login-helper/Makefile.  
+       Incremented micro version.
+
+       * Makefile.am:  Add login-helper subdir and pkgconfig data.
+       
+       * login-helper: New subdir.
+
+       * libloginhelper-1.0.pc.in: New.
+
+       * idl/Accessibility_LoginHelper.idl: New file, defines
+       interface whereby authentication clients can identify agents which
+       need access to services during the login process, e.g. screen lock
+       dialogs, etc.
+
+       * login-helper/Makefile.am : New.
+
+       * login-helper/login-helper.[ch] : New, implementation of
+       a LoginHelper base class.  Services needing LoginHelper can subclass.
+
+       * test/Makefile.am : Added test for login-helper, client and
+       server.
+
+       * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
+       Use proper prefix in #include files.
+
+       * test/login-helper-client-test.c: New.
+       
+       * test/login-helper-server-test.c: New.
+
 2004-05-27  Alexander Shopov <ash@contact.bg>
+
        * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
 
 2004-05-14  Padraig O'Briain <padraig.obriain@sun.com>
index 889b237..6ed3090 100644 (file)
@@ -1,7 +1,7 @@
-SUBDIRS = docs idl libspi registryd atk-bridge cspi test
+SUBDIRS = docs idl libspi login-helper registryd atk-bridge cspi test
 
 pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = libspi-1.0.pc cspi-1.0.pc
+pkgconfig_DATA = libspi-1.0.pc cspi-1.0.pc libloginhelper-1.0.pc
 
 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
 
@@ -11,5 +11,10 @@ EXTRA_DIST = \
        intltool-update.in  \
        cspi-1.0.pc.in \
        cspi-1.0-uninstalled.pc.in \
+       libloginhelper-1.0.pc.in \
        libspi-1.0.pc.in \
        libspi-1.0-uninstalled.pc.in
+
+CLEANFILES = intltool-extract \
+       intltool-merge  \
+       intltool-update
index c124e76..84052fc 100644 (file)
@@ -2,9 +2,9 @@ AC_INIT(idl/Accessibility.idl)
 
 AT_SPI_MAJOR_VERSION=1
 AT_SPI_MINOR_VERSION=5
-AT_SPI_MICRO_VERSION=1
-AT_SPI_INTERFACE_AGE=1
-AT_SPI_BINARY_AGE=1
+AT_SPI_MICRO_VERSION=2
+AT_SPI_INTERFACE_AGE=2
+AT_SPI_BINARY_AGE=2
 AT_SPI_VERSION="$AT_SPI_MAJOR_VERSION.$AT_SPI_MINOR_VERSION.$AT_SPI_MICRO_VERSION"
 AM_INIT_AUTOMAKE(at-spi, $AT_SPI_VERSION)
 AC_SUBST(AT_SPI_MAJOR_VERSION)
@@ -16,7 +16,7 @@ AC_SUBST(AT_SPI_BINARY_AGE)
 # libtool versioning
 LT_RELEASE=$AT_SPI_MAJOR_VERSION.$AT_SPI_MINOR_VERSION
 LT_CURRENT=10
-LT_REVISION=1
+LT_REVISION=2
 LT_AGE=10
 LT_VERSION_INFO='-version-info ${LT_CURRENT}:${LT_REVISION}:${LT_AGE}'
 AC_SUBST(LT_VERSION_INFO)
@@ -184,6 +184,7 @@ AC_OUTPUT([
 Makefile
 libspi-1.0.pc
 libspi-1.0-uninstalled.pc
+libloginhelper-1.0.pc
 cspi-1.0.pc
 cspi-1.0-uninstalled.pc
 docs/Makefile
@@ -193,6 +194,7 @@ idl/Makefile
 libspi/Makefile
 registryd/Makefile
 atk-bridge/Makefile
+login-helper/Makefile
 test/Makefile
 cspi/Makefile
 cspi/bonobo/Makefile
index 9940931..c7994e7 100644 (file)
@@ -20,6 +20,7 @@ idl_DATA =                                    \
        Accessibility_StreamableContent.idl     \
        Accessibility_Table.idl                 \
        Accessibility_Text.idl                  \
-       Accessibility_Value.idl
+       Accessibility_Value.idl                 \
+       Accessibility_LoginHelper.idl
 
 EXTRA_DIST=$(idl_DATA)
index 68d8d6a..d2ef5e1 100644 (file)
@@ -1,6 +1,10 @@
 NULL=
 
-noinst_PROGRAMS = test-simple at app simple-at stress-test keysynth-demo key-listener-test event-listener-test window-listener-test screen-review-test keypad-test keysynth-test
+noinst_PROGRAMS = test-simple at app simple-at stress-test keysynth-demo key-listener-test event-listener-test window-listener-test screen-review-test keypad-test keysynth-test login-helper-client-test login-helper-server-test
+
+login_helper_client_test_SOURCES = login-helper-client-test.c
+
+login_helper_server_test_SOURCES = login-helper-server-test.c
 
 keysynth_test_SOURCES = keysynth-test.c
 
@@ -30,13 +34,9 @@ DEBUG_CFLAGS=-DSPI_DEBUG
 
 INCLUDES = -I$(top_srcdir)           \
            -I$(top_builddir)         \
-           -I$(top_srcdir)/libspi    \
-           -I$(top_builddir)/libspi  \
-          -I$(top_srcdir)/cspi      \
-          -I$(top_builddir)/cspi    \
           $(TESTS_CFLAGS)           \
           $(DEBUG_CFLAGS)
 
-LDADD = ../libspi/libspi.la ../cspi/libcspi.la $(TESTS_LIBS) $(X_LIBS) $(XINPUT_LIBS)
+LDADD = ../libspi/libspi.la ../cspi/libcspi.la ../login-helper/libloginhelper.la $(TESTS_LIBS) $(X_LIBS) $(XINPUT_LIBS)
 
 TESTS = test-simple
index 678ac82..3236b6a 100644 (file)
@@ -27,8 +27,8 @@
 #include <bonobo-activation/bonobo-activation.h>
 #include <atk/atkobject.h>
 #include <libspi/Accessibility.h>
-#include "accessible.h"
-#include "application.h"
+#include <libspi/accessible.h>
+#include <libspi/application.h>
 
 #define APP_STATIC_BUFF_SZ 30
 
index b81ca50..aa8e8c6 100644 (file)
--- a/test/at.c
+++ b/test/at.c
@@ -25,8 +25,8 @@
 #include <stdlib.h>
 #include <libbonobo.h>
 #include <libspi/Accessibility.h>
-#include "accessible.h"
-#include "listener.h"
+#include <libspi/accessible.h>
+#include <libspi/listener.h>
 
 void
 check_ev (CORBA_Environment *ev, char *desc)
index ee1738f..ad73d32 100644 (file)
@@ -28,7 +28,7 @@
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <sys/un.h>
-#include <spi.h>
+#include <cspi/spi.h>
 
 static SPIBoolean report_command_key_event  (const AccessibleKeystroke *stroke, void *user_data);
 static SPIBoolean report_ordinary_key_event (const AccessibleKeystroke *stroke, void *user_data);
index c714731..f7d0be8 100644 (file)
@@ -29,7 +29,7 @@
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <sys/un.h>
-#include <spi.h>
+#include <cspi/spi.h>
 #define XK_MISCELLANY
 #include <X11/keysymdef.h>
 #include <gdk/gdk.h>
index 720773c..9e7bb6a 100644 (file)
@@ -26,7 +26,7 @@
 #include <stdlib.h>
 #include <gtk/gtk.h>
 #include <gdk/gdkx.h>
-#include "spi.h"
+#include <cspi/spi.h>
 
 #define LABELMAXLEN 20
 #define MIN_KEYCODE 9
index 8d5dbfa..d77eefa 100644 (file)
@@ -30,7 +30,7 @@
 #include <atk/atknoopobject.h>
 #include <bonobo-activation/bonobo-activation-register.h>
 #include <bonobo/bonobo-main.h>
-#include <libspi.h>
+#include <libspi/libspi.h>
 
 typedef struct {
        long int val;
index a30dd40..d4a5feb 100644 (file)
@@ -30,7 +30,7 @@
 #include <atk/atknoopobject.h>
 #include <bonobo-activation/bonobo-activation-register.h>
 #include <bonobo/bonobo-main.h>
-#include <libspi.h>
+#include <libspi/libspi.h>
 
 int
 main (int argc, char **argv)