platform/upstream/libgsignon-glib.git
11 years agofixed issues reported by make distcheck
Imran Zaman [Wed, 12 Jun 2013 13:45:45 +0000 (16:45 +0300)]
fixed issues reported by make distcheck

11 years agofixed name changes
Imran Zaman [Wed, 12 Jun 2013 12:29:25 +0000 (15:29 +0300)]
fixed name changes

11 years agofixed gitignore file for lib name changes
Imran Zaman [Mon, 10 Jun 2013 08:18:27 +0000 (11:18 +0300)]
fixed gitignore file for lib name changes

11 years agoMerge branch 'reviews'
Jussi Laako [Thu, 6 Jun 2013 11:46:05 +0000 (14:46 +0300)]
Merge branch 'reviews'

11 years agospec: add missing build dependency
Jussi Laako [Mon, 3 Jun 2013 15:18:54 +0000 (18:18 +0300)]
spec: add missing build dependency

11 years agoUpdate packaging
Jussi Laako [Mon, 3 Jun 2013 15:03:16 +0000 (18:03 +0300)]
Update packaging

11 years agoRemove broken Vala API
Jussi Laako [Mon, 3 Jun 2013 15:00:02 +0000 (18:00 +0300)]
Remove broken Vala API

11 years agoFix GObject introspection
Jussi Laako [Mon, 3 Jun 2013 14:31:00 +0000 (17:31 +0300)]
Fix GObject introspection

11 years agoMerge branch 'reviews'
Jussi Laako [Fri, 31 May 2013 12:37:50 +0000 (15:37 +0300)]
Merge branch 'reviews'

11 years agopkgconfig: remove unnecessary dependency
Jussi Laako [Fri, 31 May 2013 12:35:26 +0000 (15:35 +0300)]
pkgconfig: remove unnecessary dependency

11 years agousing correct dbus socket address and limited testbus server for session bus.
Amarnath Valluri [Wed, 29 May 2013 09:06:37 +0000 (12:06 +0300)]
using correct dbus socket address and limited testbus server for session bus.

11 years agoRename the project
Jussi Laako [Fri, 31 May 2013 10:34:47 +0000 (13:34 +0300)]
Rename the project

11 years agotest db paths are set to /tmp/gsignond
Imran Zaman [Mon, 27 May 2013 08:21:52 +0000 (11:21 +0300)]
test db paths are set to /tmp/gsignond

11 years agoUpdate and fix queryIdentities method and add test case for it
Jussi Laako [Thu, 23 May 2013 15:13:35 +0000 (18:13 +0300)]
Update and fix queryIdentities method and add test case for it

11 years agoJust return NULL on NULL copy of SecurityContext
Jussi Laako [Mon, 20 May 2013 12:37:34 +0000 (15:37 +0300)]
Just return NULL on NULL copy of SecurityContext

11 years agofixed number of failing test cases, memory leaks and invalid reads
Imran Zaman [Fri, 17 May 2013 15:17:00 +0000 (18:17 +0300)]
fixed number of failing test cases, memory leaks and invalid reads

11 years agoAdd signon_auth_service_query_identities()
Jussi Laako [Thu, 16 May 2013 14:09:14 +0000 (17:09 +0300)]
Add signon_auth_service_query_identities()

11 years agofixed error for the programs which have to be valgrinded
Imran Zaman [Tue, 14 May 2013 09:58:05 +0000 (12:58 +0300)]
fixed error for the programs which have to be valgrinded

11 years agoclient-lib: fixed number of memory leaks and restructured test code a bit
Imran Zaman [Mon, 6 May 2013 17:01:11 +0000 (20:01 +0300)]
client-lib: fixed number of memory leaks and restructured test code a bit

11 years agoFix a variant reference leak
Jussi Laako [Thu, 2 May 2013 14:12:26 +0000 (17:12 +0300)]
Fix a variant reference leak

11 years agoconfigure: adjust whitespaces to align output nicely
Jussi Laako [Tue, 9 Apr 2013 12:23:29 +0000 (15:23 +0300)]
configure: adjust whitespaces to align output nicely

11 years agopeer to peer dbus support added
Amarnath Valluri [Mon, 8 Apr 2013 14:00:32 +0000 (17:00 +0300)]
peer to peer dbus support added

11 years agodbus: setting no_property_load flags while creating proxy objects, as daemon objects...
Amarnath Valluri [Wed, 3 Apr 2013 12:47:44 +0000 (15:47 +0300)]
dbus: setting no_property_load flags while creating proxy objects, as daemon objects are not supporting any properties

