platform/upstream/libsecret.git
12 years agoDon't dispose SecretItem proxies when they go away
Stef Walter [Wed, 27 Jun 2012 14:42:04 +0000 (16:42 +0200)]
Don't dispose SecretItem proxies when they go away

 * This is strange behavior and causes unexpected results
   in calling programs

12 years agoProper async behavior for seahorse_collection_delete ()
Stef Walter [Wed, 27 Jun 2012 14:41:13 +0000 (16:41 +0200)]
Proper async behavior for seahorse_collection_delete ()

 * The async 'source' object was set to a SecretService
   instead of a SecretCollection in the callback

12 years agoUpdate the collection 'Items' property correctly
Stef Walter [Wed, 27 Jun 2012 14:39:37 +0000 (16:39 +0200)]
Update the collection 'Items' property correctly

 * Problems due to not setting constructing flag when construction
   of SecretCollection completed

12 years agoFix null-pointer dereference
Stef Walter [Wed, 27 Jun 2012 14:38:35 +0000 (16:38 +0200)]
Fix null-pointer dereference

 * In the corner case where we don't know about a collection/item
   but receive the CollectionChanged or ItemChanged signal,
   fix use of a null pointer

12 years agoUse correct variant signatures for Secret Service signals
Stef Walter [Wed, 27 Jun 2012 14:36:45 +0000 (16:36 +0200)]
Use correct variant signatures for Secret Service signals

 * Fix typo for signatures used when receiving CollectionCreated,
   CollectionChanged, CollectionDeleted, ItemCreated, ItemChanged,
   ItemDeleted

12 years agoNotify the 'items' and 'collections' properties when udpated
Stef Walter [Wed, 27 Jun 2012 14:33:22 +0000 (16:33 +0200)]
Notify the 'items' and 'collections' properties when udpated

 * When SecretCollection updates its 'items' property or
   SecretService 'collections' property notify that these
   have been changed.

12 years agoPass service GType to secret_service_new() and friends.
Stef Walter [Wed, 27 Jun 2012 09:45:09 +0000 (11:45 +0200)]
Pass service GType to secret_service_new() and friends.

 * This allows callers to use a custom SecretService derived
   type with the rest of libsecret
 * The default way to get a SecretService is via secret_service_get()
   which remains simple without the GType parameter

12 years agoDon't leak extra mock service when running python tests
Stef Walter [Wed, 27 Jun 2012 05:41:46 +0000 (07:41 +0200)]
Don't leak extra mock service when running python tests

 * Were erroneously starting the mock service when loading
   the python test modules, although already started in setUp()

12 years agoAdd SECRET_SCHEMA_NOTE
Stef Walter [Mon, 25 Jun 2012 12:12:00 +0000 (14:12 +0200)]
Add SECRET_SCHEMA_NOTE

 * A real simple schema for stuff stored by the user.
 * No attributes

12 years agosecret-tool: Don't read uninitialized variable on error path
Colin Walters [Mon, 25 Jun 2012 22:22:20 +0000 (18:22 -0400)]
secret-tool: Don't read uninitialized variable on error path

12 years agobuild: Fix srcdir != builddir
Colin Walters [Mon, 25 Jun 2012 22:21:33 +0000 (18:21 -0400)]
build: Fix srcdir != builddir

12 years agoAdded Polish translation
Piotr Drąg [Mon, 25 Jun 2012 18:22:41 +0000 (20:22 +0200)]
Added Polish translation

12 years agoRelease version 0.3
Stef Walter [Mon, 25 Jun 2012 08:20:51 +0000 (10:20 +0200)]
Release version 0.3

12 years agoAdd methods to get services from collections, items
Stef Walter [Mon, 25 Jun 2012 08:17:16 +0000 (10:17 +0200)]
Add methods to get services from collections, items

 * Add secret_collection_get_service()
 * Add secret_item_get_service()

12 years agoAdd secret_service_read_alias() and secret_service_set_alias()
Stef Walter [Sat, 23 Jun 2012 12:09:50 +0000 (14:09 +0200)]
Add secret_service_read_alias() and secret_service_set_alias()

 * Wrappers for Secret Service ReadAlias() and SetAlias() methods
   in various permutations.

