summaryrefslogtreecommitdiff
path: root/extras/gudev
AgeCommit message (Collapse)Author
2011-10-31gudev: Use g_ascii_strtoull() instead of strtoul()David Zeuthen
This ensures that we get the same behavior on both 32- and 64-bit. Pointed out on the mailing list: http://permalink.gmane.org/gmane.linux.hotplug.devel/17145 Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-10-31gudev: Use strtoul to parse unsigned 64-bit integersDavid Zeuthen
Otherwise it will return 0x7fffffffffffffff instead of 0x8000000000000004 for e.g. this property ID_PART_ENTRY_FLAGS=0x8000000000000004 Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-08-05implement path_id, usb_id, input_id as built-in commandKay Sievers
2011-07-31gtk-doc: delete empty filesKay Sievers
2011-05-16gudev: silent gtk-doc warningsKay Sievers
2010-12-15gudev: Add Device.get_usec_since_initializedDavid Zeuthen
Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-12-14Add g_udev_device_get_is_initialized() methodDavid Zeuthen
Also nuke the "Index of deprecated symbols" since we have no deprecated symbols just yet. Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-12-14Add GUdevEnumerator type and Device.get_tags() methodDavid Zeuthen
Also add JS example to check the added API works. Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-09-20gudev: add a few annotations that newer gobject-introspection versions demandTorsten Schoenfeld
2010-09-07gudev: Deliver ::uevent signal in the thread-default main loopDavid Zeuthen
... that the GUdevClient object was constructed in. This change makes GUdev follow the GLib guidelines and, more importantly, makes it possible to actually use the library in a multi-threaded application. Prior to this patch, signals were emitted in the thread that ran the "default" main loop. Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-08-27gudev: fix crash if netlink is not availableMartin Pitt
gudev_client_new() assumes that priv->monitor is never NULL, but this happens on older kernels. Let's not crash client programs because of that. https://launchpad.net/bugs/581527
2010-06-13Revert "add Vala vapi for gudev-1.0"Martin Pitt
Argh, recent vala already ships with a gudev vapi. This reverts commit 6a7b5ec7712ea53fd756b07036e23ac0d751cec4.
2010-06-13add Vala vapi for gudev-1.0Martin Pitt
Add gudev-1.0.vapi. This is based on the output of vapigen --library gudev-1.0 GUdev-1.0.gir with fixes to array/list semantics and include file names.
2010-03-18add LGPL COPYING to libudev and GUdevKay Sievers
2010-01-07work around gtk-doc which breaks distcheckKay Sievers
2009-11-09gudev: Remove LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE from priv headerDavid Zeuthen
Since libudev is no longer unstable either. Signed-off-by: David Zeuthen <davidz@redhat.com>
2009-11-08gudev: Fix up GUdevDeviceNumberDavid Zeuthen
Actually dev_t is an unsigned quad type (e.g. 64-bit even on 32-bit x86) so defining it to be an integer is wrong and not future proof. Thus, redefine it to actually be a dev_t (as originally wanted) and instead add a work-around for GNOME bug #584517, see https://bugzilla.gnome.org/show_bug.cgi?id=584517 for details. This way, GObject Introspection will still work. This change is technically an API/ABI break but - all released GUdev versions requires the user to understand that the API/ABI is unstable by requiring the G_UDEV_API_IS_SUBJECT_TO_CHANGE symbols to be defined - functions using GUdevDeviceNumber are rarely used so we don't bump the so number. Signed-off-by: David Zeuthen <davidz@redhat.com>
2009-10-29gudev: remove G_UDEV_API_IS_SUBJECT_TO_CHANGE since API is now stableDavid Zeuthen
Signed-off-by: David Zeuthen <davidz@redhat.com>
2009-08-08fix spellingAlan Jenkins
Fix spelling in docbook comments, code comments, and a local variable name. Thanks to "ispell -h" for docbook HTML and "scspell" for source code. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
2009-08-07Fix building of documentation when doing out-of-source builds.Diego Elio 'Flameeyes' Pettenò
Since gtk-mkhtml is executed in a sub-directory of the build directory, and make does not know of that, the $(buildir) variable will still be "." and the $(srcdir) will not properly be found. For this reason, use the absolute variants for the two functions, which won't be changing.
2009-08-07Finally, also merge gudev into the top-level Makefile.am.Diego Elio 'Flameeyes' Pettenò
The Introspection rules are not tested yet; more touch-ups have been made for them.
2009-07-04build: do not delete .la filesKay Sievers
2009-06-20configure.ac: add AM_SILENT_RULESKay Sievers
2009-06-17cleanup ./configure installation directory optionsKay Sievers
2009-06-16gudev: fix typo in configure optionKay Sievers
2009-06-16v4l_id: move from udev-extrasKay Sievers
2009-06-16gudev: move from udev-extrasDavid Zeuthen
GObject libudev access. Initial version from Bastien Nocera, current version by David Zeuthen.