11 years ago- Properly update local info cache when storing to avoid roundtrip timing
Jussi Laako [Wed, 27 Mar 2013 13:52:14 +0000 (15:52 +0200)]
- Properly update local info cache when storing to avoid roundtrip timing
problems
- White space fixes

11 years agoFix test_auth_session_process_failure test case
Jussi Laako [Thu, 14 Mar 2013 16:49:27 +0000 (18:49 +0200)]
Fix test_auth_session_process_failure test case

11 years ago- Fix tests
Jussi Laako [Thu, 7 Mar 2013 16:16:16 +0000 (18:16 +0200)]
- Fix tests
- Don't emit local status updates

11 years agoFix error domain and tests
Jussi Laako [Wed, 6 Mar 2013 16:35:17 +0000 (18:35 +0200)]
Fix error domain and tests

11 years agoFix auth session query mechanisms test
Jussi Laako [Mon, 4 Mar 2013 18:07:00 +0000 (20:07 +0200)]
Fix auth session query mechanisms test

11 years agoFix tests for more strict security enforcement of gsignond
Jussi Laako [Fri, 1 Mar 2013 16:13:58 +0000 (18:13 +0200)]
Fix tests for more strict security enforcement of gsignond

11 years ago- Unref the identity when session is finalized
Jussi Laako [Thu, 28 Feb 2013 16:51:32 +0000 (18:51 +0200)]
- Unref the identity when session is finalized
- Some more debug printouts

11 years agoSome more debug messages
Jussi Laako [Mon, 25 Feb 2013 15:22:35 +0000 (17:22 +0200)]
Some more debug messages

11 years agosecurity context: use slice allocator and different NULL return in free
Jussi Laako [Thu, 21 Feb 2013 16:24:08 +0000 (18:24 +0200)]
security context: use slice allocator and different NULL return in free

11 years agoChain session object creation properly with identity object creation
Jussi Laako [Mon, 18 Feb 2013 17:04:29 +0000 (19:04 +0200)]
Chain session object creation properly with identity object creation

11 years agoUpdate test script to use gsignond
Jussi Laako [Mon, 18 Feb 2013 13:04:01 +0000 (15:04 +0200)]
Update test script to use gsignond

11 years agodbus: rename interfaces to avoid conflict
Jussi Laako [Tue, 12 Feb 2013 14:51:42 +0000 (16:51 +0200)]
dbus: rename interfaces to avoid conflict
identityinfo: don't pass owner or ACL if not set - leave it to deamon

11 years agopackaging: spec update
Jussi Laako [Mon, 11 Feb 2013 14:42:49 +0000 (16:42 +0200)]
packaging: spec update

11 years agogeneric: fix internal APIs and tests for rebase
Jussi Laako [Mon, 11 Feb 2013 14:28:58 +0000 (16:28 +0200)]
generic: fix internal APIs and tests for rebase

11 years agoall: build independently from the signond sources
Jussi Laako [Tue, 27 Nov 2012 14:44:54 +0000 (16:44 +0200)]
all: build independently from the signond sources
all: add support for two-layer access control
all: functionality to set the owner item on IdentityInfo
dbus: update interfaces

11 years agoDoc: mention that Identity::signout() clears password and tokens
Alberto Mardegan [Mon, 15 Apr 2013 09:48:50 +0000 (13:48 +0400)]
Doc: mention that Identity::signout() clears password and tokens

11 years agoCheck that NEWS has been update before releasing
David King [Tue, 5 Feb 2013 14:49:52 +0000 (14:49 +0000)]
Check that NEWS has been update before releasing

11 years agoVersion 1.9 1.9
Alberto Mardegan [Tue, 5 Feb 2013 14:44:15 +0000 (16:44 +0200)]
Version 1.9

11 years agoInvoke the callback when errors occur
Alberto Mardegan [Tue, 5 Feb 2013 12:44:49 +0000 (14:44 +0200)]
Invoke the callback when errors occur

Fix a bug when the SignonAuthSession::process callback was not being
invoked if any error occurred, and add a test case to catch future
regressions.

11 years agoAdd NOCONFIGURE logic to autogen.sh
David King [Wed, 23 Jan 2013 09:35:17 +0000 (09:35 +0000)]
Add NOCONFIGURE logic to autogen.sh

