Stef Walter
80df2e6484
Add flags for secret_item_create and secret_collection_create
...
* For future extensibility
2012-07-12 13:59:35 +02:00
Stef Walter
494c13a265
Add secret_item_get_schema_name() function
...
* And add tests for schemas on items
2012-07-12 13:02:33 +02:00
Stef Walter
3c3e05eb11
Allow passing SecretSchema to secret_item_create() and set_attributes()
2012-07-12 12:49:51 +02:00
Evan Nemerson
a646cd2b33
introspection: add several missing element-type annotations
...
https://bugzilla.gnome.org/show_bug.cgi?id=679090
2012-07-10 22:30:42 +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
c1f860d45f
Fix up documentation
2012-07-06 10:21:04 +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
012ed7d620
Move secret_service_get_secrets() to secret_item_load_secrets()
...
* And cache the secrets on the items instead of returning
them in a GHashtable
2012-07-05 23:33:07 +02:00
Stef Walter
ba7fe4fe8c
Fix invalid pre-condition in secret_item_get_service()
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
49dd623e6e
Keep a cached SecretValue on each SecretItem
...
* This item can be retrieved immediately and loaded asynchronously
* It can also be loaded during initialization of the SecretItem
object
2012-07-05 23:33:07 +02:00
Stef Walter
89550876ff
Remove varargs SecretService methods
...
* The SecretService methods aren't used as frequently as the
password methods, and it's not really necessary to have a whole
bunch of extra varargs functions.
* Add varargs functions for building a GHashTable of attributes
2012-06-28 13:15:06 +02:00
Stef Walter
f64cf14f41
Don't dispose SecretItem proxies when they go away
...
* This is strange behavior and causes unexpected results
in calling programs
2012-06-27 16:42:04 +02:00
Stef Walter
e13b8c4680
Add methods to get services from collections, items
...
* Add secret_collection_get_service()
* Add secret_item_get_service()
2012-06-25 10:17:29 +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
3fcfe9234e
Remove multiple typedef definitions
2012-03-30 13:53:44 +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
8417d8c98b
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
2012-03-18 21:58:02 +01:00
Stef Walter
432f5617fe
Round up the documentation
2012-03-18 15:38:29 +01:00
Stef Walter
60f6e8e770
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
2012-03-11 09:08:49 +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