Commit Graph

737 Commits

Author SHA1 Message Date
Niels De Graef
4c98a9cd6b meson: Make default test setup with D-Bus
This makes sure that our tests run within their own D-Bus session (which
is a requirement most of the time)

As a result, we can get rid of a few workarounds in our CI to setup such
a session.
2023-01-15 23:31:49 +01:00
Niels De Graef
33a4de59a2 Merge branch 'nielsdg/extract-get-secret-file-func' into 'master'
file-backend: Extract functions from the initializer code

See merge request GNOME/libsecret!107
2023-01-15 10:16:50 +00:00
Niels De Graef
7d7c1b3430 file-backend: Extract TPM code into separate function
That way, we have a function we can also call in case we want to provide
a synchronous constructor.

This also fixes some cases where the `EggTpm2Context` was not properly
cleaned up in case of some error paths.
2023-01-15 10:12:59 +00:00
Niels De Graef
7b461f5514 file-backend: Extract function to return GFile
A small cleanup
2023-01-15 10:12:59 +00:00
Niels De Graef
179dc316c1 Merge branch 'nielsdg/use-docker-images-for-ci' into 'master'
ci: Use prebuilt Docker images

See merge request GNOME/libsecret!114
2023-01-15 10:12:41 +00:00
Niels De Graef
6053c523cb ci: Disable introspection when using asan
The job times out when trying to generate the typelib, which seems to be
a known issue, so let's just skip it as we're not testing that anyway.
2023-01-15 00:11:19 +01:00
Niels De Graef
0ef4776a78 ci: Use prebuilt Docker images
Don't waste precious CI time reinstalling/upgrading packages.

Most of the scripts here were taken from GLib's CI scripts, but adjusted
to deal with dependencies that might change between branches rather than
different distros.
2023-01-14 23:52:30 +01:00
Olga Smirnova
2be6ecaf1d Add Interlingue translation 2022-12-12 01:32:01 +00:00
Dhanuka Warusadura
f590dc2b17 Add secret_password_search_finish to vapi metadata
See merge request GNOME/libsecret!112
2022-11-22 15:35:39 +00:00
Jens Georg
5183076772 Fix finish function for searchv 2022-11-22 00:03:53 +01:00
Dhanuka Warusadura
5cabbdd237 Merge branch 'nielsdg/fix-search-for-dbus-path-finish-leak' into 'master'
secret-paths: Fix a little memory leak

See merge request GNOME/libsecret!109
2022-10-25 05:58:04 +00:00
Niels De Graef
b9e6394aff secret-paths: Fix a little memory leak 2022-10-25 05:56:56 +00:00
Dhanuka Warusadura
c2921d0030 Merge branch 'ci' into 'master'
ci: A walkaround fix to solve the fedora:asan timeout error

See merge request GNOME/libsecret!111
2022-10-24 14:21:33 +00:00
Dhanuka Warusadura
b2fbbfcfef ci: A walkaround fix to solve the fedora:asan timeout error
These changes temporarily fix the fedora:asan timeout error caused
by meson. With allow_failure keyword in place the pipeline will
complete even there is a timeout error in fedora:asan
2022-10-22 16:42:52 +05:30
Julian Schmidhuber
921f5f0d2e Fix nullable in secret_collection_for_alias_* 2022-09-19 16:14:47 +02:00
Pawan Chitrakar
bdd5b29356 Update Nepali translation 2022-09-19 05:26:24 +00:00
Sabri Ünal
b6957ce906 Update Turkish translation 2022-09-18 07:57:42 +00:00
Zurab Kargareteli
0d6fa649dd Add Georgian translation 2022-06-25 07:16:22 +00:00
Niels De Graef
e1e5343033 ci: Use the proper Meson b_sanitize option
No idea how `meson -Dsanitize` ever would've worked
2022-05-27 11:28:08 +02:00
Daiki Ueno
efef633efe Merge branch 'wip/dueno/gtask-dup-error' into 'master'
Properly chain-up GTasks around GDBusProxy::init_async

Closes #75

See merge request GNOME/libsecret!106
2022-05-09 14:35:52 +00:00
Daiki Ueno
d768ce4efe Properly chain-up GTasks around GDBusProxy::init_async
Our GAsyncInitable implementations in SecretService, SecretCollection,
and SecretItem internally wrap GDBusProxy::init_async and perform
additional error processing. To chain up we used to pass around a
single GTask, which caused an issue in the (additional) error path:
GDBusProxy::init_async may have already called
g_task_return_boolean(task, TRUE) and in that case GLib produces the
following warning:

  g_task_return_error: assertion '!task->ever_returned' failed

This fixes the issue by creating a temporary GTask around
GDBusProxy::init_async call.

