Commit graph

17816 commits

Author SHA1 Message Date
Georges Basile Stavracas Neto
a8673b06c7 shell: Rename .ui files to match .c files
To keep it clean and well organized, rename the .ui files
(window.ui and panel-list.ui) to have the 'cc-' prefix and
match their .c counterparts.
2018-07-18 21:34:09 +00:00
Daniel Șerbănescu
a8be6b8c88 Update Romanian translation 2018-07-17 18:40:28 +00:00
Claudio André
0f6a97eae1 CI: build flatpak using the "official" Docker image
[skip ci]
2018-07-17 15:06:34 -03:00
Lubomir Rintel
3c61cee1bb network: use nm_device_get_description()
It's better for human-readable display than nm_device_get_product().
Unlike nm_device_get_product(), it never returns an empty string and
sanitizes the string.

With NM 1.12 it goes to great lengths to clean up the messy udev
strings.
2018-07-17 08:44:16 +02:00
Georges Basile Stavracas Neto
65b90d5951 3.29.4 2018-07-16 21:32:05 -03:00
Georges Basile Stavracas Neto
b63b2bbb09 project: Document maintainers and workflow
It is important that potential contributors know who
they should get in touch, who is supposed to review
their work, and maintainers to know how they should
introduce changes.

Thus, this commit documents the current maintainers
together with what they maintain, and the workflow
between maintainers as well.

[skip ci]
2018-07-16 20:50:12 -03:00
Stas Solovey
9bbf9361a5 Update Russian translation 2018-07-16 21:08:41 +00:00
Piotr Drąg
7ea9b4050b Update POTFILES.in 2018-07-16 22:07:16 +02:00
Robert Ancell
17dbce362e notifications: Refactor app notifications dialog
The current widget has a very generic name "EditDialog" - rename it to something
that reflects better what it is for.

Implement it is as a full GtkWidget using GtkTemplate.

Move some of the logic from inside the dialog to the code that creates the dialog
so less data is passed around.

Store properties using functions instead of g_object_set_data - that passes
everything as a gpointer which is easy to make a mistake with.
2018-07-16 19:36:19 +00:00
Claudio André
3edb185fa9 CI: refactor the yaml recipe
- create a stage named manual;
- use deploy as a stage name (as GitLab does);
- use "shared code".
2018-07-16 19:15:16 +00:00
Claudio André
94ba4c89da CI: run coverage only on master
To save resources. It is unlikely that anyone would want this information
from a branch. If necessary, we must create a manual job.
2018-07-16 19:15:16 +00:00
Claudio André
e3a2e96efb CI: allow PPC job to fail
It fails on progress.gnome.org but passes on scallable runners.
2018-07-16 16:06:54 -03:00
Georges Basile Stavracas Neto
f86b080fe4 ci: Automatically run ARMv8 and PPC64 jobs
They are all passing tests now, since 4f8a64ac2, which
means we can run them on every commit too.
2018-07-15 14:22:52 +00:00
Georges Basile Stavracas Neto
72924c6aba project: Remove unused files
The CcShellCategoryView and CcShellItemView were
residuals from the old shell there managed to stay
around unoticed.

Remove them from the project.
2018-07-15 10:59:27 -03:00
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