platform/upstream/libsecret.git
11 years agoFix D-Bus spelling in the .doap file
Piotr Drąg [Thu, 12 Sep 2013 17:51:59 +0000 (19:51 +0200)]
Fix D-Bus spelling in the .doap file

11 years agoAdded Latvian translation
Rūdolfs Mazurs [Thu, 12 Sep 2013 17:01:03 +0000 (20:01 +0300)]
Added Latvian translation

11 years agoRelease version 0.16
Stef Walter [Mon, 26 Aug 2013 15:42:16 +0000 (17:42 +0200)]
Release version 0.16

11 years agoAdded French translation
Claude Paroz [Sun, 25 Aug 2013 20:14:30 +0000 (22:14 +0200)]
Added French translation

11 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Thu, 22 Aug 2013 14:07:29 +0000 (16:07 +0200)]
Updated Norwegian bokmål translation

11 years agoupdate LINGUAS file for Punjabi (pa) locale
A S Alam [Tue, 20 Aug 2013 17:35:16 +0000 (12:35 -0500)]
update LINGUAS file for Punjabi (pa) locale

11 years agoAdded Friulian translation
Fabio Tomat [Tue, 20 Aug 2013 12:22:48 +0000 (14:22 +0200)]
Added Friulian translation

11 years agoAdded Friulian translation
Fabio Tomat [Tue, 20 Aug 2013 12:22:44 +0000 (14:22 +0200)]
Added Friulian translation

11 years agoAdded German translation
Christian Kirbach [Thu, 15 Aug 2013 21:01:49 +0000 (23:01 +0200)]
Added German translation

11 years agoMore reliable means of checking if object was finalized
Stef Walter [Thu, 15 Aug 2013 08:02:21 +0000 (10:02 +0200)]
More reliable means of checking if object was finalized

Don't try to use G_IS_OBJECT() to see if an object was finalized
as this segfaults in corner cases, even with our crafty check
for a pointer within our memory space.

https://bugzilla.gnome.org/show_bug.cgi?id=705202

11 years agoClarify documentation for secret_service_clear_xxx()
Stef Walter [Wed, 7 Aug 2013 19:08:26 +0000 (21:08 +0200)]
Clarify documentation for secret_service_clear_xxx()

https://bugzilla.gnome.org/show_bug.cgi?id=705629

11 years agoUpdated Danish translation
Kris Thomsen [Mon, 5 Aug 2013 11:00:30 +0000 (13:00 +0200)]
Updated Danish translation

11 years agoAdded da to list of languages
Kenneth Nielsen [Mon, 5 Aug 2013 11:00:30 +0000 (13:00 +0200)]
Added da to list of languages

11 years agoAdded Hebrew translation.
Yaron Shahrabani [Wed, 31 Jul 2013 14:30:00 +0000 (17:30 +0300)]
Added Hebrew translation.

