Commit Graph

6596 Commits

Author SHA1 Message Date
Robert Bragg
96866804f0 actor: consider empty pv ok in set_default_paint_volume
In _clutter_actor_set_default_paint_volume we were returning FALSE if an
actor has an empty allocation because we were claiming it doesn't have a
paint-volume. Actually an empty/degenerate pv is valid and has different
semantics to returning FALSE because FALSE means the pv is unknown and
so Clutter will have to assume the worst - that the pv is basically
un-bounded.

Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com>
2011-09-19 14:52:46 +01:00
Robert Bragg
239fc43c5f stage: implicitly clip to stage window bounds
This implicitly intersects any clip for redrawing with the stage window
bounds. Without this we were sometimes trying to set huge off screen
scissors leading to undefined clipping results.

Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com>
2011-09-19 14:48:31 +01:00
Robert Bragg
662d12aeff actor: add oob-transform opt to catch out-of-band transforms
Out-of-band transforms are considered to be all actor transforms done
directly with the Cogl API instead of via ClutterActor::apply_transform.

By running with CLUTTER_DEBUG=oob-transform then Clutter will explicitly
try to detect when un-expected transforms have been applied to the
modelview matrix stack.

Out-of-band transforms can lead to awkward bugs in Clutter applications
because Clutter itself doesn't know about them and this can disrupt
Clutter's input handling and calculations of actor paint-volumes
which can lead to visual artifacts.

Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com>
2011-09-19 14:48:06 +01:00
Gil Forcada
f315e760de [l10n]Updated Catalan translation 2011-09-17 16:38:12 +02:00
Matej Urbančič
c434553f0f Updated Slovenian translation 2011-09-17 10:53:10 +02:00
I Felix
8df42e8822 Updated Tamil Translations 2011-09-16 17:12:00 +05:30
Martin Srebotnjak
1679104a0e Updated Slovenian translation 2011-09-15 22:33:37 +02:00
Shankar Prasad
7a0481c79e updated Kannada Translation 2011-09-15 23:18:03 +05:30
Shankar Prasad
c2e9b38eb9 updated Kannada Translation 2011-09-15 22:42:34 +05:30
Rui Matos
41bd15226f text: We still have to paint the actor if the cursor is visible
https://bugzilla.gnome.org/show_bug.cgi?id=659116
2011-09-15 10:43:04 +01:00
Jasper St. Pierre
1883ee13f9 text: Take out a nonsense fallback
Invisible text is the best surprise for an update!

https://bugzilla.gnome.org/show_bug.cgi?id=659069
2011-09-14 21:49:45 -04:00
Andika Triwidada
7a7a4f6441 Updated Indonesian translation 2011-09-15 04:05:54 +07:00
Aurimas Černius
7c5160f36d Updated Lithuanian translation 2011-09-14 20:18:34 +03:00
Rajesh Ranjan
9efcb8a8a3 hindi update 2011-09-13 14:41:57 +05:30
Emmanuele Bassi
8f8663c875 moduleset: Fix up the location of the moduleset file
We moved to git.gnome.org, and the moduleset moved with us.
2011-09-12 16:38:49 +01:00
Emmanuele Bassi
92d4197b2c Post-release version bump to 1.7.91 2011-09-12 13:59:30 +01:00
Emmanuele Bassi
8435549448 Release Clutter 1.7.90 (1.8.0-rc1) 2011-09-12 13:16:03 +01:00
Emmanuele Bassi
a9a104e109 docs: Fixes for cross-references 2011-09-12 13:12:14 +01:00
Emmanuele Bassi
2a56cc799a docs: Remove unused cogl-2.0 directory
The Cogl API reference has long since moved out of the Clutter tree.
2011-09-12 13:05:16 +01:00
Emmanuele Bassi
7ace3c2fdd docs: Fix clutter_box_packv() link 2011-09-12 12:36:31 +01:00
Emmanuele Bassi
27502af591 actor: Pack bitfields in ClutterActorPrivate
Bitfields should go at the end, to avoid holes in the middle of the
struct.
2011-09-12 11:33:18 +01:00
Andika Triwidada
e5cd039b53 Updated Indonesian translation 2011-09-12 12:17:46 +07:00
Muhammet Kara
99185974c4 [l10n]Updated Turkish translation 2011-09-11 22:13:31 +03:00
Matthias Clasen
5781beb22d cally: Fix up event listener registration minimally
For god-knows-what reason, at-spi is trying various formats
of strings when registering listeners, triggering an ugly

