Commit Graph

9308 Commits

Author SHA1 Message Date
Anders Jonsson
b1049608da Updated Swedish translation 2016-02-21 21:15:57 +00:00
Мирослав Николић
17dc05f241 Updated Serbian translation 2016-02-18 20:55:07 +01:00
Emmanuele Bassi
be7fa8c2cb Post-release version bump to 1.25.7 2016-02-18 18:51:47 +00:00
Emmanuele Bassi
ee68130efe Release Clutter 1.25.6 2016-02-18 18:41:49 +00:00
Emmanuele Bassi
483a4bb00e build: Use AC_COMPILE_IFELSE
Instead of AC_TRY_COMPILE, which has been deprecated by newer autoconf.
2016-02-18 17:19:09 +00:00
Milo Casagrande
86bc2f43bc Updated Italian translation 2016-02-18 13:08:14 +00:00
Fran Dieguez
9a353e5ba9 Updated Galician translations 2016-02-16 23:47:36 +01:00
Jonas Ådahl
8181ef15d6 evdev: Pass a motion delta to pointer constrain callback
The constrain callback cannot rely on the pointer position of the
corresponding ClutterInputDevice to get the actual delta of the motion
event that is to be constrained since it is only updated when an event is
dispatched. So change the API to pass the previous pointer position when
constraining.

https://bugzilla.gnome.org/show_bug.cgi?id=752752
2016-02-16 18:53:58 +08:00
Jonas Ådahl
52e38d1ab7 evdev: Expose microsecond timestamps via the clutter evdev API
This is needed by Wayland compositors for certain types of events.

https://bugzilla.gnome.org/show_bug.cgi?id=752752
2016-02-16 18:24:23 +08:00
Jonas Ådahl
9214d5029c evdev: Use microsecond granularity for internal timestamps
It's what libinput uses internally, and it'll be exposed in a later
patch.

https://bugzilla.gnome.org/show_bug.cgi?id=752752
2016-02-16 18:24:23 +08:00
Jonas Ådahl
a598917e07 evdev: Provide the relative pointer motion event deltas
Compositors need more detailed information about motion events. Make it
possible to retrieve this information when running the evdev backend by
adding the information to the backend specific event struct.

https://bugzilla.gnome.org/show_bug.cgi?id=752752
2016-02-16 18:24:23 +08:00
Jonas Ådahl
a10200509e evdev: Recycle device ids after devices are removed
In order to not grow the device id number forever, recycle the ids
whenever a device is released.

https://bugzilla.gnome.org/show_bug.cgi?id=755849
2016-02-16 18:24:23 +08:00
Chao-Hsiung Liao
3a8ba7b173 Updated Chinese (Taiwan) translation 2016-02-13 06:30:20 +00:00
Alexandre Franke
29babef8b1 Updated French translation 2016-02-08 07:35:50 +00:00
Dušan Kazik
697dfc083c Updated Slovak translation 2016-02-07 19:02:11 +00:00
Piotr Drąg
04c76d3b70 Updated Polish translation 2016-02-06 15:37:42 +01:00
Alexander Shopov
0b2306bece Updated Bulgarian translation 2016-02-01 06:15:24 +02:00
Emmanuele Bassi
c624230a8a gdk: Enable swap throttling on full screen windows
Since commit 6183eb3632 we disabled swap
throttling in favour of being driven by the GDK frame clock (and thus by
the compositor).

Compositors may decide to unredirect full screen windows to avoid the
performance penalty of the additional copy, especially on X11, which
means that a Clutter application marked as full screen is not going to
be driven by the compositor, and it's not going to be throttled by the
underlying GL machinery. This has a performance impact on constrained
platforms.

For this reason, we should re-enable swap throttling when the window is
full screen.

As the change was introduced especially because of Wayland, we should
check that we're not running as clients under a Wayland compositor; if
we do, we always keep swap throttling disabled, as the compositor will
always manage our output, even when full screen.
2016-01-25 18:48:49 +00:00
Gábor Kelemen
84b17220c0 Updated Hungarian translation 2016-01-25 11:21:48 +00:00
Emmanuele Bassi
26386c6026 Post-release version bump to 1.25.5 2016-01-21 16:20:02 +00:00
Emmanuele Bassi
0b7e2886f3 Release Clutter 1.25.4 2016-01-21 16:06:08 +00:00
Emmanuele Bassi
e1b9482600 docs: Add missing symbols 2016-01-21 15:58:30 +00:00
Carlos Garnacho
307cb58598 evdev: Add scroll source/finish flags info to scroll events.
Libinput tells us this much, so make use of it.

https://bugzilla.gnome.org/show_bug.cgi?id=757026
2016-01-14 19:12:17 +01:00
Carlos Garnacho
89c1c1e551 clutter-event: Add scroll source enum and axis scroll flags
Those can be used to implement different scrolling behaviors.
The fields have been added to ClutterScrollEvent itself. According
to pahole, this makes the struct as big as ClutterButtonEvent and
ClutterTouchEvent, so already at the limit of the ClutterEvent
union.

