Commit Graph

5827 Commits

Author SHA1 Message Date
Lionel Landwerlin
1ee07e5d48 gesture-action: fix typo
https://bugzilla.gnome.org/show_bug.cgi?id=698668
2013-04-23 17:33:20 +01:00
Emmanuele Bassi
af2f9857fe 2.0: Update the symbols file 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
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
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
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
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
Emmanuele Bassi
e0aeb03b04 2.0: Remove deprecated API from ClutterTimeline 2013-04-05 18:48:00 +01:00
Emmanuele Bassi
ca2f1b6818 2.0: Remove deprecated API from ClutterStageManager 2013-04-05 18:48:00 +01:00
Emmanuele Bassi
5f0c5447b7 2.0: Remove ClutterActor::paint and ::pick signals 2013-04-05 18:48:00 +01:00
Emmanuele Bassi
4926e0e5c2 2.0: Remove deprecated API from ClutterBackend 2013-04-05 18:48:00 +01:00
Emmanuele Bassi
b7e9444c88 2.0: Remove deprecated headers from the build 2013-04-05 18:48:00 +01:00
Emmanuele Bassi
c7c9ce8c9c 2.0: Remove deprecated sources from the build
This drops all the deprecated sources and header files, including the
ClutterX11 and ClutterGlx symbols.
2013-04-05 18:48:00 +01:00
Emmanuele Bassi
a2993f5de3 2.0: First pass at deprecated API removal
This is the minimum required commit to get Clutter and the examples
building.
2013-04-05 18:47:59 +01:00
Emmanuele Bassi
4da1b8b523 2.0: Drop deprecated classes from Cally
CallyGroup, CallyTexture, and CallyRectangle are not needed any more.
2013-04-05 18:47:59 +01:00
Emmanuele Bassi
29c42bfe8e 2.0: Bump clutter-1.0 to clutter-2.0
Some places in the build system do not (or cannot) use the macro-ified
CLUTTER_API_VERSION, so we need to fix them up manually.
2013-04-05 18:47:59 +01:00
Emmanuele Bassi
0538adc58c timeline: Ensure the range on the cubic bezier control points
The X coordinate has to be in the [ 0.0, 1.0 ] range.
2013-04-05 15:35:15 +01:00
Emmanuele Bassi
8c32637eea Deprecate ClutterGeometry
It's a bad rectangle type, with caveats and gotchas. We have better
types, courtesy of Cairo, as well as our own (ClutterRect).

https://bugzilla.gnome.org/show_bug.cgi?id=682789
2013-04-04 11:53:39 +01:00
Emmanuele Bassi
1724536cda text: Add ::cursor-changed signal
Since we are trying to eliminate the ClutterGeometry type, we should
replace the only entry point still using it: the ::cursor-event signal
of ClutterText.

Instead of passing the cursor geometry, we should add an accessor
function.

The combination of signal and getter for the cursor geometry means that
we can deprecate ClutterText::cursor-event, and mark it for removal in
Clutter 2.0.

https://bugzilla.gnome.org/show_bug.cgi?id=682789
2013-04-04 11:53:39 +01:00
Emmanuele Bassi
03296e30e7 Fix compilers warnings when debugging is disabled 2013-04-04 11:53:38 +01:00
Emanuele Aina
56844a2b75 tap-action: Fix the docs, it does not require actors with children 2013-04-01 19:10:36 +02:00
Neil Roberts
d5896d284e wayland: Queue a redraw after showing the stage
On the other backends we will get some sort of expose event after
showing the stage's window which will queue a redraw. These expose
events don't exist on Wayland so nothing will cause Clutter to queue a
redraw. Weston doesn't bother displaying anything for the stage's
surface until the first buffer is sent, which of course it will never
receive if Clutter doesn't paint anything. This patch just makes it
explicitly queue a redraw after the stage is shown so that we will
always pass at least one frame to the compositor.

The bug can be seen by running test-stage-sizing. That example doesn't
have any animations so it won't try to queue any redraws until
something interacts with it. On the other hand something like
test-actors works fine without the patch because it constantly queues
redraws anyway in order to display the animation.

https://bugzilla.gnome.org/show_bug.cgi?id=696791
2013-03-28 16:12:34 +00:00
Emmanuele Bassi
23707ac242 Add version-related macros for 1.16 2013-03-20 17:23:02 -03:00
Lionel Landwerlin
b914ae70b1 actor: fix translation-z setting
https://bugzilla.gnome.org/show_bug.cgi?id=695982
2013-03-18 10:39:08 +00:00
Bastien Nocera
bbb54f1aed clutter: Prefer the X11 backend to the Wayland one
If clutter is built with both X11 and Wayland support, prefer the
(more complete for now) X11 backend. This matches GTK+'s current
ordering.

This allows distributions to ship a clutter version with both backends
built, and using an envvar to switch to the wayland backend and test
applications.

In the future, applications would be able to choose which backend
they prefer and in which order.

https://bugzilla.gnome.org/show_bug.cgi?id=695838
2013-03-14 15:29:00 +01:00
Emmanuele Bassi
73dbd17948 symbols: Add missing symbol 2013-03-13 16:00:36 -03:00
Emmanuele Bassi
8f032d5952 actor: Skip transitions on invisible actors
If an actor has not been painted yet, or it's not going to be painted,
we can ignore transitions queued on it.

By ignoring transitions on actors that have not been painted yet, we can
avoid doing work during the set up phase of the scene graph, as well as
avoiding actors "flying in" from nowhere.

Obviously, we have to take into account potential clones, so we need to
check that the actor is not part of a cloned branch of the scene graph,
as well as checking if the actor has mapped clones.
2013-03-13 15:05:28 -03:00
Emmanuele Bassi
20c0985869 actor: Propagate the cloned state to the children
If we clone a container, we still want redraws queued on the children to
be propagated.
2013-03-13 15:05:28 -03:00