accounts-sso:accounts-glib.git
7 years agoFreeing the memory smita_translation
smita [Fri, 27 Aug 2010 09:09:43 +0000 (12:09 +0300)]
Freeing the memory

7 years agoFetchin translation catalog from the service xml files
smita [Fri, 27 Aug 2010 08:59:40 +0000 (11:59 +0300)]
Fetchin translation catalog from the service xml files

7 years agoVersion 0.47-1 harmattan/0.47-1
Smita Srivastava [Wed, 18 Aug 2010 06:54:37 +0000 (09:54 +0300)]
Version 0.47-1

7 years agofinal glib changes to fetch catalog from xml
Smita Srivastava [Tue, 17 Aug 2010 11:38:50 +0000 (14:38 +0300)]
final glib changes to fetch catalog from xml

7 years agoVersion 0.46-2 harmattan/0.46-2
Alberto Mardegan [Thu, 5 Aug 2010 13:32:04 +0000 (16:32 +0300)]
Version 0.46-2

7 years agoMerge branch 'master' into harmattan
Alberto Mardegan [Thu, 5 Aug 2010 13:31:20 +0000 (16:31 +0300)]
Merge branch 'master' into harmattan

7 years agoAdded environment variable for test script
Alberto Mardegan [Thu, 5 Aug 2010 13:30:56 +0000 (16:30 +0300)]
Added environment variable for test script

7 years agoVersion 0.46-1 harmattan/0.46-1
Alberto Mardegan [Tue, 3 Aug 2010 07:49:37 +0000 (10:49 +0300)]
Version 0.46-1

7 years agoMerge branch 'master' into harmattan
Alberto Mardegan [Tue, 3 Aug 2010 07:48:47 +0000 (10:48 +0300)]
Merge branch 'master' into harmattan

7 years agoVersion 0.46 0.46
Alberto Mardegan [Tue, 3 Aug 2010 07:48:25 +0000 (10:48 +0300)]
Version 0.46

7 years agoMove up the check for duplicate signals
Alberto Mardegan [Tue, 3 Aug 2010 06:47:17 +0000 (09:47 +0300)]
Move up the check for duplicate signals

This check need to happen before any other check, because otherwise duplicate
signals might not be detected as such, and could be still processed.

7 years agoPrint the AgManager instance in debug statement
Alberto Mardegan [Tue, 3 Aug 2010 06:45:58 +0000 (09:45 +0300)]
Print the AgManager instance in debug statement

7 years agoVersion 0.45-1 harmattan/0.45-1
Alberto Mardegan [Mon, 2 Aug 2010 07:08:52 +0000 (10:08 +0300)]
Version 0.45-1

7 years agoMerge branch 'master' into harmattan
Alberto Mardegan [Mon, 2 Aug 2010 07:04:52 +0000 (10:04 +0300)]
Merge branch 'master' into harmattan

7 years agoVersion 0.45 0.45
Alberto Mardegan [Mon, 2 Aug 2010 07:04:31 +0000 (10:04 +0300)]
Version 0.45

7 years agoVersion 0.44-2 harmattan/0.44-2
Alberto Mardegan [Fri, 30 Jul 2010 13:22:26 +0000 (16:22 +0300)]
Version 0.44-2

7 years agoDon't process signals coming from different object paths
Alberto Mardegan [Fri, 30 Jul 2010 11:58:08 +0000 (14:58 +0300)]
Don't process signals coming from different object paths

If the same process has several instances of the AgManager, each of them
installing their own DBus match rules, it may be that the AgManager receives
some messages which don't match its own filters; these messages must not be
processed. To achieve this, message filtering must be performed also in the
D-Bus handler function, by discarding all messages coming from an object path
we didn't register for.

7 years agoRewrite registering of D-Bus matches
Alberto Mardegan [Fri, 30 Jul 2010 11:49:10 +0000 (14:49 +0300)]
Rewrite registering of D-Bus matches

Save the object paths for later use (following commit will use them).

7 years agoDon't emit the "updated" signal along with "created" or "deleted"
Alberto Mardegan [Fri, 30 Jul 2010 11:30:30 +0000 (14:30 +0300)]
Don't emit the "updated" signal along with "created" or "deleted"

7 years agoVersion 0.44-1 harmattan/0.44-1
Alberto Mardegan [Tue, 27 Jul 2010 06:54:51 +0000 (09:54 +0300)]
Version 0.44-1

