22212 Commits

Author SHA1 Message Date
Muhammet Kara
35ff4a562d [l10n]Added Turkish translation 2011-09-10 19:22:08 +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
Javier Jardón
f9626d2db6 Make maintiner mode enabled by default
See http://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/
2011-09-09 15:43:09 +01:00
Robert Bragg
f1c2d7e965 2.0: Add cogl2-experimental.h + don't pollute .pc CFLAGS
Instead of adding -DCOGL_ENABLE_EXPERIMENTAL_2_0_API to the
cogl-2.0-experimental.pc file we now install a cogl2-experimental.h
that #defines COGL_ENABLE_EXPERIMENTAL_2_0_API before including
cogl.h.

The problem with having the define in the .pc file is that you might
develop a library that depends on the experimental 2.0 api internally
and then you might want to use that library with Clutter which still
uses the 1.0 API but the .pc file for your library will indirectly,
automatically enable the 2.0 api which can cause conflicts.
2011-09-09 15:06:31 +01:00
Robert Bragg
d43505db22 arbfp: remove redundant unit_state re-initialization
When we are about to start arbfp codegen we call shader_state_new() to
allocate new state structures used to build up the code and that
function makes sure to zero the newly allocated structures.

Right after calling shader_state_new() we were then also explicitly
iterating though the newly allocated unit_state structures and zeroing
the .sampled and .dirty_combine_constant members as well as resetting
shader_state->next_constant_id = 0. This patch removes that redundant
re-initialization of state.

Reviewed-by: Neil Roberts <neil@linux.intel.com>
2011-09-09 14:40:48 +01:00
Robert Bragg
b6cea6bed6 arbfp: track which layers have combine constants
We weren't actually tracking which layers have been allocated param
space for combine constants; all layers just had a default constant_id
of 0 that indexes into the program.local[] params array and a dirty flag
to say when the constant needs updating. There are times though when we
say to update everything by-passing the dirty flag and because we
weren't actually tracking which layers needed constants we would always
write a constant to program.local[0] for every layer. The upshot was
that we could end up clobbering a real constant that was actually
allocated the constant_id = 0 slot.

This patch adds a new UnitState bitfield to track if the layer has a
corresponding constant that may need flushing and we only ever write the
constant with glProgramLocalParameter4fv if that's set.

https://bugzilla.gnome.org/show_bug.cgi?id=658092

Reviewed-by: Neil Roberts <neil@linux.intel.com>
2011-09-09 14:40:48 +01: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
Bruce Cowan
5888e0c65f Updated British English translation 2011-09-09 13:14:02 +01:00
Bruce Cowan
28b59589ca Updated British English translation 2011-09-09 12:56:39 +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
57b8f4c6ce Updated Oriya Translation 2011-09-09 11:11:42 +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
Luca Ferretti
fb10910e66 l10n: Updated Italian translation 2011-09-08 21:57:12 +02:00
Piotr Drąg
5483c4402a Updated Polish translation 2011-09-08 21:56:18 +02:00
Piotr Drąg
6d2efe9460 Updated Polish translation 2011-09-08 21:27:29 +02:00
Claude Paroz
f587595765 Updated French translation 2011-09-08 21:10:44 +02:00
Manoj Kumar Giri
fc1f27df94 Updated Oriya Translation 2011-09-08 20:26:21 +05:30
Robert Bragg
b5a7657076 Starts porting Cogl conformance tests from Clutter
This makes a start on porting the Cogl conformance tests that currently
still live in the Clutter repository to be standalone Cogl tests that no
longer require a ClutterStage.

The main thing is that this commit brings in is the basic testing
infrastructure we need, so now we can port more and more tests
incrementally.

Since the test suite wants a way to synchronize X requests/replies and
we can't simply call XSynchronize in the test-utils code before we know
if we are really running on X this adds a check for an environment
variable named "COGL_X11_SYNC" in cogl-xlib-renderer.c and if it's set
it forces XSynchronize (dpy, TRUE) to be called.

By default the conformance tests are run off screen. This makes the
tests run much faster and they also don't interfere with other work you
may want to do by constantly stealing focus. CoglOnscreen framebuffers
obviously don't get tested this way so it's important that the tests
also get run on screen every once in a while, especially if changes are
being made to CoglFramebuffer related code.  On screen testing can be
enabled by setting COGL_TEST_ONSCREEN=1 in your environment.
2011-09-08 15:48:07 +01:00
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
Duarte Loreto
5e6e8728c3 Updated Portuguese translation 2011-09-08 00:27:48 +01:00
Matej Urbančič
40848e72dc Updated Slovenian translation 2011-09-07 21:05:26 +02:00
Matej Urbančič
181e000adb Added Slovenian translation 2011-09-07 21:01:21 +02:00
Matej Urbančič
f620f1b466 Updated Slovenian translation 2011-09-07 20:11:30 +02: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
Luca Ferretti
fdfb143106 Added Italian translation 2011-09-07 00:36:01 +02:00
Matthias Clasen
818320e748 Don't show a title on alerts
This goes better with the general style of similar alerts throughout
GNOME 3, and as has been pointed out in bug 591735, 'Mutter' is
a somewhat unfortunate title in several lanuages, such as English
and German.
2011-09-06 12:51:53 -04:00
Chao-Hsiung Liao
fc2e7e94a5 Updated Traditional Chinese translation(Hong Kong and Taiwan) 2011-09-06 19:49:39 +08:00
Chun-wei Fan
a1d869384e Fix typo in cogl/cogl-display.h
The line "#define cogl_display_get_rendrer cogl_display_get_rendrer_EXP"
should read
"#define cogl_display_get_renderer cogl_display_get_renderer_EXP"...

https://bugzilla.gnome.org/show_bug.cgi?id=658333

Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com>
2011-09-06 11:19:20 +01: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
Andika Triwidada
81486b1681 Added Indonesian translation 2011-09-06 14:06:52 +07:00
Arash Mousavi
a4d0d606ef Added persian translation 2011-09-06 11:32:23 +04:30
Andika Triwidada
a47e35ba2e Updated Indonesian translation 2011-09-06 13:50:57 +07:00
Wouter Bolsterlee
b3c133f1d2 New Dutch translation by Wouter Bolsterlee 2011-09-06 01:00:25 +02: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