Commit graph

17802 commits

Author SHA1 Message Date
Claudio André
185e53169f CI: build and save Docker images in GNOME GitLab 2018-07-14 23:49:17 -03:00
Claudio André
4f8a64ac25 tests: increase the tests timeout
This is only needed for non AMD64.
2018-07-15 01:47:24 +00:00
Claudio André
22132a2c91 CI: add ARMV8 and PPC64LE build tests 2018-07-15 01:47:23 +00:00
Robert Ancell
0f60dd1b71 region: Use GtkTemplate for format chooser dialog 2018-07-14 16:14:57 +00:00
Ondrej Holy
1e769bb49d user-accounts: Use term "Confirm" instead of "Verify"
The Password dialog uses "Verify New Password" and Add User dialog
"Confirm". Let's use "Confirm New Password" as it is on mockups to
be consistent in terminology.
2018-07-12 10:11:25 +02:00
Ondrej Holy
833c18bce4 user-accounts: Use the same phrase when passwords do not match
Use "The passwords do not match." phrase in the Add User dialog and
Password dialog consistently.
2018-07-12 10:11:25 +02:00
Robert Ancell
5e91cc7140 user-accounts: Correctly hide password mismatch warnings
The logic for the password mismatch warnings didn't handle the case where
you deleted both the passwords - it would still show them as not
matching.

Fix this by handling the three cases:
- Passwords are different
- Passwords are the same
- No passwords entered
2018-07-11 16:19:54 +02:00
Ondrej Holy
525adcf10b user-accounts: Fix entry sensitivity after password generation
If a password is generated and prefilled in the corresponding entries,
the verify entry remains insensitive. Let's fix the sensitivity...

https://gitlab.gnome.org/GNOME/gnome-control-center/issues/38
2018-07-11 10:38:57 +02:00
Ondrej Holy
d07a67fcb3 user-accounts: Validate password before moving focus
If <tab> is pressed and password is not yet validated (ie. the verify
entry is not sensitive), focus skips the verify entry, even if the
password is strong enough. Let's validate the password when <tab> is
pressed (ie. before focus change) to prevent this <tab> breakage...

https://gitlab.gnome.org/GNOME/gnome-control-center/issues/38
2018-07-11 10:38:57 +02:00
Ondrej Holy
ae16a8e7a0 Revert "user-accounts: Don't disable the verify password entry"
This reverts commit 7b3746af23.

This is needed to make obvious that password is not yet strong
enough.

Closes: https://gitlab.gnome.org/GNOME/gnome-control-center/issues/38
2018-07-11 10:38:57 +02:00
Claudio André
92af703634 CI: add MSAN, TSAN and UBSAN Sanitizers
MemorySanitizer (MSan) is a detector of uninitialized memory reads in C/C++ programs.
Uninitialized values occur when stack- or heap-allocated memory is read before
it is written.

ThreadSanitizer is a tool that detects data races.

UndefinedBehaviorSanitizer (UBSan) is a fast undefined behavior detector. UBSan
catches various kinds of undefined behavior, for example:
- Using misaligned or null pointer
- Signed integer overflow
- Conversion to, from, or between floating-point types which would overflow the
  destination

The llvm.org states that Sanitizers have found thousands of bugs everywhere.
Sanitizers running during CI can prevent bugs from taking up residence. They
are helper tools to maintain bugs out.
2018-07-11 07:56:57 +00:00
Sam Hewitt
e91208eeb5 printers: update pixel_size of icons to avoid aliasing 2018-07-10 18:04:32 -04:00
Sam Hewitt
b5f14731ba shell: update pixel_size of empty_search_placeholder icon to avoid aliasing 2018-07-10 18:02:18 -04:00
Sam Hewitt
e66ee02953 wacom: use dim-label class on icons instead of opacity for consistency 2018-07-10 17:53:56 -04:00
Sam Hewitt
24174173be common: update pixel_size values to base 16 for icon clarity 2018-07-10 17:52:08 -04:00
Jonas Ådahl
49ef965dc7 sharing: Enable settings widget for gnome-remote-desktop
Enable support for manipulating GNOME Remote Desktop settings. Settings
are done via the org.gnome.desktop.remote-desktop.vnc schema.
Configuring the VNC password is done via libsecret, thus libsecret is
added as a dependency.
2018-07-10 19:59:51 +00:00
Claudio André
26cb1dde06 CI: use a previous Docker image
Fedora itself was/is unstable since some days ago.
See https://gitlab.gnome.org/GNOME/gnome-control-center/merge_requests/109#note_263396.
2018-07-10 12:32:53 -03:00
Jordi Mas
c8f1baf559 Update Catalan translation 2018-07-08 09:36:45 +02:00
Claudio André
ff7050da62 docs: add the coverage badge
[skip ci]
2018-07-05 23:25:23 +00:00
Robert Ancell
b3ea72735a notifications: Use g_signal_connect_object to ensure handlers are not run after object destroyed
Fixes specific crash:
https://gitlab.gnome.org/GNOME/gnome-control-center/issues/75
2018-07-03 11:42:00 +12:00
Robert Ancell
556388f373 region: Fix small memory leak
Was introduced in 79e00c3
2018-07-02 21:52:03 +00:00
Robert Ancell
65c43b4fac common: Fix missing reference
Was introduced in 86d1d30
2018-07-02 21:11:42 +00:00
Daniel Șerbănescu
a94548400c Update Romanian translation 2018-07-01 14:04:21 +00:00
Philip Withnall
7b3cd630c0 info: Update gsd_should_ignore_unix_mount() from g-s-d master
• Use g_unix_is_system_fs_type() if a new enough GLib is available,
   rather than maintaining our own list of system file system types.
 • List network file systems separately, since GLib doesn’t ignore them.
 • Ignore some file systems by label too.