12 years agoAdd methods which handle prompts for a DBus object path
Stef Walter [Sun, 29 Apr 2012 19:34:40 +0000 (21:34 +0200)]
Add methods which handle prompts for a DBus object path

 * Various prompting methods return the prompt result as
   a GVariant.
 * Added new prompt_path methods to SecretService

12 years agoHeader path fix
Stef Walter [Fri, 27 Apr 2012 15:07:44 +0000 (17:07 +0200)]
Header path fix

12 years agoFix documentation problems
Stef Walter [Fri, 27 Apr 2012 14:57:36 +0000 (16:57 +0200)]
Fix documentation problems

12 years agoRelease 0.2
Stef Walter [Mon, 16 Apr 2012 11:48:34 +0000 (13:48 +0200)]
Release 0.2

12 years agoFix license header issues
Stef Walter [Sat, 31 Mar 2012 13:32:43 +0000 (15:32 +0200)]
Fix license header issues

 * Update to LGPL 2.1
 * Fix typos in license comments
 * Update FSF address

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

12 years agoMore build fixes for openbsd
Stef Walter [Fri, 30 Mar 2012 12:59:04 +0000 (14:59 +0200)]
More build fixes for openbsd

12 years agoAdd missing 'authtype' attribute to the 'network' schema
Stef Walter [Fri, 30 Mar 2012 11:56:20 +0000 (13:56 +0200)]
Add missing 'authtype' attribute to the 'network' schema

12 years agoAdd secret-schemas.h to the 'stable' API
Stef Walter [Fri, 30 Mar 2012 11:56:16 +0000 (13:56 +0200)]
Add secret-schemas.h to the 'stable' API

12 years agoRemove multiple typedef definitions
Stef Walter [Fri, 30 Mar 2012 11:53:44 +0000 (13:53 +0200)]
Remove multiple typedef definitions

12 years agoFix parallel make
Kalev Lember [Thu, 29 Mar 2012 10:58:01 +0000 (13:58 +0300)]
Fix parallel make

Make doesn't know that 'libmock_service.la' is the same as
'$(top_builddir)/library/tests/libmock_service.la', and fails to
properly order builds when using -jX with parallel make. Fix this by
using 'libmock_service.la' everywhere.

make[4]: *** No rule to make target `../../library/tests/libmock_service.la', needed by `test-value'.  Stop.

12 years agoconfigure: Fix syntax error
Kalev Lember [Thu, 29 Mar 2012 10:52:19 +0000 (13:52 +0300)]
configure: Fix syntax error

checking build strict... ./configure: line 15065: =no: command not found

12 years agoRelease version 0.1
Stef Walter [Sun, 25 Mar 2012 11:48:29 +0000 (13:48 +0200)]
Release version 0.1

12 years agoAdd local upload target for uploading documentation
Stef Walter [Sun, 25 Mar 2012 11:45:10 +0000 (13:45 +0200)]
Add local upload target for uploading documentation

12 years agoInitialise libgcrypt properly
Stef Walter [Sun, 25 Mar 2012 10:36:20 +0000 (12:36 +0200)]
Initialise libgcrypt properly

 * This prevents blocking on entropy

12 years agoFix C example code
Stef Walter [Sun, 25 Mar 2012 10:33:38 +0000 (12:33 +0200)]
Fix C example code

12 years agoAdd secret-tool command
Stef Walter [Sun, 25 Mar 2012 10:25:22 +0000 (12:25 +0200)]
Add secret-tool command

 * See usage for details on how to use it

12 years agoUse the correct D-Bus service name
Stef Walter [Sun, 25 Mar 2012 10:24:34 +0000 (12:24 +0200)]
Use the correct D-Bus service name

12 years agoSupport content type application/octet-stream for passwords
Stef Walter [Sun, 25 Mar 2012 10:23:29 +0000 (12:23 +0200)]
Support content type application/octet-stream for passwords

 * Older versions of gnome-keyring erroneously set this content type
   for passwords even though they're textual.
 * If we see this content type, then check if the password is textual
   and allow usage as a null-terminated password

12 years agoAllow NULL schema for certain service methods
Stef Walter [Sun, 25 Mar 2012 10:22:10 +0000 (12:22 +0200)]
Allow NULL schema for certain service methods

 * So that we can work without a schema from the secret-tool
 * Users can handle the schema on their own if desired, using
   the 'Complete API'