11 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Thu, 25 Jul 2013 13:25:11 +0000 (21:25 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

11 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Sat, 20 Jul 2013 12:08:16 +0000 (20:08 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

11 years agoAllow building with automake 1.14
Stef Walter [Mon, 15 Jul 2013 11:54:08 +0000 (13:54 +0200)]
Allow building with automake 1.14

Tested by Carlos Soriano

https://bugzilla.gnome.org/show_bug.cgi?id=704233

11 years agoUpdated slovak translation
Pavol Klačanský [Sun, 14 Jul 2013 15:52:18 +0000 (17:52 +0200)]
Updated slovak translation

11 years agoAdded Indonesian translation
Andika Triwidada [Thu, 4 Jul 2013 05:33:38 +0000 (12:33 +0700)]
Added Indonesian translation

11 years agoUse AM_CPPFLAGS instead of INCLUDES
Stef Walter [Fri, 21 Jun 2013 10:51:54 +0000 (12:51 +0200)]
Use AM_CPPFLAGS instead of INCLUDES

automake 1.13 deprecates the latter

11 years agoBump version number
Stef Walter [Fri, 21 Jun 2013 10:46:04 +0000 (12:46 +0200)]
Bump version number

So that other projects can depend on the changes in recent commits.

11 years agoPass return_type to prompt async begin functions, rather than finish
Stef Walter [Fri, 21 Jun 2013 10:40:40 +0000 (12:40 +0200)]
Pass return_type to prompt async begin functions, rather than finish

Much like g_dbus_connection_call() we now pass our return_type value
when starting the async operation. This unbreaks vala and various
other bindings that make assumptions about the form of xxx_finish()
async calls.

This is an API/API break, but its to the portion of the library
marked as unstable. Only used by seahorse (in jhbuild) and updated
usage there.

11 years agoSimpler way to use custom service/collection/item types
Stef Walter [Fri, 21 Jun 2013 10:35:54 +0000 (12:35 +0200)]
Simpler way to use custom service/collection/item types

The previous way of setting collection_gtype and item_gtype
on SecretServiceClass was not very bindings friendly. Instead
allow per instance virtual functions to return the GTypes.

11 years agocollection: Have gobject-introspection and glib-mkenums recognize flags
Stef Walter [Fri, 21 Jun 2013 08:34:56 +0000 (10:34 +0200)]
collection: Have gobject-introspection and glib-mkenums recognize flags

Recognize flags correctly by putting << in their enum values. This
is pretty ugly and I wish there was an annotation.

11 years agoservice: Rename secret_service_new() and friends to open()
Stef Walter [Fri, 21 Jun 2013 08:05:08 +0000 (10:05 +0200)]
service: Rename secret_service_new() and friends to open()

The _new() suffix confuses vala and gobject introspection thinking
that it's a constructor, and there's no way to tell it otherwise. And
things really get messy because they're async functions.

So while we're still unstable, rename these functions to
secret_service_open() secret_service_open_sync() and
secret_service_open_finish().

This is an API/API break, but its to the portion of the library
marked as unstable. Only used by seahorse (in jhbuild) and updated
usage there.

11 years agoAdd secret_value_get_text() function to return NULL terminated secret
Stef Walter [Thu, 20 Jun 2013 10:11:27 +0000 (12:11 +0200)]
Add secret_value_get_text() function to return NULL terminated secret

11 years agoFix return types in secret_service_search_finish() on error paths
Jiří Klimeš [Mon, 15 Apr 2013 07:38:04 +0000 (09:38 +0200)]
Fix return types in secret_service_search_finish() on error paths

Signed-off-by: Jiří Klimeš <jklimes@redhat.com>
https://bugzilla.gnome.org/show_bug.cgi?id=698040

11 years agoUpdated slovak translation
Pavol Klačanský [Mon, 17 Jun 2013 17:32:44 +0000 (19:32 +0200)]
Updated slovak translation

11 years agoUpdated slovak translation
Pavol Klačanský [Mon, 17 Jun 2013 17:30:57 +0000 (19:30 +0200)]
Updated slovak translation

11 years agoAdded Lithuanian translation
Aurimas Černius [Sun, 9 Jun 2013 20:30:29 +0000 (23:30 +0300)]
Added Lithuanian translation

11 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Sun, 2 Jun 2013 00:21:43 +0000 (02:21 +0200)]
Updated Norwegian bokmål translation

11 years agoAdd nb
Kjartan Maraas [Sun, 2 Jun 2013 00:21:40 +0000 (02:21 +0200)]
Add nb

11 years agoUpdated Galician translations
Fran Diéguez [Sat, 1 Jun 2013 22:02:54 +0000 (00:02 +0200)]
Updated Galician translations

11 years agoUpdated Czech translation upstream/0.15+1+ga664add
Marek Černocký [Mon, 18 Mar 2013 20:06:34 +0000 (21:06 +0100)]
Updated Czech translation

11 years agoRelease version 0.15 upstream/0.15
Stef Walter [Mon, 18 Mar 2013 07:08:08 +0000 (08:08 +0100)]
Release version 0.15

11 years agoAdded hu entry
Balázs Úr [Fri, 15 Mar 2013 11:30:58 +0000 (12:30 +0100)]
Added hu entry

11 years agoUpdated Hungarian translation
Balázs Úr [Fri, 15 Mar 2013 11:30:33 +0000 (12:30 +0100)]
Updated Hungarian translation

11 years agoUpdated Slovenian translation
Martin Srebotnjak [Thu, 14 Mar 2013 19:45:23 +0000 (20:45 +0100)]
Updated Slovenian translation

11 years agoDo not quote NULL sentinel
Peter Bloomfield [Wed, 13 Mar 2013 16:43:23 +0000 (12:43 -0400)]
Do not quote NULL sentinel

https://bugzilla.gnome.org/show_bug.cgi?id=695791

11 years ago[l10n] Updated Italian translation.
Milo Casagrande [Wed, 13 Mar 2013 20:40:27 +0000 (21:40 +0100)]
[l10n] Updated Italian translation.

11 years agoUpdated Brazilian Portuguese translation
Rafael Ferreira [Wed, 13 Mar 2013 00:07:00 +0000 (21:07 -0300)]
Updated Brazilian Portuguese translation

11 years agoRelease version 0.14 upstream/0.14
Stef Walter [Mon, 4 Mar 2013 18:29:39 +0000 (19:29 +0100)]
Release version 0.14

11 years agosecret-value: allow empty strings
Claudio Saavedra [Wed, 27 Feb 2013 09:11:48 +0000 (11:11 +0200)]
secret-value: allow empty strings

Passwords and other secrets are allowed to be empty strings, therefore
the check for length != 0 is wrong.

Add tests for empty SecretValue contents.

https://bugzilla.gnome.org/show_bug.cgi?id=694787

11 years agoUpdated Russian translation
Yuri Myasoedov [Sun, 3 Mar 2013 19:26:58 +0000 (23:26 +0400)]
Updated Russian translation

11 years agoAdded Russian translation
Stas Solovey [Sun, 3 Mar 2013 19:26:19 +0000 (23:26 +0400)]
Added Russian translation

11 years agoPunjabi: Translation updated (aalam)
A S Alam [Sun, 3 Mar 2013 02:06:03 +0000 (07:36 +0530)]
Punjabi: Translation updated (aalam)

11 years agosecret-attributes: improve validation of attributes table
Claudio Saavedra [Tue, 19 Feb 2013 09:02:21 +0000 (11:02 +0200)]
secret-attributes: improve validation of attributes table

Attributes table that are built by the library itself contain
the xdg:schema meta-attribute. Additionally,
secrets with a SECRET_SCHEMA_COMPAT_NETWORK schema might also have
libgnomekeyring specific meta-attributes (prefixed 'gkr'). During
validation, ensure that the former is consistent with the name
of the schema and ignore the latter.

Add tests for these changes

https://bugzilla.gnome.org/show_bug.cgi?id=694107

11 years agoFix introspection for secret_value_get() to return a uint8
Stef Walter [Mon, 25 Feb 2013 12:56:32 +0000 (13:56 +0100)]
Fix introspection for secret_value_get() to return a uint8

This works around a crash in pygobject.

https://bugzilla.gnome.org/show_bug.cgi?id=694448

11 years agoUpdated Serbian translation
Мирослав Николић [Wed, 20 Feb 2013 19:25:44 +0000 (20:25 +0100)]
Updated Serbian translation

11 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 19 Feb 2013 11:42:54 +0000 (12:42 +0100)]
Updated Spanish translation

