Commit Graph

6574 Commits

Author SHA1 Message Date
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
Emmanuele Bassi
0bd1e47b22 text: Make :use-markup set idempotent
Setting :use-markup and :text is currently not idempotent, and it
depends on the ordering, e.g.:

  g_object_set (actor, "use-markup", TRUE, "text", value, NULL);

does not yield the same results as:

  g_object_set (actor, "text", value, "use-markup", TRUE, NULL);

This is particularly jarring when using ClutterText from ClutterScript,
but in general GObject properties should not rely on the order when used
from g_object_set().

The fix is to store the contents of the ClutterText as a separate string
from the displayed text, and use the contents, instead of the displayed
text, when toggling the :use-markup property.

Let's also add a unit test for good measure, to try and catch
regressions.

https://bugzilla.gnome.org/show_bug.cgi?id=651940
2011-09-07 13:00:35 +01:00
Andika Triwidada
f58c2cec12 Updated Indonesian translation 2011-09-07 15:46:43 +07:00
Neil Roberts
c5cf8c53cd mingw-fetch-dependencies: Build ATK from source
There is no prebuilt package for ATK 2.1.5 which Clutter now depends
on so let's build it from source instead. The ATK packages don't have
a .gz version so this patch also changes it to download the .bz2
version of json-glib to avoid having to accept both formats.
2011-09-06 09:41:06 +01:00
Emmanuele Bassi
9d46c47997 build: Fix up the release rules
Highlight actions and errors, and update the release message.
2011-09-06 08:32:07 +01:00
Emmanuele Bassi
28ad23e7d7 Post-release version bump to 1.7.15 2011-09-05 21:39:51 +01:00
Emmanuele Bassi
d992c0cbff Release Clutter 1.7.14 2011-09-05 21:16:01 +01:00
Emmanuele Bassi
9a78eacb72 build: Fix distcheck in cookbook/examples 2011-09-05 21:16:01 +01:00
Emmanuele Bassi
967bd3ac58 docs: Update test-easing and xinclude it into ClutterAnimation
The easing test is a nice example of what ClutterAnimation and
clutter_actor_animate() can do. The "tween ball to the pointer
event coordinates" is a bit of a staple in animation libraries
and their documentation.
2011-09-05 17:22:15 +01:00
Emmanuele Bassi
7024f1cd02 static-colors: Simplify the defines
Use a "private" macro to simplify the defined static colors.
2011-09-05 17:22:14 +01:00
Emmanuele Bassi
359ed2b29f text: Make :line-wrap actually work
When we paint a ClutterText we ask the actor for a PangoLayout that fits
inside the actor's allocation - both width and height.

Sadly, whenever a height is set on a PangoLayout, Pango will wrap its
contents - regardless of whether the layout should actually wrap or not.

This means that in certain easy to exploit cases, Clutter will paint a
Text actor with its contents wrapping even if the :wrap property is set
to FALSE.

In order to fix this we need to encode some more cases inside the
::paint implementation of ClutterText, and ask the cache for a layout
that is sized as the allocation's width, but not as its height; we also
need to perform a clip if we detect that the PangoLayout's logical size
is going to overflow the allocated size. This clip might cause some
performance issue, given that clipping breaks batching in the Cogl
journal; hopefully all clips for text are going to be screen-aligned, so
at the end of the batch it'll just scissor them out.

http://bugzilla.clutter-project.org/show_bug.cgi?id=2339
2011-09-05 17:22:14 +01:00
Dan Winship
73d3026dd1 clutter-flow-layout: fix non-0,0 offset allocation
https://bugzilla.gnome.org/show_bug.cgi?id=649631
2011-09-05 12:21:18 -04:00
Shankar Prasad
14242ce3b2 updated Kannada Translation 2011-09-05 18:03:48 +05:30
Shankar Prasad
f63f359f34 Added and updated Kannada Translation 2011-09-05 14:04:50 +05:30
Marek Černocký
6b1ff3fad4 Updated Czech translation 2011-09-04 19:35:49 +02:00
Fran Dieguez
973b7299b2 Updated galician translations 2011-09-04 18:18:55 +02:00
Chao-Hsiung Liao
924b7e3309 Updated Traditional Chinese translation(Hong Kong and Taiwan) 2011-09-04 06:34:25 +08:00
Daniel Nylander
37c58d61cd Updated Swedish translation 2011-09-03 13:02:29 +02:00
Emmanuele Bassi
a676ae67f7 docs: Fix up deprecation notice for BehaviourScale 2011-09-02 15:51:56 +01:00
Emmanuele Bassi
4255a75940 docs: Fix the ClutterTimeline:auto-reverse link 2011-09-02 15:49:05 +01:00
Emmanuele Bassi
79e152b7a0 docs: Inline test-constraints.c inside BindConstraint's description 2011-09-02 15:48:27 +01:00
Emmanuele Bassi
bce27e45b0 test-constraints: Clean up the example
Add some comments to detail what are we doing and why.
2011-09-02 15:39:56 +01:00
Emmanuele Bassi
0d6208f36e docs: Inline test-drop.c into DropAction's description
Also, mention that DropAction only works with DragAction.
2011-09-02 15:22:08 +01:00