platform/upstream/libgsignon-glib.git
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

12 years agoTests: do not install test scripts
Alberto Mardegan [Wed, 7 Mar 2012 12:53:02 +0000 (14:53 +0200)]
Tests: do not install test scripts

Using "check_" instead of "bin_" in the Makefile.am forces libtool to
link against the libaccounts-glib found in the working tree, and not
against the system one.
This allows us to run "make check" locally.

12 years agoDeveloper documentation improvements
David King [Wed, 25 Jan 2012 10:55:02 +0000 (10:55 +0000)]
Developer documentation improvements

Add many missing gtk-doc comments, to allow the gtk-doc check to pass
without any errors.

12 years agoUpdate gtk-doc configuration
David King [Wed, 25 Jan 2012 10:45:15 +0000 (10:45 +0000)]
Update gtk-doc configuration

Disable the template build. Depend on version 1.14 of gtk-doc. Switch to
using XML rather than SGML. Add a gtk-doc check that is executed during
‘make test’. Improve the documentation index page. Add the sections.txt
file and alter it according to the public API symbols.

12 years agoFix CFLAGS for introspection data generator
Alberto Mardegan [Tue, 20 Dec 2011 07:28:22 +0000 (09:28 +0200)]
Fix CFLAGS for introspection data generator

12 years agoNullify the returned data when errors occur
Alberto Mardegan [Thu, 15 Dec 2011 14:28:43 +0000 (16:28 +0200)]
Nullify the returned data when errors occur

In asynchronous callbacks, we expect that the developer will not access
the returned variables if the GError is set. Language bindings, however,
might access all arguments in order to marshal them; therefore, let's
stay on the safe side and always set the data pointers to NULL.

12 years agoFix signon_identity_info_set_secret()
Alberto Mardegan [Wed, 14 Dec 2011 14:47:50 +0000 (16:47 +0200)]
Fix signon_identity_info_set_secret()

The new secret was never copied into the structure. :-O

12 years agoAdd common header for the library
Alberto Mardegan [Fri, 9 Dec 2011 14:51:02 +0000 (16:51 +0200)]
Add common header for the library

It seems that the .gir file format cannot handle more than one header
file.

12 years agoAdd GObject introspection information to callbacks
Alberto Mardegan [Thu, 8 Dec 2011 10:08:51 +0000 (12:08 +0200)]
Add GObject introspection information to callbacks

The types and their ownership was wrong in several of them.

12 years agoUpdate .gitignore
Alberto Mardegan [Thu, 8 Dec 2011 08:28:09 +0000 (10:28 +0200)]
Update .gitignore

12 years agoAdd GType information to all enums
Alberto Mardegan [Thu, 8 Dec 2011 08:25:30 +0000 (10:25 +0200)]
Add GType information to all enums

This fixes a problem with the GObject introspection file: values of the
IdentityType enum were missing, and those of SignonSessionDataUiPolicy
were badly named.

12 years agoMore include madness
Alberto Mardegan [Fri, 2 Dec 2011 12:25:31 +0000 (14:25 +0200)]
More include madness

12 years agoAvoid including DBus-glib in installed headers
Alberto Mardegan [Fri, 2 Dec 2011 11:28:29 +0000 (13:28 +0200)]
Avoid including DBus-glib in installed headers

12 years agoFixes for "make distcheck"
Alberto Mardegan [Thu, 1 Dec 2011 07:17:30 +0000 (09:17 +0200)]
Fixes for "make distcheck"

12 years agoRemove signon_identity_verify_user()
Alberto Mardegan [Wed, 30 Nov 2011 10:30:29 +0000 (12:30 +0200)]
Remove signon_identity_verify_user()

The unit test was provoking a crash: the function signature is wrong,
because on signond side this method takes a dictionary parameter, while
the client API has a username parameters.
Resolve this conflict by removing this function; we'll add it back
later, with the correct signature, if and when needed.

