summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* README: Mention licensewip/hadess/license-headersBastien Nocera2021-03-251-1/+7
|
* gudev: Update headers to LGPLv2.1+Bastien Nocera2021-03-2510-63/+50
|
* README: Update READMEBastien Nocera2021-03-252-47/+30
| | | | And convert it to MarkDown.
* 236236Bastien Nocera2021-03-162-1/+4
|
* build: Fix package name to match autotools releaseBastien Nocera2021-03-162-3/+3
| | | | | | | | In the meson port, the package name was changed from 'libgudev' to 'gudev'. Rename the meson project, and fix the 'package_name' to match the short name to avoid 'liblibgudev' names. Fixes: 334f31b3cf0837ffb2298f498686905e8ba14f7b
* 235235wip/hadess/235Bastien Nocera2021-03-162-1/+5
|
* ci: Test dist'ing as wellBastien Nocera2021-03-161-0/+1
|
* ci: Build and run testsBastien Nocera2021-03-161-1/+2
|
* gudev: Fix 'Y' in _sysfs_attr_as_boolean_uncached()Bastien Nocera2021-03-161-4/+12
| | | | | The changes made haphazardly in e186dac0 and 31e31d52 were documented for _sysfs_attr_as_boolean_uncached() but not implemented.
* gudev: Update g_udev_device_get_sysfs_attr_as_boolean() docBastien Nocera2021-03-161-1/+1
| | | | | The behaviour was changed in commit e186dac0, but the documentation wasn't updated.
* gudev: Revert changes to g_udev_device_get_property_as_boolean()Bastien Nocera2021-03-161-1/+1
| | | | | We weren't supposed to change the strings recognised as booleans, which we only documented and didn't actually implement.
* gudev: Add tests for the boolean sysfs attributesBastien Nocera2021-03-161-6/+19
|
* gudev: Ignore trailing linefeeds in sysfs attrBastien Nocera2021-03-161-3/+18
| | | | | | | | | | sysfs attributes which contain text will almost always contain a '\n' at the end so that they can be cat'ed cleanly from the shell. Fix g_udev_device_get_sysfs_attr_as_boolean to take this into account by cutting off the string before the first '\n' if it is present. Closes: #7
* gudev: Add support for Y/N, y/n as bool sysfs attributesBastien Nocera2021-03-161-3/+7
| | | | | | | | | | | | Which matches the string representation of a "bool" as used in module parameters: " Standard types are: [...] * bool: a bool, values 0/1, y/n, Y/N. " See https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/moduleparam.h#n123
* docs: Change docs URL in docsBastien Nocera2020-11-241-2/+2
| | | | | | | Until developer.gnome.org has a good way to integrate with meson, link to our own deployment of the docs, generated by the CI. Closes: #6
* build: Remove autotoolsBastien Nocera2020-11-206-489/+0
|
* ci: Use meson and publish documentationMartin Blanchard2020-11-202-21/+43
| | | | | | | Publish documentation on GitLab pages as meson does not embed generated documentation in distribution tarballs. Pages URL: https://gnome.pages.gitlab.gnome.org/libgudev/libgudev
* ci: Move package list to variablesBastien Nocera2020-11-201-1/+21
|
* ci: Reident some sectionsBastien Nocera2020-11-201-2/+2
|
* Port to meson build systemMartin Blanchard2020-11-205-0/+343
| | | | | The meson build system focuses on speed an ease of use, which helps speeding up the software development.
* 234234Bastien Nocera2020-09-151-0/+4
|
* ci: Make sure to run "make dist" in the CIBastien Nocera2020-09-151-1/+2
|
* build: Bump soname and version for new helpersBastien Nocera2020-09-152-3/+3
|
* gudev: Add helpers to get uncached sysfs attributeswip/hadess/add-uncached-helpersBastien Nocera2020-09-156-8/+367
| | | | | We very often need to access the current value of sysfs attributes. Add functions that do I/O on the sysfs files and update the cache.
* gudev: g_udev_device_has_sysfs_attr() is also cachedBastien Nocera2020-09-141-2/+5
| | | | Follow-up to d0bd1da7a14323497b435b37ec99aa9375e751c1
* gudev: Mention that sysfs_attr functions are cachedBastien Nocera2020-07-161-5/+17
| | | | | | | | Bit me once again, so best to make it clear in the API documentation that sysfs_attr are only fetched _once_. libgudev calls udev_device_get_sysattr_value() which says in its docs: https://github.com/systemd/systemd/blob/4d939d2c849fea2169082451a90722030dca5139/src/libudev/libudev-device.c#L730-L731
* 233233Bastien Nocera2019-08-032-1/+6
|
* ci: Add ABI checkerBastien Nocera2019-08-032-2/+120
| | | | primarily by Mathieu Bridon <bochecha@daitauha.fr>
* gudev: Remove use of deprecated g_type_class_add_private()Bastien Nocera2019-04-293-18/+6
| | | | | | And replace with the G_ADD_PRIVATE() as available in glib 2.38. Closes: #2
* build: Require a slightly newer glibBastien Nocera2019-04-291-1/+1
| | | | | Require a newer glib than what we previously did to get access to the G_ADD_PRIVATE() macro.
* ci: Add CIBastien Nocera2019-02-271-0/+14
|
* Replace git.gnome.org by Gitlab URL in <GitRepository> in DOAP fileAndre Klapper2018-12-161-2/+2
|
* Replace Bugzilla by Gitlab URL in DOAP fileAndre Klapper2018-12-151-1/+1
|
* Merge branch 'jjardon/no_gnome_common' into 'master'Bastien Nocera2018-09-071-10/+44
|\ | | | | | | | | autogen.sh: Use upstream autoreconf instead deprecated gnome-autogen.sh See merge request GNOME/libgudev!1
| * autogen.sh: Use upstream autoreconf instead deprecated gnome-autogen.shjjardon/no_gnome_commonJavier Jardón2018-08-121-10/+44
|/ | | | See https://wiki.gnome.org/Projects/GnomeCommon/Migration
* tests: Fix test assertion with umockdevJames Clarke2018-01-241-2/+3
| | | | | | | | | | Since 0.9.4, rather than checking for libumockdev-preload being in LD_PRELOAD, umockdev_in_mock_environment now checks whether /sys is being redirected. This only occurs when $UMOCKDEV_DIR is set, which happens inside umockdev_testbed_new, so the assertion must come after this call. https://bugzilla.gnome.org/show_bug.cgi?id=792845
* gudev: Add note about possible actionsBastien Nocera2017-09-071-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=787314
* gudev: Add note about props/attrs when action is "remove"Bastien Nocera2017-09-051-0/+4
| | | | | | This takes the guesswork out of it. https://bugzilla.gnome.org/show_bug.cgi?id=787314
* gudev: Update list of possible actionsBastien Nocera2017-09-051-1/+2
| | | | | | | | Add "online" and "offline" actions as per: src/libsystemd/sd-device/device-private.c in the systemd repository https://bugzilla.gnome.org/show_bug.cgi?id=787314
* 232232Bastien Nocera2017-09-011-0/+4
|
* build: Bump version for new functionalityBastien Nocera2017-08-311-1/+1
| | | | Will be used in iio-sensor-proxy straight away.
* gudev: Add autoptr support for all data typesBastien Nocera2017-08-313-0/+12
|
* tests: Fix crash on plenty of architecturesBastien Nocera2017-02-201-1/+2
| | | | | | | | | umockdev_testbed_add_device() expects 2 sentinels, one for the sysfs attributes, one for the udev properties. Spotted by Martin Pitt <martinpitt@gnome.org> https://bugzilla.gnome.org/show_bug.cgi?id=778734
* 231231Bastien Nocera2017-02-132-1/+6
|
* enumerator: Ensure client subsystems are implicitly matchedRay Strode2016-11-023-6/+37
| | | | | | | | | | | | | g_udev_client_new takes an optional list of subsystems (and device types) to filter the udev event stream on. These subsystems aren't automatically matched for device enumeration, though, which is unexpected. This commit changes gudevenumerator to get its udev_enumerate object from gudevclient with the appropriate subsystem and device matches already set up. https://bugzilla.gnome.org/show_bug.cgi?id=773224
* tests: Preload umockdev before running testsBastien Nocera2016-11-021-1/+2
| | | | | | | Otherwise it's as if we were outside the test environment, which we don't want to be. https://bugzilla.gnome.org/show_bug.cgi?id=773224
* tests: Add test suiteBastien Nocera2016-11-025-0/+164
| | | | | | With the first test for a GUdevEnumerator bug. https://bugzilla.gnome.org/show_bug.cgi?id=773224
* gudev: Use generic marshallerBastien Nocera2016-11-027-20/+3
| | | | | And require a newer glib for that functionality. glib 2.30 was released in 2011, so seems new enough for us to make use of it.
* build: Don't update git submodulesBastien Nocera2016-11-021-2/+0
| | | | As we don't use them.
* Bump version number to 230230David Herrmann2015-06-022-1/+7
| | | | | | | | | | | | | So distributions asked for us to bump the version number early, so a libgudev package will replace the gudev sub-package provided via systemd. This is not strictly required, as we will keep patching systemd in parallel to libgudev, and provide compatible releases. However, there's no reason to not fulfil this demand. So bump libgudev to 230. We intend to drop gudev from systemd-221, but lets be safe and bump the version to 230 now. https://bugzilla.gnome.org/show_bug.cgi?id=750233