Additionally, fix the script to run gtkdocize from $srcdir.

11 years agoFix the check for pyoverridesdir for python3
Ken VanDine [Wed, 23 Jan 2013 06:25:21 +0000 (07:25 +0100)]
Fix the check for pyoverridesdir for python3

11 years agoDon't leak the GCancellable
Alberto Mardegan [Fri, 18 Jan 2013 12:38:12 +0000 (14:38 +0200)]
Don't leak the GCancellable

11 years agoVersion 1.8 1.8
Alberto Mardegan [Thu, 10 Jan 2013 11:08:04 +0000 (12:08 +0100)]
Version 1.8

11 years agoEffectively deprecate signon_auth_session_process
Alberto Mardegan [Fri, 30 Nov 2012 07:37:07 +0000 (09:37 +0200)]
Effectively deprecate signon_auth_session_process

11 years agoAdd signon_auth_session_process_async
Alberto Mardegan [Thu, 29 Nov 2012 11:39:53 +0000 (13:39 +0200)]
Add signon_auth_session_process_async

Fixes: http://code.google.com/p/accounts-sso/issues/detail?id=115

11 years agoTests: use G_SLICE=debug-blocks
Alberto Mardegan [Thu, 29 Nov 2012 11:58:57 +0000 (13:58 +0200)]
Tests: use G_SLICE=debug-blocks

This can help catch some memory errors.

11 years agoFix all memory leaks detected by valgrind
Alberto Mardegan [Thu, 29 Nov 2012 11:58:06 +0000 (13:58 +0200)]
Fix all memory leaks detected by valgrind

11 years agoMark static string as const
Alberto Mardegan [Thu, 29 Nov 2012 11:40:23 +0000 (13:40 +0200)]
Mark static string as const

11 years agoSet ID before invoking the client callback
Alberto Mardegan [Thu, 22 Nov 2012 10:48:21 +0000 (12:48 +0200)]
Set ID before invoking the client callback

This change makes SignonIdentity process the results from
store_credentials() before invoking the client callback. This is
important because otherwise any SignonAuthSession created by the client
from within the callback would not be bound to the identity.

Also, add a unit test to catch any regressions.

Fixes: http://code.google.com/p/accounts-sso/issues/detail?id=132

12 years agoMake tests optional at configure time
David King [Tue, 30 Oct 2012 09:24:27 +0000 (09:24 +0000)]
Make tests optional at configure time

http://code.google.com/p/accounts-sso/issues/detail?id=124

12 years agoUpdate NEWS
David King [Fri, 26 Oct 2012 12:59:05 +0000 (13:59 +0100)]
Update NEWS

12 years agoAdd README
David King [Fri, 26 Oct 2012 12:37:14 +0000 (13:37 +0100)]
Add README

12 years agoGenerate ChangeLog from git during make dist
David King [Fri, 26 Oct 2012 12:36:48 +0000 (13:36 +0100)]
Generate ChangeLog from git during make dist

12 years agoAdd generated D-Bus documentation to CLEANFILES
David King [Thu, 25 Oct 2012 10:17:41 +0000 (11:17 +0100)]
Add generated D-Bus documentation to CLEANFILES

12 years agoAdd warning about instability of D-Bus API
David King [Wed, 24 Oct 2012 09:53:52 +0000 (10:53 +0100)]
Add warning about instability of D-Bus API

12 years agoAdd SignonAuthSession::state-changed documentation
David King [Thu, 18 Oct 2012 14:26:12 +0000 (15:26 +0100)]
Add SignonAuthSession::state-changed documentation

12 years agoFix an implicit function declaration in a test
David King [Thu, 18 Oct 2012 11:26:50 +0000 (12:26 +0100)]
Fix an implicit function declaration in a test

12 years agoAdd signond D-Bus API documentation
David King [Thu, 18 Oct 2012 11:03:08 +0000 (12:03 +0100)]
Add signond D-Bus API documentation

12 years agoAdd SignonAuthService to sections file
David King [Thu, 18 Oct 2012 10:23:29 +0000 (11:23 +0100)]
Add SignonAuthService to sections file

12 years agoImprove reference documentation main page
David King [Thu, 18 Oct 2012 09:55:35 +0000 (10:55 +0100)]
Improve reference documentation main page

12 years agoUpdate to recent automake syntax in Makefile.am
David King [Thu, 18 Oct 2012 09:29:51 +0000 (10:29 +0100)]
Update to recent automake syntax in Makefile.am

