21771 Commits

Author SHA1 Message Date
Neil Roberts
2f3591ace0 cogland: Fix handling the destroy listener for the pending buffer
The handler for the destroy signal on the pending buffer was not
correctly being removed if the same buffer is committed twice to the
surface. It was also not being cleared if the surface is destroyed
before the pending buffer is committed.

Reviewed-by: Robert Bragg <robert@linux.intel.com>

(cherry picked from commit 11683476a7a62cd14a10d84fd52f2cb4b47e33a0)
2013-04-22 13:00:25 +01:00
Simon McVittie
c2a9ccb7e2 Let the UI layer (via the core) construct the frame mask
This essentially just moves install_corners() from the compositor, through
the core, into the UI layer where it arguably should have been anyway,
leaving behind stub functions which call through the various layers. This
removes the compositor's special knowledge of how rounded corners work,
replacing it with "ask the UI for an alpha mask".

The computation of border widths and heights changes a bit, because the
width and height used in install_corners() are the
meta_window_get_outer_rect() (which includes the visible borders but not
the invisible ones), whereas the more readily-available rectangle is the
MetaFrame.rect (which includes both). Computing the same width and height
as meta_window_get_outer_rect() involves compensating for the invisible
borders, but the UI layer is the authority on those anyway, so it seems
clearer to have it do the calculations from scratch.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=697758
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
2013-04-17 13:35:06 +01:00
Stef Walter
4608cb6027 Fix use of uninitialized variables
If mutter is going to -Werror by default, then it can play footloose
and fancy free with this sorta stuff.

https://bugzilla.gnome.org/show_bug.cgi?id=698179
2013-04-17 11:58:43 +02:00
Andreas Oberritter
a2168cedb3 cogl-xlib.h: add missing COGL_END_DECLS
Fixes compilation with C++ compiler.

Signed-off-by: Andreas Oberritter <obi@saftware.de>
Reviewed-by: Robert Bragg <robert@linux.intel.com>

(cherry picked from commit 7b3c6dd7f6810f3c8dec62904daa887c917ab7e2)
2013-04-16 19:50:09 +01:00
Florian Müllner
ad61676af0 Bump version to 3.8.1
Update NEWS.
3.8.1
2013-04-16 20:38:36 +02:00
Simon McVittie
c7c1225393 MetaFrames: factor out MetaUIFrame accessors for borders, corner radiuses
This makes it a bit simpler for other functions on a MetaUIFrame to
get this information.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=697758
Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2013-04-12 17:55:00 +01:00
Rui Matos
c7dc6928a9 keybindings: Fix ungrabbing of keys
XUngrabKey() doesn't work for XI2 grabs and XI2 doesn't provide API
with similar functionality. As such, we have to refactor the code a
bit to be able to call XIUngrabKeycode() for each key binding, then
reload keybindings and finally grab the new ones.

