Neil Roberts [Mon, 25 Oct 2010 12:07:50 +0000 (13:07 +0100)]
Avoid variable length arrays in clutter-backend-x11
There was an array whose length was define by a static const int
variable. GCC seems to consider this a variable-length array so it
will cause warnings now that -Wvla is enabled. We might as well make
this constant a #define instead to avoid the warning.
Neil Roberts [Mon, 25 Oct 2010 12:03:39 +0000 (13:03 +0100)]
Add -Wdeclaration-after-statement and -Wvla to maintainer CFLAGS
These warnings pick up C99 extensions that are commonly accidentally
used and which cause problems when compiling with MSVC.
Giovanni Campagna [Sun, 24 Oct 2010 12:45:16 +0000 (14:45 +0200)]
Avoid warnings on ClutterClone with a NULL source
clutter_clone_apply_transform should check the source before calling
methods on it, else criticals will be emitted.
http://bugzilla.clutter-project.org/show_bug.cgi?id=2381
Emmanuele Bassi [Mon, 25 Oct 2010 11:31:50 +0000 (12:31 +0100)]
Update NEWS
Ole André Vadla Ravnås [Sat, 9 Oct 2010 21:07:26 +0000 (23:07 +0200)]
binding-pool: Use the correct marshaller
Ole André Vadla Ravnås [Thu, 14 Oct 2010 11:11:46 +0000 (13:11 +0200)]
interval: Remember to chain up to parent in finalize()
Neil Roberts [Mon, 4 Oct 2010 13:34:24 +0000 (14:34 +0100)]
cogl-texture-2d-sliced: Use the other backends for the slices
Instead of directly manipulating GL textures itself,
CoglTexture2DSliced now works in terms of CoglHandles. It creates the
texture slices using cogl_texture_new_with_size which should always
end up creating a CoglTexture2D because the size should fit. This
allows us to avoid replicating some code such as the first pixel
mipmap tracking and it better enforces the separation that each
texture backend is the only place that contains code dealing with each
texture target.
Neil Roberts [Mon, 4 Oct 2010 14:27:38 +0000 (15:27 +0100)]
Support foreign textures in the texture-2d and rectangle backends
This adds two new internal functions to create a foreign texture for
the texture 2d and rectangle backends. cogl_texture_new_from_foreign
will now use one of these backends directly if there is no waste
instead of always using the sliced texture backend.
Damien Lespiau [Fri, 22 Oct 2010 05:52:27 +0000 (06:52 +0100)]
build: Dist cookbook.xsl
cookbook.xsl was not in EXTRA_DIST, so the cookbook was not buildable
with released tarballs.
Emmanuele Bassi [Wed, 20 Oct 2010 08:42:34 +0000 (09:42 +0100)]
build: Go back to autoreconf
After testing and distchecking, I verified that autoreconf can still be
used to rebuild the autotools setup.
Thanks to Javier Jardón for the second pair of eyes.
Emmanuele Bassi [Tue, 19 Oct 2010 16:48:15 +0000 (17:48 +0100)]
build: Remove unused Makefile.am
We switched to a non-recursive layout, hence we don't need Makefile.am
in the osx/ and fruity/ sub-directories.
Emmanuele Bassi [Tue, 19 Oct 2010 11:32:02 +0000 (12:32 +0100)]
conform: Remove unnecessary destroy() calls
Unparented actors are owned by the Script instance, and if that goes
away then the actors go away with it. The fact that we needed an
explicit destroy() before was a hint of a memory management issue that I
blissfully - and regretfully - ignored for the sake of a passing test
suite.
Emmanuele Bassi [Tue, 19 Oct 2010 10:03:13 +0000 (11:03 +0100)]
build: Add test wrappers to the main ignore file
They are generated at configure time, so it's a good idea to have them
in the main ignore file instead of adding them to the built ignore files
under tests.
Emmanuele Bassi [Tue, 19 Oct 2010 09:48:39 +0000 (10:48 +0100)]
build: Show whether we have XComposite
Since we're doing it for other optional X11 extensions as well.
Emmanuele Bassi [Tue, 19 Oct 2010 09:40:57 +0000 (10:40 +0100)]
x11: Protect XComposite API calls
Since we allow compiling Clutter without the XComposite extension
available, we need to protect the calls to the XComposite API with
the guards provided by the configure script.
Emmanuele Bassi [Mon, 13 Sep 2010 20:29:52 +0000 (23:29 +0300)]
script: Fix the memory management
Currently, the memory management in ClutterScript is overly complicated.
The basic design tenet should be:
- ClutterScript owns a reference on every object it creates
This allows the Script instance to reliably handle the lifetime of the
instances from creation to disposal.
In case of unmerge, the Script instance should destroy any Actor
instance, except for the Stage, and release the reference it owns. The
Stage is special because it's really owned by Clutter itself, and it
should be destroyed explicitly.
When disposing the Script itself, it should just release the reference;
any parented actor, or any InitiallyUnowned instance, will then be
managed by the parent object, as they should, while every GObject
instance will go away, as documented.
This commit is based on a patch by:
Henrik Hedberg <hhedberg@innologies.fi>
http://bugzilla.clutter-project.org/show_bug.cgi?id=2316
Emmanuele Bassi [Tue, 19 Oct 2010 00:41:05 +0000 (01:41 +0100)]
debug: Do not use '&' in the messages
Use ':' as a separator between G_STRLOC and the debug message, like we
do for warnings.
Emmanuele Bassi [Tue, 19 Oct 2010 00:40:44 +0000 (01:40 +0100)]
Remove unused variables
Damien Lespiau [Thu, 14 Oct 2010 14:33:17 +0000 (15:33 +0100)]
build: Fix CLUTTER_EGL_BACKEND definition for eglnative and cex100
CLUTTER_EGL_BACKEND is used to define a special EGL native backend to
use and was introduced for the CEX100 EGL backend. Unfortunately
CLUTTER_EGL_BACKEND was defined to "cex100" for eglnative, which is
obviously wrong.
The paches defines the right values for CLUTTER_EGL_BACKEND for the
eglnative and cex100 flavours.
Damien Lespiau [Thu, 14 Oct 2010 15:32:13 +0000 (16:32 +0100)]
build: Fix EGL/CEX100 build with GLES2
Some headers files have been renamed or removed and the gles(2) did not
compile anymore, fix that.
Emmanuele Bassi [Fri, 15 Oct 2010 16:35:41 +0000 (17:35 +0100)]
cairo-texture: Allow overriding the surface creation
By using a new signal, ::create-surface (width, height), it should be
possible for third party code and sub-classes to override the default
surface creation code in CairoSurface.
This commit takes a bit of the patch from:
http://bugzilla.clutter-project.org/show_bug.cgi?id=1878
which cleans up CairoTexture; the idea, mutuated from that bug, is that
the CairoTexture actor checks whether the surface it has it's an image
one, and in that case it uses a Cogl texture as the backing store. In
case the surface is not an image one we assume that the surface itself
has some way of updating the GL state and flush the surface.
Emmanuele Bassi [Fri, 15 Oct 2010 15:09:19 +0000 (16:09 +0100)]
build: Depend on cairo-gobject
Starting from version 1.10, Cairo ships GTypes for its data types.
Emmanuele Bassi [Fri, 15 Oct 2010 15:09:12 +0000 (16:09 +0100)]
build: Remove unnecessary g-i version check
Emmanuele Bassi [Fri, 15 Oct 2010 14:24:27 +0000 (15:24 +0100)]
Move more classes to install_properties()
Emmanuele Bassi [Fri, 8 Oct 2010 14:47:00 +0000 (15:47 +0100)]
Remove unnecessary GLib version checks
We now depend on a newer version of GLib than those checks tested for.
Emmanuele Bassi [Fri, 8 Oct 2010 14:21:57 +0000 (15:21 +0100)]
Use G_DEFINE_BOXED_TYPE for all boxed types
We actually need a couple more macros for registering GValue
transformation functions. Those should be added to upstream
GLib.
Emmanuele Bassi [Fri, 8 Oct 2010 13:49:47 +0000 (14:49 +0100)]
Remove conditional wrappers for property installation/notification
For the time being, just keep the #define's.
Emmanuele Bassi [Fri, 8 Oct 2010 13:47:46 +0000 (14:47 +0100)]
Use G_DEFINE_INTERFACE
GObject provides us with a nice, safe macro for defining interface
types.
Emmanuele Bassi [Fri, 8 Oct 2010 13:47:13 +0000 (14:47 +0100)]
build: Depend on GLib ≥ 2.26.0
We are going to need some new macros and API.
Emmanuele Bassi [Fri, 15 Oct 2010 15:05:44 +0000 (16:05 +0100)]
actor: Add more checks to the redraw queue
Emmanuele Bassi [Fri, 15 Oct 2010 14:24:58 +0000 (15:24 +0100)]
moduleset: Add Atk as a Clutter dependency
Emmanuele Bassi [Fri, 15 Oct 2010 11:40:43 +0000 (12:40 +0100)]
osx: Fix glib.h include path
The fix for removing glib/gmain.h introduced the wrong path for glib.h.
Roland Peffer [Thu, 14 Oct 2010 17:23:02 +0000 (18:23 +0100)]
osx: Add button mask to the modifier state translation
The modifier state translation is missing the CLUTTER_BUTTON*_MASK.
http://bugzilla.clutter-project.org/show_bug.cgi?id=2365
Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
Kristian Høgsberg [Wed, 29 Sep 2010 21:10:44 +0000 (17:10 -0400)]
The amazing lazy-copy-back-repaint-page-flip
Always use pageflipping, but avoid full repaint by copying back dirty
regions from front to back. Additionally, we dealy copying back until
we're ready to paint the new frame, so we can avoid copying areas that
will be repainted anyway.
This is the least amount of copying per frame we can get away with at all
and at the same time we don't have to worry about stalling the GPU on
synchronized blits since we always pageflip.
Kristian Høgsberg [Tue, 28 Sep 2010 14:17:46 +0000 (10:17 -0400)]
Add wayland backend
This adds a clutter backend for running under the wayland window system.
Initial cogl framebuffer integration by Robert Bragg.
Kristian Høgsberg [Mon, 27 Sep 2010 17:25:50 +0000 (13:25 -0400)]
Initialize color masks lazily
When we don't use a window system drawable, we can't query the color
masks at context initialization time. Do it lazily so we're sure to have
a current context with a valid framebuffer.
Robert Bragg [Thu, 14 Oct 2010 15:19:55 +0000 (16:19 +0100)]
When unparenting an actor, remove queued redraws for all descendants
We need to make sure that redraws queued for actors on a stage are for
actors actually in the stage. So in clutter_actor_unparent() descend
through the children and remove redraws. Just removing the actor itself
isn't good enough since an entire hierarchy can be removed from the
stage without breaking it up into individual actors.
http://bugzilla.clutter-project.org/show_bug.cgi?id=2359
This is based on an original patch from Owen Taylor who debugged the
root cause of this bug; thanks.
Robert Bragg [Thu, 30 Sep 2010 17:42:40 +0000 (18:42 +0100)]
stage: handle unclipped redraw following clipped
In the case that an unclipped redraw of an actor is queued after a
clipped we should update any existing ClutterStageQueueRedrawEntry
so entry->has_clip = FALSE and free the previous clip.
Emmanuele Bassi [Tue, 12 Oct 2010 16:31:15 +0000 (17:31 +0100)]
conform: Start cleaning up the conformance test suite
Re-order the units into a sensible list, with basic tests at the
beginning, and per-class tests at the end - with Cogl last.
Also, start renaming the unit functions from test_<foo> to <foo>,
so that the executable wrappers and the reports have sensible names.
Emmanuele Bassi [Tue, 12 Oct 2010 16:11:52 +0000 (17:11 +0100)]
conform: Implement TEST_CONFORM_TODO() correctly
The TODO() macro for adding new tests to the test suite has always meant
to be implemented like the TODO block in Test::More, i.e. a test that is
assumed to fail, and which warns if it unexpectedly succeeds.
Since GTest lacks the expressivity of Test::More, the implementation
just verifies that the tests marked as TODO actually fail, and will fail
if they happen to succeed - at which point the developer will have to
change the macro to SIMPLE or SKIP.
Emmanuele Bassi [Tue, 12 Oct 2010 14:43:42 +0000 (15:43 +0100)]
conform: Save the revision and date inside the test report
Even if gtester-report doesn't use that information (yet), we should
store the revision of Clutter that generated the report, and the date in
which the test suite was ran.
Emmanuele Bassi [Tue, 12 Oct 2010 14:43:27 +0000 (15:43 +0100)]
constraints: Remove unused variable
Neil Roberts [Mon, 11 Oct 2010 15:16:45 +0000 (16:16 +0100)]
tests: Generate the stub scripts using sed
Instead of trying to run ./test-conformance with the -l option to
generate a list of available tests it now runs sed on the
test-conform-main.c file instead. Running the generated executable is
a pain for cross-compiling so it would be nice to avoid it unless it's
absolutely necessary. Although you could tell people who are cross
compiling to just disable the conformance tests, this seems a shame
because they could still be useful along with the wrappers for example
if the cross compile is built to a shared network folder where the
tests can be run on the actual device.
The sed script is a little more ugly than it could be because it tries
to avoid using the GNU extensions '\+' and '\|'.
The script ends up placing restrictions on the format of the C file
because the tests must all be listed on one line each. There is now a
comment to explain this. Hopefully the trade off is worth it.
http://bugzilla.clutter-project.org/show_bug.cgi?id=2363
Neil Roberts [Tue, 12 Oct 2010 13:43:10 +0000 (14:43 +0100)]
tests: Re-enable the test-anchors conformance test
This test was disabled in
b5d58213. The commit message doesn't mention
this so I'm guessing it was a mistake. In any case the test appears to
work now anyway so it should be re-enabled.
http://bugzilla.clutter-project.org/show_bug.cgi?id=2363
Emmanuele Bassi [Tue, 12 Oct 2010 13:53:20 +0000 (14:53 +0100)]
test-flow-layout: Track stage size by default
Instead of requiring a special command line switch.
Emmanuele Bassi [Tue, 12 Oct 2010 13:09:47 +0000 (14:09 +0100)]
bind-constraint: Use ::queue-relayout
Instead of using the allocation-changed signal, use the queue-relayout
signal on the source to queue a relayout on the actor to which the
BindConstraint has been attached to.
The ::allocation-changed signal is not always enough, given that a
BindConstraint can use the position as well as the size of an actor to
drive the allocation of another; in this regard, it's much similar
to a ClutterClone, which requires a notification on every change, even
potential, and not just real ones, given the short-circuiting done
inside ClutterActor.
Emmanuele Bassi [Tue, 12 Oct 2010 13:09:17 +0000 (14:09 +0100)]
constraints: Do not check for :enabled
ClutterActor will do it for us.
Emmanuele Bassi [Tue, 12 Oct 2010 13:08:07 +0000 (14:08 +0100)]
actor: Use an explicit check for NULL
Follow the coding style, and don't use the implicit C boolean
equivalence for NULL pointers.
Emmanuele Bassi [Tue, 12 Oct 2010 13:07:27 +0000 (14:07 +0100)]
actor: Queue a relayout when adding/removing constraints
Constraints change the way an actor is allocated; this warrants a
relayout.
Emmanuele Bassi [Tue, 12 Oct 2010 13:04:21 +0000 (14:04 +0100)]
actor: Check CluterActorMeta:enabled
Instead of delegating the check for the ActorMeta:enabled property to
the sub-classes of ClutterActorMeta, ClutterActor can do the check prior
to using the ClutterActorMeta instances.
Emmanuele Bassi [Tue, 12 Oct 2010 13:04:05 +0000 (14:04 +0100)]
actor: Add debugging note for allocation changes
Emmanuele Bassi [Mon, 11 Oct 2010 14:57:22 +0000 (15:57 +0100)]
actor-box: Split out ActorBox into its own file
clutter-actor.c is getting way too large, so splitting it up wherever
possible makes sense.
Emmanuele Bassi [Mon, 11 Oct 2010 14:52:50 +0000 (15:52 +0100)]
vertex: Register progress function
This allows animating properties storing a ClutterVertex.
Emmanuele Bassi [Mon, 11 Oct 2010 14:44:09 +0000 (15:44 +0100)]
geometry: Register a progress function
This allows animating properties storing a ClutterGeometry.
Emmanuele Bassi [Mon, 11 Oct 2010 14:20:25 +0000 (15:20 +0100)]
actor-box: Register a progress function
So that we can animate properties storing ClutterActorBox.
Emmanuele Bassi [Mon, 11 Oct 2010 14:07:06 +0000 (15:07 +0100)]
script: Fix annotation for get_object()'s return value
Emmanuele Bassi [Mon, 11 Oct 2010 14:06:11 +0000 (15:06 +0100)]
interval: Remove special casing for ClutterColor
ClutterColor registers a progress function on type initialization, so we
don't need to special case it any more.
Emmanuele Bassi [Mon, 11 Oct 2010 14:04:54 +0000 (15:04 +0100)]
color: Add Color.interpolate() method
The interpolate() method does what it says on the tin: it interpolates
between two colors using the given factor.
ClutterColor uses it to register a progress function for Intervals.
Neil Roberts [Tue, 5 Oct 2010 16:17:53 +0000 (17:17 +0100)]
cogl-texture-2d-sliced: Use the smallest possible waste
When picking a size for the last slice in a texture, Cogl would always
pick the biggest power of two size that doesn't create too much
waste and is less than or equal to the previous slice size. However
this can end up creating a texture that is bigger than needed if there
is a smaller power of two.
For example, if the maximum waste is 127 (the current default) and we
try to create a texture that is 257 pixels wide it will decide that
the next power of two (512) is too much waste (255) so it will create
the first slice at 256 pixels wide. Then we only have 1 pixel left to
allocate but Cogl would pick the next smaller size that has a small
enough waste which is 128. But of course 1 is already a power of two
so that's redundantly oversized by 127.
This patch fixes it so that whenever it finds a size that would be big
enough, instead of using exactly that it picks the next power of two
up from the size we need to fill.
http://bugzilla.clutter-project.org/show_bug.cgi?id=2355
Emmanuele Bassi [Mon, 11 Oct 2010 12:52:09 +0000 (13:52 +0100)]
Whitespace alignment fixes
Emmanuele Bassi [Mon, 11 Oct 2010 12:51:12 +0000 (13:51 +0100)]
paint-volume: Add arguments checks
In some cases we access the arguments in public functions without, or
prior to checking the arguments.
Owen W. Taylor [Thu, 7 Oct 2010 20:00:47 +0000 (16:00 -0400)]
ClutterClone: Handle clone_source == NULL for get_paint_volume()
It's valid to have a ClutterClone without a clone source; in this
case the paint volume is empty.
http://bugzilla.clutter-project.org/show_bug.cgi?id=2360
Emmanuele Bassi [Mon, 11 Oct 2010 12:32:26 +0000 (13:32 +0100)]
clone: Remove unnecessary G_UNLIKELY macros
A Clone:source property might be NULL, and we should not penalize
performance when we can just bail out early, because that would kind of
defeat the point.
Emmanuele Bassi [Mon, 11 Oct 2010 11:00:18 +0000 (12:00 +0100)]
docs: Update the README
Add a minimal building reference, and point to git-bz for filing
patches to Bugzilla.
Emmanuele Bassi [Sun, 10 Oct 2010 08:31:55 +0000 (09:31 +0100)]
osx: Compilation fixes
Replace deprecated symbols with the correct ones.
Emmanuele Bassi [Fri, 8 Oct 2010 12:29:49 +0000 (13:29 +0100)]
box-layout: Plug a memory leak
Similar to commit
4724be167f19fe58cb38179e6f3b34b6797ff639 for
TableLayout.
http://bugzilla.clutter-project.org/show_bug.cgi?id=2358
Neil Roberts [Wed, 6 Oct 2010 15:01:03 +0000 (16:01 +0100)]
Plug a memory leak in clutter-table-layout
Whenever the allocation is changed on a child of a ClutterTableLayout
and animations are not in effect then it would store a copy of the
allocation in the child meta data. However it was not freeing the old
copy of the allocation so it would end up with a small leak.
Instead of just changing it to free the old value this patch makes it
store the allocation inline in the meta data struct because it seems
that the size of an actor box is already quite small compared to the
size of the meta data struct so it is probably not worth having a
separate allocation for it. To detect the case when there has not yet
been an allocation a separate boolean is used instead of storing NULL.
http://bugzilla.clutter-project.org/show_bug.cgi?id=2358
Emmanuele Bassi [Thu, 7 Oct 2010 17:01:53 +0000 (18:01 +0100)]
autogen.sh: libtool 2.4 has been released
Damien Lespiau [Thu, 7 Oct 2010 11:17:33 +0000 (12:17 +0100)]
po: Update French localization
Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
Andika Triwidada [Tue, 5 Oct 2010 16:23:37 +0000 (17:23 +0100)]
po: Update Indonesian localization
Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
Damien Lespiau [Tue, 5 Oct 2010 16:22:56 +0000 (17:22 +0100)]
po: Add French localization
Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
Emmanuele Bassi [Tue, 5 Oct 2010 13:30:01 +0000 (14:30 +0100)]
clutter.modules: Update Cairo and Pixman
Damien Lespiau [Tue, 5 Oct 2010 07:35:19 +0000 (08:35 +0100)]
texture: Fix the typos in the blurbs and make them not end with '.'
All the nifty things you discover when translating strings not exposed
to anyone. First the clutter-wide record of the number of typos in one
string. Second, ClutterTexture happened to have the only property blurbs
ending with a '.', remove them.
Damien Lespiau [Tue, 5 Oct 2010 07:25:06 +0000 (08:25 +0100)]
text: Rename the nick of the position property "Cursor Position"
the "position" property of ClutterText is really the position of the
cursor. Rename the nick accordingly not to confuse it with the position
of the actor itself and be consistent with all the other cursor-related
properties.
Damien Lespiau [Tue, 5 Oct 2010 07:03:19 +0000 (08:03 +0100)]
cogl: Use Cogl (not COGL) consistently
If I remember correctly, Robert wants to name Cogl, Cogl (not COGL) so
start by having a consistent naming in the code.
Damien Lespiau [Tue, 5 Oct 2010 06:44:49 +0000 (07:44 +0100)]
bin-layer: Fix the property blurbs
The descriptions for the 'y-align' and 'x-align' properties talk about a
layer and a layer manager. It seems that these properties are the
alignement factors relative to the BinLayout, so document them
accordingly.
Damien Lespiau [Mon, 4 Oct 2010 17:35:13 +0000 (18:35 +0100)]
box-layout: Fix missing spaces in the blurbs of vertical and homogeneous
Damien Lespiau [Mon, 4 Oct 2010 16:20:30 +0000 (17:20 +0100)]
deform-effect: Fix Horiontal/Horizontal typo
Emmanuele Bassi [Mon, 4 Oct 2010 14:47:53 +0000 (15:47 +0100)]
build: Fix the release-message target
Generate the SHA256 checksum file during release-upload and then copy it
to the build directory.
Andika Triwidada [Mon, 4 Oct 2010 14:43:54 +0000 (15:43 +0100)]
po: Add Indonesian localization
Piotr Drąg [Mon, 4 Oct 2010 14:43:16 +0000 (15:43 +0100)]
po: Update Polish localization
Emmanuele Bassi [Mon, 4 Oct 2010 14:20:44 +0000 (15:20 +0100)]
Post-release version bump to 1.5.3
Emmanuele Bassi [Mon, 4 Oct 2010 13:53:55 +0000 (14:53 +0100)]
Release Clutter 1.5.2 (snapshot)
Emmanuele Bassi [Mon, 4 Oct 2010 13:12:21 +0000 (14:12 +0100)]
cogl-x11: Trap glXDestroyPixmap()
There are ordering issues in the pixmap destruction with current and
past X11 server, Mesa and dri2. Under some circumstances, an X pixmap
might be destroyed with the GLX pixmap still referencing it, and thus
the X server will decide to destroy the GLX pixmap as well; then, when
Cogl tries to destroy the GLX pixmap, it gets BadDrawable errors.
Clutter 1.2 used to trap + sync all calls to glXDestroyPixmap(), but
then we assumed that the ordering issue had been solved. So, we're back
to square 1.
I left a Big Fat Comment™ right above the glXDestroyPixmap() call
referencing the bug and the reasoning behind the trap, so that we don't
go and remove it in the future without checking that the issue has been
in fact solved.
http://bugzilla.clutter-project.org/show_bug.cgi?id=2324
Alejandro Piñeiro [Mon, 4 Oct 2010 00:17:40 +0000 (02:17 +0200)]
Fixing cally.pc.in and moving include headers to previous directory
After commit
8dd8fbdb some errors appear if you try work directly
against cally:
* cally.pc.in removed some elements. After install clutter, doing
pkg-config --cflags cally-1.0
fails due missing winsys
* cally headers were moved from clutter-1.0/cally to
clutter-1.0/clutter/cally. Applications using it (yes I know,
nobody is officially using it) would require to:
* Change their include.
* Add directly a dependency to cally, in order to use the cally.pc
file with the correct directory include.
Note: Take into account that accessibility support still works (ie:
clutter_get_accessibility_enabled). This bug only prevents
applications to work directly against cally (ie: create a CallyActor
subclass)
http://bugzilla.clutter-project.org/show_bug.cgi?id=2353
Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
Emmanuele Bassi [Mon, 4 Oct 2010 10:30:32 +0000 (11:30 +0100)]
effect: Fix up the class ABI
Landing the paint-box branch accidentally added two slots to the
ClutterEffectClass vtable, plus the get_paint_volume() function
pointer. This is an ABI break from 1.4.
Emmanuele Bassi [Mon, 4 Oct 2010 10:27:16 +0000 (11:27 +0100)]
actor-box: Constify arguments for union
The input arguments for clutter_actor_box_union() should be constified,
since they will not be modified by the function.
Emmanuele Bassi [Mon, 4 Oct 2010 10:26:46 +0000 (11:26 +0100)]
docs: Fix the annotations of ActorClass
Emmanuele Bassi [Mon, 4 Oct 2010 09:52:36 +0000 (10:52 +0100)]
build: Add -xobjective-c to the fruity backend section
Like we do for the Quartz backend, we should turn on the -xobjective-c
compiler flag for the Fruity backend.
This does not mean that the backend actually works.
Emmanuele Bassi [Mon, 4 Oct 2010 09:44:00 +0000 (10:44 +0100)]
docs: Remove TODO
Clutter has long since moved all the RFE and roadmap tracking to
Bugzilla. The TODO is just a relic of an ancient past, where men
were real men, women were real women, and fuzzy little creatures
from Alpha Centauri were fuzzy little creatures from Alpha Centauri.
Emmanuele Bassi [Mon, 4 Oct 2010 08:09:13 +0000 (09:09 +0100)]
build: Remove redundant EXTRA_DISTs
The files for the backend that we conditionally compile are
automatically added to the dist process by automake.
Emmanuele Bassi [Mon, 4 Oct 2010 08:08:07 +0000 (09:08 +0100)]
docs: Add unused symbols to the Clutter API reference
Emmanuele Bassi [Mon, 4 Oct 2010 07:57:29 +0000 (08:57 +0100)]
build: Unconditionally add GLES2 shaders to EXTRA_DIST
Emmanuele Bassi [Sun, 3 Oct 2010 16:21:10 +0000 (17:21 +0100)]
build: Generate a stub announcement email when releasing
Emmanuele Bassi [Sun, 3 Oct 2010 15:37:41 +0000 (16:37 +0100)]
docs: Update the RELEASING checklist
Emmanuele Bassi [Sun, 3 Oct 2010 15:13:02 +0000 (16:13 +0100)]
build: Only generate bzip2 tarballs
Don't generate both bz2 and gz tarballs: we only use the former anyway,
and the latter just adds time for distcheck to complete.
The gz tarball will be generated by the remote installation scripts when
publishing the release.
Emmanuele Bassi [Sun, 3 Oct 2010 15:10:44 +0000 (16:10 +0100)]
build: Dist every backend file
All backend files should be present in the tarball generated by `make
dist`, to allow building Clutter on different platforms.
Emmanuele Bassi [Sun, 3 Oct 2010 14:28:14 +0000 (15:28 +0100)]
container: Do not emit a signal in the class handler
Yes, I am that stupid.
Emmanuele Bassi [Sun, 3 Oct 2010 14:16:41 +0000 (15:16 +0100)]
introspection: Skip Script.connect_signals_full()
It's meant to be used by language bindings, not by applications.
Emmanuele Bassi [Sun, 3 Oct 2010 14:12:01 +0000 (15:12 +0100)]
container: Fix the marshaller for ::child-notify
The marshaller was defined as OBJECT,OBJECT,PARAM but the signal
definition used only two arguments. Since the signal never worked
and we never got any report about it, nobody could be possibly
using the ::child-notify signal.