From cec6e8575d451c489ac31769f504863a68c02f3d Mon Sep 17 00:00:00 2001 From: billh Date: Thu, 27 May 2004 17:39:19 +0000 Subject: [PATCH] Added LoginHelper interface. Fixed test progs to use proper prefixes on #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 --- ChangeLog | 32 ++++++++++++++++++++++++++++++++ Makefile.am | 9 +++++++-- configure.in | 10 ++++++---- idl/Makefile.am | 3 ++- test/Makefile.am | 12 ++++++------ test/app.c | 4 ++-- test/at.c | 4 ++-- test/key-listener-test.c | 2 +- test/keypad-test.c | 2 +- test/keysynth-demo.c | 2 +- test/keysynth-test.c | 2 +- test/stress-test.c | 2 +- 12 files changed, 62 insertions(+), 22 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3288529..38533ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,36 @@ +2004-05-27 Bill Haneman + + * 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 + * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian) 2004-05-14 Padraig O'Briain diff --git a/Makefile.am b/Makefile.am index 889b237..6ed3090 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 diff --git a/configure.in b/configure.in index c124e76..84052fc 100644 --- a/configure.in +++ b/configure.in @@ -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 diff --git a/idl/Makefile.am b/idl/Makefile.am index 9940931..c7994e7 100644 --- a/idl/Makefile.am +++ b/idl/Makefile.am @@ -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) diff --git a/test/Makefile.am b/test/Makefile.am index 68d8d6a..d2ef5e1 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -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 diff --git a/test/app.c b/test/app.c index 678ac82..3236b6a 100644 --- a/test/app.c +++ b/test/app.c @@ -27,8 +27,8 @@ #include #include #include -#include "accessible.h" -#include "application.h" +#include +#include #define APP_STATIC_BUFF_SZ 30 diff --git a/test/at.c b/test/at.c index b81ca50..aa8e8c6 100644 --- a/test/at.c +++ b/test/at.c @@ -25,8 +25,8 @@ #include #include #include -#include "accessible.h" -#include "listener.h" +#include +#include void check_ev (CORBA_Environment *ev, char *desc) diff --git a/test/key-listener-test.c b/test/key-listener-test.c index ee1738f..ad73d32 100644 --- a/test/key-listener-test.c +++ b/test/key-listener-test.c @@ -28,7 +28,7 @@ #include #include #include -#include +#include static SPIBoolean report_command_key_event (const AccessibleKeystroke *stroke, void *user_data); static SPIBoolean report_ordinary_key_event (const AccessibleKeystroke *stroke, void *user_data); diff --git a/test/keypad-test.c b/test/keypad-test.c index c714731..f7d0be8 100644 --- a/test/keypad-test.c +++ b/test/keypad-test.c @@ -29,7 +29,7 @@ #include #include #include -#include +#include #define XK_MISCELLANY #include #include diff --git a/test/keysynth-demo.c b/test/keysynth-demo.c index 720773c..9e7bb6a 100644 --- a/test/keysynth-demo.c +++ b/test/keysynth-demo.c @@ -26,7 +26,7 @@ #include #include #include -#include "spi.h" +#include #define LABELMAXLEN 20 #define MIN_KEYCODE 9 diff --git a/test/keysynth-test.c b/test/keysynth-test.c index 8d5dbfa..d77eefa 100644 --- a/test/keysynth-test.c +++ b/test/keysynth-test.c @@ -30,7 +30,7 @@ #include #include #include -#include +#include typedef struct { long int val; diff --git a/test/stress-test.c b/test/stress-test.c index a30dd40..d4a5feb 100644 --- a/test/stress-test.c +++ b/test/stress-test.c @@ -30,7 +30,7 @@ #include #include #include -#include +#include int main (int argc, char **argv) -- 2.7.4