Commit Graph

670 Commits

Author SHA1 Message Date
Peter Hutterer
ede13b11d7 evdev: use libinput's new merged scroll events
libinput's API changed from separate scroll events for vert/horiz scrolling to
a single event that contains both axes if they changed.

Updated by Armin K. to use the discrete axis value for wheel events as done
in Weston.

https://bugzilla.gnome.org/show_bug.cgi?id=742829
2015-01-16 14:45:47 +00:00
Emmanuele Bassi
768b5b89e2 Post-release version bump to 1.21.3 2014-12-16 00:33:23 +00:00
Emmanuele Bassi
5514f1cf42 Release Clutter 1.21.2 2014-12-16 00:15:58 +00:00
Emmanuele Bassi
270918d5c9 Bump up the requirement for GLib and introspection
The syntax for some introspection annotations has changed between 1.38
and 1.39, so we need to bump up the dependency in order to get the new
scanner. Introspection should be updated in lock-step with GLib, so we
should also bump up the required GLib version.
2014-12-15 23:45:01 +00:00
Emmanuele Bassi
3113f4521b Fix the version number
This is a development cycle.
2014-12-15 23:12:43 +00:00
Emmanuele Bassi
be06792919 Bump up the version to 1.21.1 2014-12-11 22:35:13 +00:00
Emmanuele Bassi
28cd2c56d1 Post-release version bump to 1.20.1 2014-09-22 11:48:37 +01:00
Emmanuele Bassi
e0834bfece Release Clutter 1.20.0 2014-09-22 11:31:23 +01:00
Emmanuele Bassi
3f4d5c3e47 Post-release version bump to 1.19.11 2014-09-17 15:07:33 +01:00
Emmanuele Bassi
db69380773 Release Clutter 1.19.10 2014-09-17 15:02:30 +01:00
Emmanuele Bassi
5d012cba7b Post-release version bump to 1.19.9 2014-08-21 15:43:06 +01:00
Emmanuele Bassi
0ed53b6290 Release Clutter 1.19.8 2014-08-21 15:35:37 +01:00
Emmanuele Bassi
fd59df9710 build: Remove experimental notice for wayland/evdev
Both backends are built via CI and used by GNOME, so they should not be
considered experimental any more.
2014-08-21 15:24:54 +01:00
Emmanuele Bassi
8e56cef40b Post-release version bump to 1.19.7 2014-07-24 00:20:26 +01:00
Emmanuele Bassi
1e07fd7d7f Release Clutter 1.19.6 (snapshot) 2014-07-24 00:12:47 +01:00
Emmanuele Bassi
9c74b98310 Post-release version bump to 1.19.5 2014-06-25 17:09:23 +01:00
Emmanuele Bassi
d541efca2f Release Clutter 1.19.4 (snapshot) 2014-06-25 17:02:00 +01:00
Emmanuele Bassi
2a3498d6c9 build: Warn for experimental input backend 2014-06-25 12:21:39 +01:00
Emmanuele Bassi
3b77e5565c Bump up the requirement for libinput
There have been API breakages in libinput since 0.3.0.
2014-06-25 12:21:39 +01:00
Jonas Ådahl
61929e26e1 evdev: Used floating point instead of fixed point numbers
Following the API change in libinput, change the uses of fixed point
numbers to floating point numbers.

https://bugzilla.gnome.org/show_bug.cgi?id=731178
2014-06-10 10:39:42 +01:00
Emmanuele Bassi
eb734e8b62 Post-release version bump to 1.19.3 2014-05-28 23:09:22 +01:00
Emmanuele Bassi
be060f4480 Release Clutter 1.19.2 2014-05-28 23:00:10 +01:00
Emmanuele Bassi
1eb6f2420b Bump to 1.19.1 2014-05-19 17:55:40 +01:00
Emmanuele Bassi
6f370079ce Post-release version bump to 1.18.3 2014-04-14 23:19:51 +01:00
Emmanuele Bassi
9cb351f393 Release Clutter 1.18.2 2014-04-14 22:53:19 +01:00
Vadim Rutkovsky
b2e8bbe9e9 Add 1.10 as a valid lcov version
https://bugzilla.gnome.org/show_bug.cgi?id=728177
2014-04-14 15:38:40 +02:00
Emmanuele Bassi
8c9b5d0568 Bump the dependency of Cogl to 1.17.5
The EGL/KMS backend requires unreleased API.

