libinput/test
Jonas Ådahl faab25c25c Make context reference counted
Instead of only allowing one owner keeping a libinput context alive,
make context reference counted, replacing libinput_destroy() with
libinput_unref() while adding another function libinput_ref().

Even though there might not be any current use cases, it doesn't mean we
should hard code this usage model in the API. The old behaviour can be
emulated by never calling libinput_ref() while replacing
libinput_destroy() with libinput_unref().

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2014-06-25 10:27:03 +10:00
..
build-cxx.cc test: Add include from C++ build test 2014-03-29 00:51:44 +01:00
build-pedantic.c test: add a build-test for -pedantic 2014-01-15 11:26:08 +10:00
keyboard.c Make context reference counted 2014-06-25 10:27:03 +10:00
litest-bcm5974.c test: add a bunch of test for click behavior on touchpads 2014-06-12 10:29:26 +10:00
litest-int.h test: allow for description-based test devices 2014-04-08 15:07:02 +10:00
litest-keyboard.c test: drop unused includes for libinput-util.h 2014-06-11 09:43:52 +10:00
litest-mouse.c test: drop unused includes for libinput-util.h 2014-06-11 09:43:52 +10:00
litest-synaptics-st.c test: drop unused includes for libinput-util.h 2014-06-11 09:43:52 +10:00
litest-synaptics-t440.c test: Add description for the T440 synaptics touchpad 2014-06-12 10:29:26 +10:00
litest-synaptics.c test: drop unused includes for libinput-util.h 2014-06-11 09:43:52 +10:00
litest-trackpoint.c test: drop unused includes for libinput-util.h 2014-06-11 09:43:52 +10:00
litest-wacom-touch.c test: drop unused includes for libinput-util.h 2014-06-11 09:43:52 +10:00
litest.c Make context reference counted 2014-06-25 10:27:03 +10:00
litest.h test: Add description for the T440 synaptics touchpad 2014-06-12 10:29:26 +10:00
log.c Make context reference counted 2014-06-25 10:27:03 +10:00
Makefile.am test: Add description for the T440 synaptics touchpad 2014-06-12 10:29:26 +10:00
misc.c Make context reference counted 2014-06-25 10:27:03 +10:00
path.c Make context reference counted 2014-06-25 10:27:03 +10:00
pointer.c Make context reference counted 2014-06-25 10:27:03 +10:00
touch.c Use floating point numbers instead of fixed point numbers 2014-06-09 20:46:53 +02:00
touchpad.c test: add a couple of top software button test 2014-06-12 10:29:26 +10:00
udev.c Make context reference counted 2014-06-25 10:27:03 +10:00
valgrind.suppressions test: automatically run the tests against valgrind for leaks 2014-04-10 11:11:56 +10:00