11 years agoTry to unlock locked collection when storing an item
Stef Walter [Wed, 13 Feb 2013 16:32:54 +0000 (17:32 +0100)]
Try to unlock locked collection when storing an item

And add tests to verify this behavior.

https://bugzilla.gnome.org/show_bug.cgi?id=693723

11 years agoUpdated Polish translation
Piotr Drąg [Mon, 18 Feb 2013 15:12:59 +0000 (16:12 +0100)]
Updated Polish translation

11 years agotool: Add a 'search' command for looking up items and details
Stef Walter [Fri, 15 Feb 2013 13:18:50 +0000 (14:18 +0100)]
tool: Add a 'search' command for looking up items and details

The output format is meant to be parseable in the Desktop file format.
Update the documentation as well.

https://bugzilla.gnome.org/show_bug.cgi?id=693881

11 years agoUse correct annotations for Gio.DBusProxy
Stef Walter [Wed, 13 Feb 2013 16:19:02 +0000 (17:19 +0100)]
Use correct annotations for Gio.DBusProxy

11 years agoegg: Don't use deprecated g_thread_supported() function
Stef Walter [Wed, 13 Feb 2013 16:18:17 +0000 (17:18 +0100)]
egg: Don't use deprecated g_thread_supported() function

Nowadays glib always supports threading.