12 years agoRemove INSTALL from version control
David King [Thu, 18 Oct 2012 08:56:55 +0000 (09:56 +0100)]
Remove INSTALL from version control

12 years agoUpdate configure.ac to recent autoconf syntax
David King [Thu, 18 Oct 2012 08:56:36 +0000 (09:56 +0100)]
Update configure.ac to recent autoconf syntax

12 years agoImprove autogen.sh
David King [Thu, 18 Oct 2012 08:39:19 +0000 (09:39 +0100)]
Improve autogen.sh

12 years agoVersion 1.7 1.7
Alberto Mardegan [Wed, 17 Oct 2012 08:32:02 +0000 (11:32 +0300)]
Version 1.7

12 years agoSupport GValues of type G_TYPE_VARIANT
Alberto Mardegan [Wed, 17 Oct 2012 07:06:24 +0000 (10:06 +0300)]
Support GValues of type G_TYPE_VARIANT

Allow passing more complex types to signon_auth_session_process() by
supporting GValues containing a GVariant.

http://code.google.com/p/accounts-sso/issues/detail?id=121

12 years agoVersion 1.6 1.6
Alberto Mardegan [Wed, 22 Aug 2012 08:04:17 +0000 (11:04 +0300)]
Version 1.6

12 years agoBe python3-compatible
Alberto Mardegan [Wed, 22 Aug 2012 06:48:23 +0000 (09:48 +0300)]
Be python3-compatible

dict.iteritems() is no more.
Also, fix a misleading comment (leftover from a previous
implementation).

12 years agoVersion 1.5 1.5
Alberto Mardegan [Mon, 13 Aug 2012 08:18:58 +0000 (11:18 +0300)]
Version 1.5

12 years agoWorkaround for missing PyGObject support for GStrv
Alberto Mardegan [Wed, 21 Dec 2011 07:46:11 +0000 (09:46 +0200)]
Workaround for missing PyGObject support for GStrv

Currently PyGObject doesn't support marshalling of string lists (see
https://bugzilla.gnome.org/show_bug.cgi?id=666636 ), so we need to
workaround this limitation somehow.
This code uses pygobject "hidden" support for GStrv to convert Python
lists to GStrv on the fly.

12 years agoRemove the last traces of dbus-glib
Alberto Mardegan [Mon, 13 Aug 2012 07:34:44 +0000 (10:34 +0300)]
Remove the last traces of dbus-glib

12 years agoFix make distcheck
Alberto Mardegan [Thu, 2 Aug 2012 14:57:30 +0000 (17:57 +0300)]
Fix make distcheck

12 years agoMakefile.am: remove generation of dbus-glib files
Alberto Mardegan [Thu, 2 Aug 2012 14:27:16 +0000 (17:27 +0300)]
Makefile.am: remove generation of dbus-glib files

12 years agoRemove dependency on dbus-glib
Alberto Mardegan [Thu, 2 Aug 2012 10:20:55 +0000 (13:20 +0300)]
Remove dependency on dbus-glib

12 years agoUse GDBus
Alberto Mardegan [Thu, 2 Aug 2012 09:55:37 +0000 (12:55 +0300)]
Use GDBus

This commit contains a minimal set of changes needed to switch from
dbus-glib to GDBus. None of the other issues (such as the code being a
mess) are addressed by this commit, in order to make the review simpler.

A later commit will completely remove all traces of dbus-glib.

12 years agoVersion 1.4 1.4
Alberto Mardegan [Thu, 26 Jul 2012 13:32:19 +0000 (16:32 +0300)]
Version 1.4

12 years agoTests: update license
Alberto Mardegan [Thu, 26 Jul 2012 05:25:00 +0000 (08:25 +0300)]
Tests: update license

We forgot to change the license in tests/check_signon.c when the project
was open-sourced.

12 years agoVersion 1.3 1.3
Alberto Mardegan [Wed, 25 Jul 2012 07:44:44 +0000 (10:44 +0300)]
Version 1.3

12 years agoDistribute test script
Alberto Mardegan [Wed, 25 Jul 2012 07:44:25 +0000 (10:44 +0300)]
Distribute test script

12 years agoAuthSession: let the callback unreference "self"
Alberto Mardegan [Tue, 17 Jul 2012 08:48:08 +0000 (11:48 +0300)]
AuthSession: let the callback unreference "self"