https://bugzilla.gnome.org/show_bug.cgi?id=726703
2014-03-19 22:01:53 +00:00
Emmanuele Bassi
6414c01719 Post-release version bump to 1.18.1 2014-03-18 14:26:54 +00:00
Emmanuele Bassi
e0f19ab2c9 Release Clutter 1.18.0 2014-03-18 14:15:01 +00:00
Emmanuele Bassi
f0ac5e176f Require GTK-Doc 1.20
We want the fancy new MarkDown parser.
2014-03-18 14:15:01 +00:00
Emmanuele Bassi
386be83f24 New visibility handling in Clutter
Instead of listing every public symbol inside an ancillary file, we can
use compiler annotations. This scheme is also used by GLib and GTK+.

The symbols file is left in tree until the Visual Studio rules are
fixed, but it's not used any more during distcheck.

I double-checked that the exposed ABI is the same before and after this
change, except for symbols that were never meant to be public in the
first place, and that escaped our attention when we generated the first
version of the symbols file.
2014-03-17 19:26:49 +00:00
Emmanuele Bassi
016eb45fee Post-release version bump to 1.17.7 2014-03-04 01:35:36 +00:00
Emmanuele Bassi
3c2081fce4 Release Clutter 1.17.6 2014-03-04 01:29:07 +00:00
Rui Matos
b9abda52b6 build: Bump required libinput version to the actually released 0.1.0 2014-02-27 10:59:15 +01:00
Jonas Ådahl
dacb515e27 evdev: Port evdev input backend to libinput
Instead of having its own evdev input device processing implementation,
make clutter's evdev backend use libinput to do input device processing
for it.

Two GObject parameters of ClutterInputDeviceEvdev (sysfs-path and
device-path) are removed as they are not used any more.

Before ClutterDeviceManagerEvdev had one virtual core keyboard and one
virtual core pointer device. These are now instead separated into seats,
which all have one virtual core keyboard and pointer device respectively.

The 'global' core keyboard and pointer device are the core keyboard and
pointer device of the first seat that is created.

A ClutterInputDeviceEvdev can, as before, both represent a real physical
device or a virtual device, but is now instead created either via
_clutter_input_device_evdev_new() for real devices, and
_clutter_input_device_new_virtual() for virtual devices.

XKB state and button state is moved to the seat structure and is thus
separated per seat. Seats are not a concept exposed outside of clutter's
evdev backend.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>

https://bugzilla.gnome.org/show_bug.cgi?id=720566
2014-02-27 09:57:29 +01:00
Emmanuele Bassi
75f2b1c5c2 Post-release version bump to 1.17.5 2014-02-19 13:30:45 +00:00
Emmanuele Bassi
7fe74f58cb Release Clutter 1.17.4 (snapshot) 2014-02-19 13:24:22 +00:00
Emmanuele Bassi
2662788bbc build: Add -Werror=logical-op
Caught a couple of checks that evaluated to always true.

https://bugzilla.gnome.org/show_bug.cgi?id=711540
2014-02-10 17:43:16 +00:00
Emmanuele Bassi
762e9a05e4 Bump the Cogl dependency
In order to build the cookbook examples, we need a version of Cogl-Path
that correctly exports all its symbols; this has been fixed in Cogl only
after the 1.17.2 snapshot was made.
2014-01-23 12:45:48 +00:00
Emmanuele Bassi
f1ffbd50b7 Post-release version bump to 1.17.3 2014-01-23 12:45:20 +00:00
Emmanuele Bassi
a5b04f58a0 Release Clutter 1.17.2 2014-01-23 12:28:19 +00:00
Emmanuele Bassi
b7b09bd0ce Check for cairo_surface_set_device_scale()
Like gtk+, we don't want to bump the dependency of Clutter for that
function alone.