12 years agoAdd secret_password_clear() function
Stef Walter [Sun, 25 Mar 2012 10:18:24 +0000 (12:18 +0200)]
Add secret_password_clear() function

 * Useful for clearing passwords in memory

12 years agoOnly copy the correct amount of bytes from SecretValue
Stef Walter [Sun, 25 Mar 2012 10:17:03 +0000 (12:17 +0200)]
Only copy the correct amount of bytes from SecretValue

 * When transferring to a null-terminated password

12 years agoMore documentation clarifications
Stef Walter [Sat, 24 Mar 2012 12:31:14 +0000 (13:31 +0100)]
More documentation clarifications

 * Document how the 'paths' variants of functions work
 * Add more about aliases
 * Document @properties arguments

12 years agoAdd documentation of which parts of the API are unstable
Stef Walter [Sat, 24 Mar 2012 06:52:12 +0000 (07:52 +0100)]
Add documentation of which parts of the API are unstable

 * Use secret-unstable.h header for unstable bits
 * Add stability tag to SECTION headers

12 years agoFine tune how schemas work
Stef Walter [Sun, 18 Mar 2012 18:04:44 +0000 (19:04 +0100)]
Fine tune how schemas work

 * Handled entirely on the client side.
 * Schema names are stored in an xdg:schema attribute
 * Add option to turn of matching on schema names. So that we can
   lookup items stored by libgnome-keyring and others
 * Change schema 'identifier' to 'name'
 * Fix up tests

12 years agoWIP schemas
Stef Walter [Sun, 18 Mar 2012 12:45:54 +0000 (13:45 +0100)]
WIP schemas

12 years agoComplete the example documentation
Stef Walter [Sun, 18 Mar 2012 12:19:03 +0000 (13:19 +0100)]
Complete the example documentation

12 years agoRound up the documentation
Stef Walter [Sat, 17 Mar 2012 13:25:50 +0000 (14:25 +0100)]
Round up the documentation

12 years agoAdd python tests
Stef Walter [Sat, 17 Mar 2012 12:27:42 +0000 (13:27 +0100)]
Add python tests

12 years agoAdd support for old style Secret Service signals
Stef Walter [Sun, 19 Feb 2012 12:09:07 +0000 (13:09 +0100)]
Add support for old style Secret Service signals

 * As used by ksecretservice

12 years agoComplete javascript testing of password functionality
Stef Walter [Sun, 11 Mar 2012 12:35:43 +0000 (13:35 +0100)]
Complete javascript testing of password functionality

 * And fix bugs, nullable collection_path

12 years agoFix critical assertion when secret_password_lookup_xx() returns null.
Stef Walter [Sun, 11 Mar 2012 11:40:52 +0000 (12:40 +0100)]
Fix critical assertion when secret_password_lookup_xx() returns null.

12 years agoReference nonstatic schemas when we put them in a closure
Stef Walter [Sun, 11 Mar 2012 08:41:13 +0000 (09:41 +0100)]
Reference nonstatic schemas when we put them in a closure

12 years agoTons of fixes for introspectable usage
Stef Walter [Sun, 11 Mar 2012 08:06:40 +0000 (09:06 +0100)]
Tons of fixes for introspectable usage

 * Schemas can also be created dynamically
 * Correct introspection types for hash tables passed as args
 * Validate argument hash tables
 * Add some predefined schemas
 * Allow allocation of pageable passwords from lookup functions

12 years agoChange argument of secret_password_free() to gchar *
Stef Walter [Thu, 1 Mar 2012 09:54:47 +0000 (10:54 +0100)]
Change argument of secret_password_free() to gchar *

12 years agoAdd DOAP file for project
Stef Walter [Fri, 17 Feb 2012 09:18:31 +0000 (10:18 +0100)]
Add DOAP file for project

12 years agoRemove the gtkdoc interfaces file from git
Stef Walter [Fri, 17 Feb 2012 09:14:14 +0000 (10:14 +0100)]
Remove the gtkdoc interfaces file from git

12 years agoReference documentation
Stef Walter [Thu, 2 Feb 2012 13:59:59 +0000 (14:59 +0100)]
Reference documentation