7 years agoMerge branch 'master' into harmattan
Alberto Mardegan [Tue, 27 Jul 2010 06:53:33 +0000 (09:53 +0300)]
Merge branch 'master' into harmattan

7 years agoVersion 0.44 0.44
Alberto Mardegan [Tue, 27 Jul 2010 06:53:13 +0000 (09:53 +0300)]
Version 0.44

7 years agoDo not process D-Bus signals twice
Alberto Mardegan [Mon, 26 Jul 2010 15:41:50 +0000 (18:41 +0300)]
Do not process D-Bus signals twice

With the replication of D-Bus messages on different object paths, it's possible
that the same signal would be processed twice (because the AgManager is
listening on the global service type and on another one); therefore, we must
remember the last signals we processed, and avoid re-processing them. We don't
need to remember many of them; actually, in most cases the remembering only the
last one is enough, but we keep the last three just for extra safety.

7 years agoUse different DBus object paths for each service type
Alberto Mardegan [Mon, 26 Jul 2010 15:37:19 +0000 (18:37 +0300)]
Use different DBus object paths for each service type

Replicate the DBus signal describing the account changes on different object
paths, one for each service type involved in the transaction.
If the AgManager is instantiated for a specific service type, just listen for
the changes on that service type and on the global account settings; this
avoids waking up every process whenever some service-type specific setting has
been modified.

7 years agoAdd _ag_dbus_escape_as_identifier()
Alberto Mardegan [Mon, 26 Jul 2010 15:31:07 +0000 (18:31 +0300)]
Add _ag_dbus_escape_as_identifier()

Taken straight from libtelepathy-glib, just renamed. This will allow us to use
the service-types as parts of D-Bus object paths.

7 years agoAdd _ag_account_changes_get_service_types()
Alberto Mardegan [Mon, 26 Jul 2010 15:30:05 +0000 (18:30 +0300)]
Add _ag_account_changes_get_service_types()

Lists the service types contained in the AgAccountChanges structure.

7 years agoDon't force replacing of existing files.
Alberto Mardegan [Fri, 23 Jul 2010 13:30:34 +0000 (16:30 +0300)]
Don't force replacing of existing files.

7 years agoMerge branch 'bugFix' into harmattan
Radek Zielonka [Fri, 23 Jul 2010 10:27:03 +0000 (13:27 +0300)]
Merge branch 'bugFix' into harmattan

7 years agoFixes: NB#180967
Radek Zielonka [Thu, 22 Jul 2010 11:15:16 +0000 (14:15 +0300)]
Fixes: NB#180967

.service file matching regexp is too permissive

7 years agoVersion 0.43-1 harmattan/0.43-1
Alberto Mardegan [Wed, 7 Jul 2010 13:06:32 +0000 (16:06 +0300)]
Version 0.43-1

7 years agoMerge branch 'master' into harmattan
Alberto Mardegan [Wed, 7 Jul 2010 13:04:15 +0000 (16:04 +0300)]
Merge branch 'master' into harmattan

7 years agoVersion 0.43 0.43
Alberto Mardegan [Wed, 7 Jul 2010 13:03:51 +0000 (16:03 +0300)]
Version 0.43

7 years agoImplementation for update-event feature.
Dmitry Zelenkovsky [Mon, 5 Jul 2010 21:57:01 +0000 (00:57 +0300)]
Implementation for update-event feature.

7 years agoAdded clear user data script to accounts.
Tomi Suviola [Wed, 30 Jun 2010 11:26:59 +0000 (14:26 +0300)]
Added clear user data script to accounts.

7 years agoVersion 0.42-1 harmattan/0.42-1
Alberto Mardegan [Mon, 28 Jun 2010 07:59:34 +0000 (10:59 +0300)]
Version 0.42-1

7 years agoMerge branch 'master' into harmattan
Alberto Mardegan [Mon, 28 Jun 2010 07:58:22 +0000 (10:58 +0300)]
Merge branch 'master' into harmattan

7 years agoVersion 0.42 0.42
Alberto Mardegan [Mon, 28 Jun 2010 07:57:49 +0000 (10:57 +0300)]
Version 0.42

7 years agoChange SQLite journal mode to truncate
Alberto Mardegan [Mon, 28 Jun 2010 07:55:59 +0000 (10:55 +0300)]
Change SQLite journal mode to truncate

