commit 1079619fac3542ef5a3d9071488feba046a60cef Author: Stef Walter Date: 2011-11-21 Release 3.3.2 NEWS | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) commit 2343c7fcebb865c3c8ad139bac89f7b4a053cc66 Author: Stef Walter Date: 2011-11-21 egg: Remove usage of libtasn1.h * Copy a few definitions for using the asn1Parser generated definitions files. https://bugzilla.gnome.org/show_bug.cgi?id=664187 .gitignore | 3 +- Makefile.decl | 9 +++- egg/Makefile.am | 23 ++++----- egg/egg-asn1-defs.c | 33 +++++++++++++ egg/egg-asn1-defs.h | 12 +++-- egg/egg-asn1x.c | 123 ++++++++++++++++++++++++++++++----------------- egg/egg-asn1x.h | 8 ++-- egg/tests/Makefile.am | 18 ++++--- egg/tests/test-asn1.c | 4 +- egg/tests/test-asn1x.c | 4 +- egg/tests/test-dn.c | 1 - gcr/gcr-parser.c | 2 +- 12 files changed, 161 insertions(+), 79 deletions(-) commit f3b9d46c75675e9b4b451164dd32ed9b1af0dfb1 Author: Stef Walter Date: 2011-11-17 Add valgrind memory checking and fix up errors * This is especially necessary after migrating to EggBytes since it's reference counted and an easy sourc of memory leaks * Remove threading from testing framework, as gcr isn't threadsafe in all parts. * Fix bugs discovered in memory checking. * Fix up some of the testing stuff. .gitignore | 5 +- Makefile.am | 22 +- Makefile.decl | 26 + build/Makefile.am | 28 + build/gcr.supp | 14 + build/gcrypt.supp | 39 + build/glib.supp | 384 +++ build/glibc.supp | 13 + build/m4/.gitignore | 1 + build/p11-kit.supp | 6 + build/pixman.supp | 6 + build/pthread.supp | 7 + build/unknown.supp | 384 +++ build/valgrind/memcheck.h | 283 ++ build/valgrind/valgrind.h | 5344 +++++++++++++++++++++++++++++++++++ configure.ac | 2 + egg/Makefile.am | 7 +- egg/egg-asn1x.c | 25 +- egg/egg-bytes.c | 1 + egg/egg-decimal.c | 2 + egg/egg-dh.c | 2 +- egg/egg-dn.c | 5 +- egg/egg-hkdf.c | 1 + egg/egg-openssl.c | 1 + egg/egg-secure-memory.c | 393 ++-- egg/egg-secure-memory.h | 38 +- egg/egg-symkey.c | 1 - egg/egg-testing.c | 131 +- egg/egg-testing.h | 17 +- egg/tests/Makefile.am | 3 + egg/tests/test-asn1.c | 8 +- egg/tests/test-hex.c | 6 + egg/tests/test-openssl.c | 4 + egg/tests/test-padding.c | 2 + egg/tests/test-secmem.c | 15 +- egg/tests/test-symkey.c | 7 + gck/Makefile.am | 3 + gck/gck-interaction.c | 1 + gck/gck-mock.c | 6 +- gck/gck-session.c | 1 + gck/tests/Makefile.am | 4 + gck/tests/test-gck-attributes.c | 2 + gck/tests/test-gck-crypto.c | 31 +- gck/tests/test-gck-enumerator.c | 22 +- gck/tests/test-gck-module.c | 3 +- gck/tests/test-gck-modules.c | 2 +- gck/tests/test-gck-object.c | 6 +- gck/tests/test-gck-session.c | 12 +- gck/tests/test-gck-slot.c | 2 +- gck/tests/test-gck-uri.c | 1 + gcr/Makefile.am | 3 + gcr/gcr-fingerprint.c | 7 +- gcr/gcr-gnupg-key.c | 4 +- gcr/gcr-gnupg-process.c | 35 +- gcr/gcr-internal.h | 2 + gcr/gcr-library.c | 21 + gcr/gcr-openssh.c | 1 + gcr/gcr-parser.c | 14 +- gcr/gcr-secret-exchange.c | 9 +- gcr/gcr-util.c | 8 +- gcr/tests/Makefile.am | 3 + gcr/tests/test-certificate-chain.c | 4 +- gcr/tests/test-gnupg-collection.c | 2 +- gcr/tests/test-gnupg-key.c | 11 +- gcr/tests/test-gnupg-process.c | 71 +- gcr/tests/test-memory-icon.c | 17 +- gcr/tests/test-openpgp.c | 2 +- gcr/tests/test-openssh.c | 2 +- gcr/tests/test-parser.c | 2 + gcr/tests/test-pkcs11-certificate.c | 4 +- gcr/tests/test-secret-exchange.c | 7 +- gcr/tests/test-trust.c | 4 +- testing/Makefile.am | 4 - 73 files changed, 7223 insertions(+), 343 deletions(-) commit 97cd79171dfbba24394f070f3946b20c2d518d2d Author: Stef Walter Date: 2011-11-16 gcr: Use GBytes immutable ref counted byte buffers * Copy from glib patch to EggBytes * This allows us to reliably build up ASN.1 structures from different sources, and is needed for the certificate request work. https://bugzilla.gnome.org/show_bug.cgi?id=663291 egg/Makefile.am | 2 +- egg/egg-armor.c | 40 ++- egg/egg-armor.h | 11 +- egg/egg-asn1x.c | 595 +++++++++++++++++++++++------------ egg/egg-asn1x.h | 80 ++--- egg/egg-byte-array.c | 65 ---- egg/egg-byte-array.h | 33 -- egg/egg-bytes.c | 453 ++++++++++++++++++++++++++ egg/egg-bytes.h | 106 +++++++ egg/egg-dn.c | 79 +++-- egg/egg-dn.h | 8 +- egg/egg-openssl.c | 82 +++-- egg/egg-openssl.h | 20 +- egg/egg-symkey.c | 193 +++++++----- egg/egg-symkey.h | 8 +- egg/tests/test-asn1.c | 435 ++++++++++++++------------ egg/tests/test-asn1x.c | 17 +- egg/tests/test-dn.c | 26 ++- egg/tests/test-openssl.c | 65 +++-- gcr/gcr-certificate-extensions.c | 54 ++-- gcr/gcr-certificate-extensions.h | 20 +- gcr/gcr-certificate-renderer.c | 141 +++++---- gcr/gcr-certificate.c | 148 ++++++--- gcr/gcr-fingerprint.c | 115 +++++--- gcr/gcr-openpgp.c | 16 +- gcr/gcr-openpgp.h | 8 +- gcr/gcr-openssh.c | 35 ++- gcr/gcr-openssh.h | 8 +- gcr/gcr-parser.c | 470 +++++++++++++++------------- gcr/tests/frob-openpgp.c | 29 +- gcr/tests/test-fingerprint.c | 95 +++--- gcr/tests/test-openpgp.c | 26 +- gcr/tests/test-openssh.c | 39 ++- gcr/tests/test-pkcs11-certificate.c | 16 +- 34 files changed, 2233 insertions(+), 1305 deletions(-) commit 44aac490b6866c01d81975de2094899ed843bbc1 Author: Stef Walter Date: 2011-11-15 gck: Make gck_attributes_unref take a pointer * So it can be used as a GDestroyNotify gck/gck-attributes.c | 21 +++++++++++---------- gck/gck.h | 2 +- 2 files changed, 12 insertions(+), 11 deletions(-) commit 5e7f0de4dad010e2e94b525f9c77de8b683e63d5 Author: Stef Walter Date: 2011-11-15 gcr: Add missing symbols to gcr.symbols gcr/gcr.symbols | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit c20ca48b9822ff7f2128c5055d13a5abb337c354 Author: Stef Walter Date: 2011-11-15 gck: Fix problem where gck_slot_open_session_async() leaked objects * Held a reference to the session and result, which kept the module gck/gck-mock.c | 1 + gck/gck-slot.c | 11 +++++++++-- gck/tests/test-gck-session.c | 4 ++++ 3 files changed, 14 insertions(+), 2 deletions(-) commit b22d39cf68a59189572006a21537018e6c5ab4d6 Author: Stef Walter Date: 2011-11-15 Ignore editor backup files .gitignore | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit d9b98a02bb228552244096e8ce78b2b8ebbdc202 Author: Stef Walter Date: 2011-11-14 gck: Fix regression in gck_slot_open_session_finish * The first argument is a slot, but we directly called g_async_initable_new_async, and therefore a GckSession was erroneously expected. gck/gck-slot.c | 40 +++++++++++++++++++++++++++++++++++++--- 1 files changed, 37 insertions(+), 3 deletions(-) commit 6ec1c6ae545bdc99b821063456a111257b8110c1 Author: Stef Walter Date: 2011-11-13 Fix problem where test sources were being ignored by git. * And add test-filter-collection.c .gitignore | 17 +-- gcr/tests/test-filter-collection.c | 274 ++++++++++++++++++++++++++++++++++++ 2 files changed, 282 insertions(+), 9 deletions(-) commit ec6e65cf09804d91bf10b15e75b02056c02f59a0 Author: Stef Walter Date: 2011-11-09 gcr: Allow changing the collection on a GcrCollectionModel * Make the collection property writable any time * Add gcr_collection_model_set_collection() function * Try to be smart about adding/removing objects that are in the intersection of the old/new collections gcr/gcr-collection-model.c | 88 +++++++++++++++++++++++++++++++++---------- gcr/gcr-collection-model.h | 3 + 2 files changed, 70 insertions(+), 21 deletions(-) commit 3bffaf39e4e32daa1942e32f68c10ff35d509bd7 Author: Stef Walter Date: 2011-11-09 gcr: Add tree and list mode for GcrCollectionModel * Way for callers to turn off the nesting behavior of GcrCollectionModel * Specify GCR_COLLECTION_MODEL_LIST at startup. * No stable software yet uses GcrCollectionModel, so changing API. docs/reference/gcr/gcr-sections.txt | 4 ++ gcr/gcr-collection-model.c | 63 +++++++++++++++++++++++++--------- gcr/gcr-collection-model.h | 7 ++++ gcr/gcr-combo-selector.c | 1 + gcr/gcr-list-selector.c | 1 + gcr/gcr-tree-selector.c | 1 + 6 files changed, 60 insertions(+), 17 deletions(-) commit c84c8f8ab0168e288e5f92a09d9dc9f4ef1d0192 Author: Stef Walter Date: 2011-11-09 gck: Fix annotations for array and out params in GckSession gck/gck-session.c | 99 +++++++++++++++++++++++++++------------------------- 1 files changed, 51 insertions(+), 48 deletions(-) commit 23a6d43242398990e7fc46d3044883299803aafc Author: Stef Walter Date: 2011-11-09 gck: Allow generating key without getting out key objects * Allow public_key and private_key locations to be null in gck_session_generate_key_pair(), -gck_session_generate_key_pair_full() and gck_session_generate_key_pair_finish() gck/gck-session.c | 50 +++++++++++++++++++++++++++++--------------------- 1 files changed, 29 insertions(+), 21 deletions(-) commit fa095ebe11a59c9cda2a49651a0bec821e9fce30 Author: Stef Walter Date: 2011-11-09 gcr: Add GcrFilterCollection * Adds a new collection type, which wraps another collection and filters out certain objects docs/reference/gcr/gcr-sections.txt | 21 ++ docs/reference/gcr/gcr.interfaces | 1 + docs/reference/gcr/gcr.types | 1 + gcr/Makefile.am | 2 + gcr/gcr-base.h | 1 + gcr/gcr-base.symbols | 5 + gcr/gcr-filter-collection.c | 381 +++++++++++++++++++++++++++++++++++ gcr/gcr-filter-collection.h | 76 +++++++ gcr/tests/Makefile.am | 1 + 9 files changed, 489 insertions(+), 0 deletions(-) commit 97c5fa57007784ad11419c0828e5348c06894c21 Author: Stef Walter Date: 2011-11-07 gck: fix symbols file gck/gck.symbols | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 7cb2c0e109760bce566a4dfea77f2fe899e652ad Author: Colin Walters Date: 2011-11-03 autogen.sh: Make executable 0 files changed, 0 insertions(+), 0 deletions(-) commit 41e66a2cc61376a82cb53423e4a8c1e03b19058e Author: Colin Walters Date: 2011-11-03 build: Don't reference uninstalled gck The --include-uninstalled argument is sufficent; we shouldn't redundantly pass gck as a package or include. gcr/Makefile.am | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 794ca1502a562b20ace487c23bb15884df5dd3f3 Author: Stef Walter Date: 2011-11-03 gck: gck_attribute_get_string() should not return a NULL string * Fix bug where a NULL string would be returned if the attribute was found but was invalid. gck/gck-attributes.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) commit 8667b2f7756b42a570ef1328d3f4658da7dffb3f Author: Stef Walter Date: 2011-11-03 gck: Add gck_attribute_hash and cleanup for use in hash table * Add gck_attribute_hash() so GckAttribute can be used as a hash table key. * Change gck_attribute_free() and gck_attribute_equal() to use pointers so they can be used as GEqualFunc and GDestroyNotify without casting docs/reference/gck/gck-sections.txt | 1 + gck/gck-attributes.c | 47 ++++++++++++++++++++++++++-------- gck/gck.h | 8 +++-- 3 files changed, 42 insertions(+), 14 deletions(-) commit 468414442f0c4a785fcf784752cae8a1e44323c9 Author: Stef Walter Date: 2011-11-02 gck: Chaining of enumerators * Add functions gck_enumerator_get_chained() and gck_enumerator_set_chained() * Chaining enumerator returns results from the chained enumerator after all results have been retrieved from the former. docs/reference/gck/gck-sections.txt | 2 + gck/gck-enumerator.c | 198 ++++++++++++++++++++++++++++------- gck/gck.h | 5 + gck/gck.symbols | 2 + gck/tests/test-gck-enumerator.c | 40 +++++++ 5 files changed, 210 insertions(+), 37 deletions(-) commit 83c859210e66ffa5e0d7814cb822066c23c1e7bb Author: Stef Walter Date: 2011-11-02 gck: Allow enumerating objects on a session * Add gck_session_enumerate_objects() * This has several advantages such as retrieving attributes during the enumeration, etc. docs/reference/gck/gck-sections.txt | 1 + gck/gck-enumerator.c | 100 ++++++++++++++++++++++++++-------- gck/gck-modules.c | 4 +- gck/gck-private.h | 9 +++- gck/gck-session.c | 27 +++++++++- gck/gck-slot.c | 2 +- gck/gck.h | 3 + gck/gck.symbols | 1 + gck/tests/test-gck-enumerator.c | 57 ++++++++++++++++---- 9 files changed, 163 insertions(+), 41 deletions(-) commit b4fa5d383344c703de7c40ab6d058c8410c19220 Author: Stef Walter Date: 2011-11-02 gck: Fix documentation gck/gck-session.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 399f40a41f058a19c490cf8e5c8ba940e053510f Author: Stef Walter Date: 2011-11-02 gck: GTlsInteraction is set on sessions, not slots * At least for now. We can figure out how to have a global interaction handler later. * interactions often are specific to windows which are bound to sessions rather than being a global deal so we need to have this level of granularity. docs/reference/gck/gck-sections.txt | 3 +- docs/reference/gcr/gcr.interfaces | 1 + gck/gck-session.c | 89 ++++++++++++++++++++++++-------- gck/gck-slot.c | 96 +---------------------------------- gck/gck.h | 8 +-- gck/gck.symbols | 3 +- gcr/gcr-pkcs11-importer.c | 11 ++--- 7 files changed, 79 insertions(+), 132 deletions(-) commit 7d5588e54caced82b19073850a8332647e4e0d37 Author: Stef Walter Date: 2011-11-02 gck: Remove unneeded variable in gck_session_from_handle() gck/gck-session.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) commit f96fe8eb8a497522abd6fd6c0301abff48604e60 Author: Stef Walter Date: 2011-11-02 gck: Don't try and discard handle for session that was not opened gck/gck-session.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit cb5ac66f0773c439c00b8a87f4a43e2532402412 Author: Stef Walter Date: 2011-11-01 gck: Add methods for opening and logging in that accept interactions * Make GckSession GInitable and GAsyncInitable * With convenience functions gck_session_open and gck_session_open_async * Also add gck_session_login_interactive and gck_session_login_interactive_async docs/reference/gck/gck-sections.txt | 6 + docs/reference/gck/gck.interfaces | 1 + gck/gck-call.c | 6 +- gck/gck-session.c | 441 ++++++++++++++++++++++++++++++++-- gck/gck-slot.c | 158 ++----------- gck/gck.h | 33 +++ gck/gck.symbols | 6 + gck/tests/Makefile.am | 4 + gck/tests/test-gck-session.c | 191 +++++++++++++++- 9 files changed, 675 insertions(+), 171 deletions(-) commit ff247f1e8128b944e6781b819c73ab9e7f5505e1 Author: Stef Walter Date: 2011-10-31 Ignore coverage file types for git inclusion .gitignore | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 07a447524f89f60c7e77a83174c5efe52608911f Author: Travis Reiter Date: 2011-11-01 gcr: Fix build, link against glib https://bugzilla.gnome.org/show_bug.cgi?id=662647 gcr/Makefile.am | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 7702296c156d114b950d71c043b413f0a1d3de07 Author: Stef Walter Date: 2011-10-30 gcr: Fix gobject-introspection build ... again https://bugzilla.gnome.org/show_bug.cgi?id=662648 gcr/Makefile.am | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit d2210cc236c1f0fcddfcba19ce2787b24b6327da Author: Stef Walter Date: 2011-10-29 Remove g_thread_init() calls. * g_type_init() initializes threads since 2.24 and is no longer needed since 2.32 egg/egg-testing.c | 4 +++- gcr/gcr-viewer-tool.c | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) commit 49201f9d22f6466887bf73ba62ea6644e439c902 Author: Stef Walter Date: 2011-10-28 gcr: Remove redefinition of GcrRenderer typedef gcr/gcr-renderer.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 5c59540676d1bcc88ece3d0650a78005202ed60d Author: Stef Walter Date: 2011-10-28 gck: Remove duplicate typedef of GckObjectAttributes gck/gck.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 7cad8afcea294a756f7ebdcc5d30e5b7e690f981 Author: Stef Walter Date: 2011-10-26 Bump version number configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)