Commit Graph

21951 Commits

Author SHA1 Message Date
Aurimas Černius
8a7304ee7d Updated Lithuanian translation 2015-09-02 21:13:29 +03:00
Dušan Kazik
41bde79cf6 Updated Slovak translation 2015-09-01 08:15:40 +00:00
Balázs Úr
5ae744c835 Updated Hungarian translation 2015-08-31 15:32:01 +00:00
Yosef Or Boczko
3bb58de170 Updated Hebrew translation 2015-08-30 11:12:55 +03:00
Emmanuele Bassi
dea5057fbd grid: Use the orientation of the request
We use the orientation of the grid to get the preferred size of the
layout, but we should be using the orientation of the request instead.
The preferred width has an orizontal orientation, and the preferred
height has a vertical orientation.

This allows us to refactor the get_preferred_* implementation into a
separate function.
2015-08-29 20:38:29 +01:00
Dušan Kazik
ed80a4bebb Updated Slovak translation 2015-08-29 15:58:00 +00:00
Tom Tryfonidis
6b7cfceb5e Updated Greek translation 2015-08-28 20:50:07 +00:00
Andika Triwidada
6bcbd1bfce Updated Indonesian translation 2015-08-28 13:02:13 +00:00
Jonas Ådahl
d3fdaa3232 MetaCursorSprite: Put renderer specific code in the renderer
There were lots of code handling the native renderer specific cases;
move these parts to the renderer. Note that this causes the X11 case to
always generate the texture which is a waste of memory, but his
regression will be fixed in a following commit.

The lazy loading of the texture was removed because it was eventually
always loaded anyway indirectly by the renderer to calculate the
current rect.

https://bugzilla.gnome.org/show_bug.cgi?id=744932
2015-08-28 09:55:12 +08:00
Jonas Ådahl
165050f8f9 backends: Get rid of meta-cursor-private.h
There is nothing special about the private API which only consists of
getters for renderer specific backing buffer. Lets them to the regular
.h file and treat them as part of the normal API.

https://bugzilla.gnome.org/show_bug.cgi?id=744932
2015-08-28 09:54:57 +08:00
Jonas Ådahl
68279e8a08 MetaWaylandPointer: Don't keep our own MetaCursorTracker pointer
There is no reason to, we can just retrieve it every time we need it.

https://bugzilla.gnome.org/show_bug.cgi?id=744932
2015-08-28 09:52:30 +08:00
Jonas Ådahl
cd1ce2cb0a MetaWaylandSurface: Make it a GObject
This way we can add signals and weak references without relying on
wl_signal, wl_listener etc.

https://bugzilla.gnome.org/show_bug.cgi?id=744932
2015-08-28 09:52:30 +08:00
Jonas Ådahl
b01f95cfdd Make MetaCursorSprite a GObject
To easier track lifetime and utilize other GObject features, make
MetaCursorSprite a GObject.

https://bugzilla.gnome.org/show_bug.cgi?id=744932
2015-08-28 09:52:30 +08:00
Jonas Ådahl
4b667d1e09 Rename MetaCursorReference to MetaCursorSprite
It isn't really a reference to a MetaCursor enum, but a reference
counted cursor sprite, and enum value.

https://bugzilla.gnome.org/show_bug.cgi?id=744932
2015-08-28 09:52:30 +08:00
Lionel Landwerlin
0e4d11bcd8 gdk: master clock: fix incorrect symbol use
https://bugzilla.gnome.org/show_bug.cgi?id=754134
2015-08-26 21:40:47 +01:00
Lionel Landwerlin
5b9c31a0ce gdk: fix memory corruption
g_hash_table_replace will free the list pointer we're modifying.
Let's just do memory management ourselves.

https://bugzilla.gnome.org/show_bug.cgi?id=754134
2015-08-26 21:40:41 +01:00
Piotr Drąg
fe8454d13f Updated Polish translation 2015-08-26 18:51:15 +02:00
Piotr Drąg
84ad306a65 Updated Polish translation 2015-08-26 17:38:58 +02:00
Chao-Hsiung Liao
53a6d16891 Updated Chinese (Taiwan) translation 2015-08-26 12:50:50 +00:00
Chao-Hsiung Liao
afd7597f2d Updated Chinese (Taiwan) translation 2015-08-26 12:26:24 +00:00
Chao-Hsiung Liao
6e6d5b152b Updated Chinese (Taiwan) translation 2015-08-25 22:51:41 +00:00
Fran Dieguez
e26a0c3afc Updated Galician translations 2015-08-25 15:51:15 +02:00
Daniel Mustieles
e10fd2d4c0 Updated Spanish translation 2015-08-25 11:01:18 +02:00
Pedro Albuquerque
8f20f86a80 Updated Portuguese translation 2015-08-25 06:20:10 +00:00
Alexandre Franke
81a560f9bf Updated French translation 2015-08-24 16:02:38 +00:00
Emmanuele Bassi
84c5846aa0 image: Use internal function for the texture node
ClutterActor has a convenience function that removes the need to query
the actor's state and apply it to a ClutterTextureNode, so we should use
it.
2015-08-24 10:01:03 +01:00
Emmanuele Bassi
af010d5e2d canvas: Use internal function for the texture node
ClutterActor has a convenience function that removes the need to query
the actor's state and apply it to a ClutterTextureNode, so we should use
it.
2015-08-24 09:59:53 +01:00
Emmanuele Bassi
cf7e37b53b actor: Add internal "create textute node" function
To avoid excessive copy and paste. We could even consider making it
public before release.
2015-08-24 09:59:16 +01:00
Jonas Ådahl
e76c3ecb00 wayland/pointer-gestures: Send error on protocol version mismatch
When a client binds an incompatible version, we should terminate it.
This check should only be there for the unstable version, as once it is
declared stable and renamed, future versions will be backward compatible.