https://bugzilla.gnome.org/show_bug.cgi?id=705915
2014-01-20 12:26:46 +00:00
Emmanuele Bassi
2a660fa298 Fully rework the conformance test suite
The current conformance test suite is suboptimal in many ways.

All tests are built into the same binary, which makes adding new tests,
builting tests, and running groups of tests much more awkward than it
needs to be. The first issue, especially, raises the bar of contribution
in a significant way, while the other two take their toll on the
maintainer. All of these changes were introduced back when we had both
Clutter and Cogl tests in tree, and because we were building the test
suite for every single change; since then, Cogl moved out of tree with
all its tests, and we build the conformance test suite only when running
the `check` make target.

This admittedly large-ish commit changes the way the conformance test
suite works, taking advantage of the changes in the GTest API and test
harness.

First of all, all tests are now built separately, using their own test
suite as defined by each separate file. All tests run under the TAP
harness provided by GTest and Automake, to gather a proper report using
the Test Anything Protocol without using the `gtester` harness and the
`gtester-report` script. We also use the Makefile rules provided by GLib
to vastly simplify the build environment for the conformance test suite.

On top of the changes for the build and harness, we also provide new API
for creating and running test suites for Clutter. The API is public,
because the test suite has to use it, but it's minimal and mostly
provides convenience wrappers around GTest that make writing test units
for Clutter easier.

This commit disables all tests in the conformance test suite, as well as
moving the data files outside of the tests/data directory; the next few
commits will re-establish the conformance test suite separately so we
can check that everything works in a reliable way.
2013-12-12 18:51:11 +00:00
Robert Bragg
d4aed66821 Check for cogl-path as a separate package
In Cogl 1.17 libcogl-path has been split out from libcogl and now has
its own corresponding cogl-path-1.0 pkg-config file which we check for
during build configuration.

Note: this bumps the required cogl version up to 1.17.1
2013-12-11 18:53:44 +00:00
Rui Matos
3cd9a70fea device-manager-evdev: Stop using deprecated libevdev API
Fixes compiler warnings with libevdev >= 0.4 and makes use of a new
function to set the clock id instead of doing the ioctl directly.

https://bugzilla.gnome.org/show_bug.cgi?id=712816
2013-11-21 19:34:15 +01:00
Emmanuele Bassi
45f30d221f New release cycle, new interface age 2013-11-21 13:23:00 +00:00
Emmanuele Bassi
492291d629 Bump up the dependency on Cogl 2013-11-21 13:22:59 +00:00
Emmanuele Bassi
09c06d08ca docs: Remove mentions of XFixes dependency
Clutter does not use nor depend on XFixes any more.
2013-11-21 13:22:59 +00:00
Jasper St. Pierre
0fda81feab Remove use of XFixes for showing/hiding the cursor
XFixesShowCursor / XFixesHideCursor does not actually take the suppled
window argument into account -- the effect is actually global. Use
XDefineCursor instead.

https://bugzilla.gnome.org/show_bug.cgi?id=707071
2013-11-14 18:34:40 +00:00
Emmanuele Bassi
ef7ad913da Bump up version to 1.17.1 2013-11-14 18:34:39 +00:00
Emmanuele Bassi
18f71891ce Post-release version bump to 1.16.1 2013-09-24 00:56:40 +01:00
Emmanuele Bassi
eae876c44e Release Clutter 1.16.0 2013-09-24 00:45:33 +01:00
Emmanuele Bassi
c3711d302f Post-release version bump to 1.15.97 2013-09-20 11:15:09 +01:00
Emmanuele Bassi
aad96558ae Release Clutter 1.15.96 (snapshot) 2013-09-20 11:06:03 +01:00
Emmanuele Bassi
c03f7727f7 Post-release version bump to 1.15.95 2013-09-19 23:10:50 +01:00
Emmanuele Bassi
fbf8d9c66a Release Clutter 1.15.94 (snapshot) 2013-09-19 22:58:43 +01:00
Giovanni Campagna
cd1749a2a5 evdev: switch to libevdev for fetching the events
libevdev is a library that wraps the evdev subsystem, with
the ability to synchronize the state after a SYN_DROPPED event
from the kernel.

