Commit graph

17735 commits

Author SHA1 Message Date
Claudio André
ef71156732 docs: update the "report bugs" link
[skip ci]
2018-05-16 16:54:13 -03:00
Claudio André
5ab9e645ee CI: handle patches while creating a flatpak
Make the flatpak routine able to deal with patches (if needed).
2018-05-16 18:49:35 +00:00
Georges Basile Stavracas Neto
017643dbf9 ci: Reorganize files 2018-05-16 15:18:57 -03:00
Michael Catanzaro
9b32898cee thunderbolt: Fix build
Providing autocleanups for types you don't own is not a good idea, since
it breaks when upstream adds those autocleanups.
2018-05-16 13:01:12 -05:00
Claudio André
72732dd1db CI: create a flatpak
The goal is dogfooding. Allow interested people to try, safely, the
bleeding GNOME Control Center.
2018-05-15 19:16:01 -03:00
Claudio André
fcc33b74ca project: add the renames required by flatpak
The names of files that are exported by a Flatpak must prefixed using
the application ID.
2018-05-15 19:16:01 -03:00
Fran Dieguez
baaf9e45aa Update Galician translation 2018-05-15 22:03:32 +00:00
Marcos Lans
136e0d5687 Update Galician translation 2018-05-15 21:58:01 +00:00
Matej Urbančič
0ade0fa08c Updated Slovenian translation 2018-05-15 21:14:27 +02:00
Matej Urbančič
2acb520fc9 Merge branch 'master' of gitlab.gnome.org:GNOME/gnome-control-center 2018-05-15 21:03:11 +02:00
Claudio André
f4433b3766 CI: print some info about the build env
It is not possible to debug if the developer knows nothing about
the CI running environment.
2018-05-14 19:39:45 -03:00
Claudio André
4a5a2c7280 CI: add status information to the build 2018-05-14 19:20:37 -03:00
Georges Basile Stavracas Neto
50094b45a6 window: Warn about development builds
With this commit, a message dialog pops up whenever a
development build runs. This is meant to actually annoy,
so that we're always reminded that things may not work
as expected.

Since the dialog can be dismissed with a single button
press, it is not the end of the world. But people still
should be aware that Settings is ~not~ meant to run with
Flatpak, and that this is a development tool only.
2018-05-14 18:24:03 -03:00
Georges Basile Stavracas Neto
7322cdc45b project: Add a development flatpak manifest
The development flatpak is meant to be used exactly
that: development. It isn't and won't ever be released
as a regular Flatpak application.

GNOME Setting is still supposed to run as a host system
tool.
2018-05-14 17:25:49 -03:00
Georges Basile Stavracas Neto
e2a18bec49 project: Move build files to build-aux
An attempt to make the root folder slightly less
cluttered and more organized. No functional changes
whatsoever.
2018-05-14 13:37:41 -03:00
Claudio André
9460babd1e CI: use an updated Docker image
We value repeatability and reproducibility; that said, we need to use a
fresh Fedora. So, pick an image that is updated every week.
2018-05-13 17:03:26 -03:00
Claudio André
66668676fc CI: pass build artifacts to another stage
Avoid to redo some tasks (save git untracked files e use them).

See #46.
2018-05-13 17:03:26 -03:00
Georges Basile Stavracas Neto
057610e982 docs: Fix code block 2018-05-13 19:45:52 +00:00
Georges Basile Stavracas Neto
8ae16f34f6 docs: Document style of comments 2018-05-12 20:56:06 -03:00
Georges Basile Stavracas Neto
c5417d8916 project: Update gitignore 2018-05-12 20:56:04 -03:00
Claudio André
e7d79d8d1b CI: add build status badge
[skip ci]
2018-05-12 10:48:11 -03:00
Ondrej Holy
f4b1fb66a4 user-accounts: Fix hint for wrong enterprise user/password
A variable of label widget, used for a hint when wrong enterprise
user/password is used, is not properly initialized and thus criticals
are shown instead of the hint when user/password is wrong. Let's bind
the variable properly.
2018-05-12 04:12:43 +00:00
Ting-Wei Lan
949f8cb227 tests/network: Disable on non-Linux systems
NetworkManager is only available on Linux, so we cannot build or run the
network test on non-Linux systems.
2018-05-12 04:03:45 +00:00
Claudio André
ffcd5b15f2 CI: shrink the test process
See #46
2018-05-12 00:30:20 -03:00
Andrea Azzarone
f9b65046e9 night-light-dialog: Ignore G_IO_ERROR_CANCELLED errors
We should ignore G_IO_ERROR_CANCELLED errors and avoid displaying useless
warnings. Also use g_clear_object instead of g_object_unref.

Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/issues/87
2018-05-12 02:31:12 +00:00
Marek Kasik
f3257ce82a printers: Focus search entry in new printer dialog
Focus search entry in the new printer dialog once user starts to type
so he does not need to click on it.

