summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Updated Lithuanian translationAurimas Černius2021-09-011-377/+917
|
* Update Slovenian translationMatej Urbančič2021-08-311-215/+619
|
* Update Indonesian translationAndika Triwidada2021-08-301-228/+619
|
* Update Kazakh translationBaurzhan Muftakhidinov2021-08-291-337/+748
|
* Release 41.rc41.rcCarlos Garnacho2021-08-282-1/+28
|
* Update Galician translationFran Dieguez2021-08-251-265/+853
|
* Update Brazilian Portuguese translationRafael Fontenelle2021-08-241-219/+648
|
* Updated Spanish translationDaniel Mustieles2021-08-231-216/+795
|
* Updated Czech translationMarek Černocký2021-08-231-217/+599
|
* Update Portuguese translationHugo Carvalho2021-08-221-106/+493
|
* Update Swedish translationAnders Jonsson2021-08-221-50/+50
|
* Update Catalan translationJordi Mas2021-08-221-409/+856
|
* Update Basque translationAsier Sarasua Garmendia2021-08-201-323/+682
|
* Update Ukrainian translationYuri Chornoivan2021-08-191-194/+693
|
* power: s/low in power/low on power/Benjamin Berg2021-08-191-48/+48
| | | | | | | The earlier commit to change the wording missed the new additions. Change those too. Related: #107
* Update Swedish translationAnders Jonsson2021-08-191-234/+633
|
* power: Fix typo in unknown device low battery notificationBastien Nocera2021-08-191-1/+1
|
* power: Add comment about skipped types in low battery notificationsBastien Nocera2021-08-191-0/+7
| | | | | | | | | Those device types that exist in upower (and gnome-bluetooth) don't have a user-friendly precise name that we could use to show in the notification so fallback to the generic name instead. eg. a "Wearable" could be a watch, or a number of other devices, but end-users don't know what a "wearable" is in Bluetooth parlance.
* power: Add specific notifications for a number of device typesBastien Nocera2021-08-191-0/+156
| | | | | Including headphones, headsets and speakers, as well as game controllers, touchpads and generic Bluetooth devices.
* power: s/low in power/low on power/Bastien Nocera2021-08-191-32/+32
| | | | | | Both are correct, but the former is harder to parse. Closes: #107
* power: Remove left-over commentBastien Nocera2021-08-191-1/+0
| | | | | The critical and low power notification titles got merged, so no need to comment on that.
* Update Portuguese translationHugo Carvalho2021-08-191-236/+249
|
* power: Refactor battery notifications for external devicesBenjamin Berg2021-08-191-200/+152
| | | | | And re-write all the translator strings to clarify which strings are notification titles/bodies and give more context as to what they mean.
* power: Fix text in media player low battery notificationsBastien Nocera2021-08-191-2/+2
|
* power: Fix translator comments copy/pasteBastien Nocera2021-08-191-3/+3
|
* power: Fix empty power notificationsBastien Nocera2021-08-191-0/+23
| | | | | | | Power notifications for more than a dozen device types were empty as we only handled a set list of device kinds with no fallback at all. Closes: #607
* power: Remove unused variableBenjamin Berg2021-08-191-2/+0
|
* Update Ukrainian translationYuri Chornoivan2021-08-191-96/+94
|
* power: generalize laptop battery notificationsPablo Correa Gómez2021-08-192-23/+9
| | | | | | | | With newer device types (such as phones and tablets) being used in GNOME, assuming that a device with more than two power sources, e.g: battery and current, is a laptop might not be accurate. Fix that by using a more general and already tranlated string in all cases.
* power: generalize laptop critical battery notificationsPablo Correa Gómez2021-08-191-2/+2
|
* power: generalize suspend and hibernate notificationDylan Van Assche2021-08-191-2/+2
|
* Updated Spanish translationDaniel Mustieles2021-08-171-211/+217
|
* Update Occitan translationQuentin PAGÈS2021-08-131-69/+56
| | | | (cherry picked from commit 714f877925d2add4ec92f5018b922adb3004a148)
* power: When dimming the screen, dim it quicker by defaultBastien Nocera2021-08-102-2/+2
| | | | | | | | | | Now that we respect the "dim when idle" setting[1], dim quicker to try and save more power. 4/5 of the timeout to the screensaver was always a bit too undecided as a fraction, even when using the dimming as a warning that the screen was going to go to the screensaver (see commit 7bc750a5). [1]: Except in power-saver mode where we always dim aggressively
* power: Respect dim screen settings when not on batteryBastien Nocera2021-08-101-2/+0
| | | | | | | The dim screen settings in the UI was not well respected as it only worked on discharging laptops. Closes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/837
* power: Dim screen faster if power saver mode is onBastien Nocera2021-08-101-2/+44
| | | | | | | | | | | | | | | As done on other platforms, aggressively dim the screen after a short period when the user has selected to enter power saver mode. The same aggressive screen dim will be used if the battery is low and power-profiles-daemon is not available. If it is available, then it fixes a screen dim happening when the battery was low which might have been unwanted. See https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/232 Prior art: https://support.apple.com/en-us/HT205234
* Update Slovenian translationMatej Urbančič2021-08-101-332/+311
|
* Updated Czech translationMarek Černocký2021-08-101-215/+218
|
* Update Hebrew translationYaron Shahrabani2021-08-071-261/+233
|
* tests: Wait longer for brightness updatesBenjamin Berg2021-07-261-9/+9
| | | | | | | | | | Sometimes the test_legacy_brightness_rounding seems to fail, in rare cases with the brightness file being empty. This is possible in busy CI environments due to the short time window (<= 200ms) and because the script first truncates the file. Increase the timeout in order to avoid such a CI failure. Note that writing the update atomically is not really feasible.
* xsettings: Add support for XFixes ClientDisconnectModeOlivier Fourdan2021-07-264-0/+6
| | | | | | | | | | | | | | | | | | | The Xserver itself is capable of terminating itself once all X11 clients are gone, yet in a typical full session, there are a number of X11 clients such as gsd-xsettings running continuously. Those always-running clients will prevent the Xserver from terminating, because the actual number of X11 clients will never drop to 0. Use XFixes ClientDisconnectMode to inform the X11 server that it can terminate even if gsd-xsettings is still running. That will allow Xwayland to terminate automatically once regular clients have quit. On plain Xorg servers, the lifetime of the session is usually tied to the session manager or window manager, and this change will have no effect.
* ci: Install libXfixes-develOlivier Fourdan2021-07-261-0/+1
| | | | | libXfixes 6.0 provides the new ClientDisconnectMode that clients can use to declare themselves as to-be-terminated.
* usb: debug rule finding and device allowingTobias Mueller2021-07-261-0/+2
| | | | | This helped me to find a subtle bug in the code. I hope that it will help me in the future, too.
* usb: Correctly append our allow-all ruleTobias Mueller2021-07-261-7/+1
| | | | | | | The version of USBGuard we targetted for the initial release had a bug: https://github.com/USBGuard/usbguard/pull/355 Since this is fixed now, we can remove our workaround and use the correct value.
* usb: always call authorize_device with a device idTobias Mueller2021-07-261-21/+21
| | | | | I feel that this makes the device id less magic, despite it being stored in the manager sometimes.
* usb: authorize device after screen has been lockedTobias Mueller2021-07-261-13/+17
| | | | | | | | | | | | | | | | | This should make it a bit more safe, because the device will not be authorized before the screen is actually locked. Before, the device would be authorized and then it asks for the screen to be locked. This leaves a small window where the device could interact with the unlocked session. I don't think it is relevant in practice, though. Anyway, it is semantically more correct to authorize after the screen has been locked. This change brings an unfortunate indirection of arguments, i.e. you have to place the id in the manager structure. This feels clunky and should be revised. We should also handle the failure case a bit more gracefully, I think. For example, show a notification about the device that we wanted to authorize, but couldn't.
* usb: defensively destructure GVariants to prevent crashesTobias Mueller2021-07-261-0/+8
| | | | | | | | | | | | | | | | | | The data is coming in from the outside, so it is untrusted. We check for the size of the variant, because otherwise we might crash at runtime, since g_variant_get_child might leave variables, i.e. GVariantIters, uninitialised (NULL) which then causes g_variant_iter_loop to crash, since it doesn't check for NULL. The check for g_variant_n_children is arguably ugly, because g_variant_get_child will eventually perform that check. So we focus on the returned NULL in case of g_variant_get_child_value or, in case of g_variant_get_child, whether the memory has not changed. The documentation is, for my taste, not as clear as it could or should be. It mentions that it is "an error" to provide an index higher than what the GVariant contains. But it doesn't mention how it communicates that error nor how to deal with it.
* usb: debug double notificationTobias Mueller2021-07-261-1/+7
| | | | | | Somehow, I get two notifications on my lockscreen. Since I don't know where two notifications come from, I try to find out how many we actually set in our code.
* Update Swedish translationAnders Jonsson2021-07-251-207/+217
|
* Update Indonesian translationKukuh Syafaat2021-07-251-207/+217
|