Commit Graph

26 Commits

Author SHA1 Message Date
Stef Walter
9bf4efd762 WIP split stable/unstable packages/gir/vapis 2012-07-13 09:04:55 +02:00
Stef Walter
30d1337a7c Register secret service errors as DBus errors
* and strip remote error codes from error->message so that
   they don't clutter things.
2012-07-09 11:23:36 +02:00
Stef Walter
175ae08984 Disconnect the cached default SecretService if service goes away
* Because the session would no longer be valid if the service
   was autostarted for the same SecretService proxy
2012-07-06 10:08:27 +02:00
Stef Walter
7098b856b7 Rename the functions that operate on a dbus item path
* They all contain '_dbus_path' in their name
 * Move secret_service_get_session_path() to the paths functionality
 * Move the secret_collection_new() and secret_item_new() functionality
   to the path based section.
2012-07-06 09:27:05 +02:00
Stef Walter
600021a30b Accept NULL as a SecretService parameter for many methods
* We use secret_service_get() to lookup the default
   SecretService in these cases.
 * Use this functionality in the secret_password_xxx()
   functions to greatly simplify them.
2012-07-05 23:33:08 +02:00
Stef Walter
153dfcec5f Add secret_collection_load_items()
* And flags to prevent loading of items when creating a
   SecretCollection object
 * Rename secret_service_ensure_collections() to
   secret_service_load_collections()
2012-07-05 23:33:07 +02:00
Stef Walter
f962662b09 Separate path based functionality
* Move the dbus object path based functionality into its
   own file and own section of the documentation.
2012-07-05 23:33:07 +02:00
Stef Walter
6f4a53f08b Don't continue initialization of SecretService if failed
* Don't open session or load collections on SecretService
   if the first part of the initialization failed
2012-07-05 23:33:07 +02:00
Stef Walter
fc0549d2ab Uninitialize the mutex in SecretService
* Fix resource leak
2012-07-05 23:33:07 +02:00
Stef Walter
5e73621f40 Use correct path when initializing a collection 2012-06-27 16:43:14 +02:00
Stef Walter
258ef1b8b8 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
2012-06-27 16:38:35 +02:00
Stef Walter
9b9db3fb51 Use correct variant signatures for Secret Service signals
* Fix typo for signatures used when receiving CollectionCreated,
   CollectionChanged, CollectionDeleted, ItemCreated, ItemChanged,
   ItemDeleted
2012-06-27 16:36:45 +02:00
Stef Walter
52d455f673 Notify the 'items' and 'collections' properties when udpated
* When SecretCollection updates its 'items' property or
   SecretService 'collections' property notify that these
   have been changed.
2012-06-27 16:33:22 +02:00
Stef Walter
fda131178a 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
2012-06-27 11:45:09 +02:00
Stef Walter
79aab9d941 Add secret_service_read_alias() and secret_service_set_alias()
* Wrappers for Secret Service ReadAlias() and SetAlias() methods
   in various permutations.
2012-06-23 14:47:13 +02:00
Stef Walter
279ea1cc10 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
2012-06-23 14:22:28 +02:00
Stef Walter
8e9284b4bc Fix documentation problems 2012-04-27 16:57:36 +02:00
Stef Walter
125289ae45 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
2012-03-31 15:33:25 +02:00
Stef Walter
271c4556bd More build fixes for openbsd 2012-03-30 14:59:04 +02:00
Stef Walter
add0a1a55d More documentation clarifications
* Document how the 'paths' variants of functions work
 * Add more about aliases
 * Document @properties arguments
2012-03-24 13:34:07 +01:00
Stef Walter
ebb2806946 Add documentation of which parts of the API are unstable
* Use secret-unstable.h header for unstable bits
 * Add stability tag to SECTION headers
2012-03-24 07:52:12 +01:00
Stef Walter
432f5617fe Round up the documentation 2012-03-18 15:38:29 +01:00
Stef Walter
605e0b1f9b Add support for old style Secret Service signals
* As used by ksecretservice
2012-03-18 15:34:48 +01:00
Stef Walter
3edec36350 Reference documentation 2012-02-03 20:44:47 +01:00
Stef Walter
9c20c4d65e Initial gobject-introspection support 2012-02-03 20:44:47 +01:00
Stef Walter
46137f865b Rename gsecret to libsecret
* Fixes the namespacing capitalization issues run into with
   gobject-introspection and glib code tools
2012-02-03 20:44:46 +01:00