12 years agoRemove signon_identity_info_{get,set}_identity_ref_count
Alberto Mardegan [Wed, 30 Nov 2011 09:49:19 +0000 (11:49 +0200)]
Remove signon_identity_info_{get,set}_identity_ref_count

Clients should use signon_identity_{add,remove}_reference instead.

12 years agoAdd GObject introspection tags
Alberto Mardegan [Wed, 30 Nov 2011 09:44:08 +0000 (11:44 +0200)]
Add GObject introspection tags

At the same time, amend/extend the documentation.

12 years agoDefine SignonIdentityInfo as boxed type
Alberto Mardegan [Tue, 29 Nov 2011 14:59:01 +0000 (16:59 +0200)]
Define SignonIdentityInfo as boxed type

12 years agoFix a dangerous typo
Alberto Mardegan [Tue, 29 Nov 2011 14:52:01 +0000 (16:52 +0200)]
Fix a dangerous typo

12 years agoMove SignonIdentityInfo to own source file
Alberto Mardegan [Tue, 29 Nov 2011 14:50:11 +0000 (16:50 +0200)]
Move SignonIdentityInfo to own source file

This change is just cosmetic. No code was changed in this commit.

12 years agoUpdate gitignore
Alberto Mardegan [Tue, 29 Nov 2011 14:16:46 +0000 (16:16 +0200)]
Update gitignore

Sort contents (sort -V .gitignore) as well.

12 years agoSetup GObject introspection
Alberto Mardegan [Tue, 29 Nov 2011 14:08:37 +0000 (16:08 +0200)]
Setup GObject introspection

12 years agoFix compilation warnings
Alberto Mardegan [Tue, 15 Nov 2011 12:57:11 +0000 (14:57 +0200)]
Fix compilation warnings

13 years agoversion update 1.1
Alexander Akimov [Fri, 26 Aug 2011 11:28:40 +0000 (14:28 +0300)]
version update

13 years agoadding signon-enum-types.h into list of headers
Alexander Akimov [Fri, 26 Aug 2011 10:23:07 +0000 (13:23 +0300)]
adding signon-enum-types.h into list of headers

13 years agofixed errors
Alexander Akimov [Tue, 23 Aug 2011 06:38:45 +0000 (09:38 +0300)]
fixed errors

13 years agobringing new structure of signon errors for signon-glib
Alexander Akimov [Fri, 5 Aug 2011 05:35:00 +0000 (08:35 +0300)]
bringing new structure of signon errors for signon-glib

13 years agoincrease version
Tomi Suviola [Tue, 26 Jul 2011 11:06:21 +0000 (14:06 +0300)]
increase version

13 years agoAdd session data definitions
Alberto Mardegan [Wed, 4 May 2011 11:34:30 +0000 (14:34 +0300)]
Add session data definitions

13 years agoDo not include signoncommon.h from public header
Alberto Mardegan [Wed, 4 May 2011 11:31:28 +0000 (14:31 +0300)]
Do not include signoncommon.h from public header

It breaks C++ projects using GLib.

13 years agoVersion update 0.23
Tomi Suviola [Mon, 14 Mar 2011 09:33:01 +0000 (11:33 +0200)]
Version update

13 years agoFix bug 230915
Tomi Suviola [Mon, 14 Mar 2011 09:31:08 +0000 (11:31 +0200)]
Fix bug 230915

13 years agoversion update 0.22
Tomi Suviola [Thu, 10 Mar 2011 12:19:11 +0000 (14:19 +0200)]
version update

13 years agoFix bug 230136 - Password prompt disappears, while the user tries to enter his password.
Tomi Suviola [Thu, 10 Mar 2011 11:09:22 +0000 (13:09 +0200)]
Fix bug 230136 - Password prompt disappears, while the user tries to enter his password.
Problem is that dbus call times out, so time added for the call.

13 years agoincrease version 0.21
Tomi Suviola [Wed, 29 Dec 2010 09:35:22 +0000 (11:35 +0200)]
increase version

