Stef Walter
e43cba8174
Fix up libsecret licensing
...
* License libsecret under LGPL2.1+. We can do this because the
files that make up the library are either LGPL2.0+ or LGPL2.1+
* Correctly include a file which contains the full texts of the
various licenses used in the tests.
* Include license headers in some files that contained no license
headers.
https://bugzilla.gnome.org/show_bug.cgi?id=680781
2012-08-06 11:25:08 +02:00
Stef Walter
66a7a81216
Fix introspection tests
...
* Regressed due to hiding of internal symbols in libsecret.so and
creation of a separate libsecret-testable.so library
2012-07-31 14:56:52 +02:00
Stef Walter
6becc33e8c
Support building with automake 1.12.x
...
https://bugzilla.gnome.org/show_bug.cgi?id=680839
2012-07-30 17:03:12 +02:00
Stef Walter
9544b683f1
secret-tool: Use the correct call to wipe password in memory
...
* Fixes crash
2012-07-30 11:44:15 +02:00
Stef Walter
e34381276e
Set correct module flags on libsecret
...
* Pointed out by Robert Ancell
https://bugzilla.gnome.org/show_bug.cgi?id=680207
2012-07-24 06:24:05 +02:00
Stef Walter
54b73f5cb6
Initialize gettext in secret-tool
...
https://bugzilla.gnome.org/show_bug.cgi?id=680072
2012-07-18 07:40:01 +02:00
Stef Walter
9bf240ef4d
Release version 0.7
2012-07-16 12:54:59 +02:00
Stef Walter
45e01e6600
Match schema names for notes and network passwords
...
* These are old item types from libgnome-keyring, and
gnome-keyring-daemon has special code to generate the
schema for these types of items.
2012-07-14 13:25:39 +02:00
Stef Walter
ebc65dba98
Remove multiple definitions of SecretCollection
...
https://bugzilla.gnome.org/show_bug.cgi?id=679913
2012-07-14 13:23:16 +02:00
Stef Walter
ce03e082a2
Remove empty secret-unstable.h file
2012-07-14 12:11:02 +02:00
Stef Walter
f4d8fc4751
Add flags argument to secret_collection_for_alias()
...
* Can control whether items are loaded or not.
2012-07-14 12:09:38 +02:00
Stef Walter
56ece9eff0
Correct flags for SecretCollection
...
* The SECRET_COLLECTION_LOAD_ITEMS flag was always set
2012-07-14 12:09:10 +02:00
Stef Walter
49cdaf5df8
Release version 0.6
2012-07-14 09:07:20 +02:00
Stef Walter
e0ba10ee09
Rename secret_password_remove() to secret_password_clear()
...
* It's clearer what happens here: we try to remove as many matching
passwords as possible.
* Also rename secret_service_remove() to secret_service_clear()
* Rename secret_password_clear() which used to wipe password memory
to secret_password_wipe().
2012-07-14 08:20:32 +02:00
Colin Walters
7efb4d5073
build: Disable parallelism in tests
2012-07-13 17:54:25 -04:00
Colin Walters
19eb104158
build: Fix parallel make issue
...
SecretUnstable.gir depends on Secret.gir, which in turn depends
on the stuff that was previously listed.
2012-07-13 17:50:22 -04:00
Stef Walter
69fd67ae19
Properly refer to the fact that multiple passwords may be removed.
2012-07-13 16:08:36 +02:00
Colin Walters
6422acd085
build: Various introspection-related build fixes
...
Don't set PKG_CONFIG_PATH, this breaks jhbuild; instead, use
--include-uninstalled to tell the scanner where to find internal
libraries.
Don't set _PACKAGES = gio-2.0; we already pick that up from the
Gio-2.0.gir.
https://bugzilla.gnome.org/show_bug.cgi?id=679852
2012-07-13 15:26:28 +02:00
Stef Walter
5d725daf29
Clearer warning when using unstable parts of API
2012-07-13 14:03:04 +02:00
Stef Walter
79d1f4b718
The secret_attribute_build() functions are stable
2012-07-13 14:02:50 +02:00
Stef Walter
561e5c72ba
The predefined secret schemas are stable
2012-07-13 14:02:19 +02:00
Stef Walter
4fc7d144bb
Search for mock-service-0.vapi in the right directory
2012-07-13 13:33:36 +02:00
Stef Walter
772eef69e6
Documentation fix for SecretItem:flags
2012-07-13 13:33:23 +02:00
Stef Walter
77f8368a3a
Install headers to libsecret-1 instead of secret-1
...
* Clearer and more consistent
2012-07-13 13:24:34 +02:00
Stef Walter
83c8674a03
Update documentation for to have correct headers
...
* Add add more warnings to unstable API documentation
2012-07-13 13:04:26 +02:00
Stef Walter
7816417167
Release version 0.5
2012-07-13 12:48:41 +02:00
Stef Walter
db95ff86b3
Add missing documentation for secret_item_get_schema_name()
2012-07-13 12:26:23 +02:00
Stef Walter
1b84a1ad42
More fixes for broken vapi and gir generation
...
* Man this is brittle
2012-07-13 12:25:10 +02:00
Stef Walter
234855ea7d
Bump the library major version number
...
* We want to settle on 1 after first stable release
* Since we're going to start patching projects we want this to have
the pkg-config file be libsecret-1
2012-07-13 12:24:35 +02:00
Stef Walter
a1c3e9bb09
Document how to build with or use libsecret
2012-07-13 12:01:06 +02:00
Stef Walter
994ae44a77
Split the pkg-config files, gir, and vapi into stable/unstable
...
* C callers need to use libsecret-0 pkg-config file for stable and
libsecret-unstable for unstable stuff.
* Vala callers need to '--pkg libsecret-unstable' for unstable
* GObject Introspection callers need to use the SecretUnstable package
2012-07-13 11:14:34 +02:00
Stef Walter
5cc30b2b68
Rename the library subdirectory to libsecret
...
* Death by a thousand paper cuts from gir and vapi not liking
the fact that the secret.h file was not usable uninstalled
and installed in the same way.
2012-07-13 10:40:25 +02:00
Stef Walter
931f677c7a
Bump version number
2012-07-12 17:14:58 +02:00
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
Stef Walter
c22bc528df
Rename secret_service_read_alias() to secret_collection_for_alias()
...
* Much more logical, especially in the future when arbitrary aliases
are implemented in gnome-keyring-daemon
2012-07-12 12:38:50 +02:00
Stef Walter
35022289da
Add documentation for how to migrate from libgnome-keyring
2012-07-12 11:40:50 +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
Evan Nemerson
3843751b6f
vala: update metadata to reflect changes made by 89550876
2012-07-10 12:49:00 -07:00
Stef Walter
b63e664c28
Remove erroneus precondition
2012-07-10 21:39:48 +02:00
Stef Walter
8583ef53dc
secret_service_remove() and secret_password_remove() remove multiple
...
* Remove all items that are not locked that match in a
secret_service_remove() and secret_password_remove().
2012-07-10 21:38:48 +02:00
Stef Walter
c85cadce76
Validate that we have attributes when looking up
...
* When matching items, make sure we have attributes if
no schema name was included in the match
* This is particularly important because we don't want to
remove all the items.
2012-07-10 21:37:47 +02:00
Stef Walter
b85c8758b0
Release version 0.4
2012-07-09 11:36:24 +02:00
Stef Walter
9c2eca05ff
Implement per collection search
...
* Use the SearchItems dbus method on the Collection interface
* Tweak some issues with the service search code as well
2012-07-09 11:23:36 +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
Martyn Russell
8339f296e8
Don't try to build test-vala-lang if !HAVE_INTROSPECTION or !ENABLE_VAPIGEN
...
* libsecret-@SECRET_MAJOR@.vapi is built only with those 2 defines and these
were not checked before depending that target for the test case
Found during jhbuild run
2012-07-08 17:03:04 +01:00
Stef Walter
5ecab6d33b
Get service correctly for secret_service_set_alias()
...
* We can't use secret_collection_get_service() since a NULL
collection can be passed in.
2012-07-06 10:40:22 +02:00
Stef Walter
c1f860d45f
Fix up documentation
2012-07-06 10:21:04 +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