https://bugzilla.gnome.org/show_bug.cgi?id=706494
2013-09-09 13:24:19 +02:00
Emmanuele Bassi
c141bda460 Post-release version bump to 1.15.93 2013-09-02 23:59:14 +01:00
Emmanuele Bassi
d38e7127fe Release Clutter 1.15.92 (snapshot) 2013-09-02 23:40:41 +01:00
Emmanuele Bassi
8f88ada0c6 build: Depend on Cogl 1.15.9
The laxy texture allocation has been removed from Cogl 1.15, so we need
to depend on the new developers snapshot.
2013-09-02 17:06:03 +01:00
Emmanuele Bassi
f3f0dff16a Revert "Depend on the cogl-path-1.0 pkg-config file"
This reverts commit b6fc4a810f.

It seems that the Cogl/Cogl-Path split was not meant to break API/ABI,
so we should not check for a new dependency. Let's revert the commit,
and wait for Cogl to get fixed instead.
2013-08-20 11:26:11 +01:00
Emmanuele Bassi
b6fc4a810f Depend on the cogl-path-1.0 pkg-config file
The CoglPath API has been split from the main Cogl SO, and we need to
add it as a dependency.

https://bugzilla.gnome.org/show_bug.cgi?id=706367
2013-08-20 10:54:52 +01:00
Emmanuele Bassi
6a4a8b584b Post-release version bump to 1.15.91 2013-08-20 00:21:40 +01:00
Emmanuele Bassi
ee6be96a3b Release Clutter 1.15.90 2013-08-20 00:09:28 +01:00
Emmanuele Bassi
97bf60f6ec Show if we are installing the tests in the configure summary 2013-08-19 23:22:38 +01:00
Jasper St. Pierre
e38ea7a20f x11: Remove support for XInput 1
Now we either use core X11 or XInput 2.

https://bugzilla.gnome.org/show_bug.cgi?id=703969
2013-07-11 14:03:43 -04:00
Neil Roberts
2db5ae56cf Bump the required Cogl version to 1.15.1
The unstable Wayland API which Clutter is using has changed so it will
soon no longer build with Cogl 1.14 when Wayland support is enabled.

https://bugzilla.gnome.org/show_bug.cgi?id=703877
2013-07-10 13:28:11 +01:00
Emmanuele Bassi
dfe6198563 Post-release version bump to 1.15.3 2013-07-10 13:24:12 +01:00
Emmanuele Bassi
88f6bcdf73 Release Clutter 1.15.2 (snapshot) 2013-07-10 12:32:25 +01:00
Emmanuele Bassi
13e3fc286d build: Bump up the GLib dependency
We need the new macros for declaring private instance data.
2013-07-03 14:01:36 +01:00
Emmanuele Bassi
1fb0295ba1 build: Enable Cogl support with Wayland
The Wayland backend is based on Cogl, so we need to turn on the
SUPPORT_COGL flag to avoid breaking the build; this always went
unnoticed because we usually build the Wayland client backend
with the X11 backend.

Reported-by: Ross Burton <ross.burton@intel.com>
2013-06-27 16:42:40 +01:00
Matthias Clasen
e98f32b7c8 Install conformance tests
Install the conformance tests, and metadata to run them
with gnome-desktop-testing-runner.

