commit 83c8674a03bb3373daa63be3eb44385d10bff968 Author: Stef Walter Date: 2012-07-13 Update documentation for to have correct headers * Add add more warnings to unstable API documentation docs/reference/libsecret/libsecret-sections.txt | 14 +++++++------- libsecret/secret-collection.c | 3 +++ libsecret/secret-item.c | 3 +++ libsecret/secret-password.c | 5 ++++- libsecret/secret-paths.c | 3 +++ libsecret/secret-prompt.c | 3 +++ libsecret/secret-service.c | 3 +++ libsecret/secret-value.c | 3 +++ 8 files changed, 29 insertions(+), 8 deletions(-) commit 7816417167bb0656b9d176890ebb1af793d1b17d Author: Stef Walter Date: 2012-07-13 Release version 0.5 NEWS | 14 ++++++++++++++ docs/reference/libsecret/Makefile.am | 2 +- libsecret/tests/Makefile.am | 1 - tool/Makefile.am | 2 +- 4 files changed, 16 insertions(+), 3 deletions(-) commit db95ff86b34b966c710001c0435363793e07f4d2 Author: Stef Walter Date: 2012-07-13 Add missing documentation for secret_item_get_schema_name() docs/reference/libsecret/libsecret-sections.txt | 1 + 1 file changed, 1 insertion(+) commit 1b84a1ad42fdb9bf40cf8d3c9cd8b76ae798bd98 Author: Stef Walter Date: 2012-07-13 More fixes for broken vapi and gir generation * Man this is brittle libsecret/Makefile.am | 12 ++++++++---- libsecret/tests/Makefile.am | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) commit 234855ea7d6590edcdb2b981050d9257bfcabcdc Author: Stef Walter Date: 2012-07-13 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 configure.ac | 2 +- libsecret/Secret-0.metadata | 20 -------------------- libsecret/Secret-1.metadata | 20 ++++++++++++++++++++ 3 files changed, 21 insertions(+), 21 deletions(-) commit a1c3e9bb097b0dabb690972122f53ebc839c558e Author: Stef Walter Date: 2012-07-13 Document how to build with or use libsecret .gitignore | 1 + configure.ac | 1 + docs/reference/libsecret/Makefile.am | 3 +- docs/reference/libsecret/libsecret-docs.sgml | 2 + docs/reference/libsecret/libsecret-using.sgml | 146 +++++++++++++++++++++++++ docs/reference/libsecret/version-major.xml.in | 1 + libsecret/tests/Makefile.am | 2 +- 7 files changed, 154 insertions(+), 2 deletions(-) commit 994ae44a77e55077bb64141a08ab8a5143a7d3f1 Author: Stef Walter Date: 2012-07-13 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 .gitignore | 4 +- configure.ac | 1 + libsecret/Makefile.am | 70 ++++++++++++++++++++++++------- libsecret/SecretUnstable-0.metadata | 5 +++ libsecret/libsecret-unstable.pc.in | 13 ++++++ libsecret/secret-attributes.h | 2 +- libsecret/secret-collection.c | 6 +-- libsecret/secret-collection.h | 5 ++- libsecret/secret-item.c | 4 +- libsecret/secret-item.h | 3 +- libsecret/secret-methods.c | 4 +- libsecret/secret-password.h | 2 +- libsecret/secret-paths.c | 4 +- libsecret/secret-paths.h | 2 +- libsecret/secret-private.h | 1 + libsecret/secret-prompt.h | 3 +- libsecret/secret-schema.h | 2 +- libsecret/secret-schemas.h | 2 +- libsecret/secret-service.c | 2 +- libsecret/secret-service.h | 11 ++++- libsecret/secret-types.h | 15 +------ libsecret/secret-unstable.h | 39 ----------------- libsecret/secret-value.c | 2 +- libsecret/secret-value.h | 4 +- libsecret/secret.h | 18 ++++++++ libsecret/tests/Makefile.am | 56 +++++++++++++------------ libsecret/tests/test-unstable.js | 17 ++++++++ libsecret/tests/test-unstable.py | 23 ++++++++++ libsecret/tests/test-vala-unstable.vala | 25 +++++++++++ 29 files changed, 227 insertions(+), 118 deletions(-) commit 5cc30b2b68f551506bd9bbbe1306a24009e14eca Author: Stef Walter Date: 2012-07-13 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. .gitignore | 18 +- Makefile.am | 2 +- autogen.sh | 2 +- configure.ac | 8 +- docs/reference/libsecret/Makefile.am | 8 +- docs/reference/libsecret/libsecret-sections.txt | 20 +- library/Makefile.am | 178 -- library/Secret-0.metadata | 20 - library/libsecret.pc.in | 14 - library/org.freedesktop.Secrets.xml | 160 -- library/secret-attributes.c | 287 --- library/secret-attributes.h | 38 - library/secret-collection.c | 2223 -------------------- library/secret-collection.h | 174 -- library/secret-enum-types.c.template | 43 - library/secret-enum-types.h.template | 28 - library/secret-item.c | 2086 ------------------- library/secret-item.h | 195 -- library/secret-methods.c | 1936 ------------------ library/secret-password.c | 864 -------- library/secret-password.h | 135 -- library/secret-paths.c | 2479 ----------------------- library/secret-paths.h | 277 --- library/secret-private.h | 206 -- library/secret-prompt.c | 543 ----- library/secret-prompt.h | 79 - library/secret-schema.c | 383 ---- library/secret-schema.h | 77 - library/secret-schemas.c | 79 - library/secret-schemas.h | 42 - library/secret-service.c | 1724 ---------------- library/secret-service.h | 292 --- library/secret-session.c | 669 ------ library/secret-types.h | 56 - library/secret-unstable.h | 39 - library/secret-util.c | 449 ---- library/secret-value.c | 299 --- library/secret-value.h | 52 - library/secret.h | 29 - library/tests/Makefile.am | 202 -- library/tests/mock-service-delete.py | 17 - library/tests/mock-service-lock.py | 17 - library/tests/mock-service-normal.py | 7 - library/tests/mock-service-only-plain.py | 8 - library/tests/mock-service-prompt.py | 44 - library/tests/mock-service.c | 93 - library/tests/mock-service.h | 27 - library/tests/mock/__init__.py | 1 - library/tests/mock/aes.py | 656 ------ library/tests/mock/dh.py | 81 - library/tests/mock/hkdf.py | 86 - library/tests/mock/service.py | 710 ------- library/tests/test-collection.c | 960 --------- library/tests/test-item.c | 867 -------- library/tests/test-lookup-password.js | 52 - library/tests/test-lookup-password.py | 59 - library/tests/test-methods.c | 945 --------- library/tests/test-password.c | 328 --- library/tests/test-paths.c | 746 ------- library/tests/test-prompt.c | 414 ---- library/tests/test-remove-password.js | 68 - library/tests/test-remove-password.py | 69 - library/tests/test-service.c | 583 ------ library/tests/test-session.c | 231 --- library/tests/test-store-password.js | 58 - library/tests/test-store-password.py | 59 - library/tests/test-vala-lang.vala | 172 -- library/tests/test-value.c | 210 -- libsecret/Makefile.am | 178 ++ libsecret/Secret-0.metadata | 20 + libsecret/libsecret.pc.in | 14 + libsecret/org.freedesktop.Secrets.xml | 160 ++ libsecret/secret-attributes.c | 287 +++ libsecret/secret-attributes.h | 38 + libsecret/secret-collection.c | 2223 ++++++++++++++++++++ libsecret/secret-collection.h | 174 ++ libsecret/secret-enum-types.c.template | 43 + libsecret/secret-enum-types.h.template | 28 + libsecret/secret-item.c | 2086 +++++++++++++++++++ libsecret/secret-item.h | 195 ++ libsecret/secret-methods.c | 1936 ++++++++++++++++++ libsecret/secret-password.c | 864 ++++++++ libsecret/secret-password.h | 135 ++ libsecret/secret-paths.c | 2479 +++++++++++++++++++++++ libsecret/secret-paths.h | 277 +++ libsecret/secret-private.h | 206 ++ libsecret/secret-prompt.c | 543 +++++ libsecret/secret-prompt.h | 79 + libsecret/secret-schema.c | 383 ++++ libsecret/secret-schema.h | 77 + libsecret/secret-schemas.c | 79 + libsecret/secret-schemas.h | 42 + libsecret/secret-service.c | 1724 ++++++++++++++++ libsecret/secret-service.h | 292 +++ libsecret/secret-session.c | 669 ++++++ libsecret/secret-types.h | 56 + libsecret/secret-unstable.h | 39 + libsecret/secret-util.c | 449 ++++ libsecret/secret-value.c | 299 +++ libsecret/secret-value.h | 52 + libsecret/secret.h | 29 + libsecret/tests/Makefile.am | 202 ++ libsecret/tests/mock-service-delete.py | 17 + libsecret/tests/mock-service-lock.py | 17 + libsecret/tests/mock-service-normal.py | 7 + libsecret/tests/mock-service-only-plain.py | 8 + libsecret/tests/mock-service-prompt.py | 44 + libsecret/tests/mock-service.c | 93 + libsecret/tests/mock-service.h | 27 + libsecret/tests/mock/__init__.py | 1 + libsecret/tests/mock/aes.py | 656 ++++++ libsecret/tests/mock/dh.py | 81 + libsecret/tests/mock/hkdf.py | 86 + libsecret/tests/mock/service.py | 710 +++++++ libsecret/tests/test-collection.c | 960 +++++++++ libsecret/tests/test-item.c | 867 ++++++++ libsecret/tests/test-lookup-password.js | 52 + libsecret/tests/test-lookup-password.py | 59 + libsecret/tests/test-methods.c | 945 +++++++++ libsecret/tests/test-password.c | 328 +++ libsecret/tests/test-paths.c | 746 +++++++ libsecret/tests/test-prompt.c | 414 ++++ libsecret/tests/test-remove-password.js | 68 + libsecret/tests/test-remove-password.py | 69 + libsecret/tests/test-service.c | 583 ++++++ libsecret/tests/test-session.c | 231 +++ libsecret/tests/test-store-password.js | 58 + libsecret/tests/test-store-password.py | 59 + libsecret/tests/test-vala-lang.vala | 172 ++ libsecret/tests/test-value.c | 210 ++ po/POTFILES.in | 4 +- po/pl.po | 4 +- tool/Makefile.am | 4 +- 133 files changed, 23960 insertions(+), 23960 deletions(-) commit 931f677c7ac8af0a6ebed2e3ef7472a7076bc8be Author: Stef Walter Date: 2012-07-12 Bump version number configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 80df2e6484af2b593286b1798c5e6de77f1289ac Author: Stef Walter Date: 2012-07-12 Add flags for secret_item_create and secret_collection_create * For future extensibility docs/reference/libsecret/libsecret-sections.txt | 6 +++++ library/secret-collection.c | 21 ++++++++++++--- library/secret-collection.h | 6 +++++ library/secret-item.c | 32 ++++++++++++++--------- library/secret-item.h | 9 +++++-- library/secret-methods.c | 4 +-- library/secret-paths.c | 30 ++++++++++++--------- library/secret-paths.h | 6 +++-- library/tests/test-collection.c | 7 +++-- library/tests/test-item.c | 4 +-- library/tests/test-paths.c | 10 ++++--- 11 files changed, 93 insertions(+), 42 deletions(-) commit 494c13a265619b6588b4011d5bf3251de9ac49e4 Author: Stef Walter Date: 2012-07-12 Add secret_item_get_schema_name() function * And add tests for schemas on items library/secret-item.c | 50 +++++++++++++++++++++++++++++++++++++-------- library/secret-item.h | 2 ++ library/tests/test-item.c | 44 +++++++++++++++++++++++++++++++++------ 3 files changed, 82 insertions(+), 14 deletions(-) commit 3c3e05eb11fcae1bd1be455811493e98e63ee0d4 Author: Stef Walter Date: 2012-07-12 Allow passing SecretSchema to secret_item_create() and set_attributes() library/secret-item.c | 47 ++++++++++++++++++++++++++++++++++++--------- library/secret-item.h | 8 ++++++-- library/tests/test-item.c | 12 ++++++------ 3 files changed, 50 insertions(+), 17 deletions(-) commit c22bc528df1abbf95a70ff174420a73e84567c8a Author: Stef Walter Date: 2012-07-12 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 docs/reference/libsecret/libsecret-sections.txt | 6 +- library/secret-collection.c | 241 ++++++++++++++++++++++- library/secret-collection.h | 14 ++ library/secret-methods.c | 239 ---------------------- library/secret-service.h | 15 -- library/tests/test-collection.c | 57 ++++++ library/tests/test-methods.c | 69 +------ 7 files changed, 319 insertions(+), 322 deletions(-) commit 35022289dad465a866c012dec1662c99ceea685a Author: Stef Walter Date: 2012-07-12 Add documentation for how to migrate from libgnome-keyring docs/reference/libsecret/Makefile.am | 11 +- docs/reference/libsecret/libsecret-docs.sgml | 2 + docs/reference/libsecret/libsecret-sections.txt | 2 +- .../libsecret/migrating-libgnome-keyring.xml | 839 ++++++++++++++++++++ library/secret-schema.c | 5 + library/secret-schemas.c | 34 + 6 files changed, 889 insertions(+), 4 deletions(-) commit a646cd2b331cde101adce54f39ab48af5822b64b Author: Evan Nemerson Date: 2012-07-10 introspection: add several missing element-type annotations https://bugzilla.gnome.org/show_bug.cgi?id=679090 library/secret-attributes.c | 8 ++++---- library/secret-item.c | 8 ++++++-- library/secret-paths.c | 10 ++++++---- 3 files changed, 16 insertions(+), 10 deletions(-) commit 3843751b6fc215a07e85635b2a3dfaebd00ad626 Author: Evan Nemerson Date: 2012-06-28 vala: update metadata to reflect changes made by 89550876 library/Secret-0.metadata | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) commit b63e664c2833fe8714ce01ae48fd8faf4ccff750 Author: Stef Walter Date: 2012-07-10 Remove erroneus precondition library/secret-paths.c | 1 - 1 file changed, 1 deletion(-) commit 8583ef53dc51015a3c38e38a2538438a6589f58e Author: Stef Walter Date: 2012-07-10 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(). library/secret-methods.c | 58 +++++++++++++++++++---------------------- library/secret-password.c | 16 ++++++------ library/tests/test-methods.c | 8 +++++- library/tests/test-password.c | 10 +++++++ 4 files changed, 52 insertions(+), 40 deletions(-) commit c85cadce76b99e5a3b20a9408edff09df3d7c777 Author: Stef Walter Date: 2012-07-10 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. library/secret-attributes.c | 33 ++++++++++++++++++++++----------- library/secret-collection.c | 4 ++-- library/secret-methods.c | 16 ++++++++-------- library/secret-password.c | 16 ++++++++-------- library/secret-paths.c | 6 +++--- library/secret-private.h | 4 +++- 6 files changed, 46 insertions(+), 33 deletions(-)