https://bugzilla.gnome.org/show_bug.cgi?id=757026
2016-01-14 19:12:17 +01:00
Aurimas Černius
9eaa7a78f6 Updated Lithuanian translation 2016-01-12 22:23:03 +02:00
Rafael Fontenelle
29f4254aec Updated Brazilian Portuguese translation 2016-01-05 20:08:24 +00:00
Yosef Or Boczko
abbf6ffeed Updated Hebrew translation 2015-12-31 17:19:47 +02:00
Mario Blättermann
d65f72655f Updated German translation 2015-12-28 20:42:59 +01:00
Marek Černocký
1020ceff33 Updated Czech translation 2015-12-24 00:39:26 +01:00
Aurimas Černius
b683a4c698 Updated Lithuanian translation 2015-12-20 14:58:44 +02:00
Daniel Mustieles
3f110d99d0 Updated Spanish translation 2015-12-17 19:11:21 +01:00
Emmanuele Bassi
1f46697c4f Post-release version bump to 1.25.3 2015-12-17 14:24:44 +00:00
Emmanuele Bassi
314ba2c6ac Release Clutter 1.25.2 (snapshot) 2015-12-17 14:14:24 +00:00
Emmanuele Bassi
879cc0763d docs: Add 1.26 symbols index 2015-12-17 14:06:48 +00:00
Emmanuele Bassi
f4f609b28f docs: Update sections file for missing macros 2015-12-17 13:55:08 +00:00
Matej Urbančič
1c9e297ae8 Updated Slovenian translation 2015-12-13 20:07:28 +01:00
Pedro Albuquerque
86a9272bed Updated Portuguese translation 2015-12-13 08:22:44 +00:00
Emmanuele Bassi
fae541ebf1 build: Rework the default rules for the EGL backend
So that we can set it to 'check', and do configure-time discovery of the
dependencies, instead of enabling it explicitly.

This should make it easier to spot build issues on environments like
Continuous, which build Clutter and Cogl for running as part of the
display server infrastructure on Wayland.
2015-12-11 16:39:32 +00:00
Emmanuele Bassi
a774ff5a09 egl: Rename backend constructor function
Otherwise the build will fail.
2015-12-11 16:23:09 +00:00
Emmanuele Bassi
7501f3b4f9 tests: Force X11 backend for the pixmap test
So it's usable as long as the X11 backend support is compiled into
Clutter — and we can use this test to check that overriding works
as intended.
2015-12-11 15:53:24 +00:00
Emmanuele Bassi
e9b5eb3045 Allow setting the default backend from the configuration file
We should allow a configuration file to set up the initial state of the
global state, which also implies being able to set the backend.

If the allowed backends have already been set programmatically via the
clutter_set_windowing_backend(), though, then the application code takes
precedence, as we assume that the application author knows better than
us what their code supports or requires.
2015-12-11 15:53:24 +00:00
Emmanuele Bassi
cc31ed77bd Read the config file when creating the global shared state
The configuration file should set up the global state before we
initialize it; instead of relying on implicit ordering, explicitly read
the configuration file once, when creating the global shared context
data structure.
2015-12-11 15:53:24 +00:00
Emmanuele Bassi
6d0d1deda2 backend: Ensure that Cogl drivers are set prior to initialization
It doesn't make sense for the allowed drivers to be changed after
Clutter has been initialized.
2015-12-11 15:53:24 +00:00
Emmanuele Bassi
10b74e7005 backend: Allow setting a list of windowing backends
Like CLUTTER_DRIVER, we want to allow users to specify a list of
backends to test, and fall back to the internally defined priority as a
default.

This requires changing the way the allowed backend string is parsed,
both for the CLUTTER_BACKEND environment variable and for the
clutter_set_windowing_backend() function. Existing callers are still
supported with the exact same semantics.
2015-12-11 15:53:23 +00:00
Emmanuele Bassi
7ca28e0974 Add internal constructor function for each backend
We're going to use it to create an instance of each backend without
using the get_type() function.
2015-12-11 14:23:38 +00:00
Emmanuele Bassi
407d7ca436 Allow overriding the list of Cogl drivers via configuration file
Clutter has a configuration file that can be used to override
various settings, including the ones from environment variables.
2015-12-10 16:52:45 +00:00
Emmanuele Bassi
bb23335b5f Add a configuration option for deciding the Cogl drivers to use
Using environment variables only is not convenient for all platforms,
and in some cases it's beneficial to decide the default driver when
building Clutter. Cogl already has a similar configuration switch, and
since Clutter is overriding the default Cogl behaviour, it should offer
the same mechanism.

https://bugzilla.gnome.org/show_bug.cgi?id=742678
2015-12-10 16:38:46 +00:00
Emmanuele Bassi
2c524fbf73 backend: Allow overriding the Cogl drivers chain
We have an hardcoded list of drivers we have to go through when creating
a Cogl context. Some platforms may expose those drivers, but not be the
preferred ones.

In order to allow users and system integrators to override the list of
drivers, we should crib the same approach used by GDK, and have an
environment variable with a list of drivers to try.

The new environment variable is called `CLUTTER_DRIVER` and accepts a
comma-separated list of driver names, which will be tested in sequence
until one succeeds. There's also an additional '*' token which is used
to ask Clutter to fall back to the internally defined preferred list of
drivers.

https://bugzilla.gnome.org/show_bug.cgi?id=742678
2015-12-10 16:38:46 +00:00
Emmanuele Bassi
b47e1616eb Fix annotation for bind_model()
The (optional) annotation should only be used for (out) arguments; in
arguments that can be NULL should use the (nullable) annotation.
2015-12-09 12:44:20 +00:00
Emmanuele Bassi
a166cc9f35 Fix definition of ClutterEventExtender
The interface vtable structure is missing the GTypeInterface parent, and
GObject is complaining about it, as it should.
2015-12-09 12:42:55 +00:00