https://bugzilla.gnome.org/show_bug.cgi?id=697003
2013-04-10 10:49:24 +02:00
Gheyret Kenji
7cfaa6a6a8 Updated Uyghur translation
Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
2013-04-06 18:45:17 +09:00
Piotr Drąg
06bb6f4c18 Updated POTFILES.in 2013-04-05 22:50:36 +02:00
Enrico Nicoletto
76ee3e7671 Updated Brazilian Portuguese translation 2013-04-05 16:51:15 -03:00
Emmanuele Bassi
4d7a2cdcf4 2.0: Update POTFILES.in 2013-04-05 18:48:04 +01:00
Emmanuele Bassi
af2f9857fe 2.0: Update the symbols file 2013-04-05 18:48:04 +01:00
Emmanuele Bassi
25b9fad698 2.0: Clean up the Clutter API reference 2013-04-05 18:48:04 +01:00
Emmanuele Bassi
b0f3192802 2.0: Fix up documentation annotations 2013-04-05 18:48:04 +01:00
Emmanuele Bassi
ca3e1b4d11 2.0: Include clutter headers conditionally in clutter-x11.h
We want to avoid clutter-x11.h leaking Clutter symbols (i.e. you need to
include clutter.h yourself before including clutter-x11.h), but we need
to do so conditionally, so that ancillary stuff like gtk-doc and
g-ir-scanner get the right types while building Clutter itself.
2013-04-05 18:48:03 +01:00
Emmanuele Bassi
b4758c3526 2.0: Fix up the versioning macros 2013-04-05 18:48:03 +01:00
Emmanuele Bassi
08a36c3e28 2.0: Remove unused enumerations 2013-04-05 18:48:03 +01:00
Emmanuele Bassi
93b965f71d 2.0: Remove deprecated symbols from the tree
And fix the fallout.
2013-04-05 18:48:03 +01:00
Emmanuele Bassi
408d29bfde 2.0: Update symbols file 2013-04-05 18:48:03 +01:00
Emmanuele Bassi
5e44d7de08 2.0: Fix up the ignore file 2013-04-05 18:48:03 +01:00
Emmanuele Bassi
2e8eab9db4 2.0: Update cally-atkcomponent-example
Drop the deprecated API; the test has not been re-enabled yet, to allow
for review.
2013-04-05 18:48:03 +01:00
Emmanuele Bassi
0e9709f666 2.0: Disable Cally tests 2013-04-05 18:48:03 +01:00
Emmanuele Bassi
2bb7cafee7 2.0: Prune performance test suite 2013-04-05 18:48:03 +01:00
Emmanuele Bassi
e7f8c27021 2.0: Prune micro-bench test suite 2013-04-05 18:48:03 +01:00
Emmanuele Bassi
9720a59482 2.0: Prune interactive test suite 2013-04-05 18:48:03 +01:00
Emmanuele Bassi
1ff3011cb7 2.0: Prune conformance test suite 2013-04-05 18:48:03 +01:00
Emmanuele Bassi
8d181c46d9 2.0: Remove unused arguments from doc annotations 2013-04-05 18:48:02 +01:00
Emmanuele Bassi
1057223227 2.0: Remove compatibility header from keysyms update script 2013-04-05 18:48:02 +01:00
Emmanuele Bassi
5ec07ec8c5 2.0: Update gitignore file 2013-04-05 18:48:02 +01:00
Emmanuele Bassi
230f871cd6 2.0: Remove backward compat variables from the pkgconfig file 2013-04-05 18:48:02 +01:00
Emmanuele Bassi
4a7ebde571 2.0: Remove unnecessary symbols 2013-04-05 18:48:02 +01:00
Emmanuele Bassi
b4410c5523 2.0: Clean up Clutter's API reference 2013-04-05 18:48:02 +01:00
Emmanuele Bassi
85f4e33443 2.0: Bump down ClutterStageClass padding 2013-04-05 18:48:02 +01:00
Emmanuele Bassi
07630362ae 2.0: Bump up ClutterActorClass padding 2013-04-05 18:48:02 +01:00
Emmanuele Bassi
3f0ac3548f 2.0: Start migrating API references 2013-04-05 18:48:02 +01:00
Emmanuele Bassi
a80da3da53 2.0: Remove unused enumeration types 2013-04-05 18:48:02 +01:00
Emmanuele Bassi
00bee5f173 2.0: Remove CLUTTER_AVAILABLE_IN_1_*
We are starting from scratch.
2013-04-05 18:48:02 +01:00
Emmanuele Bassi
e3259435f2 2.0: Remove all Since: annotations
We're starting from scratch.
2013-04-05 18:48:01 +01:00
Emmanuele Bassi
f1846bcb53 2.0: Remove include directives for deprecated headers 2013-04-05 18:48:01 +01:00
Emmanuele Bassi
03a8e2f7b8 2.0: Remove deprecated symbols from the installed headers 2013-04-05 18:48:01 +01:00
Emmanuele Bassi
0b03a4cb0a 2.0: Remove ClutterGeometry 2013-04-05 18:48:01 +01:00
Emmanuele Bassi
0724b3fb91 2.0: Remove deprecated API from Animatable 2013-04-05 18:48:01 +01:00
Emmanuele Bassi
465a324ecc 2.0: Remove deprecated API from ClutterTableLayout 2013-04-05 18:48:01 +01:00
Emmanuele Bassi
af21fcc734 2.0: Remove deprecated API from clutter-util.c 2013-04-05 18:48:01 +01:00
Emmanuele Bassi
270ceebf8d 2.0: Remove deprecated API from ClutterText 2013-04-05 18:48:01 +01:00
Emmanuele Bassi
b3dfa71ca5 2.0: Remove deprecated API from ClutterBoxLayout 2013-04-05 18:48:01 +01:00
Emmanuele Bassi
ad4d475d3a 2.0: Remove deprecated ClutterContainer API 2013-04-05 18:48:00 +01:00
Emmanuele Bassi
6155a1900b 2.0: Remove deprecated API from ClutterStage 2013-04-05 18:48:00 +01:00
Emmanuele Bassi
0c5e99429f 2.0: Remove deprecated API from clutter-main.c 2013-04-05 18:48:00 +01:00
Emmanuele Bassi
0e1a651a1a 2.0: Remove deprecated API from ClutterSettings 2013-04-05 18:48:00 +01:00