Possibly safer, and shouldn't affect performance.

7 years agoAdd unit tests for AgServiceType functions
Alberto Mardegan [Mon, 21 Jun 2010 12:36:11 +0000 (15:36 +0300)]
Add unit tests for AgServiceType functions

7 years agoAdd AgServiceType
Alberto Mardegan [Mon, 21 Jun 2010 12:34:49 +0000 (15:34 +0300)]
Add AgServiceType

This structure is built from an XML file, and describes a service type.

7 years agoAdd RPM spec/changes file
Bernd Wachter [Thu, 17 Jun 2010 14:46:17 +0000 (17:46 +0300)]
Add RPM spec/changes file

7 years agoVersion 0.41-1 harmattan/0.41-1
Alberto Mardegan [Wed, 16 Jun 2010 07:03:13 +0000 (10:03 +0300)]
Version 0.41-1

7 years agoMerge branch 'master' into harmattan
Alberto Mardegan [Wed, 16 Jun 2010 07:02:31 +0000 (10:02 +0300)]
Merge branch 'master' into harmattan

7 years agoVersion 0.41 0.41
Alberto Mardegan [Wed, 16 Jun 2010 07:02:15 +0000 (10:02 +0300)]
Version 0.41

7 years agoOptimize SQLite DB usage
Alberto Mardegan [Tue, 15 Jun 2010 11:53:32 +0000 (14:53 +0300)]
Optimize SQLite DB usage

On a journalled file system, these options should be relatively safe.

7 years agoVersion 0.40-1 harmattan/0.40-1
Alberto Mardegan [Tue, 15 Jun 2010 12:06:42 +0000 (15:06 +0300)]
Version 0.40-1

7 years agoAdd debian/api file
Alberto Mardegan [Tue, 15 Jun 2010 12:04:27 +0000 (15:04 +0300)]
Add debian/api file

7 years agoMerge branch 'master' into harmattan
Alberto Mardegan [Tue, 15 Jun 2010 12:03:35 +0000 (15:03 +0300)]
Merge branch 'master' into harmattan

7 years agoVersion 0.40 0.40
Alberto Mardegan [Tue, 15 Jun 2010 12:02:32 +0000 (15:02 +0300)]
Version 0.40

7 years agoExtend unit tests to catch enabled-event regressions
Alberto Mardegan [Tue, 15 Jun 2010 08:32:33 +0000 (11:32 +0300)]
Extend unit tests to catch enabled-event regressions

7 years agoFix emission of enabled-event
Alberto Mardegan [Tue, 15 Jun 2010 06:44:29 +0000 (09:44 +0300)]
Fix emission of enabled-event

The check whether enabled-event must be emitted should be performed before
running the ag_account_done_changes(), because that function modifies the
AgAccountChanges structure.

7 years agoVersion 0.39-1 harmattan/0.39-1
Alberto Mardegan [Sun, 13 Jun 2010 11:43:33 +0000 (14:43 +0300)]
Version 0.39-1

7 years agoMerge branch 'master' into harmattan
Alberto Mardegan [Sun, 13 Jun 2010 11:43:24 +0000 (14:43 +0300)]
Merge branch 'master' into harmattan

7 years agoVersion 0.39 0.39
Alberto Mardegan [Sun, 13 Jun 2010 11:40:30 +0000 (14:40 +0300)]
Version 0.39

7 years agoUpdate test service files
Alberto Mardegan [Wed, 9 Jun 2010 12:14:52 +0000 (15:14 +0300)]
Update test service files

7 years agoUse "group" element for template groups.
Alberto Mardegan [Wed, 9 Jun 2010 12:11:06 +0000 (15:11 +0300)]
Use "group" element for template groups.

Make the parser support groups in the form:

<template>
  <group name="imap">
    <setting name="server">imap.example.com</setting>
  </group>
</template>

Still support the old format, but emit a warning when it's encountered.

7 years agoSet the document name on the xmlReader
Alberto Mardegan [Wed, 9 Jun 2010 12:01:39 +0000 (15:01 +0300)]
Set the document name on the xmlReader

It can be needed in the parsing functions to emit warnings and debug messages
with the name of the file being parsed.

