Chun-wei Fan [Thu, 29 Sep 2011 08:33:02 +0000 (16:33 +0800)]
Merge branch 'master' into msvc-support-master
Conflicts:
tests/interactive/Makefile.am
krishnababu k [Thu, 29 Sep 2011 06:39:11 +0000 (12:09 +0530)]
Updated Telugu Translations
Emmanuele Bassi [Wed, 28 Sep 2011 14:54:32 +0000 (15:54 +0100)]
Revert "Add lightness, brightness, and contrast effects"
Discussed a bit with Neil, and I might have jumped the gun a little.
We might want a different API for 1.10. See comment 12 on:
https://bugzilla.gnome.org/show_bug.cgi?id=656156
This reverts commit
4829ae1c79f1ae60d562621b81a7be800e0697bb.
Joseph Scheuhammer [Tue, 27 Sep 2011 17:01:36 +0000 (13:01 -0400)]
Add lightness, brightness, and contrast effects
Added three classes for new clutter effects: inverse lightness,
modify brightness, and modify contrast.
https://bugzilla.gnome.org/show_bug.cgi?id=656156
Emmanuele Bassi [Wed, 28 Sep 2011 12:32:57 +0000 (13:32 +0100)]
tests/interactive: Add some descriptions
Emmanuele Bassi [Tue, 27 Sep 2011 16:50:51 +0000 (17:50 +0100)]
test-textures -> test-texture-slicing
The unit is supposed to be testing the slicing support in CoglTexture.
Emmanuele Bassi [Tue, 27 Sep 2011 16:40:51 +0000 (17:40 +0100)]
test-interactive: Allow querying the interactive test for a description
It would be nice if the interactive tests had a way to be queried for a
description, instead of "Just Knowing" what they are meant to be doing.
Emmanuele Bassi [Tue, 27 Sep 2011 15:40:34 +0000 (16:40 +0100)]
test-texture-async: Clean up the test code
Force threading on, and stop using the default stage and behaviours:
let's try to use modern API.
Emmanuele Bassi [Tue, 27 Sep 2011 15:06:43 +0000 (16:06 +0100)]
texture: Simplify asynchronous loading code
The asynchronous loading code could do with some modernization.
First of all, we should drop the internal GMutex held when manipulating
the boolean flags: it's far too expensive for its role, and modern GLib
provides us with bitlocks that are quite a lot faster.
Then we should consolidate most of the implementation into something
smaller and more manageable.
Emmanuele Bassi [Tue, 27 Sep 2011 13:22:22 +0000 (14:22 +0100)]
texture: Remove GStaticMutex
It's now possible to statically initialize a GMutex.
Emmanuele Bassi [Tue, 27 Sep 2011 13:21:41 +0000 (14:21 +0100)]
Depend on GLib 2.31
We need to switch away from GStaticMutex and use GMutex instead, as the
former has been deprecated.
Tomeu Vizoso [Wed, 28 Sep 2011 12:24:57 +0000 (14:24 +0200)]
Add paint-deform-tiles option to CLUTTER_DEBUG
To make easier to visualize the triangles in a ClutterDeformEffect
https://bugzilla.gnome.org/show_bug.cgi?id=660354
Chun-wei Fan [Tue, 27 Sep 2011 06:35:26 +0000 (14:35 +0800)]
Merge branch 'master' into msvc-support-master
Мирослав Николић [Mon, 26 Sep 2011 23:55:26 +0000 (01:55 +0200)]
Added Serbian translation
Carles Ferrando [Mon, 26 Sep 2011 12:41:42 +0000 (14:41 +0200)]
[l10n]Updated Catalan (Valencian) translation
Emmanuele Bassi [Tue, 16 Aug 2011 15:01:22 +0000 (16:01 +0100)]
Remove internal usage of ClutterGeometry in StageWindow
The ClutterGeometry type is a poor substitute of cairo_rectangle_int_t,
with unsigned integers for width and height to complicate matters.
Let's remove the internal usage of ClutterGeometry and switch to the
rectangle type from Cairo.
https://bugzilla.gnome.org/show_bug.cgi?id=656663
Chao-Hsiung Liao [Sun, 25 Sep 2011 08:16:10 +0000 (16:16 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)
Ask H. Larsen [Sat, 24 Sep 2011 15:28:11 +0000 (17:28 +0200)]
Updated Danish translation
Mario Blättermann [Sat, 24 Sep 2011 08:44:08 +0000 (10:44 +0200)]
[l10n] Updated German translation
Colin Walters [Fri, 23 Sep 2011 01:22:53 +0000 (21:22 -0400)]
clutter-main: Reword translator comment for default:LTR
This makes it much clearer, and fixes some typos in the original.
https://bugzilla.gnome.org/show_bug.cgi?id=659893
Alexandre Franke [Fri, 23 Sep 2011 09:23:26 +0000 (11:23 +0200)]
Mark forgotten string as translatable
https://bugzilla.gnome.org/show_bug.cgi?id=659928
Bruno Brouard [Fri, 23 Sep 2011 16:26:19 +0000 (18:26 +0200)]
Updated French translation
Neil Roberts [Fri, 23 Sep 2011 14:12:44 +0000 (15:12 +0100)]
Add a CLUTTER_PAINT debug option to enable continous redrawing
When testing the performance of an application, it's often useful to
force it to continuously redraw instead of going idle to help measure
the frame rate. This just adds a CLUTTER_PAINT=continuous-redraw which
causes the master clock to queue a redraw on all of the stages
just before it prepares its source.
Reviewed-by: Robert Bragg <robert@linux.intel.com>
Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com>
krishnababu k [Fri, 23 Sep 2011 12:31:37 +0000 (18:01 +0530)]
Updated Telugu Translations
Manoj Kumar Giri [Fri, 23 Sep 2011 07:16:22 +0000 (12:46 +0530)]
Updated Oriya Translation
I Felix [Fri, 23 Sep 2011 07:12:15 +0000 (12:42 +0530)]
Updated Tamil Translations
A S Alam [Fri, 23 Sep 2011 01:54:56 +0000 (07:24 +0530)]
update Punjabi Translation
Neil Roberts [Wed, 21 Sep 2011 15:36:30 +0000 (16:36 +0100)]
clutter-offscreen-effect: Apply matrix expansion to proj not mv
When the viewport gets expanded because the actor extends off the edge
of the screen, instead of applying the transformation to the root of
the modelview transformation it is now applied to the end of the
projection transformation. This should end up with the same
transformation. This fixes a problem when the offscreen effects are
nested and the inner effect would try to pick up the current modelview
transformation to rescale it to fit the new viewport size. In this
case the modelview would have already been scaled for the size of the
outer viewport so it would end up wrong.
https://bugzilla.gnome.org/show_bug.cgi?id=659601
Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com>
Reviewed-by: Robert Bragg <robert@linux.intel.com>
Nilamdyuti Goswami [Thu, 22 Sep 2011 10:41:20 +0000 (12:41 +0200)]
Add Assamese translation
Neil Roberts [Wed, 21 Sep 2011 12:37:44 +0000 (13:37 +0100)]
mingw-fetch-dependencies: Mirror the changes made to the Cogl version
Cogl has a similar script which has had the following additional
changes:
* Don't pass -c to wget
* Explicitly download and run config.guess
This patch just syncs up with those.
https://bugzilla.gnome.org/show_bug.cgi?id=659625
Damien Lespiau [Tue, 20 Sep 2011 16:34:46 +0000 (17:34 +0100)]
mingw32: Update the build script to compile 1.8.0
* Updated dependencies, glib 2.28 and cogl 1.8.0
* Mesa has removed mesa_wgl.h from its headers
* added -I$ROOT_DIR/include to the CFLAGS to include the headers from
our prefix (say <GL/gl.h>) before the system ones
https://bugzilla.gnome.org/show_bug.cgi?id=659625
Duarte Loreto [Tue, 20 Sep 2011 23:34:48 +0000 (00:34 +0100)]
Updated Portuguese translation
Emmanuele Bassi [Mon, 19 Sep 2011 22:14:04 +0000 (23:14 +0100)]
Fix typo in ClutterSettings:password-hint-time blurb
Emmanuele Bassi [Mon, 19 Sep 2011 15:44:22 +0000 (16:44 +0100)]
text: Implement password hint
A ClutterText in password mode should have the ability to show the last
input character. This feature allows easier password entry on platforms
with unreliable keyboards, such as touchscreens or small devices.
https://bugzilla.gnome.org/show_bug.cgi?id=652588
Emmanuele Bassi [Mon, 19 Sep 2011 15:43:05 +0000 (16:43 +0100)]
settings: Add password-hint-time property
Add a setting that controls whether ClutterText actors in password mode
should display the last input character for a defined time. This helps
on touch-based interfaces.
https://bugzilla.gnome.org/show_bug.cgi?id=652588
Emmanuele Bassi [Mon, 19 Sep 2011 19:04:11 +0000 (20:04 +0100)]
Post branch version bump to 1.9.1
Emmanuele Bassi [Mon, 19 Sep 2011 19:02:17 +0000 (20:02 +0100)]
Depend on Cogl new stable release, 1.8.0
Tomeu Vizoso [Mon, 19 Sep 2011 18:11:50 +0000 (20:11 +0200)]
Queue a redraw when removing an effect by name
https://bugzilla.gnome.org/show_bug.cgi?id=659501
Craig R. Hughes [Mon, 19 Sep 2011 16:30:00 +0000 (09:30 -0700)]
Fix calculation of duration for ClutterState default transitions
https://bugzilla.gnome.org/show_bug.cgi?id=659200
Emmanuele Bassi [Mon, 19 Sep 2011 16:51:23 +0000 (17:51 +0100)]
Bump GLib dependency
We have been using g_slist_free_full() which was added in GLib 2.28, and
yet we neved bumped the GLib dependency. Whoopsie.
Robert Bragg [Mon, 19 Sep 2011 13:38:08 +0000 (14:38 +0100)]
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>
Robert Bragg [Mon, 19 Sep 2011 11:54:31 +0000 (12:54 +0100)]
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>
Robert Bragg [Mon, 19 Sep 2011 11:36:52 +0000 (12:36 +0100)]
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>
Chun-wei Fan [Mon, 19 Sep 2011 06:24:04 +0000 (14:24 +0800)]
Merge branch 'master' into msvc-support-master
Gil Forcada [Sat, 17 Sep 2011 14:38:12 +0000 (16:38 +0200)]
[l10n]Updated Catalan translation
Matej Urbančič [Sat, 17 Sep 2011 08:53:10 +0000 (10:53 +0200)]
Updated Slovenian translation
I Felix [Fri, 16 Sep 2011 11:42:00 +0000 (17:12 +0530)]
Updated Tamil Translations
Chun-wei Fan [Fri, 16 Sep 2011 09:34:29 +0000 (17:34 +0800)]
Conform-tests: Remove C99ism
Chun-wei Fan [Fri, 16 Sep 2011 09:25:47 +0000 (17:25 +0800)]
msvc-support: Recover wrecked branch
Recover the branch! :|
Chun-wei Fan [Fri, 16 Sep 2011 09:15:33 +0000 (17:15 +0800)]
Recover msvc-support
messed up my own git repo...
Martin Srebotnjak [Thu, 15 Sep 2011 20:33:37 +0000 (22:33 +0200)]
Updated Slovenian translation
Shankar Prasad [Thu, 15 Sep 2011 17:48:03 +0000 (23:18 +0530)]
updated Kannada Translation
Shankar Prasad [Thu, 15 Sep 2011 17:12:34 +0000 (22:42 +0530)]
updated Kannada Translation
Rui Matos [Thu, 15 Sep 2011 03:50:43 +0000 (04:50 +0100)]
text: We still have to paint the actor if the cursor is visible
https://bugzilla.gnome.org/show_bug.cgi?id=659116
Jasper St. Pierre [Wed, 14 Sep 2011 16:01:48 +0000 (12:01 -0400)]
text: Take out a nonsense fallback
Invisible text is the best surprise for an update!
https://bugzilla.gnome.org/show_bug.cgi?id=659069
Andika Triwidada [Wed, 14 Sep 2011 21:05:54 +0000 (04:05 +0700)]
Updated Indonesian translation
Aurimas Černius [Wed, 14 Sep 2011 17:18:34 +0000 (20:18 +0300)]
Updated Lithuanian translation
Rajesh Ranjan [Tue, 13 Sep 2011 09:11:57 +0000 (14:41 +0530)]
hindi update
Emmanuele Bassi [Mon, 12 Sep 2011 15:36:44 +0000 (16:36 +0100)]
moduleset: Fix up the location of the moduleset file
We moved to git.gnome.org, and the moduleset moved with us.
Emmanuele Bassi [Mon, 12 Sep 2011 12:59:30 +0000 (13:59 +0100)]
Post-release version bump to 1.7.91
Emmanuele Bassi [Mon, 12 Sep 2011 12:16:03 +0000 (13:16 +0100)]
Release Clutter 1.7.90 (1.8.0-rc1)
Emmanuele Bassi [Mon, 12 Sep 2011 12:12:14 +0000 (13:12 +0100)]
docs: Fixes for cross-references
Emmanuele Bassi [Mon, 12 Sep 2011 12:05:16 +0000 (13:05 +0100)]
docs: Remove unused cogl-2.0 directory
The Cogl API reference has long since moved out of the Clutter tree.
Emmanuele Bassi [Mon, 12 Sep 2011 11:36:31 +0000 (12:36 +0100)]
docs: Fix clutter_box_packv() link
Emmanuele Bassi [Mon, 12 Sep 2011 10:33:18 +0000 (11:33 +0100)]
actor: Pack bitfields in ClutterActorPrivate
Bitfields should go at the end, to avoid holes in the middle of the
struct.
Andika Triwidada [Mon, 12 Sep 2011 05:17:46 +0000 (12:17 +0700)]
Updated Indonesian translation
Muhammet Kara [Sun, 11 Sep 2011 19:13:31 +0000 (22:13 +0300)]
[l10n]Updated Turkish translation
Matthias Clasen [Sun, 11 Sep 2011 00:25:15 +0000 (20:25 -0400)]
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
Xandru Armesto [Sun, 11 Sep 2011 13:46:50 +0000 (15:46 +0200)]
Updated asturian translation
Jorge González [Sun, 11 Sep 2011 09:47:40 +0000 (11:47 +0200)]
Updated Spanish translation
Muhammet Kara [Sun, 11 Sep 2011 08:28:56 +0000 (11:28 +0300)]
[l10n]Updated Turkish translation
Yuri Myasoedov [Sun, 11 Sep 2011 07:27:00 +0000 (11:27 +0400)]
Added Russian translation
Muhammet Kara [Sun, 11 Sep 2011 06:00:52 +0000 (09:00 +0300)]
[l10n]Updated Turkish translation
Muhammet Kara [Sat, 10 Sep 2011 18:05:30 +0000 (21:05 +0300)]
[l10n]Added Turkish translation
Aurimas Černius [Sat, 10 Sep 2011 16:14:25 +0000 (19:14 +0300)]
Added Lithuanian translation
Ray Wang [Sat, 10 Sep 2011 08:07:27 +0000 (16:07 +0800)]
Update Chinese (Simplified) translation
Emmanuele Bassi [Fri, 9 Sep 2011 12:53:33 +0000 (13:53 +0100)]
stage: Protect call to unrealize() in dispose
Do not call ClutterStageWindow::unrealize() if the Stage has already
been unrealized.
Emmanuele Bassi [Fri, 9 Sep 2011 12:52:55 +0000 (13:52 +0100)]
cogl/stage: Protect against multiple invocation of unrealize()
Emmanuele Bassi [Fri, 9 Sep 2011 11:16:37 +0000 (12:16 +0100)]
docs: Update the HACKING file
Kenneth Nielsen [Fri, 9 Sep 2011 11:03:40 +0000 (13:03 +0200)]
Added Danish translation, adopted from launchpad
Rajesh Ranjan [Fri, 9 Sep 2011 09:13:24 +0000 (14:43 +0530)]
hindi added for clutter
Manoj Kumar Giri [Fri, 9 Sep 2011 05:24:50 +0000 (10:54 +0530)]
Updated Oriya Translation
Rudolfs Mazurs [Thu, 8 Sep 2011 20:51:54 +0000 (16:51 -0400)]
Added Latvian translation.
Piotr Drąg [Thu, 8 Sep 2011 19:56:18 +0000 (21:56 +0200)]
Updated Polish translation
Manoj Kumar Giri [Thu, 8 Sep 2011 14:54:42 +0000 (20:24 +0530)]
Updated Oriya Translation
Piotr Drąg [Thu, 8 Sep 2011 14:35:47 +0000 (16:35 +0200)]
Restore clutter-1.0.pot file
Og B. Maciel [Thu, 8 Sep 2011 14:21:26 +0000 (10:21 -0400)]
Updated header section and added myself as a translator as I did quite a lot of work for this package as I reviewed it.
Edvaldo de Souza Cruz [Thu, 8 Sep 2011 14:19:16 +0000 (10:19 -0400)]
Added Brazilian Portuguese translation with some massive review and changed done by Og Maciel <ogmaciel@gnome.org>.
Emmanuele Bassi [Wed, 7 Sep 2011 15:14:10 +0000 (16:14 +0100)]
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.
Emmanuele Bassi [Wed, 7 Sep 2011 14:20:42 +0000 (15:20 +0100)]
text: Pack all bitfields at the end of the private structure
Don't leave them in the middle, to avoid holes.
Emmanuele Bassi [Wed, 7 Sep 2011 12:28:15 +0000 (13:28 +0100)]
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
Emmanuele Bassi [Wed, 7 Sep 2011 12:08:22 +0000 (13:08 +0100)]
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.
Bruce Cowan [Wed, 7 Sep 2011 12:27:34 +0000 (13:27 +0100)]
Added British English translation
Emmanuele Bassi [Wed, 7 Sep 2011 11:04:08 +0000 (12:04 +0100)]
actor: Fix annotations for out Vertex parameters
Emmanuele Bassi [Tue, 6 Sep 2011 11:45:41 +0000 (12:45 +0100)]
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
Andika Triwidada [Wed, 7 Sep 2011 08:46:43 +0000 (15:46 +0700)]
Updated Indonesian translation
Neil Roberts [Tue, 6 Sep 2011 08:41:06 +0000 (09:41 +0100)]
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.
Emmanuele Bassi [Tue, 6 Sep 2011 07:32:07 +0000 (08:32 +0100)]
build: Fix up the release rules
Highlight actions and errors, and update the release message.
Emmanuele Bassi [Mon, 5 Sep 2011 20:39:51 +0000 (21:39 +0100)]
Post-release version bump to 1.7.15
Emmanuele Bassi [Mon, 5 Sep 2011 19:54:35 +0000 (20:54 +0100)]
Release Clutter 1.7.14