Commit Graph

17 Commits

Author SHA1 Message Date
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
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
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
Stef Walter
f1bd681e8a Split out tests for service and service methods 2012-02-03 20:44:45 +01:00
Stef Walter
1a86e7152d Test storing passwords and fix bugs 2012-02-03 20:44:45 +01:00
Stef Walter
4c80765ef8 More testing, and more bug fixes 2012-02-03 20:44:44 +01:00
Stef Walter
c6c6afa2cc Rework how the initialization work for various proxy objects
* Fix bugs and tests
2012-02-03 20:44:44 +01:00
Stef Walter
116447c59e Split out starting/stopping mock service into library
* Later this will be introspectable so we can start it from
   python or javascript based tests
2012-01-23 09:36:36 +01:00
Stef Walter
31d8f1508e Complete most of implementation, thread safety
Not tested or run yet
2012-01-20 17:53:02 +01:00
Stef Walter
f2e275f25e Prompting and item deletion 2012-01-13 14:45:55 +01:00
Stef Walter
17fade3173 Implement gsecret_service_get_secrets_for_paths() and friends
* Lots of testing, fine tuning and other bits too.
2011-11-12 08:08:12 +01:00
Stef Walter
09a9d856d2 Add more coverage testing for search paths 2011-11-06 22:46:30 +01:00
Stef Walter
4893c73c5b 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
2011-11-06 13:41:21 +01:00
Stef Walter
e670fe5645 Fix for deprecations in glib 2.31.0 2011-11-06 13:38:51 +01:00
Stef Walter
76ae17b24f Add test for GSecretService singleton, and make it work 2011-11-06 08:59:20 +01:00
Stef Walter
7ac228b62f Simple test for gsecret_service_search_paths() 2011-11-05 21:50:01 +01:00