Commit Graph

9326 Commits

Author SHA1 Message Date
Emmanuele Bassi
c6e40de500 actor: Warn on adding/removing itself as a child
ClutterActor should warn if a user tries to add or remove an actor to,
and from, itself on the scene graph.

Clutter will likely crash, or warn way down the line, but if we can make
debugging simpler then we should.
2016-03-29 15:09:26 +01:00
Jeff Bai
c1818efb18 update zh_CN translation 2016-03-26 15:27:25 +08:00
Inaki Larranaga Murgoitio
85183a14b7 Updated Basque language 2016-03-23 17:05:22 +01:00
Ask Hjorth Larsen
a208fdd0b9 Updated Danish translation 2016-03-21 22:28:10 +01:00
Emmanuele Bassi
449b8ec9f5 Post-release version bump to 1.26.1 2016-03-21 14:34:48 +00:00
Emmanuele Bassi
3f1b0adb9d Release Clutter 1.26.0 2016-03-21 14:24:59 +00:00
Ask Hjorth Larsen
8ea58124c7 Updated Danish translation 2016-03-20 23:45:13 +01:00
Stas Solovey
8d08ef12a5 Updated Russian translation 2016-03-04 21:44:34 +00:00
Rūdolfs Mazurs
3d4a7cd4a4 Update Latvian translation 2016-03-03 22:10:32 +02:00
Efstathios Iosifidis
4ea63af3cd Updated Greek translation 2016-03-01 23:27:20 +00:00
Jordi Mas
b93e70d306 Update Catalan translation 2016-02-28 16:41:33 +01:00
Emmanuele Bassi
e62a6376a5 gdk: Disable deprecation warnings
For the GDK backend We're using the GdkDeviceManager API, which maps to
Clutter's own device manager API. GDK has now moved to a per-seat device
management model, and deprecated the device manager singleton one.

In order to avoid the deprecation warnings, we'd have to implement a
model similar to the GDK one inside the generic Clutter API, but that
would also require moving all the others backend to it, which is pretty
pointless.

Instead, we can disable deprecation warnings for the
ClutterDeviceManager implementation inside the GDK backend.
2016-02-28 12:43:43 +00:00
Cédric Valmary
2bbadcaa89 Added Occitan translation 2016-02-27 22:40:39 +00:00
Chun-wei Fan
a99dd7555b clutter/config.h.win32.in: Keep in sync with autotools builds
This updates config.h.win32.in to be in-sync with the entries that are in
the config.h.in that is generated by the autotools builds.  In particular,
for Visual Studio builds, we default to enable all available drivers ("*").
2016-02-27 20:48:51 +08:00
Emmanuele Bassi
2b0ff2f2ba cally: Avoid clone spamming state changes
Clones may generate a temporary map/unmap on their source when painting;
this, in turn, will generate unnecessary ATK state changes.

https://bugzilla.gnome.org/show_bug.cgi?id=756371
2016-02-24 12:03:37 +00:00
Emmanuele Bassi
c867e9d941 actor: Expand is_in_clone_paint() check
The function should return true not only if the actor is being painted
by a ClutterClone, but also if it's inside a sub-graph being painted by
a ClutterClone.

https://bugzilla.gnome.org/show_bug.cgi?id=756371
2016-02-24 12:03:37 +00:00
Марко Костић
6240b1a228 Updated Serbian translation 2016-02-23 18:36:16 +00:00
Jordi Mas
92716e7719 Update Catalan translation 2016-02-22 20:49:10 +01:00
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