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 3288529a638b26d6f3df3bf1757c462ebd596058..38533ca792ad42de8052106e6351462b1e84f543 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 889b2375c3770a1d34cd7fee99e5ad594615f709..6ed309034265a9a4ab64f253b94036cb4802a71f 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 c124e765389767dad5a127a38cadf2ac3a54278b..84052fcc3e11c4d0eac2e023b33eab42be6bae02 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 9940931cab2bdc6c0957fb405740f254cd06a296..c7994e7cfba40a887abbdb64559a411d06bb4be4 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 68d8d6a846649cc7e4212e642622ad3e39aacbb1..d2ef5e10263aba670d0958bb168d11885a45c67f 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 678ac82886653104a2b42f256216350f0bf1016e..3236b6a7d39e6092c48e4ea302f5cd2444c778e0 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 b81ca504e0d27adc3411ffe355d672b5a31046c4..aa8e8c60517a3de95c1ab27031654eea4c35308d 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 ee1738f95439b179e184f31c72770e4cf2484709..ad73d3239c6e6831b72f566fca2c6ebd1f8a7a03 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 c714731be1b55bd9bbbdafd761af69e1e220a014..f7d0be86c80c6438eccfb692fa8dbb3db88ed851 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 720773ce2d06c28fddbc5d7fee9d2884bc5c595b..9e7bb6a5064f078665f919beb59abfbcda898117 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 8d5dbfafef69f32d96f1abe92ed2daa32bd76441..d77eefa4e24c40fe0a9aee097378cf4be0b6e1d6 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 a30dd40cbaaa70760ee7258694cc5ed17b9b5247..d4a5feba7bd97b23595bb70c8c1338451f81af89 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)