Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove Wakeups API | Benjamin Berg | 2022-03-24 | 1 | -65/+0 |
| | | | | | | | | | | | | | | | | The API relied on /proc/timer_stats which has been removed from the kernel in 2017. Since then, the API has been non-functional (yet incorrectly reporting support because the support test was buggy). Just remove it completely. The debian codesearch does not uncover any API users. Also, I doubt that any new API (based on tracing scheduler events as perf would do) would map well to what exists now. i.e. if something like this is re-implemented in UPower or elsewhere, then the API should likely look different. And, realistically, if this does need root privileges (i.e. can't be moved to use BPF programs or so on user units), then we can also create a new small daemon that is launched on-demand just for that. | ||||
* | all: Remove HAVE_CONFIG_H conditional | Bastien Nocera | 2021-09-07 | 1 | -3/+1 |
| | | | | | We always have a config.h now, and don't rely on autotools setting this cflags for us to know it. | ||||
* | build: Remove autotools | Bastien Nocera | 2021-09-06 | 1 | -37/+0 |
| | |||||
* | build: Clean up include_directories usage | Bastien Nocera | 2021-09-06 | 1 | -1/+0 |
| | |||||
* | tools: Include top-level library include | Bastien Nocera | 2021-09-02 | 1 | -3/+1 |
| | | | | So we don't need to define UP_COMPILATION | ||||
* | build: Support building upower with meson | Benjamin Berg | 2021-09-02 | 1 | -0/+11 |
| | |||||
* | up-tool: Catch NULL return for more upower API calls | Benjamin Berg | 2021-02-04 | 1 | -0/+8 |
| | | | | | | This can lead to crashes if the communication with the daemon fails. See https://bugzilla.redhat.com/show_bug.cgi?id=1922777 | ||||
* | lib: Add a new version of up_client_get_devices which unrefs contents | Robert Ancell | 2018-05-31 | 1 | -2/+2 |
| | | | | | | The existing function didn't set the free function on the GPtrArray. This means a libupower user can easily make a mistake in the reference counting of the array contents. | ||||
* | up-tool: Exit early when connecting to upower fails | Martin Pitt | 2016-05-18 | 1 | -1/+6 |
| | | | | | | | | | | | | | | This avoids spewing dozens of assertions like libupower-glib-CRITICAL **: up_client_get_devices: assertion 'UP_IS_CLIENT (client)' failed libupower-glib-CRITICAL **: up_device_get_object_path: assertion 'UP_IS_DEVICE (device)' failed and useless default values and then exiting successfully (which might confuse users or scripts trying to parse the output). Use the new up_client_new_full() constructor so that we get a proper GError. Side issue in https://bugs.freedesktop.org/show_bug.cgi?id=95350 | ||||
* | Fix build regression | Arnaud Quette | 2015-08-10 | 1 | -0/+1 |
| | | | | | | | The removal of dbus-glib and libdbus build dependencies has introduced a build regression on upower, which fails to link with gobject Signed-off-by: Richard Hughes <richard@hughsie.com> | ||||
* | build: remove dependency on dbus-glib and libdbus | Cosimo Cecchi | 2015-07-29 | 1 | -2/+0 |
| | | | | Nothing depends on it any more. | ||||
* | up-tool: remove unused variables | Cosimo Cecchi | 2015-07-29 | 1 | -2/+0 |
| | |||||
* | all: Remove IsDocked property | Bastien Nocera | 2014-05-07 | 1 | -1/+0 |
| | | | | | | | Removes the deprecated (for not very long) property, before we do a 1.0 release. https://bugs.freedesktop.org/show_bug.cgi?id=78380 | ||||
* | tools: Remove is-docked from up-tool | Bastien Nocera | 2014-05-07 | 1 | -3/+1 |
| | |||||
* | tools: Update for lib API changes | Bastien Nocera | 2013-10-17 | 1 | -18/+2 |
| | |||||
* | tools: Use notify signals instead of *changed ones | Bastien Nocera | 2013-10-17 | 1 | -4/+20 |
| | |||||
* | all: Add GetCriticalAction daemon method | Bastien Nocera | 2013-10-17 | 1 | -0/+4 |
| | | | | | | | | | This allows desktop front-ends to get which action will actually be taken when we hit critical battery. This is not a property as availability of actions might change over the course of the run of the system, and we didn't want to make unnecessary D-Bus calls on startup. | ||||
* | all: Remove WarningLevel from the daemon properties | Bastien Nocera | 2013-10-17 | 1 | -2/+0 |
| | | | | | | The WarningLevel property just replicated the warning level on the display device, or at least should have. So we fix the latter to remove the former. | ||||
* | tools: Print the display device when using -d | Bastien Nocera | 2013-10-17 | 1 | -0/+10 |
| | |||||
* | tools: Update for API changes | Bastien Nocera | 2013-10-14 | 1 | -3/+3 |
| | |||||
* | tools: Remove use of deprecated features | Bastien Nocera | 2013-10-14 | 1 | -12/+0 |
| | |||||
* | Set locale in daemon and tool | Shih-Yuan Lee (FourDollars) | 2013-09-04 | 1 | -0/+2 |
| | | | | | This is necessary to properly show non-UTF8 strings in debug mode (for the daemon) and upower --dump etc. (for the tool). | ||||
* | trivial: Stop calling deprecated g_type_init() | Martin Pitt | 2013-08-29 | 1 | -0/+2 |
| | | | | | When building with a recent enough glib (>= 2.36), don't call g_type_init() any more. This is deprecated and causes ugly compile warnings. | ||||
* | Use PIE to better secure installed tools and also use full RELRO in the daemon | Richard Hughes | 2013-05-07 | 1 | -1/+4 |
| | |||||
* | Add a --enable-deprecated configure argument | Richard Hughes | 2013-02-12 | 1 | -0/+6 |
| | | | | | | | | | | | | | | This is turned off by default. If this is not set, then any calls to Suspend(), SuspendAllowed(), Hibernate() or HibernateAllowed() will fail with an error. The error mesage tells the user what new method to port to in logind. I'm expecting to set --enable-deprecated for Fedora 17 and 18, but turn it off for Fedora 19, so other distributions probably want to follow suit to find out what other stuff needs to be ported to the new APIs early. GNOME should already be fine, but KDE will need some solid porting as I understand it. See http://lists.freedesktop.org/archives/devkit-devel/2013-January/001339.html for more information on future plans and for rationale. | ||||
* | Don't use the deprecated INCLUDES in Makefile.am | Richard Hughes | 2013-01-14 | 1 | -1/+1 |
| | |||||
* | Fix "can-hibernate" formatting in upower --dump | Martin Pitt | 2012-11-08 | 1 | -1/+1 |
| | | | | All other field names end with a colon, so that one should, too. | ||||
* | Use git.mk and remove the manual .gitignore files | Richard Hughes | 2011-07-19 | 2 | -8/+2 |
| | |||||
* | upower needs -pthread | Landry Breuil | 2011-03-21 | 1 | -0/+2 |
| | | | | Signed-off-by: Richard Hughes <richard@hughsie.com> | ||||
* | Drop devkit and devkit-power-daemon symlinks | Michael Biebl | 2011-02-23 | 1 | -3/+0 |
| | | | | Signed-off-by: Richard Hughes <richard@hughsie.com> | ||||
* | linux: use the number of active DRM devices to determine the system docked ↵ | Richard Hughes | 2011-01-04 | 1 | -1/+4 |
| | | | | | | status Not ideal, but better than relying on ACPI. | ||||
* | Port from EggDebug to the GLib built-in logging framework | Richard Hughes | 2010-11-01 | 4 | -9/+3 |
| | |||||
* | Ensure we enumerate devices before we start monitoring them | Richard Hughes | 2010-03-26 | 1 | -0/+5 |
| | |||||
* | Update help and g_option_context_new to upower | Michael Biebl | 2010-02-06 | 1 | -3/+3 |
| | |||||
* | trivial: fix a compile warning | Richard Hughes | 2010-02-05 | 1 | -0/+1 |
| | |||||
* | Use GCancellable in libupower-glib so we can eventually get to GIO async ↵ | Richard Hughes | 2010-02-05 | 1 | -5/+5 |
| | | | | methods without breaking future API | ||||
* | Make the upower client tool use libupwer-glib, rather than devit-power-gobject | Richard Hughes | 2010-02-05 | 2 | -63/+84 |
| | |||||
* | Remove EGG_* log define. | Michael Biebl | 2010-02-05 | 1 | -4/+0 |
| | | | | | The EGG_* log defines don't seem to be used and still reference the old DeviceKit-power name. So just remove it. | ||||
* | Rename the man pages and rename the main daemon binary name | Richard Hughes | 2010-01-21 | 1 | -1/+1 |
| | |||||
* | Make the client tool be called upower, but maintain a symlink to devkit-power | Richard Hughes | 2010-01-21 | 3 | -31/+8 |
| | |||||
* | Rename the DBus service from org.freedesktop.DeviceKit.Power to ↵ | Richard Hughes | 2010-01-18 | 1 | -2/+2 |
| | | | | org.freedesktop.UPower | ||||
* | trivial: rename some internal defines for the upower move | Richard Hughes | 2010-01-18 | 1 | -3/+3 |
| | |||||
* | trivial: Rename a lot of the source files from dkp-foo to up-foo, no API or ↵ | Richard Hughes | 2010-01-18 | 2 | -12/+12 |
| | | | | ABI changes | ||||
* | Update some common egg code for better debugging support | Richard Hughes | 2009-11-23 | 1 | -3/+1 |
| | |||||
* | When using devkit-power --monitor, print a timestamp before each message for ↵ | Richard Hughes | 2009-10-22 | 1 | -4/+38 |
| | | | | debugging. Fixes fd#24666 | ||||
* | Convert the property names to be FirstLetterCaps rather than dash-dash so ↵ | Richard Hughes | 2009-09-18 | 1 | -1/+1 |
| | | | | KDE people can use the DBus interface | ||||
* | Fix up a few problems spotted by clang | Richard Hughes | 2009-09-11 | 1 | -7/+19 |
| | |||||
* | I must learn to spell deprecated... | Richard Hughes | 2009-07-03 | 1 | -1/+1 |
| | |||||
* | Protect the non-GObject accessors with DKP_DISABLE_DEPRECIATED and fix up ↵ | Richard Hughes | 2009-07-03 | 2 | -8/+37 |
| | | | | the client tool | ||||
* | Add a property lid-is-closed so that we can finally drop the HAL dep in ↵ | Richard Hughes | 2009-05-05 | 1 | -0/+1 |
| | | | | g-p-m and x-p-m |