13 years agoAdded new errors
Tomi Suviola [Wed, 29 Dec 2010 09:32:30 +0000 (11:32 +0200)]
Added new errors

13 years agoupdate to support new verifyUser
Tomi Suviola [Wed, 29 Dec 2010 09:02:08 +0000 (11:02 +0200)]
update to support new verifyUser

13 years agoVersion 0.20 0.20
Alberto Mardegan [Thu, 2 Dec 2010 14:24:34 +0000 (16:24 +0200)]
Version 0.20

13 years agoUse g_error_new_literal when providing a ready string
Alberto Mardegan [Thu, 2 Dec 2010 12:44:15 +0000 (14:44 +0200)]
Use g_error_new_literal when providing a ready string

14 years agoinc version 0.19
Tomi Suviola [Tue, 2 Nov 2010 09:44:44 +0000 (11:44 +0200)]
inc version

14 years agoMerge branch 'bug_188172'
Tomi Suviola [Tue, 26 Oct 2010 08:19:50 +0000 (11:19 +0300)]
Merge branch 'bug_188172'

14 years agofix bug 188172 - libsignon-glib1-test tests fail
Tomi Suviola [Tue, 26 Oct 2010 08:19:19 +0000 (11:19 +0300)]
fix bug 188172 -  libsignon-glib1-test tests fail

14 years agoVersion 0.18 0.18
Alberto Mardegan [Mon, 25 Oct 2010 12:19:03 +0000 (15:19 +0300)]
Version 0.18

14 years agoDon't build documentation from signon-proxy
Alberto Mardegan [Mon, 25 Oct 2010 12:18:19 +0000 (15:18 +0300)]
Don't build documentation from signon-proxy

14 years agoVersion 0.17 0.17
Alberto Mardegan [Mon, 25 Oct 2010 08:43:41 +0000 (11:43 +0300)]
Version 0.17

14 years agoDon't hide glib output
Alberto Mardegan [Mon, 25 Oct 2010 08:43:08 +0000 (11:43 +0300)]
Don't hide glib output

14 years agoRename parameter variable
Alberto Mardegan [Mon, 25 Oct 2010 08:41:55 +0000 (11:41 +0300)]
Rename parameter variable

14 years agoDon't execute parallel calls
Alberto Mardegan [Wed, 6 Oct 2010 09:16:46 +0000 (12:16 +0300)]
Don't execute parallel calls

14 years agoMake tests complete faster
Alberto Mardegan [Mon, 25 Oct 2010 08:26:45 +0000 (11:26 +0300)]
Make tests complete faster

Instead of waiting for minutes, start signond with a shorter timeout value for
identity and authsession objects.

14 years agoAdd debugging line at beginning of each test
Alberto Mardegan [Mon, 25 Oct 2010 08:26:14 +0000 (11:26 +0300)]
Add debugging line at beginning of each test

14 years agoUpdate tests
Alberto Mardegan [Thu, 7 Oct 2010 09:06:58 +0000 (12:06 +0300)]
Update tests

14 years agoSome sed magic to shorten function names
Alberto Mardegan [Thu, 7 Oct 2010 08:25:44 +0000 (11:25 +0300)]
Some sed magic to shorten function names

14 years agoDon'e export marshaller symbols
Alberto Mardegan [Thu, 7 Oct 2010 07:15:36 +0000 (10:15 +0300)]
Don'e export marshaller symbols

If they don't start by "signon_", they won't be exported.

14 years agoMark utility symbols as internal
Alberto Mardegan [Thu, 7 Oct 2010 07:15:02 +0000 (10:15 +0300)]
Mark utility symbols as internal

14 years agoOnly export symbols starting with "signon_"
Alberto Mardegan [Thu, 7 Oct 2010 07:05:16 +0000 (10:05 +0300)]
Only export symbols starting with "signon_"

14 years agoversion 0.16 0.16
Alexander Akimov [Thu, 7 Oct 2010 06:00:02 +0000 (09:00 +0300)]
version 0.16