https://bugzilla.gnome.org/show_bug.cgi?id=753855
2015-08-22 00:04:33 +08:00
Emmanuele Bassi
6cc12adf4d Post-release version bump to 1.23.7 2015-08-21 15:02:47 +01:00
Emmanuele Bassi
113b7bac51 Release Clutter 1.23.6 2015-08-21 14:47:04 +01:00
Emmanuele Bassi
38e983b8e9 docs: Fix a typo in the BoxLayout:homogeneous description
https://bugzilla.gnome.org/show_bug.cgi?id=753895
2015-08-21 12:11:05 +01:00
Emmanuele Bassi
fe422ab61c gdk: Use non-deprecated/non-Clutter specific X11 API
We are currently using deprecated/Clutter-specific API in Cogl to
retrieve the XVisualInfo associated with the (E)GLX context. Cogl 1.21.2
added new CoglRenderer API to achieve the same result.
2015-08-21 11:58:52 +01:00
Emmanuele Bassi
f5409ecd3a Bump up requirement for Cogl
We're going to use API added in Cogl 1.21.
2015-08-21 11:57:59 +01:00
Emmanuele Bassi
7fb7aba0ed Post-release version bump to 1.21.3 2015-08-21 11:49:57 +01:00
Emmanuele Bassi
4a3c16f4bd Release Cogl 1.21.2 (snapshot) 2015-08-21 11:42:48 +01:00
Emmanuele Bassi
f4635b6bd2 Do not explicitly enable GLES v1 on distcheck
Mesa packagers disabled it explicitly on Fedora since 2013, and it makes
sense not to have people target an obsolete, barely supported API.
2015-08-21 11:41:14 +01:00
Florian Müllner
637be80c86 Bump version to 3.17.90
Update NEWS.
2015-08-20 11:58:17 +02:00
Emmanuele Bassi
956eec7964 conform/actor-pick: Add more verbose output on failure
Should help diagnosing issues.
2015-08-19 17:34:44 +01:00
Jonas Ådahl
975feb9202 MetaCursorRenderer: Use G_DECLARE_DERIVABLE_TYPE to declare the type
https://bugzilla.gnome.org/show_bug.cgi?id=744932
2015-08-19 16:43:44 +08:00
Jasper St. Pierre
a5417ebee1 cursor: Move check for cursor NULL-ness
Before, it used to be in the screen, but now,
meta_cursor_reference_from_theme can never fail. Move it to where we
load the images from the cursor name.
2015-08-18 13:59:29 -07:00
Fran Dieguez
cff048a650 Updated Galician translations 2015-08-17 01:18:03 +02:00
Alexandre Franke
83869a17ea Updated French translation 2015-08-15 11:37:47 +00:00
Carlos Garnacho
b64b159109 wayland: Avoid warning when switching out into another vt
meta_wayland_pointer_get_client_pointer() may be called when the
MetaWaylandPointer as been already shut down, so the hash table will be
NULL at that moment.
2015-08-14 14:48:43 +02:00
Carlos Garnacho
804ab7894f wayland: Use wl_resource_for_each_safe() on pointer client destruction
We must use this by definition since we're removing all elements from the
resource lists.
2015-08-14 14:46:27 +02:00
Rui Matos
299ed424d3 compositor: Handle fences in the frontend X connection
Since mutter has two X connections and does damage handling on the
frontend while fence triggering is done on the backend, we have a race
between XDamageSubtract() and XSyncFenceTrigger() causing missed
redraws in the GL_EXT_X11_sync_object path.

If the fence trigger gets processed first by the server, any client
drawing that happens between that and the damage subtract being
processed and is completely contained in the last damage event box
that mutter got, won't be included in the current frame nor will it
cause a new damage event.

A simple fix for this would be XSync()ing on the frontend connection
after doing all the damage subtracts but that would add a round trip
on every frame again which defeats the asynchronous design of X
fences.

Instead, if we move fence handling to the frontend we automatically
get the right ordering between damage subtracts and fence triggers.

https://bugzilla.gnome.org/show_bug.cgi?id=728464
2015-08-13 14:14:46 +02:00
Daniel Mustieles
c73d8f82a0 Updated Spanish translation 2015-08-12 08:58:43 +02:00
Emmanuele Bassi
9a10c3cbee Add an explicit dep on GIO
We use GIO types in the API, so we cannot just rely on our dependencies
to add GIO.
2015-08-11 09:14:19 +01:00
Carlos Garnacho
55692b4019 wayland: Implement wl_pointer_gestures
The global wl_pointer_gestures object is now created, effectively
bridging pinch/swipe gestures with clients, so they're now
accessible to clients implementing the protocol.
2015-08-10 17:30:12 +02:00
Carlos Garnacho
2fafa24305 wayland: Implement the wl_pointer_gesture_pinch interface
The pinch gesture resources are part of the MetaWaylandPointerClient, which
will be used during the propagation of CLUTTER_TOUCHPAD_PINCH events.
2015-08-10 17:23:23 +02:00