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>
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
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
Emmanuele Bassi [Mon, 5 Sep 2011 20:15:37 +0000 (21:15 +0100)]
build: Fix distcheck in cookbook/examples
Emmanuele Bassi [Mon, 5 Sep 2011 14:26:27 +0000 (15:26 +0100)]
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.
Emmanuele Bassi [Mon, 5 Sep 2011 14:25:46 +0000 (15:25 +0100)]
static-colors: Simplify the defines
Use a "private" macro to simplify the defined static colors.
Emmanuele Bassi [Sun, 4 Sep 2011 16:57:50 +0000 (17:57 +0100)]
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
Dan Winship [Fri, 2 Sep 2011 16:51:46 +0000 (12:51 -0400)]
clutter-flow-layout: fix non-0,0 offset allocation
https://bugzilla.gnome.org/show_bug.cgi?id=649631
Shankar Prasad [Mon, 5 Sep 2011 12:33:48 +0000 (18:03 +0530)]
updated Kannada Translation
Shankar Prasad [Mon, 5 Sep 2011 08:34:50 +0000 (14:04 +0530)]
Added and updated Kannada Translation
Marek Černocký [Sun, 4 Sep 2011 17:35:49 +0000 (19:35 +0200)]
Updated Czech translation
Fran Dieguez [Sun, 4 Sep 2011 16:18:55 +0000 (18:18 +0200)]
Updated galician translations
Chao-Hsiung Liao [Sat, 3 Sep 2011 22:34:25 +0000 (06:34 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)
Daniel Nylander [Sat, 3 Sep 2011 11:02:29 +0000 (13:02 +0200)]
Updated Swedish translation
Emmanuele Bassi [Fri, 2 Sep 2011 14:51:56 +0000 (15:51 +0100)]
docs: Fix up deprecation notice for BehaviourScale
Emmanuele Bassi [Fri, 2 Sep 2011 14:49:05 +0000 (15:49 +0100)]
docs: Fix the ClutterTimeline:auto-reverse link
Emmanuele Bassi [Fri, 2 Sep 2011 14:48:27 +0000 (15:48 +0100)]
docs: Inline test-constraints.c inside BindConstraint's description
Emmanuele Bassi [Fri, 2 Sep 2011 14:36:40 +0000 (15:36 +0100)]
test-constraints: Clean up the example
Add some comments to detail what are we doing and why.
Emmanuele Bassi [Fri, 2 Sep 2011 14:22:08 +0000 (15:22 +0100)]
docs: Inline test-drop.c into DropAction's description
Also, mention that DropAction only works with DragAction.
Emmanuele Bassi [Fri, 2 Sep 2011 13:50:07 +0000 (14:50 +0100)]
docs: Include test-drag as the DragAction example
Emmanuele Bassi [Fri, 2 Sep 2011 13:28:16 +0000 (14:28 +0100)]
docs: Remove the 1.8 index for Cally
No new API has been added in during the 1.7 development cycle.
Emmanuele Bassi [Fri, 2 Sep 2011 13:18:54 +0000 (14:18 +0100)]
docs: Add missing clutter_backend_get_cogl_context symbol
Emmanuele Bassi [Fri, 2 Sep 2011 12:58:34 +0000 (13:58 +0100)]
bind: Check that the source is not contained inside the actor
Like commit
d0439cfb586ca14282c89035119a4acbc0295df7 for
AlignConstraint, let's check that the BindConstraint source is not
a child or a grandchild of the actor attached to the Constraint.
Emmanuele Bassi [Fri, 2 Sep 2011 12:56:25 +0000 (13:56 +0100)]
align: Check that source is not contained inside the actor
AlignConstraint won't work if the source is a child or a grandchild of
the ClutterActorMeta:actor to which it has been attached to: the
allocation flows from the parent to its children, not the other way
around; in order to avoid weirdness, we better document and check
that when we set the actor and when we set the source.
Emmanuele Bassi [Fri, 2 Sep 2011 12:54:57 +0000 (13:54 +0100)]
docs: Remove mentions of "frames" in Timeline
We still have some really old naming lying around.
Emmanuele Bassi [Fri, 2 Sep 2011 10:01:36 +0000 (11:01 +0100)]
cookbooks/examples: Use g_signal_handlers_disconnect_by_func()
The disconnect_matched() function is a bit too complicated, and its
simpler wrapper disconnect_by_func() is functionally equivalent in the
cases used by the cookbook examples.
Emmanuele Bassi [Thu, 1 Sep 2011 16:12:46 +0000 (17:12 +0100)]
Lock the main context when modifying the repaint functions list
The repaint functions list can (and should) be manipulated from
different threads, but it currently doesn't prevent multiple threads
from accessing it concurrently. We should have a simple lock and take it
when adding and removing elements from the list; the invocation is still
performed under the Big Clutter Lock™, so it doesn't require special
handling.
Emmanuele Bassi [Thu, 1 Sep 2011 15:06:04 +0000 (16:06 +0100)]
docs/cookbook: Update the introduction
Clean up some wording.
Emmanuele Bassi [Thu, 1 Sep 2011 12:51:20 +0000 (13:51 +0100)]
build: Install the cookbook examples code
Use $(datadir)/clutter-1.0/cookbook/examples as the target directory.
Emmanuele Bassi [Wed, 31 Aug 2011 11:27:30 +0000 (12:27 +0100)]
docs/cookbook: Update copyright
Emmanuele Bassi [Wed, 31 Aug 2011 11:23:01 +0000 (12:23 +0100)]
tests: Go back to the hover state on button-release
If we get a button release, going back to the hover state is the most
logical choice.
Emmanuele Bassi [Wed, 31 Aug 2011 11:22:07 +0000 (12:22 +0100)]
docs/cookbook: Add script->state connection recipe
Script definitions can connect a signal to a State transition; this is a
useful thing to document with a recipe in the cookbook.
Daniel Mustieles [Tue, 30 Aug 2011 19:24:26 +0000 (21:24 +0200)]
Updated Spanish translation
Robert Bragg [Tue, 12 Jul 2011 22:03:41 +0000 (23:03 +0100)]
actor: make offscreen_redirect prop take flags + default off
Because we have had several reports about significant performance
regressions since we enabled offscreen redirection by default for
handling correct opacity we are now turning this feature off by default.
We feel that clutter should prioritize performance over correctness in
this case. Correct opacity is still possible if required but the
overhead of the numerous offscreen allocations as well as the cost of
many render target switches per-frame seems too high relative the
improvement in quality for many cases.
On reviewing the offscreen_redirect property so we have a way to
disable redirection by default we realized that it makes more sense for
it to take a set of flags instead of an enum so we can potentially
extend the number of things that might result in offscreen redirection.
We removed the ability to say REDIRECT_ALWAYS_FOR_OPACITY, since it
seems that implies you don't trust the implementation of an actor's
has_overlaps() vfunc which doesn't seem right.
The default value if actor::redirect_offscreen is now 0 which
effectively means don't ever redirect the actor offscreen.
Emmanuele Bassi [Tue, 30 Aug 2011 09:47:12 +0000 (10:47 +0100)]
actions/drag: Be more reliable when destroying the drag handle
Whenever the drag handle gets destroyed mid-drag we need to cancel any
current drag operation and reset the state of the DragAction.
https://bugzilla.gnome.org/show_bug.cgi?id=657681
Alejandro Piñeiro [Tue, 30 Aug 2011 10:26:35 +0000 (12:26 +0200)]
Merge branch 'atkwindow'
Emmanuele Bassi [Mon, 29 Aug 2011 22:29:07 +0000 (23:29 +0100)]
Post-release version bump to 1.7.13