14 years agoanother attempt to resolve the crash, happening during processing of "unregistered...
Alexander Akimov [Thu, 7 Oct 2010 05:29:36 +0000 (08:29 +0300)]
another attempt to resolve the crash, happening during processing of "unregistered" signal by already destroyed object.

14 years agoRemove bad commit 0.15
Tomi Suviola [Fri, 17 Sep 2010 10:01:02 +0000 (13:01 +0300)]
Remove bad commit

14 years agoMerge branch 'master' of git@gitorious.org:accounts-sso/signon-glib
Tomi Suviola [Fri, 17 Sep 2010 09:57:03 +0000 (12:57 +0300)]
Merge branch 'master' of git@gitorious.org:accounts-sso/signon-glib

14 years agoupdate version
Tomi Suviola [Thu, 16 Sep 2010 08:19:24 +0000 (11:19 +0300)]
update version

14 years agoAdded reference into identity API
Tomi Suviola [Fri, 17 Sep 2010 07:13:37 +0000 (10:13 +0300)]
Added reference into identity API

14 years agoMake changes to adapt into new signon dbus api
Tomi Suviola [Fri, 17 Sep 2010 06:13:47 +0000 (09:13 +0300)]
Make changes to adapt into new signon dbus api

14 years agoupdate version
Tomi Suviola [Thu, 16 Sep 2010 08:19:24 +0000 (11:19 +0300)]
update version

14 years agoMake changes to adapt into new signon dbus api
Tomi Suviola [Thu, 16 Sep 2010 07:46:56 +0000 (10:46 +0300)]
Make changes to adapt into new signon dbus api

14 years agoversion 0.14 0.14
Alexander Akimov [Wed, 1 Sep 2010 06:52:48 +0000 (09:52 +0300)]
version 0.14

14 years agoThe xml files are non-neeeded anymore as signond-dev provides all necessary informati...
Alexander Akimov [Wed, 1 Sep 2010 06:50:53 +0000 (09:50 +0300)]
The xml files are non-neeeded anymore as signond-dev provides all necessary information now

14 years agoupdating dbus APIs files
Alexander Akimov [Wed, 1 Sep 2010 05:54:57 +0000 (08:54 +0300)]
updating dbus APIs files

14 years agoadding dbus_g_proxy_diconnect to objects dispose functions
Alexander Akimov [Wed, 1 Sep 2010 05:54:37 +0000 (08:54 +0300)]
adding dbus_g_proxy_diconnect to objects dispose functions

14 years agothe test.xml was not updated fully
Alexander Akimov [Wed, 25 Aug 2010 11:13:06 +0000 (14:13 +0300)]
the test.xml was not updated fully

14 years agorequest to change "signglesignon" to "SingleSignOn"
Alexander Akimov [Wed, 25 Aug 2010 11:12:43 +0000 (14:12 +0300)]
request to change "signglesignon" to "SingleSignOn"

14 years agoFix version number for maemo
Alberto Mardegan [Fri, 13 Aug 2010 12:40:25 +0000 (15:40 +0300)]
Fix version number for maemo

14 years agoUpdate test package name
Alberto Mardegan [Fri, 13 Aug 2010 07:05:20 +0000 (10:05 +0300)]
Update test package name

14 years agoDbus interface name change 0.11
Tomi Suviola [Fri, 30 Jul 2010 08:13:42 +0000 (11:13 +0300)]
Dbus interface name change

14 years agoobsolete variable 0.10
Alexander Akimov [Fri, 2 Jul 2010 06:52:01 +0000 (09:52 +0300)]
obsolete variable

14 years agoversion 0.10
Alexander Akimov [Thu, 1 Jul 2010 12:19:58 +0000 (15:19 +0300)]
version 0.10

14 years agomem leak
Alexander Akimov [Thu, 1 Jul 2010 12:18:50 +0000 (15:18 +0300)]
mem leak