mutter/tests/conform
Emmanuele Bassi 0d428655e2 actor: Turn push/pop_internal into Actor methods
Since the "internal" state is global, it will leak onto actors that you
didn't intend for it to, because it applies not just to the actors you
create, but also to any actors *they* create. Eg, if you have a dialog
box class, you might push/pop_internal around creating its buttons, so
that those buttons get marked as internal to the dialog box. But
ctx->internal_child will still be set during the *button*'s constructor
as well, and so, eg, the label and icon inside the button actor will
*also* be marked as internal children, even if that isn't what the
button class wanted.

The least intrusive change at this point is to make push_internal() and
pop_internal() two methods of the Actor class, and take a ClutterActor
pointer as the argument - thus moving the locality of the internal_child
counter to the Actor itself.

http://bugzilla.openedhand.com/show_bug.cgi?id=1990
2010-02-15 16:09:26 +00:00
..
ADDING_NEW_TESTS * tests/conform/ADDING_NEW_TESTS 2008-11-10 18:52:50 +00:00
Makefile.am build: Enable experimental COGL API in tests/conform 2010-02-15 11:58:55 +00:00
test-actor-destroy.c actor: Turn push/pop_internal into Actor methods 2010-02-15 16:09:26 +00:00
test-actor-invariants.c [tests] Add unit for Clone behaviour 2009-06-15 11:29:37 +01:00
test-actor-size.c [tests] Add preferred size conformance test unit 2009-09-15 11:27:50 +01:00
test-anchors.c Remove usage of Units and macros 2009-06-04 16:30:30 +01:00
test-animator.c test-animator: Do not use mid-function blocks 2010-02-08 17:56:35 +00:00
test-behaviours.c conform: fix stack corruption in test-behaviours.c 2010-02-09 13:09:24 +00:00
test-binding-pool.c Remove usage of Units and macros 2009-06-04 16:30:30 +01:00
test-clutter-rectangle.c Disable single header inclusion for GLib 2009-06-15 11:29:37 +01:00
test-clutter-text.c [tests] Add unit for the ClutterText:password-char property 2009-01-06 15:30:31 +00:00
test-clutter-units.c units: Improve coverage of clutter_units_from_string() 2010-01-13 17:31:13 +00:00
test-cogl-backface-culling.c tests: rename cogl conformance tests so they can be clearly identified 2009-11-27 00:28:39 +00:00
test-cogl-blend-strings.c conform: Do not use deprecated API 2010-02-15 11:56:34 +00:00
test-cogl-fixed.c tests: rename cogl conformance tests so they can be clearly identified 2009-11-27 00:28:39 +00:00
test-cogl-materials.c tests: rename cogl conformance tests so they can be clearly identified 2009-11-27 00:28:39 +00:00
test-cogl-multitexture.c conform: Do not use deprecated API 2010-02-15 11:56:34 +00:00
test-cogl-npot-texture.c test-cogl-npot-texture: Use the COGL_TEXTURE_NO_ATLAS flag 2010-01-19 17:15:51 +00:00
test-cogl-offscreen.c cogl: deprecate cogl_draw_buffer API and replace with a cogl_framebuffer API 2009-11-26 19:33:14 +00:00
test-cogl-pixel-buffer.c build: Enable experimental COGL API in tests/conform 2010-02-15 11:58:55 +00:00
test-cogl-premult.c tests: rename cogl conformance tests so they can be clearly identified 2009-11-27 00:28:39 +00:00
test-cogl-readpixels.c cogl: deprecate cogl_draw_buffer API and replace with a cogl_framebuffer API 2009-11-26 19:33:14 +00:00
test-cogl-sub-texture.c cogl-sub-texture: Optimise taking a sub texture of a sub texture 2010-02-12 16:57:17 +00:00
test-cogl-texture-mipmaps.c conform: Do not use deprecated API 2010-02-15 11:56:34 +00:00
test-cogl-vertex-buffer-contiguous.c tests: rename cogl conformance tests so they can be clearly identified 2009-11-27 00:28:39 +00:00
test-cogl-vertex-buffer-interleved.c tests: rename cogl conformance tests so they can be clearly identified 2009-11-27 00:28:39 +00:00
test-cogl-vertex-buffer-mutability.c tests: rename cogl conformance tests so they can be clearly identified 2009-11-27 00:28:39 +00:00
test-cogl-viewport.c cogl: deprecate cogl_draw_buffer API and replace with a cogl_framebuffer API 2009-11-26 19:33:14 +00:00
test-color.c conform: Add operators tests for ClutterColor 2010-01-14 14:07:04 +00:00
test-conform-common.c * tests/conform/ADDING_NEW_TESTS 2008-11-10 18:52:50 +00:00
test-conform-common.h tests: Allow getting data files from the tests/data directory 2009-11-04 11:47:09 +00:00
test-conform-main.c tests: Add a test for CoglPixelBuffers 2010-02-08 17:14:49 +00:00
test-group.c [tests] Add a Group actor unit 2009-08-25 17:57:22 +01:00
test-launcher.sh [tests] Ensure that test-launcher.sh is found for out of tree builds 2008-12-21 14:07:22 +00:00
test-model.c [tests] Exercise the Model filtering 2009-04-29 15:39:23 +01:00
test-paint-opacity.c Update the paint opacity unit test 2008-12-11 12:26:47 +00:00
test-path.c analysis: Conformance tests 2010-02-12 14:57:56 +00:00
test-pick.c Allow passing the pick mode to get_actor_at_pos() 2009-04-24 15:25:58 +01:00
test-script-parser.c conform: Add named object property unit for ClutterScript 2009-11-30 19:11:00 +00:00
test-text-cache.c Change the paint forcing on the Text cache text 2009-06-11 12:23:09 +01:00
test-texture-fbo.c test-texture-fbo: Disconnect the paint handler for the stage 2010-01-18 12:42:46 +00:00
test-timeline-interpolate.c Revert "[timeline] Don't clamp the elapsed time when a looping tl reaches the end" 2009-06-11 11:46:41 +01:00
test-timeline-rewind.c [tests] Don't add a newline to the end of g_test_message calls 2009-06-11 11:38:49 +01:00
test-timeline.c [test-timeline] Add a marker at the beginning of the timeline 2009-06-11 11:32:41 +01:00