Commit Graph

825 Commits

Author SHA1 Message Date
Daiki Ueno
72ced3e075 Merge branch 'tintou/no-double-close' into 'master'
secret-file-backend: Avoid closing the same file descriptor twice

See merge request GNOME/libsecret!78
2021-06-16 13:23:53 +00:00
Corentin Noël
0b2844da47 secret-file-backend: Avoid closing the same file descriptor twice
It is already closed a few lines above
2021-06-16 09:05:33 +02:00
Daiki Ueno
fbad80754a Merge branch 'wip/dueno/volatile' into 'master'
Drop "volatile" for g_once_init_enter locations

See merge request GNOME/libsecret!77
2021-06-12 11:52:12 +00:00
Daiki Ueno
86f5afbb10 Remove unnecessary "volatile"
The documentation of g_dbus_error_register_error_domain suggests that
the argument passed to it should not be volatile.

Signed-off-by: Daiki Ueno <dueno@src.gnome.org>
2021-06-12 13:29:36 +02:00
Niels De Graef
2c2b0abef7 Drop "volatile" for g_once_init_enter locations
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
2021-06-12 13:23:00 +02:00
Daiki Ueno
dfcfd2e0a2 Merge branch 'wip/dueno/secret-tool-crash' into 'master'
secret-tool: Fix secret_password_clearv_sync return value check

See merge request GNOME/libsecret!74
2021-04-03 07:46:19 +00:00
Daiki Ueno
9472b0ab39 secret-tool: Fix secret_password_clearv_sync return value check
This was a regression introduced in the rewrite using the simple
API (commit 6886aebb04).

Reported by Chih-Hsuan Yen in:
https://gitlab.gnome.org/GNOME/libsecret/-/issues/56

Signed-off-by: Daiki Ueno <dueno@src.gnome.org>
2021-04-03 07:23:51 +02:00
Daiki Ueno
78223a0471 Merge branch 'issue#59' into 'master'
Fix issues flagged by static analyzers

Closes #59

See merge request GNOME/libsecret!73
2021-03-31 11:04:27 +00:00
Dhanuka Warusadura
06931ac755 Fixes a typo
Argument to g_print should be part not path.
2021-03-31 10:59:04 +00:00
Dhanuka Warusadura
7e713cf65a Fix issues flagged by static analyzers
These changes specifically fix the issues flagged by clang-analyzer.
Fixes: #59
2021-03-31 10:59:04 +00:00
Daiki Ueno
127f326a2d Merge branch 'master' into 'master'
secret-enum-types.c/h.template: Fix reproducibility issue

See merge request GNOME/libsecret!68
2021-03-31 09:45:35 +00:00
Richard Purdie
b7d4f8cb36 secret-enum-types.c/h.template: Fix reproducibility issue
When full filenames are used in generated sources it makes the resulting
debug packages non-reproducible. Best practise is to use basename instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-31 09:38:47 +00:00
Daiki Ueno
d5b2f0426d Merge branch 'meson-option' into 'master'
Add meson option to override default bashcompdir

See merge request GNOME/libsecret!72
2021-03-21 17:58:44 +00:00
Dhanuka Warusadura
6b4a60b377 Add meson option to set default bash_completion installation
location

These changes introduce a new meson option to set the default
location for bash_completion. This will enable the installation
of completion files into the system location.
2021-03-21 17:51:24 +00:00
Dhanuka Warusadura
8b1936b46f Add meson option to override of default bashcompdir
These changes introduce a new meson option to disable
installation of completion files into the system location.
2021-03-21 17:51:24 +00:00
Daiki Ueno
7d6aacdc66 Merge branch 'trivial-fix' into 'master'
Trivial Fix: removes a comment

See merge request GNOME/libsecret!71
2021-03-18 19:50:09 +00:00
Dhanuka Warusadura
8503902759 Trivial Fix: removes a comment
Although it is a comment, it affects the reading and overall code
quality.

Related to: https://gitlab.gnome.org/GNOME/libsecret/-/merge_requests/70
2021-03-17 11:37:14 +05:30
Daiki Ueno
6dc2e55cee Merge branch 'issue#50' into 'master'
Add bash-completion for secret-tool

Closes #50

See merge request GNOME/libsecret!70
2021-03-16 21:39:31 +00:00
Dhanuka Warusadura
1998121ece Add bash-completion for secret-tool
Fixes: https://gitlab.gnome.org/GNOME/libsecret/-/issues/50
2021-03-11 15:14:14 +05:30
Daiki Ueno
a99bae1618 Merge branch 'issue#51' into 'master'
Enable static analyzer in CI

Closes #51

See merge request GNOME/libsecret!69
2021-03-10 15:40:40 +00:00
Dhanuka
da9637edee Enable static analyzer in CI
These changes enable clang-analyzer and cppcheck static analyzers.

Fixes: https://gitlab.gnome.org/GNOME/libsecret/-/issues/51
2021-03-10 15:40:40 +00:00
Fran Dieguez
1178020c2a Update Galician translation 2021-02-24 00:09:42 +00:00
Niels De Graef
79ef682878 Merge branch 'wip/nielsdg/gtask-secret-collection' into 'master'
methods, collection: port to GTask

