stransky
c576f61eb2
Bug 1859865 [Linux] Don't throw error message if DBus operation is canceled r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D192319
2023-11-06 10:39:10 +00:00
Cristian Tuns
94f23234fa
Backed out changeset f65c77517e3e (bug 1859865) for causing build bustages in nsAppShell.cpp CLOSED TREE
2023-11-04 04:52:00 -04:00
stransky
624df138a4
Bug 1859865 [Linux] Don't throw error message if DBus operation is canceled r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D192319
2023-11-04 08:21:16 +00:00
Butkovits Atila
bf6ab69197
Backed out changeset 1c0f7ecac0da (bug 1859865) for causing bustages at MPRISServiceHandler.cpp.
2023-11-04 01:59:29 +02:00
stransky
ab9de8aaaa
Bug 1859865 [Linux] Don't throw error message if DBus operation is canceled r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D192319
2023-11-03 21:13:16 +00:00
stransky
bb14a9b7df
Bug 1858153 [Linux] Migrate UPowerClient from dbus-glib to GDBus r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D190670
2023-10-12 11:16:25 +00:00
stransky
73119cef95
Bug 1848589 [Linux] Don't query battery status on Linux as battery API is not used r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D187200
2023-09-04 07:30:18 +00:00
Emilio Cobos Álvarez
9ddc42292b
Bug 1760839 - Use more automatic memory management in GTK code. r=stransky
...
This fixes a couple potential leaks (e.g., see the UPowerClient changes,
we weren't freeing all the devices properly).
Differential Revision: https://phabricator.services.mozilla.com/D141775
2022-03-23 16:14:34 +00:00
Chris Peterson
406763af7f
Bug 1570499 - Part 1: Replace MOZ_FALLTHROUGH macro with C++17's [[fallthrough]] attribute. r=froydnj
...
This changeset is a simple find and replace of `MOZ_FALLTHROUGH` and `[[fallthrough]]`.
Unfortunately, the MOZ_FALLTHROUGH_ASSERT macro (to assert on case fallthrough in debug builds) is still necessary after switching from [[clang::fallthrough]] to [[fallthrough]] because:
* MOZ_ASSERT(false) followed by [[fallthrough]] triggers a -Wunreachable-code warning in DEBUG builds
* but MOZ_ASSERT(false) without [[fallthrough]] triggers a -Wimplicit-fallthrough warning in NDEBUG builds.
Differential Revision: https://phabricator.services.mozilla.com/D56440
--HG--
extra : moz-landing-system : lando
2019-12-20 07:16:43 +00:00
Ryan Hunt
c355a037bb
Bug 1523969 part 9 - Move method definition inline comments to new line in 'hal/'. r=gsvelto
...
Differential Revision: https://phabricator.services.mozilla.com/D21109
--HG--
extra : rebase_source : d56eacdaeefd5bde104fb24eecffa3d2890a7869
2019-02-25 16:07:35 -06:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Andrea Marchesini
a18bf77d4d
Bug 1282433 - Use dbus PropertiesChanged signal for notification of battery status changes, r=karlt
...
From UPower 0.99, DeviceChanged has been removed from the UPower interface and
PropertiesChanged support added.
2016-11-02 10:37:11 +01:00
Chris Peterson
f8c52db33c
Bug 1241549 - Annotate intentional switch fallthrough in hal/linux/UPowerClient.cpp. r=gsvelto
...
hal/linux/UPowerClient.cpp:420:5: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
2016-01-20 21:34:41 -08:00
Gijs Kruitbosch
abcc5051f6
Bug 1124127 - round power percentage to whole number before passing on, r=gsvelto
...
--HG--
extra : rebase_source : 69c55368a10c076e9726db9894f2d355326d9aad
2015-01-21 14:06:40 +00:00
Gabriele Svelto
eee9e26b8b
Bug 1047277 - Hide HAL's logging macros from the public headers and convert all components to use them. r=dhylands
2014-09-24 15:23:18 +02:00
Andrea Marchesini
5572f5a7cc
Bug 703612 - Make DBUS calls asynchronous to prevent slowness because of DBus daemon being overloaded in Battery API UPower backend. r=mounir
2012-11-02 16:11:50 -04:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Andrew Quartey
6fe0fd072a
Bug 706010 - Remove NS_SPECIALIZE_TEMPLATE and HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX; r=khuey a=cleanup/removal
2011-12-13 14:17:59 +00:00
Mounir Lamouri
190ac8da9f
Bug 705084 - Part B - Use kDefaultRemainingTime instead of kUnknownRemaining time when appropriate in UPower backend. r=cjones
2011-12-01 11:50:58 +01:00
Mounir Lamouri
61ee629f94
Bug 703610 - Return level=1.0 when the battery is full (Battery API UPower backend). r=cjones
2011-11-22 10:36:22 +01:00
Mounir Lamouri
ec91a51f65
Bug 700262 - Add remainingTime support to upower backend. r=cjones
2011-11-09 10:00:01 +01:00
Mounir Lamouri
b4692e95a1
Bug 700261 - Add .chargingTime/.dischargingTime support to hal code. r=cjones
2011-11-09 09:58:59 +01:00
Mounir Lamouri
a586195b8a
Bug 699742 - (3/4) battery.level should be a double (upower backend). r=cjones
2011-11-09 09:56:22 +01:00
Mounir Lamouri
9e722c9ee8
Bug 696041 - Battery API backend for linux with upower. r=karlt,cjones sr=roc
2011-11-03 11:33:31 +01:00