Commit Graph

21507 Commits

Author SHA1 Message Date
7ed96aabd8 grid: Use the proper orientation for the request mode
We automatically switch the request mode of the container depending on
the GridLayout's orientation, but we need to keep track of the request
mode during allocation, so that we don't get out of sync if the user
changed the request mode after adding the layout manager.

This change also brings us closer to the code in GtkGrid.
2015-09-03 14:18:33 +01:00
b7707e2139 build: Tweak spaces in the silent rules
The spacing between the directive and the argument has changed inside
automake, so we need to match it with our own homegrown rules.
2015-09-03 12:21:35 +01:00
90ee95d587 build: Update enum generation rules
Need to be aware of $srcdir, to allow for builddir != srcdir.
2015-09-03 12:21:02 +01:00
6f29e6f406 build: Enable subdir-objects
Depend on a more recent version of automake, and use the
forward-compatible subdir-objects option.
2015-09-03 09:03:39 +01:00
f01c28259f build: Add -Werror=maybe-uninitialized
Should help us catch more edge cases.
2015-09-03 08:59:52 +01:00
ca5226513e Initialize out variables
Avoids a compiler warning with strict compilation flags.
2015-09-03 08:58:44 +01:00
8a7304ee7d Updated Lithuanian translation 2015-09-02 21:13:29 +03:00
41bde79cf6 Updated Slovak translation 2015-09-01 08:15:40 +00:00
5ae744c835 Updated Hungarian translation 2015-08-31 15:32:01 +00:00
3bb58de170 Updated Hebrew translation 2015-08-30 11:12:55 +03:00
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
ed80a4bebb Updated Slovak translation 2015-08-29 15:58:00 +00:00
6b7cfceb5e Updated Greek translation 2015-08-28 20:50:07 +00:00
6bcbd1bfce Updated Indonesian translation 2015-08-28 13:02:13 +00:00
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
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
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
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
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
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
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
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
fe8454d13f Updated Polish translation 2015-08-26 18:51:15 +02:00
84ad306a65 Updated Polish translation 2015-08-26 17:38:58 +02:00
53a6d16891 Updated Chinese (Taiwan) translation 2015-08-26 12:50:50 +00:00
afd7597f2d Updated Chinese (Taiwan) translation 2015-08-26 12:26:24 +00:00
6e6d5b152b Updated Chinese (Taiwan) translation 2015-08-25 22:51:41 +00:00
e26a0c3afc Updated Galician translations 2015-08-25 15:51:15 +02:00
e10fd2d4c0 Updated Spanish translation 2015-08-25 11:01:18 +02:00
8f20f86a80 Updated Portuguese translation 2015-08-25 06:20:10 +00:00
81a560f9bf Updated French translation 2015-08-24 16:02:38 +00:00
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
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
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
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
6cc12adf4d Post-release version bump to 1.23.7 2015-08-21 15:02:47 +01:00
113b7bac51 Release Clutter 1.23.6 2015-08-21 14:47:04 +01:00
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
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
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
7fb7aba0ed Post-release version bump to 1.21.3 2015-08-21 11:49:57 +01:00
4a3c16f4bd Release Cogl 1.21.2 (snapshot) 2015-08-21 11:42:48 +01:00
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
637be80c86 Bump version to 3.17.90
Update NEWS.
3.17.90
2015-08-20 11:58:17 +02:00
956eec7964 conform/actor-pick: Add more verbose output on failure
Should help diagnosing issues.
2015-08-19 17:34:44 +01:00
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
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
cff048a650 Updated Galician translations 2015-08-17 01:18:03 +02:00
83869a17ea Updated French translation 2015-08-15 11:37:47 +00:00
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