See merge request GNOME/libsecret!66
2021-02-21 21:50:58 +00:00
Niels De Graef
be67deb1c0 methods: Port to GTask
`GSimpleAsyncResult` is deprecated in favor of `GTask`.
2021-02-21 21:44:37 +00:00
Niels De Graef
4266889f33 collection: Port to GTask
`GSimpleAsyncResult` is deprecated in favor of `GTask`.
2021-02-21 21:44:37 +00:00
Niels De Graef
95b154f442 Merge branch 'snaps-use-portal' into 'master'
Handle snaps the same way as flatpaks

See merge request GNOME/libsecret!67
2021-02-21 21:39:55 +00:00
Sebastien Bacher
1298c7812c Handle snaps the same way as flatpaks 2021-02-19 09:16:23 +01:00
Niels De Graef
903b68b116 Merge branch 'wip/nielsdg/gir-annotations' into 'master'
Fix some GIR/gtk-doc annotations

See merge request GNOME/libsecret!64
2021-02-06 16:50:18 +00:00
Niels De Graef
82fe5dada1 Mark NULL with appropriate gtk-doc prefix
This looks cleaner for the docs generated by the several bindings.
2021-02-06 16:46:23 +00:00
Niels De Graef
41c8a8282f Mark optional GCancellables as (nullable) 2021-02-06 16:46:23 +00:00
Niels De Graef
402c9fb7fd Get rid of (allow-none) annotations
The `(allow-none)` annotation was deprecated for `(nullable)` and
`(optional)` to solve some ambiguous uses of the tag.
2021-02-06 16:46:23 +00:00
Niels De Graef
e7214fa161 Merge branch 'wip/nielsdg/null-terminated-annotations' into 'master'
Use G_GNUC_NULL_TERMINATED where appropriate

See merge request GNOME/libsecret!65
2021-02-06 16:46:13 +00:00
Niels De Graef
7e3c56ba1e Use G_GNUC_NULL_TERMINATED where appropriate
Give our API consumers an extra hint if they're using varargs without an
appropriate `NULL`-sentinel.
2021-02-06 11:47:11 +01:00
Niels De Graef
5e21132da1 Delete AUTHORS
It’s something we needed for the Autotools distcheck step, but we can safely get rid of it now.
2021-01-17 00:06:16 +00:00
Niels De Graef
a40fa19662 Delete ChangeLog
It’s been discontinued for almost a decade, so time to clean up.
2021-01-17 00:05:26 +00:00
Timo Jyrinki
0836820703 Add Finnish translation 2021-01-08 13:19:33 +00:00
Niels De Graef
9e12d6596d Merge branch 'meson-fix-test' into 'master'
meson: build test-vala-unstable with -DSECRET_WITH_UNSTABLE

Closes #54

See merge request GNOME/libsecret!62
2020-12-19 19:34:00 +00:00
Matt Turner
3ad122a633 meson: build test-vala-unstable with -DSECRET_WITH_UNSTABLE
Fixes: https://gitlab.gnome.org/GNOME/libsecret/-/issues/54
2020-12-19 19:29:35 +00:00
Niels De Graef
dd1c242911 Merge branch 'wip/cdavis/fix-annotations' into 'master'
secret-paths.c: Add annotations for `paths` variable

See merge request GNOME/libsecret!63
2020-12-14 19:47:03 +00:00
Christopher Davis
9d510d5c04 secret-paths.c: Add annotations for paths variable
Fixes an issue with annotations that would cause
Rust bindings to generate incorrectly.
2020-12-10 12:31:13 -08:00
Niels De Graef
21cca20c18 Merge branch 'wip/nielsdg/fix-ci-coverage' into 'master'
ci: Fix the coverage build

See merge request GNOME/libsecret!61
2020-11-15 20:07:48 +00:00
Niels De Graef
fae49c76d4 ci: Fix the coverage build 2020-11-15 21:01:53 +01:00
Niels De Graef
5874816714 Merge branch 'wip/nielsdg/drop-autotools' into 'master'
Drop autotools-based build

See merge request GNOME/libsecret!44
2020-11-15 19:46:06 +00:00
Niels De Graef
2147b96c9d Drop autotools-based build
Our official instructions only tell how to build with Meson, our CI is
only done with Meson and I wouldn't be surprised if most developers only
used Meson as well.

In other words, the autotools build is outdated. Let's say our goodbye
and drop it in the next stable release.
2020-11-15 20:37:48 +01:00
Daiki Ueno
3fe635e64e Release 0.20.4 2020-10-10 18:50:20 +02:00
Daiki Ueno
8b4016bd31 Merge branch 'wip/dueno/memcmp' into 'master'
secret-file-collection: Make MAC comparison constant time

See merge request GNOME/libsecret!60
2020-10-04 15:43:01 +00:00
Daiki Ueno
2f0df81084 secret-file-collection: Make MAC comparison constant time 2020-10-04 17:27:40 +02:00
Daiki Ueno
90a8580da7 Merge branch 'init-libgcrypt-for-file-collection' into 'master'
Initialize libgcrypt for SecretFileCollection

See merge request GNOME/libsecret!56
2020-06-18 08:21:08 +00:00
Mikhail Zabaluev
caf9c0345c Initialize libgcrypt for SecretFileCollection
Make sure libgcrypt is initialized before any SecretFileCollection
instance uses it.
2020-06-18 10:25:36 +03:00
Niels De Graef
ac51524c2b Merge branch 'wip/nielsdg/gir-tests' into 'master'
meson: Add tests for GIR-based languages

See merge request GNOME/libsecret!54
2020-06-17 20:17:32 +00:00