Keep a reference on "self" while invoking the callback.
This fixes:
http://code.google.com/p/accounts-sso/issues/detail?id=81

12 years agoTests: don't load any signond extensions
Alberto Mardegan [Tue, 17 Jul 2012 08:02:56 +0000 (11:02 +0300)]
Tests: don't load any signond extensions

12 years agoTests: fix compilation warning
Alberto Mardegan [Tue, 17 Jul 2012 08:02:38 +0000 (11:02 +0300)]
Tests: fix compilation warning

12 years agoTests: do not depend on SASL plugin
Alberto Mardegan [Tue, 17 Jul 2012 08:01:57 +0000 (11:01 +0300)]
Tests: do not depend on SASL plugin

Use the ssotest plugin instead, which we are already using in other
tests.

12 years agoShip Vala bindings
Alberto Mardegan [Mon, 16 Jul 2012 12:29:34 +0000 (15:29 +0300)]
Ship Vala bindings

Unfortunately these bindings cannot be auto-generated due to
https://bugzilla.gnome.org/show_bug.cgi?id=665732

12 years agoAdd Requires.private to pkg-config file
David King [Thu, 31 May 2012 09:59:22 +0000 (10:59 +0100)]
Add Requires.private to pkg-config file

Requires.private should be used for packages that are required to build
but which are not exposed to other applications.

http://people.freedesktop.org/~dbn/pkg-config-guide.html

12 years agoVersion 1.2 1.2
Alberto Mardegan [Mon, 16 Apr 2012 06:24:48 +0000 (09:24 +0300)]
Version 1.2

12 years agoDepend on latest signond.
Alberto Mardegan [Mon, 16 Apr 2012 06:24:15 +0000 (09:24 +0300)]
Depend on latest signond.

12 years agoRemove support for old D-Bus API
Alberto Mardegan [Fri, 13 Apr 2012 06:52:29 +0000 (09:52 +0300)]
Remove support for old D-Bus API

12 years agoRename D-Bus paths to com.google.code.AccountsSSO
Alberto Mardegan [Thu, 12 Apr 2012 16:22:00 +0000 (19:22 +0300)]
Rename D-Bus paths to com.google.code.AccountsSSO

This follows the changes in signond.

12 years agoFix the creation of a couple of GError instances
Alberto Mardegan [Thu, 12 Apr 2012 16:20:08 +0000 (19:20 +0300)]
Fix the creation of a couple of GError instances

A wrong error domain was used, and the error code was hardcoded to 1.
Here we try to make a better guess at the error codes.

12 years agoTests: use a separate D-Bus session, if possible
Alberto Mardegan [Thu, 12 Apr 2012 11:32:16 +0000 (14:32 +0300)]
Tests: use a separate D-Bus session, if possible

Use the dbus-test-runner tool, if available, to run the tests in a
separate D-Bus session. In any case, set up environment variables so
that the signon daemon started in the tests will use its own storage,
and not mess up the user data.

12 years agoUse new D-Bus APIs from signond
Alberto Mardegan [Thu, 12 Apr 2012 06:33:50 +0000 (09:33 +0300)]
Use new D-Bus APIs from signond

12 years agoHandle new registerStoredIdentity return value
Alberto Mardegan [Tue, 10 Apr 2012 13:40:13 +0000 (16:40 +0300)]
Handle new registerStoredIdentity return value

The registerStoredIdentity method in signond is being changed to remove
the unnecessary variant wrapping of the mechanisms.
This commit let us support both versions of the API, by adding a runtime
check.

12 years agoUse com.nokia.SingleSignOn.Identity.store
Alberto Mardegan [Tue, 10 Apr 2012 13:38:43 +0000 (16:38 +0300)]
Use com.nokia.SingleSignOn.Identity.store

Use the more flexible com.nokia.SingleSignOn.Identity.store instead of
com.nokia.SingleSignOn.Identity.storeCredentials.

12 years agoRename internal methods for consistency
Alberto Mardegan [Tue, 10 Apr 2012 07:53:22 +0000 (10:53 +0300)]
Rename internal methods for consistency

12 years agoFix autotool scripts
Jussi Laako [Tue, 27 Mar 2012 12:02:16 +0000 (15:02 +0300)]
Fix autotool scripts

12 years agoTests: skip tests when outside of a D-Bus session
Alberto Mardegan [Wed, 7 Mar 2012 13:26:14 +0000 (15:26 +0200)]
Tests: skip tests when outside of a D-Bus session