7 years agoVersion 0.38-1 harmattan/0.38-1
Alberto Mardegan [Fri, 4 Jun 2010 11:37:37 +0000 (14:37 +0300)]
Version 0.38-1

7 years agoAlways build the package with debugging enabled
Alberto Mardegan [Fri, 4 Jun 2010 11:32:23 +0000 (14:32 +0300)]
Always build the package with debugging enabled

7 years agoMerge branch 'master' into harmattan
Alberto Mardegan [Fri, 4 Jun 2010 11:31:31 +0000 (14:31 +0300)]
Merge branch 'master' into harmattan

7 years agoVersion 0.38 0.38
Alberto Mardegan [Fri, 4 Jun 2010 11:31:12 +0000 (14:31 +0300)]
Version 0.38

7 years agoReset the COMMIT statement after using it
Alberto Mardegan [Fri, 4 Jun 2010 08:26:43 +0000 (11:26 +0300)]
Reset the COMMIT statement after using it

7 years agoDebug database locks
Alberto Mardegan [Fri, 4 Jun 2010 08:23:44 +0000 (11:23 +0300)]
Debug database locks

7 years agoTake new debug macros into use
Alberto Mardegan [Fri, 4 Jun 2010 08:01:18 +0000 (11:01 +0300)]
Take new debug macros into use

Replace all g_debugs

7 years agoAdd debugging infrastructure
Alberto Mardegan [Fri, 4 Jun 2010 07:23:35 +0000 (10:23 +0300)]
Add debugging infrastructure

7 years agoAdd regression test for latest bugfix
Alberto Mardegan [Fri, 4 Jun 2010 06:17:44 +0000 (09:17 +0300)]
Add regression test for latest bugfix

7 years agoInvert the comparison sign
Alberto Mardegan [Fri, 4 Jun 2010 06:17:12 +0000 (09:17 +0300)]
Invert the comparison sign

Fixes: NB#171233

7 years agoFix memory leak
Alberto Mardegan [Thu, 27 May 2010 11:13:14 +0000 (14:13 +0300)]
Fix memory leak

There is no need to deep-copy the GValue contents here.

7 years agoVersion 0.37-1 harmattan/0.37-1
Alberto Mardegan [Thu, 20 May 2010 10:48:24 +0000 (13:48 +0300)]
Version 0.37-1

7 years agoMerge branch 'master' into harmattan
Alberto Mardegan [Thu, 20 May 2010 10:46:33 +0000 (13:46 +0300)]
Merge branch 'master' into harmattan

7 years agoVersion 0.37 0.37
Alberto Mardegan [Thu, 20 May 2010 10:46:17 +0000 (13:46 +0300)]
Version 0.37

7 years agoUse the monotonic clock to compute the locking time
Alberto Mardegan [Thu, 20 May 2010 09:00:51 +0000 (12:00 +0300)]
Use the monotonic clock to compute the locking time

7 years agoSet the DB timeout to be configurable
Alberto Mardegan [Thu, 20 May 2010 08:50:05 +0000 (11:50 +0300)]
Set the DB timeout to be configurable

The default of 5 seconds might be too much for UI applications.

7 years agoIncrease DB timeout to 5 seconds
Alberto Mardegan [Thu, 20 May 2010 08:49:35 +0000 (11:49 +0300)]
Increase DB timeout to 5 seconds

7 years agoVersion 0.36-1 harmattan/0.36-1
Alberto Mardegan [Mon, 10 May 2010 10:49:24 +0000 (13:49 +0300)]
Version 0.36-1

7 years agoMerge branch 'master' into harmattan
Alberto Mardegan [Mon, 10 May 2010 10:47:53 +0000 (13:47 +0300)]
Merge branch 'master' into harmattan

7 years agoVersion 0.36 0.36
Alberto Mardegan [Mon, 10 May 2010 10:47:23 +0000 (13:47 +0300)]
Version 0.36

7 years agoCreate tables only if the DB is newly created
Alberto Mardegan [Mon, 10 May 2010 09:01:53 +0000 (12:01 +0300)]
Create tables only if the DB is newly created

Add a function to get the DB version; factor out the creation of tables and
triggers into a separate function, which will be invoked only if the DB has
been newly created.

7 years agoAdded changelog entry harmattan/0.35-1
Tomi Suviola [Thu, 6 May 2010 07:24:14 +0000 (10:24 +0300)]
Added changelog entry