11 years agoRelease version 0.13 upstream/0.13
Stef Walter [Mon, 4 Feb 2013 13:47:35 +0000 (14:47 +0100)]
Release version 0.13

11 years agoMake 'distcheck' ignore files generated by code coverage
Stef Walter [Fri, 25 Jan 2013 18:06:25 +0000 (19:06 +0100)]
Make 'distcheck' ignore files generated by code coverage

11 years agoFix for GStaticMutex deprecations in glib
Stef Walter [Fri, 25 Jan 2013 18:06:11 +0000 (19:06 +0100)]
Fix for GStaticMutex deprecations in glib

11 years agoShut up new gcc warnings
Stef Walter [Tue, 22 Jan 2013 15:07:45 +0000 (16:07 +0100)]
Shut up new gcc warnings

11 years agoadd support for automake 1.13
Nuno Araujo [Tue, 15 Jan 2013 17:34:10 +0000 (18:34 +0100)]
add support for automake 1.13

https://bugzilla.gnome.org/show_bug.cgi?id=692100

11 years ago[l10n] Added Italian translation.
Milo Casagrande [Thu, 24 Jan 2013 21:04:35 +0000 (22:04 +0100)]
[l10n] Added Italian translation.

11 years agoAdded Czech language
Marek Černocký [Tue, 22 Jan 2013 08:46:03 +0000 (09:46 +0100)]
Added Czech language

11 years agoCzech translation
Marek Černocký [Tue, 22 Jan 2013 08:45:44 +0000 (09:45 +0100)]
Czech translation

11 years agoUpdated Brazilian Portuguese translation
Rafael Ferreira [Tue, 15 Jan 2013 15:37:03 +0000 (13:37 -0200)]
Updated Brazilian Portuguese translation

11 years agoAdded Serbian translation
Мирослав Николић [Wed, 2 Jan 2013 21:26:39 +0000 (22:26 +0100)]
Added Serbian translation

11 years agoAdded galician translations
Fran Diéguez [Thu, 27 Dec 2012 00:04:04 +0000 (01:04 +0100)]
Added galician translations

11 years agoUpdated Slovenian translation
Matej Urbančič [Wed, 12 Dec 2012 07:35:29 +0000 (08:35 +0100)]
Updated Slovenian translation

11 years agoAdded sl for Slovenian translation
Matej Urbančič [Wed, 5 Dec 2012 10:07:01 +0000 (11:07 +0100)]
Added sl for Slovenian translation

11 years agoAdded Slovenian translation
Matej Urbančič [Wed, 5 Dec 2012 10:06:54 +0000 (11:06 +0100)]
Added Slovenian translation

11 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 4 Dec 2012 11:06:28 +0000 (12:06 +0100)]
Updated Spanish translation

