Skip to content

Commit

Permalink
Squashed 'libsignon/' changes from 087367d..aeb0cc3
Browse files Browse the repository at this point in the history
aeb0cc3 Version 8.57
9ace7ce signond: fix build of remotepluginprocess
7ebe63d Tests: make database test more robust
aae7494 signond: notify clients of credentials updates
75af82e Merge branch 'no-static-plugin-lib'
4acd15a signond: fix passing of DBus maps to plugins
20dfcc2 lib: don't emit a critical warning on p2p socket failure
6e9508a Build: add CMake config files for Qt5
6e6e65e Version 8.56
ef7a67a Make it easier to use with CMake by adding a Config*.cmake files
38e3b0e lib/plugins: do not build a static library
b70c02b signond: don't attempt demarshalling an invalid QVariant
c6f6c35 signond: don't use qDeleteAll for children
65e630e signond: fix a crash when deleting authsessions
ee2c90e Tests: fix databasetest.cpp
98fd3d1 lib, signond: avoid rewriting password with empty string
e6ceb2d signond: on idle timeout, directly delete all AuthSessions
cd561f5 Tests: increase test timeout for AuthSession tests
d9f7761 Version 8.55
eb14195 Build: reduce usage of CONFIG+=ordered
e6c0633 Preserve value of IdentityInfo::storeSecret
6026aa2 signond: if no extension is selected, pickup the first one
ca5dbe5 signond: unregister the identity on disposable timeout
9c5d224 Version 8.54
c6def71 lib: set timeout for D-Bus calls to INT_MAX
3ba656a Version 8.53
86de9c9 signond: fix a memory leak and crash at exit
e9dba8b Show pid of signonpluginprocess in syslog
2c22721 Tests: do not fail if XDG_RUNTIME_DIR is not set
80f186a Tests: fix for out-of-tree builds
0b9a67d Tests: do not build "untrusted" tests
9b179d8 Tests: add access control tests
db47a86 lib: an Identity with an ACL set is not empty.
5e994e6 signond: create AccessRequests when AC is denied
df8b037 signond: send error replies from SignonDaemonAdaptor
159ed44 signond: let the adaptor register the objects
7b8100e signond: allow overriding config dir
b5f7485 lib,signond: pass owner information to client
81963cd Tests: split signond-tests into multiple executables
ef42bc4 Tests: cleanup removal of ACM tests
c2742dd lib/signond: introduce AccessRequest class for ACM
f1acc64 Tests: add tests for the SignOnExtensions library
062b831 signond: empty ACL means "no access"
9828d7e Remove MSSF and SMACK AC extensions
ce64501 signond,lib: add connection param to ACM interface
15f847b signond: let AccessControlManagerHelper see the DBus connection
9ac30ba lib: make AsyncDBusProxy reconnect the signals as needed
bc5105e Support peer-to-peer connections
367b092 Use AsyncDBusProxy for registering objects
e2cc560 lib: create SignondAsyncDBusProxy class
9424994 lib: code cleanups
f128405 lib: avoid race condition on destroyed remote objects
5c79a35 lib: re-register AuthSessions when needed
70d4815 lib: new way of handling non ready objects
0b1a15f Tests: let signond be activated by D-Bus
8b3b802 Signond: reduce usage of SIGNOND_BUS macro
8826add Signond: handle D-Bus registration in daemon class
4978a80 Convert QDBusArgument session parameters to QVariantMap
62ff5e4 Version 8.52
fa5b1c5 Mostly added const and & when doing iterating a QList without modifying the value. Also a .size replaced by isEmpty
1d731ca Bunch of micro optimizations by doing things bit more Qt style
82b0105 lib: allow storing a record with empty username and password
a6035dd Make the dbus .service files content relative to INSTALL_PREFIX
3936d4f signond: emit signals before returning a reply
45c5009 Version 8.51
6e2d0e2 Qt5: fix SignonExtension.pc
5c04080 Inform signon-ui of identity removals and signouts
fa03369 libsignon-qt: implement ACL retrieval

git-subtree-dir: libsignon
git-subtree-split: aeb0cc3540507027ee2c66dd24e60f3cbf55fee4
  • Loading branch information
Chris Adams committed Feb 3, 2015
1 parent 5b809a7 commit 7a9a462
Show file tree
Hide file tree
Showing 123 changed files with 4,023 additions and 3,147 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Expand Up @@ -24,6 +24,10 @@ coverage.info
debian
doc/html
doc/qch
lib/SignOn/SignOnQt*.cmake
lib/SignOn/doc/html
lib/SignOn/doc/qch
server/com.google.code.AccountsSSO.SingleSignOn.service
server/com.nokia.SingleSignOn.Backup.service
signon-*.tar.bz2
tests/com.google.code.AccountsSSO.SingleSignOn.service
20 changes: 20 additions & 0 deletions common-project-config.pri
Expand Up @@ -33,6 +33,17 @@ DEFINES += DEBUG_ENABLED
#TODO comment this to restrict plugins to run under signon user
DEFINES += NO_SIGNON_USER