Signed-off-by: Daiki Ueno <dueno@src.gnome.org>
2022-05-09 16:27:44 +02:00
Alexander Shopov
ef2fc44363 Update Bulgarian translation 2022-03-21 13:03:56 +00:00
Daiki Ueno
d64530ac70 Release 0.20.5 2022-02-21 07:20:13 +01:00
Niels De Graef
e984e7bb67 Merge branch 'doc-fixes' into 'master'
Improvements to documentation and annotations

See merge request GNOME/libsecret!103
2022-02-12 10:52:27 +00:00
Maximiliano Sandoval R
b4b701cc8f
docs: Fix source link
Needs a trailing backslash to work.
2022-02-07 13:02:11 +01:00
Maximiliano Sandoval R
350f987f67
secrets_for_dbus_paths: Improve return doc 2022-02-07 13:02:11 +01:00
Maximiliano Sandoval R
612a21d01b
README: Fix typo on readme 2022-02-07 13:02:11 +01:00
Maximiliano Sandoval R
ca80b20042
Fix typos on links 2022-02-07 13:02:10 +01:00
Maximiliano Sandoval R
1d1363a780
docs: Merge unused docs for backend & retrievable
Only one doc will appear in gir and gi-docgen docs.
2022-02-07 13:02:10 +01:00
Maximiliano Sandoval R
56bf2c8fe9
docs: Remove large indentations
Indentations by more than four spaces make gi-docgen read them as a
quote block.
2022-02-07 13:02:10 +01:00
Maximiliano Sandoval R
3f9738bdd4
docs: Document errors 2022-02-07 13:02:10 +01:00
Maximiliano Sandoval R
6d5c9782ac
CHECK_VERSION: Document macro
Macros do not use Returns annotation.
2022-02-07 13:02:10 +01:00
Maximiliano Sandoval R
8726110219
docs: All docs should have a header line
This line should have a single sentence.
2022-02-07 13:02:10 +01:00
Maximiliano Sandoval R
e4ea94621b
secret_value_unref_to_password: Annotate out param 2022-02-07 13:02:10 +01:00
Maximiliano Sandoval R
0457c29dad
docs: Document BACKEND_EXTENSION_POINT_NAME 2022-02-07 13:02:09 +01:00
Maximiliano Sandoval R
868a88ffe8
secret-schema: Add missind docs 2022-02-07 13:02:09 +01:00
Naala Nanba
e762e39dfc Add Abkhazian translation 2022-02-06 22:49:15 +00:00
Dhanuka Warusadura
f60fd6ddb4 Merge branch 'gi-docgen' into 'master'
Port documentation to gi-docgen

See merge request GNOME/libsecret!101
2022-02-02 12:19:14 +00:00
Maximiliano
2c3a34cca4 Port documentation to gi-docgen 2022-02-02 12:19:14 +00:00
Daiki Ueno
1f06297713 Merge branch 'hickford-master-patch-68137' into 'master'
Distinguish example password from example label

Closes #66

See merge request GNOME/libsecret!102
2022-01-18 06:17:58 +00:00
M Hickford
47fbb3dc8b Distinguish example password from example label 2022-01-17 23:01:59 +00:00
Daiki Ueno
6f2255fd82 Merge branch 'fix-deprecated' into 'master'
Fix deprecated-declarations warnings

See merge request GNOME/libsecret!93
2021-11-22 06:00:41 +00:00
Dhanuka Warusadura
f882a03f44 Fix deprecated-declarations warnings
These changes fix the existing deprecated-declarations
warnings found during the build process.

Related to: https://gitlab.gnome.org/GNOME/libsecret/-/merge_requests/43
2021-11-21 08:51:32 +05:30
Quentin PAGÈS
108c2cc5be Update Occitan translation 2021-11-20 17:35:38 +00:00
Jordi Mas i Hernandez
8d707804dd Update Catalan translation 2021-11-15 07:59:15 +00:00
Daiki Ueno
267867a876 Merge branch 'wip/dueno/f34' into 'master'
CI: Pin base image to Fedora 34 for now

See merge request GNOME/libsecret!98
2021-11-15 07:27:43 +00:00
Daiki Ueno
ea18ce9dea CI: Pin base image to Fedora 34 for now
The current image based on Fedora 35 gives timeout in tests using
D-Bus.  Until we figure out the cause, let's stick with Fedora 34.
2021-11-15 08:04:21 +01:00
Milo Casagrande
e9c078cd11 Update Italian translation 2021-11-10 08:15:26 +00:00
Rūdolfs Mazurs
8f1f5607f4 Update Latvian translation 2021-10-25 16:34:51 +00:00
Dušan Kazik
aefe8067ad Update Slovak translation 2021-10-05 11:35:10 +00:00