Closes #41
2018-05-10 16:47:10 +00:00
Andrea Azzarone
1d26f63b18 night-ligth-dialog: Avoid dereferencing invalid pointer
dialog_got_proxy_cb and dialog_got_proxy_props_cb may be called after the
instance of CcNightLightDialog has been disposed. Make sure 'self' pointer is
not dereferenced if not valid.

Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/issues/86
2018-05-10 00:56:19 +02:00
Andrea Azzarone
6ec0bcde15 object-storage: Avoid double free when propagating error
In cc_object_storage_create_dbus_proxy_sync and
cc_object_storage_create_dbus_proxy_finish we need to use g_steal_pointer to
make sure local_error is not double freed.

Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/issues/86
2018-05-10 00:56:19 +02:00
Georges Basile Stavracas Neto
eea231dc1c tests: Run each datetime test under Xvfb
That way, gtk_init() cannot fail.
2018-05-09 18:52:48 -03:00
Georges Basile Stavracas Neto
8404f526b6 tests: Make logging verbose 2018-05-09 18:33:18 -03:00
Georges Basile Stavracas Neto
c23e8f3547 tests: Rework test-timezone-gfx 2018-05-09 18:33:18 -03:00
Georges Basile Stavracas Neto
0b854910bb tests: Rely only on zone.tab
First of all, this is a complete rewrite of the
timezone tests. Everything was revisited, starting
from code style, to concepts, etc.

The problem  with the previous timezone test was that
is was relying on listing the /usr/share/zoneinfo
directory, and assuming that those entries would be
always present.

Turns out, some of them are extensions, some of them
are undocumented files, etc. A huge mess. I could've
blacklisted the undesired files and folders, but that
would still be insufficient for other OSes like *BSDs
and Sun.

The final solution was pretty straightforward: only
use the information from zone.tab to run the tests.
2018-05-09 15:38:12 -03:00
Georges Basile Stavracas Neto
197ed1ed55 datetime: Update backwards file
This is just a plain copy of the most recent (2017-10)
backwards file from tzinfo.
2018-05-09 15:38:12 -03:00
Matej Urbančič
2da5fd3b3d Updated Slovenian translation 2018-05-09 17:59:59 +02:00
Emin Tufan Çetin
8fa0f6eecd Update Turkish translation 2018-05-06 18:48:01 +00:00
Gábor Kelemen
283bc92335 Update Hungarian translation 2018-05-05 15:38:10 +00:00
Fabio Tomat
7b74bfbbe6 Update Friulian translation 2018-05-05 14:54:47 +00:00
Marek Cernocky
3d134b93b4 Updated Czech translation 2018-05-04 14:25:55 +02:00
Fabio Tomat
2efd5442d5 Update Friulian translation 2018-05-04 12:16:04 +00:00
Georges Basile Stavracas Neto
af0186aaf9 project: Update meson files
I probably have OCD. Seeing these files
with this poor alignment gives me physical
pain.
2018-05-03 00:45:29 -03:00
Georges Basile Stavracas Neto
36af5e51d1 shell-model: Remove boilerplate and update code style 2018-05-02 23:11:48 -03:00
Georges Basile Stavracas Neto
3228632d55 project: Update DOAP file
The maintainers listed there aren't maintaining it anymore,
and shouldn't be pinged about Settings. Please let me know
if any of you want your maintainership status back again.
2018-05-02 23:01:18 -03:00
Georges Basile Stavracas Neto
70b346d8b5 project: Add coding style and contribution guidelines
And also update the README file.
2018-05-02 23:00:31 -03:00
Georges Basile Stavracas Neto
16f06665dd window, shell-model: Silence warnings
A fallback from the previous commit.
2018-05-02 22:34:23 -03:00
Georges Basile Stavracas Neto
4b91361d98 project: Add issue templates 2018-05-02 21:02:13 -03:00
Benjamin Berg
37b06c126a ci: Do not run install for testing
There is no need to install g-c-c to run the tests, and in fact, we
should ensure that this is the case as it simplifies testing for e.g.
distributions.
2018-05-02 22:29:33 +00:00
Benjamin Berg
f655e46ce7 tests/network: Add basic testing of network panel
This adds tests for the network panel based on the test service found in
NetworkManager. Another possible solution may be to use the one from
dbusmock, however NetworkManager already has readily available code to
write tests in C which makes checking the widget hierarchy easier.
2018-05-02 22:29:33 +00:00
Benjamin Berg
7630bf963e tests: Add helper for glib based test binaries
This makes running glib based tests inside a dbusmock environment easier
and more beautiful (i.e. output is supressed unless an error occurs).

This helper has been submitted for inclusion in dbusmock. If it cannot$
live there in some form, then we should try to find a home in the GNOME$
project for it.$
2018-05-02 22:29:33 +00:00
Benjamin Berg
8c9be792f2 tests: Add dbusmock helper starting X server and system/session busses
This helper has been submitted for inclusion in dbusmock. If it cannot
live there in some form, then we should try to find a home in the GNOME
project for it.
2018-05-02 22:29:32 +00:00
Benjamin Berg
fc072d65a8 ci: Add dbusmock and Xvfb dependency
This is in preparation for testing which requires an X server.
mesa-dri-drivers is required for the OpenGL software renderer.
2018-05-02 22:29:32 +00:00