7 years agoBackup/restore support
Tomi Suviola [Thu, 6 May 2010 05:36:16 +0000 (08:36 +0300)]
Backup/restore support

7 years agoMerge branch 'master' into harmattan
Tomi Suviola [Thu, 6 May 2010 05:04:52 +0000 (08:04 +0300)]
Merge branch 'master' into harmattan

7 years agoAdd backup support for accounts and move database location 0.35
Tomi Suviola [Wed, 5 May 2010 12:09:46 +0000 (15:09 +0300)]
Add backup support for accounts and move database location

7 years agoVersion 0.34-1 harmattan/0.34-1
Alberto Mardegan [Fri, 30 Apr 2010 12:15:59 +0000 (15:15 +0300)]
Version 0.34-1

7 years agoMerge branch 'master' into harmattan
Alberto Mardegan [Fri, 30 Apr 2010 12:12:01 +0000 (15:12 +0300)]
Merge branch 'master' into harmattan

7 years agoVersion 0.34 0.34
Alberto Mardegan [Fri, 30 Apr 2010 12:11:03 +0000 (15:11 +0300)]
Version 0.34

7 years agoFix some critical warnings
Alberto Mardegan [Fri, 30 Apr 2010 10:32:56 +0000 (13:32 +0300)]
Fix some critical warnings

7 years agoTurn important g_debug() into g_warning()
Alberto Mardegan [Fri, 30 Apr 2010 08:44:27 +0000 (11:44 +0300)]
Turn important g_debug() into g_warning()

7 years agoDo not hardcode timeouts in the tests
Alberto Mardegan [Fri, 30 Apr 2010 08:04:04 +0000 (11:04 +0300)]
Do not hardcode timeouts in the tests

Put the timeout values in a common internal header file, so that the tests can
use those values instead of hardcoding them.

This should let us change those timeouts later without having to modify the
tests.

7 years agoDo not giveup initializing DB when locked
Alberto Mardegan [Fri, 30 Apr 2010 07:30:45 +0000 (10:30 +0300)]
Do not giveup initializing DB when locked

The database initialization can fail if the DB is locked; in that case, instead
of just giving up, we must retry to execute our initialization statements.

7 years agoCreate test case for locked DB on manager instantiation
Alberto Mardegan [Fri, 30 Apr 2010 07:29:45 +0000 (10:29 +0300)]
Create test case for locked DB on manager instantiation

7 years agoRemove compilation warnings
Alberto Mardegan [Fri, 30 Apr 2010 07:13:17 +0000 (10:13 +0300)]
Remove compilation warnings

7 years agoFactor out a function to compute elapsed time
Alberto Mardegan [Fri, 30 Apr 2010 07:11:39 +0000 (10:11 +0300)]
Factor out a function to compute elapsed time

7 years agoAdded changelog entry about bug fix harmattan/0.33-1
Tomi Suviola [Fri, 23 Apr 2010 12:25:30 +0000 (15:25 +0300)]
Added changelog entry about bug fix

7 years agoMerge branch 'master' into harmattan
Tomi Suviola [Fri, 23 Apr 2010 12:22:39 +0000 (15:22 +0300)]
Merge branch 'master' into harmattan

7 years agoFixed memory leak NB#162667 0.33
Tomi Suviola [Fri, 23 Apr 2010 08:52:23 +0000 (11:52 +0300)]
Fixed memory leak NB#162667

7 years agoVersion 0.32 harmattan/0.32-1
Radek Zielonka [Thu, 22 Apr 2010 10:13:42 +0000 (13:13 +0300)]
Version 0.32

7 years agoMerge branch 'master' into harmattan
Radek Zielonka [Thu, 22 Apr 2010 10:08:31 +0000 (13:08 +0300)]
Merge branch 'master' into harmattan

7 years agoVersion 0.32 0.32
Radek Zielonka [Thu, 22 Apr 2010 10:04:55 +0000 (13:04 +0300)]
Version 0.32

7 years agoMerge branch 'master' into harmattan
Radek Zielonka [Thu, 22 Apr 2010 09:36:38 +0000 (12:36 +0300)]
Merge branch 'master' into harmattan

7 years ago bug fix 164834
Radek Zielonka [Thu, 22 Apr 2010 09:34:20 +0000 (12:34 +0300)]
 bug fix 164834