https://bugzilla.gnome.org/show_bug.cgi?id=702941
2013-06-23 23:28:19 -04:00
Emmanuele Bassi
75702fde4d Bump the requirement for Cogl to its stable release 2013-04-04 11:53:38 +01:00
Emmanuele Bassi
197eae2e00 build: Disable debugging code in stable releases
Pretty much what GLib and GTK+ do, and the 1.x cycle has gone on for a
while, now.
2013-03-13 15:05:27 -03:00
Emmanuele Bassi
e72d27815b build Bump to 1.15.1
In theory, master should become 1.99 at some point, but if we do that
all Hell breaks loose, so let's use 1.15 for the time being.
2013-03-04 12:24:23 +00:00
Adel Gadllah
3f9ae47029 build: Bump cogl requirement
This is needed for the buffer_age changes.
2013-02-06 21:31:01 +01:00
Emmanuele Bassi
f7f2635fbf Post-release version bump to 1.13.3 2012-12-18 01:57:23 +00:00
Emmanuele Bassi
790ecbaf94 Release Clutter 1.13.2 2012-12-18 01:40:39 +00:00
Rob Bradford
4316592c2f wayland: Add wayland-client to pkg-config flags 2012-10-12 18:42:55 +01:00
Emmanuele Bassi
834c18c3fd Post-branch version bump to 1.13.1 2012-10-05 17:37:48 +01:00
Emmanuele Bassi
ab011c44ac Post-release version bump to 1.12.1 2012-09-24 17:46:10 +01:00
Emmanuele Bassi
075aa21b3a Release Clutter 1.12.0 2012-09-24 17:27:05 +01:00
Emmanuele Bassi
26eb599997 Post-release version bump to 1.11.17 2012-09-17 22:59:11 +01:00
Emmanuele Bassi
ec96435f2f Release Clutter 1.11.16 (snapshot) 2012-09-17 22:48:44 +01:00
Emmanuele Bassi
2ed703cf06 Post-release version bump to 1.11.15 2012-09-03 22:48:52 +01:00
Emmanuele Bassi
9019a3754f Release Clutter 1.11.14 (snapshot) 2012-09-03 22:34:52 +01:00
Emmanuele Bassi
7b89b5de8c Post-release version bump to 1.11.13 2012-08-20 20:31:07 +01:00
Emmanuele Bassi
062491cf11 Release Clutter 1.11.12 (snapshot) 2012-08-20 19:41:36 +01:00
Emmanuele Bassi
b58f00cb9a Post-release version bump to 1.11.11 2012-08-07 09:58:23 +01:00
Emmanuele Bassi
8b2d70e6e4 Release Clutter 1.11.10 (snapshot) 2012-08-07 09:45:58 +01:00
Emmanuele Bassi
81cbb33cc5 build: Some warnings should always stop compilation
Not every single one, but things that we care about to avoid breaking
build on other platforms, or for security issues, should not be allowed.

We should not force everyone to use -Werror, though; and we should still
allow building Clutter without any special flag.
2012-07-30 10:54:18 +01:00
Emmanuele Bassi
9f83b64182 build: Move config.h under clutter/
We should not have header files in the project root.
2012-07-30 10:54:18 +01:00
Emmanuele Bassi
d3870c64ea Post-release version bump to 1.11.9 2012-07-16 19:11:53 -04:00
Emmanuele Bassi
46694f6c61 Release Clutter 1.11.8 2012-07-16 19:00:26 -04:00
Alejandro Piñeiro
a8c829019f a11y: remove implementation for [add/remove]_global_event_listener
Since release 2.5.3, ATK provides an implementation for those
methods, so toolkits doesn't need to implement them.
2012-06-27 14:40:56 +02:00
Emmanuele Bassi
5e5295ab13 Post-release version bump to 1.11.7 2012-06-25 23:59:39 +01:00
Emmanuele Bassi
0ab74e52da Release Clutter 1.11.6 2012-06-25 23:52:07 +01:00
Emmanuele Bassi
5eb3fbf3cf build: Add coverage support using lcov
Unlike gcov, lcov provides a nice HTML output that allows immediate
visualization of the current coverage.

The updates of the build system have been taken from GLib, which has
been using lcov for a while with good results.
2012-06-19 14:55:10 +01:00
Emmanuele Bassi
c4acae7752 build: Remove gcov from the build
We want to switch to lcov, so let's start with a clean slate.
2012-06-19 14:55:10 +01:00
Tomeu Vizoso
b339b845cb tests: Add unit test for touch event handling
For now, it just generates a simple horizontal slide (by writing
to /dev/uinput) and checks that the stage gets the events at the
expected coordinates.

The test won't run if it doesn't have read/write permissions to
/dev/uinput.

It also adds OS_LINUX to config.h.
2012-06-07 12:12:56 +02:00