(gnome-shell:4411): Clutter-WARNING **: invalid object type create

warning in .xsession-errors. Stop doing that.

Also don't leak temporary string arrays that are a side-effect
of passing parameters around as formatted strings.

https://bugzilla.gnome.org/show_bug.cgi?id=658721
2011-09-11 10:57:25 -04:00
Xandru Armesto
aea904afe9 Updated asturian translation 2011-09-11 15:46:50 +02:00
Jorge González
6b6e662493 Updated Spanish translation 2011-09-11 11:47:40 +02:00
Muhammet Kara
83c61b8758 [l10n]Updated Turkish translation 2011-09-11 11:28:56 +03:00
Yuri Myasoedov
cf36ac00d9 Added Russian translation 2011-09-11 11:27:00 +04:00
Muhammet Kara
c2fc031d95 [l10n]Updated Turkish translation 2011-09-11 09:00:52 +03:00
Muhammet Kara
9215987189 [l10n]Added Turkish translation 2011-09-10 21:05:30 +03:00
Aurimas Černius
56e3c73300 Added Lithuanian translation 2011-09-10 19:14:25 +03:00
Ray Wang
50fc740730 Update Chinese (Simplified) translation 2011-09-10 16:07:27 +08:00
Emmanuele Bassi
c5ba998d64 stage: Protect call to unrealize() in dispose
Do not call ClutterStageWindow::unrealize() if the Stage has already
been unrealized.
2011-09-09 13:53:33 +01:00
Emmanuele Bassi
598e7a4a7e cogl/stage: Protect against multiple invocation of unrealize() 2011-09-09 13:52:55 +01:00
Emmanuele Bassi
802b9d463c docs: Update the HACKING file 2011-09-09 12:17:03 +01:00
Kenneth Nielsen
0d19892cd8 Added Danish translation, adopted from launchpad 2011-09-09 13:03:40 +02:00
Rajesh Ranjan
e6fb9770b1 hindi added for clutter 2011-09-09 14:43:24 +05:30
Manoj Kumar Giri
746f5e3885 Updated Oriya Translation 2011-09-09 10:54:50 +05:30
Rudolfs Mazurs
909e116299 Added Latvian translation. 2011-09-08 16:51:54 -04:00
Piotr Drąg
5483c4402a Updated Polish translation 2011-09-08 21:56:18 +02:00
Manoj Kumar Giri
fc1f27df94 Updated Oriya Translation 2011-09-08 20:26:21 +05:30
Piotr Drąg
fc65f83b4a Restore clutter-1.0.pot file 2011-09-08 16:35:47 +02:00
Og B. Maciel
fc91234399 Updated header section and added myself as a translator as I did quite a lot of work for this package as I reviewed it. 2011-09-08 10:21:26 -04:00
Edvaldo de Souza Cruz
669d796ecb Added Brazilian Portuguese translation with some massive review and changed done by Og Maciel <ogmaciel@gnome.org>. 2011-09-08 10:19:16 -04:00
Emmanuele Bassi
bcd37e2e3d script: Hide private symbols
A bunch of private functions we use when parsing got exposed accidentaly
to the list of public symbols by virtue of not having the leading '_'
that we use to filter them out of the shared object — all the while the
header that declares them is a private, non installed one.

Let's rectify this situation with a bit of minor surgery on the code.
2011-09-07 16:14:10 +01:00
Emmanuele Bassi
9f70ea8dee text: Pack all bitfields at the end of the private structure
Don't leave them in the middle, to avoid holes.
2011-09-07 15:37:09 +01:00
Emmanuele Bassi
0c22246bea text: Clear up priv->text checks
The priv->text field cannot ever be NULL, so we don't need to check for
that in a series of places. We also need to assert() that pre-condition
in the couple of places where we set the contents of the ClutterText
actor, namely in set_text_internal() and set_markup_internal().

Based on a patch by: Dan Winship <danw@gnome.org>

http://bugzilla.clutter-project.org/show_bug.cgi?id=2629
2011-09-07 15:37:09 +01:00
Emmanuele Bassi
320bdeac03 text: Consistently protect against NULL strings
When calling clutter_text_set_text_internal() or
clutter_text_set_markup_internal() we need to make sure to pass a
non-NULL string.
2011-09-07 15:37:09 +01:00
Bruce Cowan
c3e8d30afa Added British English translation 2011-09-07 13:27:34 +01:00
Emmanuele Bassi
2af7ac4c13 actor: Fix annotations for out Vertex parameters 2011-09-07 13:00:35 +01:00