summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Added Occitan translationclutter-1.14Cédric Valmary2016-03-081-0/+2888
|
* Updated Chinese (China) translationWylmer Wang2014-03-091-1138/+1776
|
* Post-release version bump to 1.14.7Emmanuele Bassi2013-11-211-2/+2
|
* Release Clutter 1.14.6 (stable)1.14.6Emmanuele Bassi2013-11-202-2/+50
|
* conform: Disable texture-fbo unitEmmanuele Bassi2013-11-201-1/+0
| | | | | It's a pretty pointless test, which got dropped in newer releases of Clutter.
* paint-nodes: Use the correct wrap mode for TextureNodeEmmanuele Bassi2013-11-201-1/+1
| | | | | | | | | | | If we allow content repeats on the texture nodes, then we need to use the "automatic" wrap mode for the texture layer in the pipeline, instead of the clamp-to-edge one. Reported-by: Matthew Watson <matthew@endlessm.com> Signed-off-by: Emmanuele Bassi <ebassi@gnome.org> (cherry picked from commit 5b614cda1cd6032d7a0b1d9823219bc336086246) Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* clutter-text: prevent text buffer creation if not neededLionel Landwerlin2013-11-201-0/+19
| | | | | | | | | | When allocating or asking for preferred width/height on a ClutterText, it can notify a change on buffer/text/max-length if no text has been set. https://bugzilla.gnome.org/show_bug.cgi?id=703882 (cherry picked from commit eed94960562693e489354afb2a78a355301515fa) Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* actor: Do not set remove-on-complete on implicit transitionsEmmanuele Bassi2013-11-201-3/+1
| | | | | | | | | | The implicitly created transitions are removed when complete by the implicit transition machinery. The remove-on-complete hint is for user-provided transitions. https://bugzilla.gnome.org/show_bug.cgi?id=705739 (cherry picked from commit b50e1c3b628c0238da0d1ea89853b53ef06fa2ef) Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* docs: Use the correct signal nameEmmanuele Bassi2013-11-201-1/+1
| | | | | | | | | ClutterTransition:remove-on-complete uses the ClutterTimeline::stopped signal, as it's the signal that tells us that the timeline's duration has fully elapsed. (cherry picked from commit edf00747ef3bb955ad48a2191cdec33524156298) Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* actor: Minor cleanupFlorian Müllner2013-11-201-8/+2
| | | | | | | | | In clutter_allocate_align_fill(), x2/y2 may be set twice for no particular reason; save a couple of lines by not doing this. https://bugzilla.gnome.org/show_bug.cgi?id=703809 (cherry picked from commit 5bab9a8655346290f7ee0e4af972e3d085a6b818) Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* box-layout: Fix child offsetsFlorian Müllner2013-11-201-2/+2
| | | | | | | | | | | | | | | | | Currently, BoxLayout interprets the box passed into allocate() in a fairly peculiar way: - in the direction of the box, all space between [xy]1 and [xy]2 is distributed among children (e.g. children occupy the entire width/height of the box, offset by [xy]1) - in the opposite direction, expanded children receive space between [xy]1 and the height/width of the box (e.g. children occupy the width/height of the box minus [xy]1, offset by [xy]1) The second behavior doesn't make much sense, so adjust it to interpret the box parameter in the same way as the first one. https://bugzilla.gnome.org/show_bug.cgi?id=703809 (cherry picked from commit 5dd2dcf14ff4676ac4d84ef567d1bca1faaaab7a) Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* bin-layout: Fix offsetsFlorian Müllner2013-11-201-2/+2
| | | | | | | | | | | | Just as BoxLayout, BinLayout uses an odd interpretation of the box passed into allocate(): to define a child area of (w x h) starting at (x, y), callers need to pass a box of (x, 2 * x + w, y, 2 * y + h). This behavior is just confusing, change it to use the full box for child allocations. https://bugzilla.gnome.org/show_bug.cgi?id=703809 (cherry picked from commit 40a1903db6dd80445275b3f73a53fd7b7df47017) Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* box-layout: Fix (legacy) expand/fill propertiesFlorian Müllner2013-11-201-2/+2
| | | | | | | | | | | | Whether a child should receive extra space should be determined by the expand property, not [xy]_fill (which just determine how additional space should be used). The behavior is already correct when using the ClutterActor:[xy]_expand properties, but needs fixing for the corresponding ClutterBoxLayoutChild property. https://bugzilla.gnome.org/show_bug.cgi?id=703809 (cherry picked from commit 8e850ff3e4f02d37ec7ecc272eea540ffd29dbcf) Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* table-layout: Fix default values for expand/fill child propertiesFlorian Müllner2013-11-201-4/+4
| | | | | | | | | | Currently the default values according to their param spec don't match the actually used defaults, so update the former to reflect the actual behavior. https://bugzilla.gnome.org/show_bug.cgi?id=703809 (cherry picked from commit c14bd84eefd53c9df891e4d031455fbf75dbb4c3) Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* box-layout: Fix RTL layout swapping with non-zero container offsetsJasper St. Pierre2013-11-201-4/+2
| | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=706450 (cherry picked from commit 05f56affe19468e1e54281230cd23333f94cfebb) Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* box-layout: Fix floating point truncation when calculating a child's sizeJasper St. Pierre2013-11-201-1/+1
| | | | | | | | The child size is a float, not an int. https://bugzilla.gnome.org/show_bug.cgi?id=707808 (cherry picked from commit ac70bd3503ee7adc9bf6938353e25e81e852bfaf) Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* click-action: disconnect signals and gsources on disposeLionel Landwerlin2013-11-201-0/+29
| | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=707774 (cherry picked from commit 5c035f2107cda24a074246d6b083296da2526c07) Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* text: Consider text direction when computing layout offsetsFlorian Müllner2013-11-201-3/+6
| | | | | | | | | | Currently this is only the case when the actor's x-expand/x-align flags have been set and clutter_text_compute_layout_offsets() is used. https://bugzilla.gnome.org/show_bug.cgi?id=705779 (cherry picked from commit 986e46dc6677a708cd3db8abaf28f09cd2007c4b) Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* device: Guard against divisions by zeroEmmanuele Bassi2013-11-201-0/+5
| | | | | | | | | The range of a device could be 0, so we need to bail out from the scaling during the axis translation. https://bugzilla.gnome.org/show_bug.cgi?id=707033 (cherry picked from commit fb8eacfb0256a211ca79366945c8f4eb4962be4e) Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* drag-action: fix warning when setting drag-handle to nullLionel Landwerlin2013-11-201-6/+10
| | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=708850 (cherry picked from commit 067fcc3690b0a354bf0a7b0692aab47fb68a0817) Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* table-layout: Base space calculations on visible childrenFlorian Müllner2013-11-201-4/+4
| | | | | | | | | This is what we already do in the actual size requests, it makes sense to do the same in the space calculations. https://bugzilla.gnome.org/show_bug.cgi?id=709434 (cherry picked from commit 3435d017e27755353123ca8f65bfe3c051102b48) Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* table-layout: Fix size request when there are no visible rows/colsFlorian Müllner2013-11-201-2/+2
| | | | | | | | | | The calculation (n - 1) * spacing to compute the total spacing is only correct for n >= 1 - if there are no visible rows/cols, the required spacing is 0 rather than negative. https://bugzilla.gnome.org/show_bug.cgi?id=709434 (cherry picked from commit 44b1a808c8a74fd3b97367f4819fabcc46a1eb23) Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* drag-action: don't mix touch and pointer eventsLionel Landwerlin2013-11-201-5/+6
| | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=709762 (cherry picked from commit ccd2d4c0a7a789e3aea410f9fafd494949fb0c87) Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* image: Do not premultiply the blend colorEmmanuele Bassi2013-10-101-3/+6
| | | | | | ClutterTextureNode will do that for us when converting the ClutterColor to a CoglColor, so we can simply pass a white color with the correct alpha channel.
* actor: Correct setting the offscreen-redirect propertyBastien Nocera2013-09-271-1/+1
| | | | | | It's a flags property, not an enum one. https://bugzilla.gnome.org/show_bug.cgi?id=708922
* Updated Hungarian translationBalázs Úr2013-09-261-314/+316
|
* Initial Hungarian translationBalázs Úr2013-09-261-0/+2786
|
* Updated slovak translationJán Kyselica2013-08-271-830/+729
|
* build: Enable Cogl support with WaylandEmmanuele Bassi2013-06-271-1/+5
| | | | | | | | | | | | The Wayland backend is based on Cogl, so we need to turn on the SUPPORT_COGL flag to avoid breaking the build; this always went unnoticed because we usually build the Wayland client backend with the X11 backend. Reported-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 1fb0295ba162507fb798b2b7030f0f45ff252f27) Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* clutter-offscreen-effect: Allocate the cogl texture directlyAdel Gadllah2013-06-251-3/+15
| | | | | | | Cogl now lazy loads the textures so we cannot rely on getting NULL from cogl_texture_new_with_size so we have to allocate it by ourselves. https://bugzilla.redhat.com/show_bug.cgi?id=975171
* text: relayout on cursor visibility changeCosimo Cecchi2013-06-181-1/+2
| | | | | | | | When the cursor visibility changes, we have to relayout the ClutterText actor instead of just redrawing it - as the cursor changes the PangoLayout size, a size request cycle is needed. https://bugzilla.gnome.org/show_bug.cgi?id=702610
* clutter-text: prevent reset of user set font descriptions on dpi changesLionel Landwerlin2013-06-121-5/+8
| | | | | | | | When setting the font using clutter_text_set_font_description(), the font settings on a ClutterText actor can be reset when there is a dpi changes signaled by the backend. https://bugzilla.gnome.org/show_bug.cgi?id=702016
* gesture-action: begin gesture as soon as the number of touchpoints is reachedSjoerd Simons2013-06-121-1/+1
| | | | | | | | 1ddef9576d87c98fafbcefe3108f04866630c2cd had its logic the wrong way round, a gesture should begin as soon as the requested number of touchpoints is reached. Correcting this fixes tap events https://bugzilla.gnome.org/show_bug.cgi?id=700980
* deform-effect: Set cull-face mode on the correct pipelineSamuel Degrande2013-06-121-1/+1
| | | | | | Fix a function call to set the cull-face mode of the back_pipeline: the function was called on the 'front-pipeline' instead of the back-pipeline.
* conform: Ensure that we don't leak referencesEmmanuele Bassi2013-06-122-16/+28
| | | | Especially on actors that are not parented and get destroyed.
* Extra ref leak in clutter_actor_set_child_at_index tooCraig R. Hughes2013-06-121-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=696813
* clutter_actor_set_child_above/below_sibling leaking a referenceCraig R. Hughes2013-06-121-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=696813
* conform: Add suite for actor's meta objectsEmmanuele Bassi2013-06-123-0/+44
|
* actor: Fix has_constraints() and has_actions()Emmanuele Bassi2013-06-121-2/+8
| | | | | | | | | When we changed the MetaGroup to handle internal effects, we updated has_effects(), but forgot to fix the equivalent has_constrains() and has_actions() method. Now, if we clear the constraints or the actions on an actor, and we call has_constraints() or has_actions(), we get an false positive.
* x11: trap errors when calling XIQueryDeviceMatthias Clasen2013-06-111-8/+22
| | | | | | | Devices can disappear at any time, causing XIQueryDevice to throw an error. At the same time, plug a memory leak. https://bugzilla.gnome.org/show_bug.cgi?id=701974
* cally: Use a weak pointer to hold the key focus in CallyStageEmmanuele Bassi2013-05-171-2/+18
| | | | | | | | | We want to avoid the pointer getting stale, and causing crashes. https://bugzilla.gnome.org/show_bug.cgi?id=692706 (cherry picked from commit 19391a9626b087bd4df452e8699d53caa54c350f) Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* conform: add offscreen effects fbo size checkLionel Landwerlin2013-05-153-0/+119
| | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=699675 (cherry picked from commit d1041e1f4f5bedc6331e65a7faf60289f26f7fb0) Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* offscreen-effect: limit offscreen fbo size to the stage's sizeLionel Landwerlin2013-05-151-7/+16
| | | | | | | | | | | | | | | | When using a ClutterOffscreenEffect, the size of the offscreen buffer allocated to perform the effect is currently computed using the paint volume of the actor it's attached to and in the case the paint volume cannot be computed, the effect falls back to using the stage's size. If you scale an actor enough so its paint volume is much bigger that the size of the stage, you can end up running out of memory (which leads to your application crashing). https://bugzilla.gnome.org/show_bug.cgi?id=699675 (cherry picked from commit 9c6f3793e832e03ec72c63cd11f28601bf760f5b) Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* Post-release version bump to 1.14.5Emmanuele Bassi2013-05-151-2/+2
|
* Release Clutter 1.14.41.14.4Emmanuele Bassi2013-05-153-1/+40
|
* stage: Add a paint callbackEmmanuele Bassi2013-05-064-4/+63
| | | | | | | | | | | | | | | | | | | | | | | | The ClutterActor::paint signal is deprecated, and connecting to it even to get notifications will disable clipped redraws because of violations of the paint volume. The only actual valid use case for notifications of a successful frame is on the ClutterStage, so we should add new (experimental) API for it, so that users can actually subscribe to it — at least if you're writing a compositor. Shoving a signal in a performance critical path is not an option, and I'm not sure I want to commit to an API like this yet. I reserve the right to revisit this decision in the future. This is a backport of the same commit from the clutter-1.16 branch, and it introduces new API in a stable series. https://bugzilla.gnome.org/show_bug.cgi?id=698783 (cherry picked from commit d061a47573fbfec69ed6f2fd02f233e218830a6d) Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* zoom-action: improve zooming behaviorLionel Landwerlin2013-04-231-21/+23
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=698674
* gesture-action: refactor event handling functionLionel Landwerlin2013-04-231-40/+78
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=698671
* gesture-action: fix trigger edge after behavior with more than 1 pointLionel Landwerlin2013-04-231-1/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=698669
* gesture-action: avoid shadowing time() syscall functionLionel Landwerlin2013-04-231-6/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=698668