mutter/clutter
Emmanuele Bassi f854619bc9 box-layout: Fix allocation brain farts
The allocation code for BoxLayout contains a sequence of brain farts
that make it barely working since the synchronization of the layout
algorithm to the one in GtkBox.

The origin of the layout is inverted, and it doesn't take into
consideration a modified allocation origin (for actors the provide
padding or margin).

The pack-start property is broken, and it only works because we walk the
children list backwards; this horribly breaks when a child changes
visibility. Plus, we count invisible children, which leads to
allocations getting insane origins (either close to -MAX_FLOAT or
MAX_FLOAT).

Finally, the allocation is applied twice even for non-animated cases.

https://bugzilla.gnome.org/show_bug.cgi?id=669291
2012-02-14 16:01:21 +00:00
..
cally cally: Use Actor.get_children() 2012-01-16 23:37:12 +00:00
cex100 docs: fix some headers paths 2011-11-10 19:05:39 +01:00
cogl Add missing include 2011-11-18 22:06:30 +01:00
deprecated Deprecate ClutterStage:color 2012-02-13 17:30:22 +00:00
egl eglnative: fix building eglnative BE with evdev support 2011-12-08 16:13:37 +00:00
evdev build: make internal option_xkb_* symbols static 2011-12-08 16:13:38 +00:00
gdk gdk: Use the Stage state tracking 2012-01-26 08:31:11 +00:00
osx osx: Use the Stage state tracking 2012-01-26 08:30:58 +00:00
tslib egl: First attempt at cleaning up the EGL native backend 2011-11-03 13:45:20 +00:00
wayland wayland: Add accessor API to permit access to underlying Wayland structures 2012-02-14 13:54:15 +00:00
win32 win32: Use the Stage state tracking 2012-01-26 08:31:10 +00:00
x11 x11: Remove CLUTTER_DISABLE_DEPRECATED usage 2012-01-31 10:34:45 +00:00
abicheck.sh Add abicheck.sh 2012-02-09 18:42:27 +00:00
clutter-action.c
clutter-action.h ClutterActor: Add clutter_actor_has_actions 2011-09-29 19:34:32 +02:00
clutter-actor-box.c
clutter-actor-meta-private.h ClutterActor: Add clutter_actor_has_effects 2011-09-29 19:34:24 +02:00
clutter-actor-meta.c clutter-actor-meta: Fix _clutter_meta_group_has_metas_no_internal 2011-10-01 12:40:11 +02:00
clutter-actor-meta.h actor-meta: Correct annotations for vfuncs 2012-02-13 12:00:44 +00:00
clutter-actor-private.h actor: Move ClutterShader-related code out of clutter-actor.c 2012-01-31 11:56:59 +00:00
clutter-actor.c actor: Add freeze/thaw when changing the first/last child 2012-02-14 10:40:36 -05:00
clutter-actor.h actor: Add destroy_all_children() 2012-02-13 17:42:07 +00:00
clutter-align-constraint.c align-constraint: Add CLUTTER_ALIGN_BOTH 2011-10-15 18:36:27 +01:00
clutter-align-constraint.h Move all enumerations to a separate file 2011-10-11 17:59:46 +01:00
clutter-alpha.c docs: Fixes for cross-references 2011-09-12 13:12:14 +01:00
clutter-alpha.h Fix duplicate typedef of ClutterAlpha 2011-10-11 23:02:17 +01:00
clutter-animatable.c docs: Fixes for cross-references 2011-09-12 13:12:14 +01:00
clutter-animatable.h animatable: Remove CLUTTER_DISABLE_DEPRECATED 2011-11-02 13:00:46 +00:00
clutter-animation.c animation: Do not use deprecated timeline methods 2012-02-13 17:30:22 +00:00
clutter-animation.h
clutter-animator.c script: Hide private symbols 2011-09-07 16:14:10 +01:00
clutter-animator.h Move all enumerations to a separate file 2011-10-11 17:59:46 +01:00
clutter-backend-private.h clutter-backend: Use the Cogl main loop mechanism 2012-02-09 16:34:25 +00:00
clutter-backend.c clutter-backend: Use the Cogl main loop mechanism 2012-02-09 16:34:25 +00:00
clutter-backend.h Clean up the windowing system defines 2011-11-03 13:45:20 +00:00
clutter-bezier.c debug: Clean up debugging notes 2011-10-17 10:24:25 +01:00
clutter-bezier.h
clutter-bin-layout.c Use ClutterActorIter inside layout managers 2012-01-30 11:09:59 +00:00
clutter-bin-layout.h Move all enumerations to a separate file 2011-10-11 17:59:46 +01:00
clutter-bind-constraint.c docs: Inline test-constraints.c inside BindConstraint's description 2011-09-02 15:48:27 +01:00
clutter-bind-constraint.h Move all enumerations to a separate file 2011-10-11 17:59:46 +01:00
clutter-binding-pool.c
clutter-binding-pool.h
clutter-blur-effect.c Convert all of the internal shader-based effects to use snippets 2012-02-14 12:09:32 +00:00
clutter-blur-effect.h
clutter-box-layout.c box-layout: Fix allocation brain farts 2012-02-14 16:01:21 +00:00
clutter-box-layout.h Move all enumerations to a separate file 2011-10-11 17:59:46 +01:00
clutter-cairo-texture.c cairo-texture: Skip ::draw emission for 0x0 surfaces 2011-11-18 17:23:56 +00:00
clutter-cairo-texture.h cairo-texture: Remove CLUTTER_DISABLE_DEPRECATED 2011-11-02 13:00:46 +00:00
clutter-child-meta.c
clutter-child-meta.h docs: Fixes for cross-references 2011-09-12 13:12:14 +01:00
clutter-click-action.c click-action: Use the new symbolic event propagation macros 2012-01-12 10:27:17 +00:00
clutter-click-action.h Move all enumerations to a separate file 2011-10-11 17:59:46 +01:00
clutter-clone.c Avoid the shadowing of 'clone' 2011-10-19 15:23:55 +01:00
clutter-clone.h Avoid the shadowing of 'clone' 2011-10-19 15:23:55 +01:00
clutter-color-static.h static-colors: Simplify the defines 2011-09-05 17:22:14 +01:00
clutter-color.c color: Validate hex formats 2011-11-10 14:13:45 +00:00
clutter-color.h Move all enumerations to a separate file 2011-10-11 17:59:46 +01:00
clutter-colorize-effect.c Convert all of the internal shader-based effects to use snippets 2012-02-14 12:09:32 +00:00
clutter-colorize-effect.h
clutter-config.h.in
clutter-config.h.win32 clutter-config.h.win32: Add CLUTTER_INPUT_NULL 2011-11-14 13:33:04 +08:00
clutter-constraint.c
clutter-constraint.h ClutterActor: Add clutter_actor_has_contraints 2011-09-29 19:34:31 +02:00
clutter-container.c docs: Update the Container interface documentation 2012-02-09 15:38:11 +00:00
clutter-container.h Deprecate the old raise/lower API 2012-01-16 23:37:13 +00:00
clutter-debug.h debug: Simple whitespace cleanups 2011-11-18 17:54:19 +00:00
clutter-deform-effect.c Updates use of Cogl in line with api changes 2012-02-09 16:34:25 +00:00
clutter-deform-effect.h
clutter-deprecated.h timeline: Move deprecated methods into a separate header 2012-02-13 17:30:22 +00:00
clutter-desaturate-effect.c Convert all of the internal shader-based effects to use snippets 2012-02-14 12:09:32 +00:00
clutter-desaturate-effect.h
clutter-device-manager-private.h input: adds internal _clutter_input_device_get_stage api 2011-12-08 16:13:37 +00:00
clutter-device-manager.c backend: Clean up the device manager creation 2011-11-10 14:55:03 +00:00
clutter-device-manager.h
clutter-drag-action.c drag-action: Use the symbolic constants for the button 2012-01-27 09:46:10 +00:00
clutter-drag-action.h Move all enumerations to a separate file 2011-10-11 17:59:46 +01:00
clutter-drop-action.c drop-action: Use the event propagation macros 2012-01-12 10:39:59 +00:00
clutter-drop-action.h docs: Document ClutterDropAction 2011-06-20 15:25:54 +01:00
clutter-effect-private.h
clutter-effect.c docs: Fixes for cross-references 2011-09-12 13:12:14 +01:00
clutter-effect.h Move all enumerations to a separate file 2011-10-11 17:59:46 +01:00
clutter-enum-types.c.in
clutter-enum-types.h.in
clutter-enums.h docs: Update ClutterStageState flags 2012-01-26 08:33:45 +00:00
clutter-event-private.h
clutter-event-translator.c
clutter-event-translator.h
clutter-event.c
clutter-event.h event: Add symbolic names for left, middle, and right buttons 2012-01-27 09:43:06 +00:00
clutter-feature.c
clutter-feature.h Move all enumerations to a separate file 2011-10-11 17:59:46 +01:00
clutter-fixed-layout.c fixed-layout: Remove the NO_LAYOUT flag set 2012-01-27 15:45:11 +00:00
clutter-fixed-layout.h
clutter-flatten-effect.c
clutter-flatten-effect.h
clutter-flow-layout.c Use ClutterActorIter inside layout managers 2012-01-30 11:09:59 +00:00
clutter-flow-layout.h Move all enumerations to a separate file 2011-10-11 17:59:46 +01:00
clutter-gesture-action.c gesture-action: Protect against NULL pointers 2012-01-12 10:49:16 +00:00
clutter-gesture-action.h
clutter-group.h Deprecate ClutterGroup 2012-01-16 23:35:16 +00:00
clutter-id-pool.c
clutter-id-pool.h
clutter-input-device.c input-device: Do not use weak references with actors 2012-02-13 08:52:08 +00:00
clutter-input-device.h Move all enumerations to a separate file 2011-10-11 17:59:46 +01:00
clutter-interval.c docs: Fixes for building the API reference 2011-07-26 13:44:12 +01:00
clutter-interval.h
clutter-keysyms-table.c clutter/clutter-keysyms-table.c: Fix function name 2011-10-12 17:25:37 +08:00
clutter-keysyms-update.pl Move clutter-keysyms-compat.h to the deprecated section 2011-11-03 14:42:39 +00:00
clutter-keysyms.h Move clutter-keysyms-compat.h to the deprecated section 2011-11-03 14:42:39 +00:00
clutter-layout-manager.c actor: Remove automagic "expand" flag 2012-01-16 23:37:13 +00:00
clutter-layout-manager.h actor: Remove automagic "expand" flag 2012-01-16 23:37:13 +00:00
clutter-layout-meta.c
clutter-layout-meta.h
clutter-list-model.c Mark internal symbol as private 2012-02-09 18:40:03 +00:00
clutter-list-model.h
clutter-main.c Add diagnostic mode 2011-12-28 09:37:53 +00:00
clutter-main.h Deprecate some more old, useless API 2011-11-15 17:58:25 +00:00
clutter-marshal.list text: Implement ClutterTextBuffer 2012-01-17 14:29:44 +00:00
clutter-master-clock.c Mark internal symbol as private 2012-02-09 18:40:03 +00:00
clutter-master-clock.h Clean up clutter-timeline.h 2012-02-13 13:39:47 +00:00
clutter-media.c clutter-media: mention the asynchronous behavior of set_playing() in the doc. 2011-07-04 15:58:08 +01:00
clutter-media.h
clutter-model-private.h Mark internal symbol as private 2012-02-09 18:40:03 +00:00
clutter-model.c Mark internal symbol as private 2012-02-09 18:40:03 +00:00
clutter-model.h
clutter-offscreen-effect-private.h
clutter-offscreen-effect.c offscreen-effect: Add clutter_offscreen_effect_get_texture 2012-02-14 12:09:18 +00:00
clutter-offscreen-effect.h offscreen-effect: Add clutter_offscreen_effect_get_texture 2012-02-14 12:09:18 +00:00
clutter-page-turn-effect.c
clutter-page-turn-effect.h
clutter-paint-volume-private.h
clutter-paint-volume.c Add a note on the paint volume origin 2012-02-13 18:21:11 +00:00
clutter-path-constraint.c
clutter-path-constraint.h
clutter-path.c path: Fix introspection annotations 2011-12-01 10:55:13 +00:00
clutter-path.h Move all enumerations to a separate file 2011-10-11 17:59:46 +01:00
clutter-private.h Remove use of CoglVector3 2012-01-16 21:06:19 +00:00
clutter-profile.c debug: Clean up profile/debug symbols 2011-11-18 17:44:42 +00:00
clutter-profile.h debug: Clean up profile/debug symbols 2011-11-18 17:44:42 +00:00
clutter-script-parser.c Mark internal symbol as private 2012-02-09 18:40:03 +00:00
clutter-script-private.h Mark internal symbol as private 2012-02-09 18:40:03 +00:00
clutter-script.c script: Add loading from a resource 2012-01-24 12:04:56 +00:00
clutter-script.h script: Add loading from a resource 2012-01-24 12:04:56 +00:00
clutter-scriptable.c
clutter-scriptable.h
clutter-settings-private.h Add more sections to the Clutter configuration file 2011-10-11 17:52:17 +01:00
clutter-settings.c Do not leak strings from GKeyFile 2011-10-11 22:45:14 +01:00
clutter-settings.h
clutter-shader-effect.c Currently Clutter only prints out a warning message in case some shader effects fail to compile 2011-12-01 10:57:22 +00:00
clutter-shader-effect.h clutter-shader-effect: Add a get_static_shader_source virtual 2011-09-30 11:51:37 +01:00
clutter-shader-types.c
clutter-shader-types.h
clutter-snap-constraint.c snap-constraint: Fix allocation for CLUTTER_SNAP_EDGE_RIGHT 2011-07-18 13:43:29 +01:00
clutter-snap-constraint.h Move all enumerations to a separate file 2011-10-11 17:59:46 +01:00
clutter-stage-manager-private.h
clutter-stage-manager.c stage-manager: Store the stage manager into the main context 2011-11-14 15:43:20 +00:00
clutter-stage-manager.h stage-manager: Remove CLUTTER_DISABLE_DEPRECATED 2011-11-02 13:00:46 +00:00
clutter-stage-private.h stage: Add state tracking 2012-01-26 08:30:47 +00:00
clutter-stage-window.c stage-window: Add :backend and :wrapper properties 2011-11-10 14:55:03 +00:00
clutter-stage-window.h Remove the X11-specific bit in ClutterStageCogl 2011-11-03 13:45:19 +00:00
clutter-stage.c ClutterStage: notify "key-focus" change on clutter_stage_emit_key_focus_event 2012-02-14 16:53:54 +01:00
clutter-stage.h Deprecate ClutterStage:color 2012-02-13 17:30:22 +00:00
clutter-state.c Fixed clutter_state_remove_key_internal() to propagate the is_inert state 2012-02-06 15:42:23 +00:00
clutter-state.h Move more typedefs into clutter-types.h 2011-10-11 17:59:50 +01:00
clutter-swipe-action.c
clutter-swipe-action.h Move all enumerations to a separate file 2011-10-11 17:59:46 +01:00
clutter-table-layout.c Fix compiler warnings 2012-01-16 23:49:49 +00:00
clutter-table-layout.h Move all enumerations to a separate file 2011-10-11 17:59:46 +01:00
clutter-text-buffer.c text-buffer: Fix the Since annotations 2012-01-17 14:29:45 +00:00
clutter-text-buffer.h text: Implement ClutterTextBuffer 2012-01-17 14:29:44 +00:00
clutter-text.c text: Fix regression 2012-02-11 16:02:31 +00:00
clutter-text.h text: Add the coords_to_position() method 2012-02-06 18:27:58 +00:00
clutter-texture.c clutter-texture: Don't create a dummy texture 2012-02-14 12:09:18 +00:00
clutter-texture.h texture: Deprecate YUV setter 2012-01-31 10:28:04 +00:00
clutter-timeline.c timeline: Add repeat-count 2012-02-13 17:30:22 +00:00
clutter-timeline.h timeline: Move deprecated methods into a separate header 2012-02-13 17:30:22 +00:00
clutter-types.h Add a note on the paint volume origin 2012-02-13 18:21:11 +00:00
clutter-units.c
clutter-units.h Move all enumerations to a separate file 2011-10-11 17:59:46 +01:00
clutter-util.c Remove internal usage of ClutterGeometry in StageWindow 2011-09-26 12:05:55 +01:00
clutter-util.h utils: Remove CLUTTER_DISABLE_DEPRECATED 2011-11-02 13:00:47 +00:00
clutter-version.h.in Clean up the windowing system defines 2011-11-03 13:45:20 +00:00
clutter-version.h.win32.in Update clutter-version.h.win32.in 2011-11-07 12:12:53 +08:00
clutter.h Deprecate ClutterRectangle 2012-01-16 23:35:17 +00:00
clutter.pc.in build: Add infrastructure for inserting Requires.private into pkg-config files 2012-01-11 12:23:46 +00:00
clutter.symbols actor: Add destroy_all_children() 2012-02-13 17:42:07 +00:00
Makefile.am wayland: Add accessor API to permit access to underlying Wayland structures 2012-02-14 13:54:15 +00:00