Emmanuele Bassi
1ca4937f1e
conform: Check that iterators work post-assignment
...
It should be possible to copy a ClutterActorIter just by copying its
contents (either via assignment or memcpy).
2012-06-27 21:28:01 +01:00
Alejandro Piñeiro
a8c829019f
a11y: remove implementation for [add/remove]_global_event_listener
...
Since release 2.5.3, ATK provides an implementation for those
methods, so toolkits doesn't need to implement them.
2012-06-27 14:40:56 +02:00
Emmanuele Bassi
5e5295ab13
Post-release version bump to 1.11.7
2012-06-25 23:59:39 +01:00
Emmanuele Bassi
0ab74e52da
Release Clutter 1.11.6
2012-06-25 23:52:07 +01:00
Emmanuele Bassi
b6d5595470
docs: Add missing annotation for ClutterActorClass.touch_event
2012-06-25 23:47:12 +01:00
Emmanuele Bassi
ececa27ad0
docs: Fix XInclude path of the BindConstraint example
2012-06-25 23:44:11 +01:00
Giovanni Campagna
f65b7c59d3
Make it possible to reimplement move-to-workspace keybindings from plugins
...
Export the necessary functions so that a plugin that wishes to do
so can reimplement those keybindings without loss of functionality.
https://bugzilla.gnome.org/show_bug.cgi?id=674104
2012-06-25 23:11:24 +02:00
Giovanni Campagna
e31f55e146
Make meta_workspace_get_neighbor() public
...
There is no need for this function to be private, and it can
greatly simplify gnome-shell code handling workspace switch.
https://bugzilla.gnome.org/show_bug.cgi?id=674104
2012-06-25 23:07:19 +02:00
Florian Müllner
dc232b6cad
Bump version to 3.5.3
...
Update NEWS
3.5.3
2012-06-25 22:38:25 +02:00
Jasper St. Pierre
a2f2e07e9b
meta-window-actor: Fix a potential crash in the window shaping code
...
There was a potential case where we were trying to use uninitialized memory,
in the case where the X server threw an error during XShapeGetRectangles.
In this case, we need to use the implicit shape for the window, which means
we need to rearrange code flow to make it work.
https://bugzilla.gnome.org/show_bug.cgi?id=677977
2012-06-25 14:07:35 -04:00
Jasper St. Pierre
f5e48223c9
meta-plugin-manager: Guard against a NULL start vfunc
...
The default plugin has no such vfunc.
https://bugzilla.gnome.org/show_bug.cgi?id=678238
2012-06-25 13:52:47 -04:00
Jasper St. Pierre
1478510392
mutter: Use the default plugin by default
...
https://bugzilla.gnome.org/show_bug.cgi?id=678238
2012-06-25 13:52:47 -04:00
Jasper St. Pierre
18b38320a6
window: Make some window methods public
...
There's no reason they aren't, right now. Extensions should be able
to use these.
https://bugzilla.gnome.org/show_bug.cgi?id=678126
2012-06-25 13:52:47 -04:00
Fran Diéguez
16be31b514
Updated Galician translations
2012-06-25 00:09:24 +02:00
Jasper St. Pierre
6c4abde369
stage: Make sure to free any pending queued redraws if we have any
...
This fixes a memory leak when someone creates a stage and then immediately
destroys it.
2012-06-24 13:31:31 -04:00
Emmanuele Bassi
ab88511133
stage: Remove an extra reference count
...
The dispose sequence will keep the object alive, and we need to release
the last reference held by the StageManager before releasing control to
GObject.
2012-06-24 18:02:45 +01:00
Emmanuele Bassi
550168eee3
Clean up deprecated header inclusion
...
The build should not add deprecated/ into the default INCLUDE paths, so
that deprecated headers are clearly separated; this will make it easier
to get rid of them when we branch out for 2.0.
2012-06-23 08:23:11 +01:00
Emmanuele Bassi
8fe8b9c89e
Move PathNode definitions into clutter-types.h
...
Near ClutterKnot, so that we can easily remove both when we branch off
for 2.0.
2012-06-23 08:23:11 +01:00
Lionel Landwerlin
49dd99f9c1
text: add touch events support
...
https://bugzilla.gnome.org/show_bug.cgi?id=678278
2012-06-22 21:53:07 +01:00
Lionel Landwerlin
927624d92c
input-device: add APIs to grab sequences of touch events
...
https://bugzilla.gnome.org/show_bug.cgi?id=678279
2012-06-22 21:48:58 +01:00
Lionel Landwerlin
132e4b98d1
drag/drop actions: add touch event support
...
https://bugzilla.gnome.org/show_bug.cgi?id=678049
2012-06-22 21:40:08 +01:00
Lionel Landwerlin
1af7de8ac8
actor: add touch event vfuncs
...
https://bugzilla.gnome.org/show_bug.cgi?id=678047
2012-06-22 21:40:03 +01:00
Alejandro Piñeiro
dd7c1ed64a
a11y: implementation for atk_text_get_text_[before/at/after]_offset
...
Copy and paste of the implementation done at Gtk+ based on pango. This
should be moved to a common library, like the old GailTextUtil. Ideally
on pango itself.
https://bugzilla.gnome.org/show_bug.cgi?id=677221
2012-06-22 18:06:06 +02:00
Tom Tryfonidis
a571c2933b
Updated Greek translation
2012-06-22 13:09:02 +03:00
Bastian Winkler
d2fff6e3c3
actor: Make margin properties animatable
...
Enable implicit animations for :margin-(top|right|bottom|left)
properties.
https://bugzilla.gnome.org/show_bug.cgi?id=678264
2012-06-22 08:52:00 +02:00
Dimitris Spingos
0760522643
New Greek translation
2012-06-21 12:12:08 +03:00
Emmanuele Bassi
98982331cb
conform/script: Add the return type for the margin test
...
The compiler would default to 'int', and warn - and then warn again
because the function would not return a value.
2012-06-20 18:58:31 +01:00
Matthias Clasen
e3ca87784e
XI2: Avoid a crash in event translation
...
It is possible that we get a DeviceChanged event for a device
that is not in the hash table yet. E.g. I've seen this when
using xrandr to change screen resolution. Prevent a crash in
this case.
https://bugzilla.gnome.org/review?bug=678439
2012-06-20 07:22:12 -04:00
Andy Wingo
d571719a3d
cairo: Always update texture after ClutterCairoTexture::draw
...
* clutter/clutter-cairo-texture.c (clutter_cairo_texture_emit_draw):
Always update the Cogl texture after emitting ::draw, since we control
the dynamic extent in which drawing should happen on the cairo_t.
Fixes #677966 .
2012-06-20 11:45:21 +02:00
Emmanuele Bassi
286e7e28e8
Remove duplicate typedefs
...
Redefining typedefs is allowed by C11 and by a GCC extension, but Clang
doesn't really like it.
2012-06-20 09:13:11 +01:00
Emmanuele Bassi
3ad5502003
interactive/touch-events: Protect x11-specific calls
...
Use the CLUTTER_WINDOWING_X11 define to protect platform-specific calls
like clutter_x11_enable_xinput().
https://bugzilla.gnome.org/show_bug.cgi?id=678423
2012-06-20 08:53:56 +01:00
Emmanuele Bassi
47f8be4d4b
conform: Put xinput enabling under guards
...
Calling clutter_x11_* API should be done only under the platform
specific guards we provide with Clutter.
https://bugzilla.gnome.org/show_bug.cgi?id=678423
2012-06-20 08:53:46 +01:00
Emmanuele Bassi
5eb3fbf3cf
build: Add coverage support using lcov
...
Unlike gcov, lcov provides a nice HTML output that allows immediate
visualization of the current coverage.
The updates of the build system have been taken from GLib, which has
been using lcov for a while with good results.
2012-06-19 14:55:10 +01:00
Emmanuele Bassi
c4acae7752
build: Remove gcov from the build
...
We want to switch to lcov, so let's start with a clean slate.
2012-06-19 14:55:10 +01:00
Emmanuele Bassi
b850696b31
interactive/touch-events: Add a missing return value
...
The draw_touches() function must return a boolean value.
https://bugzilla.gnome.org/show_bug.cgi?id=678391
2012-06-19 12:20:11 +01:00
Sasi Bhushan Boddepalli
eca725fe96
Updated Telugu Translation
2012-06-19 16:56:01 +05:30
Emmanuele Bassi
6597245912
build: Remove tarball upload to clutter-project.org
...
Without being on the Intel network, you can't upload the tarball on
clutter-project.org, so it'll have to be done manually from now on.
2012-06-19 09:38:01 +01:00
Emmanuele Bassi
7b07d4a7c5
transition: Check if we're setting the same interval
...
If we do, then don't bother.
2012-06-18 23:00:08 +01:00
Emmanuele Bassi
b658023324
property-transition: Lazily convert the interpolated value
...
If the Interval used has a different type than the property we are
animating through a PropertyTransition then we should transform the
interpolated value before applying it, to avoid warnings down the
line.
2012-06-18 22:21:14 +01:00
Emmanuele Bassi
c57cabd4c2
conform/interval: Add transformation unit test
...
Verify that it's possible to pass a transformable type to
ClutterInterval.
2012-06-18 18:04:54 +01:00
Emmanuele Bassi
bebe90e565
interval: Do not leak the result GValue
...
The compute() method will cache the result, to avoid multiple
allocations and copies; this means, though, that we need to unset the
GValue when destroying the Interval.
2012-06-18 18:04:54 +01:00
Emmanuele Bassi
cfc4e86b31
interval: Compute progress for signed char
...
Not just for unsigned ones, though both are pretty pointless.
2012-06-18 18:04:54 +01:00
Emmanuele Bassi
44642b6a57
interval: Validate more fundamental types
...
64bit integers and floating point values should be validated as well.
2012-06-18 18:04:54 +01:00
Emmanuele Bassi
aacd28cc21
conform: Initial suite for ClutterInterval
...
ClutterInterval is undertested, so we should start adding a unit test
for it.
2012-06-18 18:04:54 +01:00
Emmanuele Bassi
54e22590b9
interval: Remove unnecessary check
...
Now that the interval can transform the initial and final values to the
type declared when constructing it, there is no need to check for the
value type inside set_initial_value() and set_final_value().
2012-06-18 18:04:54 +01:00
Emmanuele Bassi
a0c620b157
interval: Transform values on set, if needed
...
It's possible that GValues passed to a ClutterInterval setter are not
of the same type as the interval - for instance, if they come from
language bindings, or from untrusted sources; we can use the same
transformation functions we already use inside ClutterTransition to
ensure that the ClutterInterval always stores values of the same type
used to create the interval itself.
2012-06-18 17:25:47 +01:00
Alejandro Piñeiro
b525253c88
tests: a11y: updated atkevents after bug 675183
2012-06-18 12:45:02 +02:00
Alejandro Piñeiro
0d4d467dd5
a11y: Remove key event listener hash table if no longer required
...
https://bugzilla.gnome.org/show_bug.cgi?id=675183
2012-06-18 12:44:59 +02:00
Alejandro Piñeiro
cafcf14e0e
a11y: atk_add_key_event_listener listener_id should not return 0 as a valid value
...
cally_util_add_key_event_listener first id returned was 0, but as
the documentation says, this is a reserved value for a wrong id
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=675183
2012-06-18 12:44:55 +02:00
Rico Tzschichholz
accc183474
prefs: remove some obsolete header definitions
2012-06-18 11:54:22 +02:00