# Qt4/Qt5 common checks
greaterThan(QT_MAJOR_VERSION, 4) {
LIBSIGNON = libsignon-qt5
CMAKE_BASENAME = SignOnQt5
LIBQTCORE = Qt5Core
} else {
LIBSIGNON = libsignon-qt
CMAKE_BASENAME = SignOnQt
LIBQTCORE = QtCore
}

#-----------------------------------------------------------------------------
# setup the installation prefix
#-----------------------------------------------------------------------------
Expand Down Expand Up @@ -74,6 +85,15 @@ isEmpty( LIBDIR ) {
message("==== library install path set to `$${INSTALL_LIBDIR}'")
}

isEmpty ( CMAKE_CONFIG_PATH ) {
CMAKE_CONFIG_PATH = $${INSTALL_LIBDIR}/cmake/$${CMAKE_BASENAME}
message("====")
message("==== NOTE: To override the cmake module installation path run: `qmake CMAKE_CONFIG_PATH=/custom/path'")
message("==== (current installation path is `$${CMAKE_CONFIG_PATH}')")
} else {
message("====")
message("==== cmake module install path set to `$${CMAKE_CONFIG_PATH}'")
}

# Default directory for signond extensions
_EXTENSIONS = $$(SIGNOND_EXTENSIONS_DIR)
Expand Down
2 changes: 1 addition & 1 deletion common-vars.pri
Expand Up @@ -14,7 +14,7 @@ PROJECT_NAME = signon
# Project version
# remember to update debian/* files if you changes this
#-----------------------------------------------------------------------------
PROJECT_VERSION = 8.50
PROJECT_VERSION = 8.57

#-----------------------------------------------------------------------------
# Library version
Expand Down
7 changes: 7 additions & 0 deletions lib/SignOn/SignOnQt5Config.cmake.in
@@ -0,0 +1,7 @@
# SIGNONQT_INCLUDE_DIRS - The libsignon-qt include directories
# SIGNONQT_LIBRARIES - The libraries needed to use libsignon-qt
# SIGNONQT_LIBRARIES_STATIC - The static version of libsignon-qt

set(SIGNONQT_LIBRARIES $${INSTALL_LIBDIR}/lib$${TARGET}.so)
set(SIGNONQT_LIBRARIES_STATIC $${INSTALL_LIBDIR}/lib$${TARGET}.a)
set(SIGNONQT_INCLUDE_DIRS $${INSTALL_PREFIX}/include/$${TARGET})
10 changes: 10 additions & 0 deletions lib/SignOn/SignOnQt5ConfigVersion.cmake.in
@@ -0,0 +1,10 @@
set(PACKAGE_VERSION $${PROJECT_VERSION})

if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}" )
set(PACKAGE_VERSION_COMPATIBLE FALSE)
else("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}" )
set(PACKAGE_VERSION_COMPATIBLE TRUE)
if( "${PACKAGE_FIND_VERSION}" STREQUAL "${PACKAGE_VERSION}")
set(PACKAGE_VERSION_EXACT TRUE)
endif( "${PACKAGE_FIND_VERSION}" STREQUAL "${PACKAGE_VERSION}")
endif("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}" )
7 changes: 7 additions & 0 deletions lib/SignOn/SignOnQtConfig.cmake.in
@@ -0,0 +1,7 @@
# SIGNONQT_INCLUDE_DIRS - The libsignon-qt include directories
# SIGNONQT_LIBRARIES - The libraries needed to use libsignon-qt
# SIGNONQT_LIBRARIES_STATIC - The static version of libsignon-qt

set(SIGNONQT_LIBRARIES $${INSTALL_LIBDIR}/lib$${TARGET}.so)
set(SIGNONQT_LIBRARIES_STATIC $${INSTALL_LIBDIR}/lib$${TARGET}.a)
set(SIGNONQT_INCLUDE_DIRS $${INSTALL_PREFIX}/include/$${TARGET})
10 changes: 10 additions & 0 deletions lib/SignOn/SignOnQtConfigVersion.cmake.in
@@ -0,0 +1,10 @@
set(PACKAGE_VERSION $${PROJECT_VERSION})

if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}" )
set(PACKAGE_VERSION_COMPATIBLE FALSE)
else("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}" )
set(PACKAGE_VERSION_COMPATIBLE TRUE)
if( "${PACKAGE_FIND_VERSION}" STREQUAL "${PACKAGE_VERSION}")
set(PACKAGE_VERSION_EXACT TRUE)
endif( "${PACKAGE_FIND_VERSION}" STREQUAL "${PACKAGE_VERSION}")
endif("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}" )

0 comments on commit 7a9a462

Please sign in to comment.