See
https://gitlab.gnome.org/GNOME/gnome-settings-daemon/merge_requests/24.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2018-06-29 06:49:45 +00:00
Fabio Tomat
0b3555d636 Update Friulian translation 2018-06-28 08:10:22 +00:00
Cédric Valmary
aa48f97811 Update Occitan translation 2018-06-26 17:18:56 +00:00
Robert Ancell
3f5bc8369b printers: Fix warning about wrong data type 2018-06-26 15:57:20 +12:00
Robert Ancell
55d47bc83e printers: Plug memory leaks 2018-06-25 22:53:10 +00:00
Claudio André
361e765427 CI: add ASAN Address Sanitizer
AddressSanitizer (or ASan) is a programming tool that detects memory
corruption bugs such as buffer overflows or use after free. AddressSanitizer
is based on compiler instrumentation.

The llvm.org states that Sanitizers have found thousands of bugs everywhere.
Sanitizers running during CI can prevent bugs from taking up residence. They
are helper tools to maintain bugs out.
2018-06-21 13:29:08 -03:00
Claudio André
38487017b3 CI: refactor the build process
In order to shrink the file and reuse "code".
2018-06-21 13:29:08 -03:00
Claudio André
8fb43047df CI: add coverage parsing to the job
It works only if enabled via CI/CD Settings. More info available at
https://docs.gitlab.com/ee/user/project/pipelines/settings.html#test-coverage-parsing.

The parsing regex was tested on my GitLab forked project.
2018-06-21 13:29:08 -03:00
Claudio André
316b901296 CI: avoid rebuilding in the test job
The test job was recompiling the software (unexpected behavior).
This was happening because the git checkout runs after the artifacts
download (resulting in the source code being newer than the object
files).

This commits saves and reuses the working directory produced by the
build job.
2018-06-21 15:35:00 +00:00
Claudio André
186038a014 CI: refactor the GitLab job header
In order to shrink the file and reuse "code".
2018-06-21 15:35:00 +00:00
Claudio André
28a66e5df1 CI: refactor GitLab yaml file 2018-06-21 15:34:59 +00:00
Claudio André
a1d57165c1 CI: add code coverage report 2018-06-21 15:34:59 +00:00
Daniel Mustieles
a5eccee8fd Updated Spanish translation 2018-06-21 10:00:33 +02:00
Bastien Nocera
a30e5dbe72 wifi: Use g_debug() for a debug message
Rather than CC_TRACE_MSG() which is supposed to be used for debugging
timing related problems.
2018-06-20 12:53:11 +00:00
Bastien Nocera
0e2a4aa2d6 wacom: Hide Wacom panel when there are no tablets
Use GsdDeviceManager to monitor libwacom-supported tablets coming and
going. Hide the Wacom panel from the list when there's no supported
tablets plugged in.
2018-06-20 12:53:11 +00:00
Robert Ancell
67d39e497a region: Fix language search crash due to g_auto changes in 79e00c3 2018-06-20 17:07:08 +12:00
Robert Ancell
9ae5f9a667 Fix crash due to g_auto changes in 79e00c3 2018-06-20 16:44:36 +12:00
Georges Basile Stavracas Neto
a4746a90c7 docs: Remove trailing space from code example 2018-06-19 16:29:04 +00:00
Georges Basile Stavracas Neto
baf161085f docs: Document more of the code style 2018-06-19 14:44:57 +00:00
Georges Basile Stavracas Neto
c89a919536 window: Remove unused panel box
Whenever a panel is activated, there is a GtkBox that
is added between the window and the panel itself.

Investigating the history of this field, it originally
appeared at ec7f8c9b when the window started using
widgets rather than page numbers. Apparently, it was a
GtkBox to help dealing with the GtkNotebook (which was
later changed to the current GtkStack).

The field was renamed from 'current_panel' to 'current_panel_box'
at ab435aa9. But since the transition to GtkStack, there
is no real need to use the GtkBox anymore.

This patch removes this GtkBox, and as a consequence, the
code is slightly simplified.
2018-06-18 11:33:02 -03:00
Yi-Jyun Pan
d814d9db02 Update Chinese (Taiwan) translation 2018-06-13 12:51:18 +00:00
Robert Ancell
71383e8b50 power: Use GtkTemplate 2018-06-11 14:30:31 +00:00
Robert Ancell
014e572e9b universal-access: Use GtkTemplate 2018-06-11 14:11:47 +00:00
Benjamin Steinwender
92f73720b6 Update German translation 2018-06-09 08:30:48 +00:00
Jonathan Kang
ca15b9822d wifi: only manage Wi-Fi devices managed by NM
If a Wi-Fi device is unmanaged by NetworkManager, ignore it.
2018-06-08 13:03:53 +00:00
Robert Ancell
86d1d30c63 common: Use g_auto for variables 2018-06-07 01:08:07 +00:00
Robert Ancell
eff88ab2f1 sharing: Use GtkTemplate 2018-06-07 00:58:22 +00:00