summaryrefslogtreecommitdiff
path: root/gck/gck-misc.c
Commit message (Collapse)AuthorAgeFilesLines
* Drop Gck list APINiels De Graef2022-07-171-52/+0
| | | | | | | | | | gck provided some APIs that made working with lists of `GObject`s easier. GLib has for a long time added API that works well enough for the same use case, like `g_list_copy_deep()`, `g_list_free_full()` and more recently also `g_clear_list()`, so use those instead. This commit also bumps the required GLib version to a more modern 2.64 (which is needed for the `g_clear_list()` API).
* gck: Use the G_DEFINE_QUARK macroCorentin Noël2022-04-091-14/+1
| | | | Automatically define the error quark with this macro.
* gck: Remove deprecated headerCorentin Noël2022-04-091-7/+0
|
* gck: Fix several annotationsCorentin Noël2021-11-161-2/+2
|
* docs: fix gi-docgen annotationsAbderrahim Kitouni2021-11-141-1/+1
|
* docs: Port from gtk-doc to gi-docgenNiels De Graef2021-11-101-54/+19
| | | | | | | | | | | | | | gtk-doc has been slowly dying for the past few years. With gi-docgen we have a clear successor in sight to replace the voodoo magic one needs to get the whole documentation setup. See the [gi-docgen tutorial] for more info on how the system works. Since we're now only the C compiler (and GIR) parse the C code, that means we can also get rid of all the special escapes for the # character in PKCS#11. [gi-docgen tutorial]: https://gnome.pages.gitlab.gnome.org/gi-docgen/tutorial.html
* Drop "volatile" for g_once_init_enter locationsbugfix/drop-volatileNiels De Graef2021-05-021-1/+1
| | | | | | | This fixes a few (fatal in gcc 11) warnings, breaking the CI. For the original discussion on why this change is needed, see https://gitlab.gnome.org/GNOME/glib/-/issues/600
* Replaced pointer aliasing in gck-misc with memcpy/memcmpGregor Riepl2019-11-261-4/+9
|
* Updated FSF's addressDaniel Mustieles2014-01-311-2/+1
|
* Add version checking macrosStef Walter2014-01-061-0/+48
| | | | So you can do things like GCR_CHECK_VERSION(x,y,z)
* Use GObject.Object instead of GLib.Object in introspection annotationsStef Walter2013-02-121-3/+3
| | | | | | A gobject-introspection change broke the former. https://bugzilla.gnome.org/show_bug.cgi?id=693440
* Revert changes to libtool version and removed APIStef Walter2011-12-091-0/+7
| | | | | | | | | * There were problems with applications that didn't use libgck but linked to the old version with the old libtool number: empathy * So stub out the removed functions, revert the libtool version changes instead of removing those functions. This reverts commit ef7e91d66839d4104ee6ba9681e49506f5dd5fa3.
* gck: Bump gck libtool version, as we removed interfaces from libgckStef Walter2011-12-081-7/+0
| | | | | | | | | | * libgck API is not yet stable. * Gck is only used internally in the gcr projcet, gnome-keyring project and the seahorse project. * We want to be threadsafe with regard to attributes, and the functions removed can't be implemented within the new framework. * Remove deprecated functions at the same time, since this is an opportunity to cleanup.
* gck: Add documentation for newly functionsStef Walter2011-12-081-0/+1
|
* egg: Make secure memory pool shared across modulesStef Walter2011-12-081-0/+4
| | | | | | | | * The globals for the secure memory pool need to be shared across linked modules. So that for example gck, gcr, and gsecret libraries can share the same pool, even though code is compiled into each library. * There's versioning so they'll only work with each other if they all share the same code.
* gck: Integrate GTlsInteraction into libgckStef Walter2011-10-031-0/+15
| | | | | | * Deprecate the GckModule signals which were used for password auth * Fire deprecated GckModule signals from a compat GTlsInteraction * Add some tests for this integration
* gck: More introspection tweaks, checking for parameters which allow noneStef Walter2011-09-291-2/+2
|
* gck: More introspection and documentation cleanupStef Walter2011-09-291-9/+14
| | | | * In particular, use guchar * for arrays of bytes.
* gck: Documentation, introspection, and header fixesStef Walter2011-09-291-7/+14
|
* gck: Fix introspection warnings and complete introspection annotationsStef Walter2011-09-281-3/+11
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=655651
* gcr: Refactor the importer with multiple registered importersStef Walter2011-09-271-0/+12
| | | | | | | | | * Allow multiple importers to register, and have a way for them to identify whether something is importable by the importer or not. * Create a new GnuPG keyring importer. * Add boxed type for a GList of GObject * Some other minor cleanups.
* gck: Add debug output to GckEnumerator and bits of GckSessionStef Walter2011-08-311-0/+97
| | | | | * Also fix up Gcr debugging * And add debugging to trust stuff.
* gck: Use p11-kit for module loading, messages, and uri parsing.Stef Walter2011-07-061-165/+47
|
* gck: Cleanup the documentationStef Walter2011-04-051-4/+30
|
* [gck] Update PKCS#11 URI to add library support.Stef Walter2011-01-191-0/+39
| | | | | Add library-description and library-description and library-manufacturer parts. And refactor to support parsing in different contexts better.
* Miscellaneous string fixesPhilip Withnall2010-10-011-3/+3
| | | | Small grammar and punctuation fixes.
* [gck] Simplify use of GckMechanismStef Walter2010-09-281-83/+0
| | | | | | | There's no way to do a deep copy of a GckMechanisms aka CK_MECHANISM. The parameter may contain pointers to other memory else where. So we do a shallow copy instead. The memory is expected to stay around just like a buffer.
* [gck] Expose CK_BBOOL and CK_ULONG casting helpers.Stef Walter2010-09-181-0/+20
| | | | | Add gck_value_to_ulong() and gck_value_to_boolean() to check and cast CK_BBOOL and CK_ULONG.
* [gck] Implement PkCS#11 URI's and enumerationStef Walter2010-08-091-1/+1
| | | | | * PKCS#11 URI spec is not completely finalized yet. * Removed old callback style enumeration and replaced with gio style.
* [gck] In preparation for public release, rename library.Stef Walter2010-07-291-0/+437
* Next steps will include cleaning up the API making it ready for gobject introspection etc..