12 years agoBuild fixes for 'make distcheck'
Stef Walter [Thu, 2 Feb 2012 13:14:58 +0000 (14:14 +0100)]
Build fixes for 'make distcheck'

12 years agoInitial gobject-introspection support
Stef Walter [Thu, 2 Feb 2012 12:40:47 +0000 (13:40 +0100)]
Initial gobject-introspection support

12 years agoRename gsecret to libsecret
Stef Walter [Wed, 1 Feb 2012 12:34:08 +0000 (13:34 +0100)]
Rename gsecret to libsecret

 * Fixes the namespacing capitalization issues run into with
   gobject-introspection and glib code tools

12 years agoSome more documentation of the collection
Stef Walter [Tue, 31 Jan 2012 19:40:44 +0000 (20:40 +0100)]
Some more documentation of the collection

12 years agoUpdate the mock service to more closely mirror real secret service
Stef Walter [Tue, 31 Jan 2012 19:20:31 +0000 (20:20 +0100)]
Update the mock service to more closely mirror real secret service

12 years agoTests for password functionality
Stef Walter [Mon, 30 Jan 2012 17:11:53 +0000 (18:11 +0100)]
Tests for password functionality

12 years agoTesting item stuff, and fixing bugs
Stef Walter [Mon, 30 Jan 2012 16:49:22 +0000 (17:49 +0100)]
Testing item stuff, and fixing bugs

12 years agoTest creating items and collections
Stef Walter [Mon, 30 Jan 2012 15:07:55 +0000 (16:07 +0100)]
Test creating items and collections

12 years agoSplit out tests for service and service methods
Stef Walter [Mon, 30 Jan 2012 13:26:44 +0000 (14:26 +0100)]
Split out tests for service and service methods

12 years agoTest storing passwords and fix bugs
Stef Walter [Mon, 30 Jan 2012 13:14:39 +0000 (14:14 +0100)]
Test storing passwords and fix bugs

12 years agoImplement CreateCollection and CreateItem and related
Stef Walter [Thu, 26 Jan 2012 17:23:12 +0000 (18:23 +0100)]
Implement CreateCollection and CreateItem and related

12 years agoSplit up the gsecret-service.c file
Stef Walter [Thu, 26 Jan 2012 14:34:26 +0000 (15:34 +0100)]
Split up the gsecret-service.c file

12 years agoMore testing, and more bug fixes
Stef Walter [Thu, 26 Jan 2012 13:34:37 +0000 (14:34 +0100)]
More testing, and more bug fixes

12 years agoRework how the initialization work for various proxy objects
Stef Walter [Wed, 25 Jan 2012 13:26:52 +0000 (14:26 +0100)]
Rework how the initialization work for various proxy objects

 * Fix bugs and tests

12 years agoTests for GSecretItem and GSecretValue
Stef Walter [Mon, 23 Jan 2012 16:20:18 +0000 (17:20 +0100)]
Tests for GSecretItem  and GSecretValue

 * And fix bugs found in the process

12 years agoSplit out starting/stopping mock service into library
Stef Walter [Mon, 23 Jan 2012 08:36:36 +0000 (09:36 +0100)]
Split out starting/stopping mock service into library

 * Later this will be introspectable so we can start it from
   python or javascript based tests

12 years agoComplete most of implementation, thread safety
Stef Walter [Fri, 20 Jan 2012 14:10:35 +0000 (15:10 +0100)]
Complete most of implementation, thread safety

Not tested or run yet

12 years agoComplete the gsecret_item_xxx() functions
Stef Walter [Mon, 16 Jan 2012 14:08:46 +0000 (15:08 +0100)]
Complete the gsecret_item_xxx() functions

12 years agoComplete the gsecret_password_xxx() API.
Stef Walter [Mon, 16 Jan 2012 14:08:29 +0000 (15:08 +0100)]
Complete the gsecret_password_xxx() API.

12 years agoPrompting and item deletion
Stef Walter [Wed, 11 Jan 2012 06:44:32 +0000 (07:44 +0100)]
Prompting and item deletion

12 years agoHide glib deprecation warnings in generated code
Stef Walter [Wed, 11 Jan 2012 18:56:30 +0000 (19:56 +0100)]
Hide glib deprecation warnings in generated code

