summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* event: Fix copying touch eventsBastien Nocera2012-05-031-1/+1
| | | | | | We were trying to copy motion axes instead of touch ones. https://bugzilla.gnome.org/show_bug.cgi?id=675371
* Don't use any GL types or defines in ClutterNeil Roberts2012-05-0213-110/+167
| | | | | | | | | | | | | | | | | | | | Some of the Clutter code was using GL types for the primitive types such as GLint and GLubyte and then passing these to Cogl. This doesn't make much sense because the Cogl functions directly take native C types. This patch just replaces them with either a native C type or a glib type. Some of the cogl conformance tests are trying to directly call GL for example to test creating a foreign texture. These tests have been changed to manually define the GL enum values instead of relying on a GL header to define them. This is necessary because Cogl may soon stop including a GL header from its public headers. Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com> (cherry picked from commit c9a81f035e0ec2d5726497b986ab7469f4de7a74)
* Post-release version bump to 1.10.5Emmanuele Bassi2012-05-011-2/+2
|
* Release Clutter 1.10.41.10.4Emmanuele Bassi2012-05-012-2/+27
|
* docs: Replace unknown <envvar> tag with <varname>Emmanuele Bassi2012-05-011-1/+1
|
* docs: Fix typo in the <structname> tagEmmanuele Bassi2012-05-011-1/+1
|
* docs: Annotation fixesEmmanuele Bassi2012-05-0117-43/+53
| | | | | | The introspection scanner has become slightly more annoying, in the hope that people start fixing their annotations. As it turns out, it was the right move.
* actor: Call show() on set parent conditionallyEmmanuele Bassi2012-05-011-8/+13
| | | | | | | | | | | | | | | | | | | This commit adds a further conditional check for calling clutter_actor_show() when adding a child to an actor. We cannot unconditionally change the value of the show-on-set-parent property like the original solution of commit 81b19a78f5e02ae8ffd9235054d80b172496415b as that breaks the document invariant that show-on-set-parent will be changed iff an actor is without a parent. The new ADD_CHILD_SHOW_ON_SET_PARENT flag is part of the default and legacy flags, thus retaining the default behaviour when adding a child; the flag is not passed when reordering the list of children, which means we ignore the state of the show-on-set-parent property. The conformance test suite fully passes, including the newly added test to verify that changing the paint order does not trigger visibility. https://bugzilla.gnome.org/show_bug.cgi?id=674510
* conform: Make sure that raising/lowering children doesn't change stateJasper St. Pierre2012-05-011-0/+20
| | | | | | Namely, visibility and show-on-set-parent. https://bugzilla.gnome.org/show_bug.cgi?id=674510
* device-manager: select/unselect device events as device changeCosimo Cecchi2012-05-013-0/+50
| | | | | | | When a device is added or changes, select/unselect events from X accordingly. https://bugzilla.gnome.org/show_bug.cgi?id=673644
* device-manager: don't select events for disabled devicesCosimo Cecchi2012-05-011-1/+2
| | | | | | | I.e. only select events for core devices or devices explicitly enabled by clients. https://bugzilla.gnome.org/show_bug.cgi?id=673644
* path: Avoid integer overflow in get_distance()Emmanuele Bassi2012-05-012-20/+53
| | | | | | | | | | | | The get_distance() API uses machine integers to compute the distance; this means that on 32bit we can overflow the integer size. This gets hidden by the fact that get_distance() returns an unsigned integer as well. In reality, ClutterPath is an unmitigated mess, and the only way to actually fix it is to break API. https://bugzilla.gnome.org/show_bug.cgi?id=652521
* Updated Russian translationYuri Myasoedov2012-05-011-279/+351
|
* [l10n] Updated German translationChristian Kirbach2012-04-301-693/+1035
|
* Updated Brazilian Portuguese translationJonh Wendell2012-04-281-250/+364
|
* x11/device-manager-xi2: Flip deltas aroundCosimo Cecchi2012-04-211-2/+2
| | | | Up/down is Y.
* Post-release version bump to 1.10.3Emmanuele Bassi2012-04-161-2/+2
|
* Release Clutter 1.10.21.10.2Emmanuele Bassi2012-04-162-2/+34
|
* cally: Fix the pkg-config fileEmmanuele Bassi2012-04-161-5/+1
| | | | | | | | Drop a bunch of variables that are not meant to be used by Cally; also, drop the wrong library name from the Libs key: Clutter has a single shared library, now. https://bugzilla.gnome.org/show_bug.cgi?id=674105
* actor: Clear MetaGroups when emptyEmmanuele Bassi2012-04-161-0/+10
| | | | | | | When removing the last Action, Constraint, or Effect, we should also be clearing the corresponding MetaGroup: code inside ClutterActor relies on NULL checks, and changing them all to check for NULL && n_items == 0 would not be fun.
* actor: Check for mapped children in the default get_paint_volume()Emmanuele Bassi2012-04-161-0/+3
| | | | | Unmapped children won't be painted so they should not contribute to the default paint volume computation.
* text: Bubble up a click and quit early for just static textJasper St. Pierre2012-04-161-0/+2
| | | | | | | Static text shouldn't need a cursor position or anything like that, and it always eats a button press event. https://bugzilla.gnome.org/show_bug.cgi?id=673190
* Rename XINPUT_2_2 define to HAVE_XINPUT_2_2Peter Hutterer2012-04-123-16/+16
| | | | | | | | | | | | | configure.ac defines XINPUT_2_2 if XI 2.2 support was found. The code expects XINPUT_2_2 in the device manager, but HAVE_XINPUT_2_2 in the x11 backend. On newer X servers, the latter causes a BadValue when XIQueryDevice sends a different major/minor than gdk's device manager (gnome-control-center). Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> https://bugzilla.gnome.org/show_bug.cgi?id=673961
* actor: Fix completed transitions logicEmmanuele Bassi2012-04-111-11/+21
| | | | | | We need to remove the transition only if the current repeat is equal to the number of repeats, and if the transition was marked as remove on complete. Otherwise, the transition has to remain where it is.
* Check before using pango_layout_get_character_count()Emmanuele Bassi2012-04-111-0/+2
| | | | | Since it's in a debug code path, and 1.10 is the stable branch, we should not bump the dependency of Pango to 1.30.
* actor: Remove unnecessary relayout/redraw callsEmmanuele Bassi2012-04-101-8/+0
| | | | They will be handled internally.
* actor: Do not queue_redraw() in set_opacity()Emmanuele Bassi2012-04-101-2/+0
| | | | | | | The opacity internal setter will do it for us, and it will take into consideration any eventual flatten effect applied to the actor. This unbreaks the actor-offscreen-redirect conformance test.
* stage: Unset the natural size when fullscreeningEmmanuele Bassi2012-04-101-0/+8
| | | | | | This ensures that constraints and signal handlers will go through the allocation and not through the cache after ::fullscreen has been emitted.
* interactive/bin-layout: Call save/restore easing stateEmmanuele Bassi2012-04-101-4/+14
| | | | | Don't do unprotected calls to set_easing_mode() and set_easing_duration().
* actor: Make :content-gravity animatableEmmanuele Bassi2012-04-102-8/+79
| | | | | Let's start making some non-trivial property animatable, like the content gravity.
* actor: Minor optimization to avoid get_preferred_*Emmanuele Bassi2012-04-101-2/+34
| | | | | | When the easing state has a duration of zero milliseconds we can skip the entire create_transition() call inside set_width() and set_height(), to avoid what may be a costly call to get_preferred_*.
* actor: Ensure we use the current easing duration and modeEmmanuele Bassi2012-04-101-3/+16
| | | | | When updating a transition in flight, if the current easing state does not match the transition's.
* docs: Mention in-flight value changesEmmanuele Bassi2012-04-101-0/+21
|
* actor: Check easing duration when updating in-flight transitionsEmmanuele Bassi2012-04-101-1/+14
| | | | | | If we update a transition that is currently playing, we need to check the current easing state, and look at the eventual duration, in case the user wants to cancel the transition.
* actor: Simplify setters of animatable propertiesEmmanuele Bassi2012-04-101-215/+129
| | | | | | | | | | | | | | | | | | | | | | | | | Instead of checking the duration of the current easing state we should check if there's a transition in progress, and update it unconditionally. If there is no easing state, or the easing state has a duration of zero milliseconds, then create_transition() should bail out early and set the requested final state. This allows us to write: clutter_actor_save_easing_state (actor); clutter_actor_set_x (actor, 200); clutter_actor_restore_easing_state (actor); [...] clutter_actor_set_x (actor, 100); and have the second set_x() update the easing in progress, instead of being ignored. https://bugzilla.gnome.org/show_bug.cgi?id=672945
* interactive/transitions: Add missing easing state save/restoreEmmanuele Bassi2012-04-101-0/+4
| | | | | The test hasn't been updated after commit 229241b8, and was trying to change the easing state without creating one.
* actor: Add debug annotation in add_transition()Emmanuele Bassi2012-04-101-1/+6
|
* actor: Make _clutter_actor_foreach_child() safe againEmmanuele Bassi2012-04-101-4/+14
| | | | | | | We were using g_list_foreach() prior to the first Apocalypse, and that function is resilient against changes to the list while iterating it; since we are not using a GList any more, we need handle this case ourselves.
* x11/device-manager-xi2: Remove heuristics for touchscreen devicesEmmanuele Bassi2012-04-101-3/+0
| | | | | Devices that have touch valuator classes will be touchscreens or touchpads; anything else should be ignored.
* canvas: avoid emission of "draw" signal when the size is zeroStefano Facchini2012-04-101-2/+2
| | | | | | | | This also avoids the warning Cogl-WARNING **: ./cogl-buffer.c:215: GL error (1285): Out of memory generated by cogl_buffer_map when the CoglBuffer has zero length.
* osx: Fix buildEmmanuele Bassi2012-04-104-25/+30
|
* ClutterText: Fix length passed to clutter_text_buffer_set_text()Owen W. Taylor2012-04-091-1/+1
| | | | | | | clutter_text_buffer_set_text() expects a char count, not a byte count, so pass -1 rather than using strlen. https://bugzilla.gnome.org/show_bug.cgi?id=673783
* actor: Invalidate the current state when popping easing statesJasper St. Pierre2012-03-281-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672945
* table-layout: Fix [xy]_expandEmmanuele Bassi2012-03-281-5/+2
| | | | | | A copy and paste thinko. https://bugzilla.gnome.org/show_bug.cgi?id=672853
* Remove unused fields from LayoutInfoEmmanuele Bassi2012-03-271-5/+0
| | | | | The x_expand and y_expand members would mess up the initialization of the constant LayoutInfo default structure.
* Properly manage timeline refcounting in clutter_animation_set_timeline()Tristan Van Berkom2012-03-271-4/+11
| | | | | | This patch fixes clutter to not crash when multiple animations share the same timeline and the actors are explicitly destroyed before the timeline completes (bug 672890)
* configure: Fix the -o operator in a call to testNeil Roberts2012-03-232-4/+2
| | | | | | | | | | | | | | | The disjunction operator was misspelt as -O which tests whether the following file is owned by the calling user. This doesn't take enough arguments so bash was showing an error and the test was always failing. This meant that NEED_XKB_UTILS was always false which should have broken the build but the Makefile was mistakenly including clutter-xkb-utils.c again if SUPPORT_WAYLAND is defined. See 1b77565e for reference. Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com> (cherry picked from commit 04f2be34b2cba22acdb497feb5ecbcc3233ccc6a)
* Post-release version bump to 1.10.1Emmanuele Bassi2012-03-221-2/+2
|
* Release Clutter 1.10.0 (stable)1.10.0Emmanuele Bassi2012-03-222-2/+47
|
* build: Remove disabling Clutter's deprecation warnings while building itEmmanuele Bassi2012-03-221-1/+1
| | | | | Now that we have deprecation warnings and not full on symbol removal from the headers, we can just skip Clutter's own, and use only GLib's.