summaryrefslogtreecommitdiff
path: root/libsecret/secret-value.c
Commit message (Collapse)AuthorAgeFilesLines
* Stop using GSliceNiels De Graef2023-01-161-4/+4
| | | | | | | | | | | | GLib is discussing deprecating/removing it upstream [1] since it has only limited uses. Next to that, it seems to bork stack traces here when using ASAN (for which you also have to specify `G_SLICE=always-malloc` and some other envvars too). In other words, let's just get rid of using `GSlice` and call the allocation APIs directly. [1]: https://gitlab.gnome.org/GNOME/glib/-/issues/1079
* docs: All docs should have a header lineMaximiliano Sandoval R2022-02-071-12/+22
| | | | This line should have a single sentence.
* secret_value_unref_to_password: Annotate out paramMaximiliano Sandoval R2022-02-071-1/+1
|
* Port documentation to gi-docgenMaximiliano2022-02-021-19/+13
|
* Get rid of (allow-none) annotationsNiels De Graef2021-02-061-1/+1
| | | | | The `(allow-none)` annotation was deprecated for `(nullable)` and `(optional)` to solve some ambiguous uses of the tag.
* secret-value: Add secret_value_unref_to_passwordDaiki Ueno2019-07-181-6/+34
| | | | | | | This adds the secret_value_unref_to_password function that unreferences and returns the stored secret in non-pageable memory. This is supposed to be used with secret_password_lookup_binary* functions.
* secret-value: Don't annotate secret_value_unref as (allow-none)Debarshi Ray2017-07-171-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=785034
* Mark most of unstable API as stableStef Walter2013-12-111-5/+2
| | | | This is with the exception of the 'path' functions.
* Add secret_value_get_text() function to return NULL terminated secretStef Walter2013-06-211-0/+22
|
* secret-value: allow empty stringsClaudio Saavedra2013-03-041-3/+3
| | | | | | | | | Passwords and other secrets are allowed to be empty strings, therefore the check for length != 0 is wrong. Add tests for empty SecretValue contents. https://bugzilla.gnome.org/show_bug.cgi?id=694787
* Fix introspection for secret_value_get() to return a uint8Stef Walter2013-02-261-2/+2
| | | | | | This works around a crash in pygobject. https://bugzilla.gnome.org/show_bug.cgi?id=694448
* Update documentation for to have correct headers0.5Stef Walter2012-07-131-0/+3
| | | | * Add add more warnings to unstable API documentation
* Split the pkg-config files, gir, and vapi into stable/unstableStef Walter2012-07-131-1/+1
| | | | | | | * 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
* Rename the library subdirectory to libsecretStef Walter2012-07-131-0/+299
* 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.