12 years agoSome build fixes
Stef Walter [Sat, 19 Nov 2011 07:08:12 +0000 (08:08 +0100)]
Some build fixes

12 years agoFix problem when compiling without valgrind
Stef Walter [Sat, 19 Nov 2011 07:04:28 +0000 (08:04 +0100)]
Fix problem when compiling without valgrind

12 years agoImplement gsecret_service_get_secrets_for_paths() and friends
Stef Walter [Sat, 12 Nov 2011 07:08:12 +0000 (08:08 +0100)]
Implement gsecret_service_get_secrets_for_paths() and friends

 * Lots of testing, fine tuning and other bits too.

12 years agoAdd more coverage testing for search paths
Stef Walter [Sun, 6 Nov 2011 21:46:30 +0000 (22:46 +0100)]
Add more coverage testing for search paths

12 years agoRemove built file
Stef Walter [Sun, 6 Nov 2011 21:46:07 +0000 (22:46 +0100)]
Remove built file

12 years agoValgrind integration, refactor build process
Stef Walter [Sun, 6 Nov 2011 12:41:21 +0000 (13:41 +0100)]
Valgrind integration, refactor build process

 * Cleanup secure memory allocator for valgrind.
 * Bring valgrind headers in.
 * Add lots of suppressions for glib, gdbus, gcrypt
 * Fix up a bunch of bugs where things weren't getting freed
 * Add new 'make check-memory' target

12 years agoFix for deprecations in glib 2.31.0
Stef Walter [Sun, 6 Nov 2011 12:38:19 +0000 (13:38 +0100)]
Fix for deprecations in glib 2.31.0

12 years agoAdd test for async negotiation of encrypted session
Stef Walter [Sun, 6 Nov 2011 08:00:06 +0000 (09:00 +0100)]
Add test for async negotiation of encrypted session

12 years agoSet the session correctly on the service
Stef Walter [Sun, 6 Nov 2011 07:59:48 +0000 (08:59 +0100)]
Set the session correctly on the service

12 years agoAdd test for GSecretService singleton, and make it work
Stef Walter [Sun, 6 Nov 2011 07:59:20 +0000 (08:59 +0100)]
Add test for GSecretService singleton, and make it work

12 years agoSimple test for gsecret_service_search_paths()
Stef Walter [Sat, 5 Nov 2011 20:50:01 +0000 (21:50 +0100)]
Simple test for gsecret_service_search_paths()

12 years agoImplement the Service.SearchPath() method
Stef Walter [Sat, 5 Nov 2011 19:59:00 +0000 (20:59 +0100)]
Implement the Service.SearchPath() method

12 years agoTesting of gsecret_service_ensure and friends
Stef Walter [Sun, 25 Sep 2011 20:59:43 +0000 (22:59 +0200)]
Testing of gsecret_service_ensure and friends

12 years agoAdd --enable-debug and --enable-coverage, egg tests etc
Stef Walter [Sun, 25 Sep 2011 19:13:00 +0000 (21:13 +0200)]
Add --enable-debug and --enable-coverage, egg tests etc

12 years agoComplete Service instantiation, add mock service, and initial test
Stef Walter [Sun, 25 Sep 2011 16:39:03 +0000 (18:39 +0200)]
Complete Service instantiation, add mock service, and initial test

 * Not yet tested, but compiles

12 years agoBeginnings of a mock python secret service
Stef Walter [Sun, 25 Sep 2011 10:58:08 +0000 (12:58 +0200)]
Beginnings of a mock python secret service

12 years agoAdd dependency on libgcrypt
Stef Walter [Sun, 25 Sep 2011 08:03:48 +0000 (10:03 +0200)]
Add dependency on libgcrypt

 * This can be disabled using --disable-libgcrypt, which then disables
   encryption of secrets in transit to the secret service

12 years agoMore Implementation of GSecretService session related code.
Stef Walter [Sun, 25 Sep 2011 06:22:36 +0000 (08:22 +0200)]
More Implementation of GSecretService session related code.

12 years agoInitial module setup. Implement GSecretData
Stef Walter [Sun, 12 Jun 2011 20:55:02 +0000 (22:55 +0200)]
Initial module setup. Implement GSecretData