11 years agoUpdated Polish translation
Piotr Drąg [Mon, 3 Dec 2012 23:43:33 +0000 (00:43 +0100)]
Updated Polish translation

12 years agoRelease version 0.12
Stef Walter [Wed, 21 Nov 2012 16:47:17 +0000 (17:47 +0100)]
Release version 0.12

12 years agoDon't print messages when creating default collection
Stef Walter [Wed, 14 Nov 2012 10:04:04 +0000 (11:04 +0100)]
Don't print messages when creating default collection

 * This is expected behavior, so don't complain.

https://bugzilla.gnome.org/show_bug.cgi?id=688165

12 years agoRework how we strip remote DBus errors
Stef Walter [Wed, 14 Nov 2012 09:57:10 +0000 (10:57 +0100)]
Rework how we strip remote DBus errors

 * This is necessary because sometimes we don't want to complain,
   for expected errors, when running nested operations.
 * The fact that we have to do this is silly, and soon there
   will be a solution in glib itself.

https://bugzilla.gnome.org/show_bug.cgi?id=688165

12 years agoTranslated label for automatically created default keyrings
Stef Walter [Wed, 14 Nov 2012 09:33:40 +0000 (10:33 +0100)]
Translated label for automatically created default keyrings

https://bugzilla.gnome.org/show_bug.cgi?id=688165

12 years agoWhen storing a secret, create default keyring if necessary
Stef Walter [Wed, 14 Nov 2012 09:30:48 +0000 (10:30 +0100)]
When storing a secret, create default keyring if necessary

 * If the default keyring does not exist when storing a secret
   try and create it.
 * We handle both secrets that correctly return NoSuchObject
   and ones that just return the silly DBus UnknownMethod error.

https://bugzilla.gnome.org/show_bug.cgi?id=688165

12 years agoFix collection creation bugs in mock service
Stef Walter [Wed, 14 Nov 2012 09:35:13 +0000 (10:35 +0100)]
Fix collection creation bugs in mock service

 * Guarantee that collections have unique paths
 * Set the alias of new collections correctly

https://bugzilla.gnome.org/show_bug.cgi?id=688165

12 years agoegg-hex: Bring over changes from gnome-keyring and gcr
Stef Walter [Wed, 7 Nov 2012 22:15:44 +0000 (23:15 +0100)]
egg-hex: Bring over changes from gnome-keyring and gcr

12 years agoRemove some unused test code
Stef Walter [Tue, 6 Nov 2012 12:37:01 +0000 (13:37 +0100)]
Remove some unused test code

12 years agoShare the memory pool with the gcr or libgnome-keyring library.
Stef Walter [Sat, 27 Oct 2012 10:46:59 +0000 (12:46 +0200)]
Share the memory pool with the gcr or libgnome-keyring library.

12 years agoBring over a new version of the secure memory code from gcr
Stef Walter [Sat, 27 Oct 2012 09:58:13 +0000 (11:58 +0200)]
Bring over a new version of the secure memory code from gcr

 * This allows libraries to share the pool if they have the same
   version of the secure memory code.

12 years agoFix incorrect loop condition in egg_hkdf_perform()
Xi Wang [Mon, 22 Oct 2012 20:09:46 +0000 (16:09 -0400)]
Fix incorrect loop condition in egg_hkdf_perform()

This does not cause a change in behavior (as evidenced by tests,
at least on linux when built with gcc) but is more correct code,
and less likely to be miscompiled.

The condition (i < 256) in the following loop is always false since i
is of type guchar, which is at most 255.

guchar i;
...
for (i = 1; i < 256; ++i) { ... }

This patch changes i to a larger type gint.

Also in the loop we have:

gcry_md_write (md2, &i, 1);

change it to use gcry_md_putc().

12 years agoFix for glib deprecations
Stef Walter [Mon, 22 Oct 2012 18:50:48 +0000 (20:50 +0200)]
Fix for glib deprecations

 * g_type_init() was deprecated in glib 2.35.0

12 years agoRelease version 0.11
Stef Walter [Mon, 15 Oct 2012 12:31:36 +0000 (14:31 +0200)]
Release version 0.11

12 years agoBetter critical preconditions for invalid attributes
Stef Walter [Fri, 12 Oct 2012 09:27:34 +0000 (11:27 +0200)]
Better critical preconditions for invalid attributes

 * When passing NULL for a string vararg attribute print
   a critical warning.
 * Make all attribute warnings critical
 * Add tests for the various critical warnings

https://bugzilla.gnome.org/show_bug.cgi?id=686015

12 years agoRelease version 0.10
Stef Walter [Tue, 18 Sep 2012 10:34:23 +0000 (12:34 +0200)]
Release version 0.10

12 years agoUpdated Polish translation
Piotr Drąg [Tue, 4 Sep 2012 16:58:07 +0000 (18:58 +0200)]
Updated Polish translation

12 years agoAdded Japanese translation.
Takeshi AIHANA [Sat, 1 Sep 2012 14:42:08 +0000 (23:42 +0900)]
Added Japanese translation.

12 years agoUpdated Polish translation
Piotr Drąg [Thu, 23 Aug 2012 01:57:45 +0000 (03:57 +0200)]
Updated Polish translation

12 years agoRelease version 0.9
Stef Walter [Mon, 20 Aug 2012 14:00:06 +0000 (16:00 +0200)]
Release version 0.9

12 years agoFix gcc warning about uninitialized warning
Stef Walter [Mon, 20 Aug 2012 13:58:26 +0000 (15:58 +0200)]
Fix gcc warning about uninitialized warning

12 years agoDisplay vala enabled status when configuring
Stef Walter [Thu, 16 Aug 2012 09:43:42 +0000 (11:43 +0200)]
Display vala enabled status when configuring

12 years agovala: use nodist sources for vala test cases
Evan Nemerson [Thu, 16 Aug 2012 07:26:34 +0000 (00:26 -0700)]
vala: use nodist sources for vala test cases

https://bugzilla.gnome.org/show_bug.cgi?id=681330

12 years agosecret-tool: Add a manual page
Stef Walter [Wed, 8 Aug 2012 08:40:30 +0000 (10:40 +0200)]
secret-tool: Add a manual page

https://bugzilla.gnome.org/show_bug.cgi?id=681434

12 years agobuild: Fix build without libgcrypt
Stef Walter [Wed, 8 Aug 2012 05:57:09 +0000 (07:57 +0200)]
build: Fix build without libgcrypt

 * Needed to use m4_ifdef on the libgcrypt autoconf macro

https://bugzilla.gnome.org/show_bug.cgi?id=681330

12 years agoBump version number
Stef Walter [Mon, 6 Aug 2012 20:14:59 +0000 (22:14 +0200)]
Bump version number

12 years agoRequire valac in order to 'make distcheck'
Stef Walter [Mon, 6 Aug 2012 20:13:07 +0000 (22:13 +0200)]
Require valac in order to 'make distcheck'

 * Otherwise problems with vala files not being distributed

https://bugzilla.gnome.org/show_bug.cgi?id=681330

12 years agoDon't link to secure memory code twice
Stef Walter [Mon, 6 Aug 2012 14:06:30 +0000 (16:06 +0200)]
Don't link to secure memory code twice

 * This leads to problems with the tests not being able to free
   non-pageable memory returned from libsecret-testable.so

12 years agoMore licensing tweaks
Stef Walter [Mon, 6 Aug 2012 13:33:35 +0000 (15:33 +0200)]
More licensing tweaks

 * Actually include in the tarball the other licenses for test code
 * Refer to COPYING.TESTS not COPYING.GPL

https://bugzilla.gnome.org/show_bug.cgi?id=681302

12 years agoRelease version 0.8
Stef Walter [Mon, 6 Aug 2012 13:14:04 +0000 (15:14 +0200)]
Release version 0.8