Emmanuele Bassi
4db4471528
interactive/text-field: Use :background-color
...
Instead of a custom paint signal handler.
2012-03-06 15:10:04 +00:00
Neil Roberts
b0fc4c1dff
Remove test-wayland-surface
...
In a separate branch, this test has become quite complicated and
involves multiple files and its own configure options. Instead of
cluttering up the clutter source tree it has now been moved to its own
repo at:
http://github.com/clutter-project/test-wayland-surface
Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com>
2012-03-01 11:41:50 +00:00
Emmanuele Bassi
3f5d63b522
interactive/actor: Add margin usage example
2012-02-29 15:20:58 +00:00
Emmanuele Bassi
a22d7ac1b5
interactive: Remove test-shader
...
ClutterShader is deprecated, and we already have various tests for the
shader API, both for Cogl and for ClutterShaderEffect.
2012-02-29 09:27:01 +00:00
Emmanuele Bassi
f292550d06
interactive: Remove test-fullscreen
...
The stage state test also has a fullscreen option, and it's a better
test all around.
2012-02-29 09:25:51 +00:00
Emmanuele Bassi
caf759f72f
interactive: Remove test-actor-clone
...
Another clone of the venerable test-actors - but test-actor already uses
ClutterClone, so there's really little point in it.
2012-02-29 09:24:34 +00:00
Emmanuele Bassi
bd2f5d0e38
interactive: Remove test-behave
...
ClutterBehaviour and friends are deprecated, there's no point in having
an interactive test, and it may be misleading.
2012-02-29 09:23:40 +00:00
Emmanuele Bassi
f97ffe544f
interactive/layout: Update to modern API
...
No need to override Container. Actually, no need to use the Container
API at all. This also removes a bunch of leaks.
2012-02-15 17:03:03 +00:00
Emmanuele Bassi
553f446315
interactive/actor: Add more animations
...
Rotation along the Y axis and depth change.
2012-02-14 16:50:52 +00:00
Emmanuele Bassi
c44ffb02f5
interactive/actor: Use a BoxLayout
...
As it was intended.
2012-02-14 16:01:21 +00:00
Emmanuele Bassi
83119966a4
interactive/depth: Drop deprecated API
2012-02-13 17:30:22 +00:00
Emmanuele Bassi
5b17b4e41b
interactive/*: Update the API usage
...
Drop some deprecated methods.
2012-02-13 17:30:22 +00:00
Emmanuele Bassi
1d55af9dfa
interactive/text-field: Modernize
2012-02-07 11:30:43 +00:00
Emmanuele Bassi
ad62075378
interactive/actor: Show event and animation API
2012-02-02 14:07:38 +00:00
Emmanuele Bassi
ccc70a911d
tests: Update to use the symbolic button names
...
https://bugzilla.gnome.org/show_bug.cgi?id=668692
2012-01-27 09:47:25 +00:00
Emmanuele Bassi
9206bd7627
tests/*: Use symbolic constants for sources and events
...
And make sure to use clutter_threads_add_* instead of the bare
g_*_add().
2012-01-25 23:20:25 +00:00
Emmanuele Bassi
f5de10c05f
interactive/actors: Update the venerable test-actors
2012-01-23 20:54:06 +00:00
Emmanuele Bassi
7dd06de6d5
interactive: Drop more deprecated classes
2012-01-17 16:54:30 +00:00
Emmanuele Bassi
8f1575b970
interactive: Use ClutterActor instead of deprecated classes
2012-01-17 16:21:55 +00:00
Emmanuele Bassi
40b023a33e
interactive/text: Remove spurious g_object_unref()
2012-01-17 14:29:44 +00:00
Stef Walter
c073764369
text: Implement ClutterTextBuffer
...
* Abstracts the buffer for text in ClutterText
* Allows implementation of undo/redo.
* Allows use of non-pageable memory for text
in the case of sensitive passwords.
* Implement a test with two ClutterText using the same
buffer.
https://bugzilla.gnome.org/show_bug.cgi?id=652653
2012-01-17 14:29:44 +00:00
Emmanuele Bassi
b42f17b2dc
tests/interactive: Add a simple test for Actor
...
It's meant to be xincluded in the API reference.
2012-01-16 23:37:12 +00:00
Emmanuele Bassi
7195d0fccf
flow-layout: Fix minimum size request
...
The minimum preferred size of a Flow layout manager is the size of a
column or a row, as the whole point of the layout policy enforced by
the Flow layout manager is to reflow when needed.
2012-01-16 23:35:16 +00:00
Robert Bragg
e5bde0b074
tests: Adds a simple wayland compositor example
...
This adds an extremely minimal wayland compositor to tests/interactive
to test the ClutterWaylandSurface actor. Currently this minimal
compositor doesn't support any input, it simply paints client surfaces
fixed at the top-left of the stage.
Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com>
2011-12-08 16:13:37 +00:00
Emmanuele Bassi
a13b095dc2
build: Fix distcheck
2011-11-22 13:53:08 +00:00
Rico Tzschichholz
225820c4b4
Fix 'make dist'
2011-11-18 18:08:01 +01:00
Rico Tzschichholz
516b5de756
tests: Remove some trailing spaces
2011-11-18 17:38:45 +01:00
Emmanuele Bassi
73e7404652
build: Clean up the VS build rules
...
Some minor cleanups of the Visual Studio rules in the interactive and
conformance test suites.
2011-11-18 15:12:45 +00:00
Rico Tzschichholz
b62216955f
build: Make sure test-unit-names.h is generated
2011-11-18 13:39:06 +01:00
Chun-wei Fan
a69c4fdc59
Merge branch 'master' into msvc-support-master
2011-11-17 22:17:01 +08:00
Emmanuele Bassi
ef02de19e8
interactive: Remove test-model
...
The model API is already tested in the conformance test suite.
2011-11-16 15:05:18 +00:00
Emmanuele Bassi
15000307fd
interactive: Remove test-unproject
...
The coordinate transformation code is exercised throughout the
conformance and interactive tests, so there's no need to have a specific
interactive test that doesn't do anything more complicated than calling
clutter_actor_transform_stage_point().
2011-11-16 13:59:11 +00:00
Chun-wei Fan
2a86ecc4b9
Update interactive/conformance .bat names
...
Add a -clutter suffix to avoid confustion with others, such as COGL.
2011-11-15 16:19:06 +08:00
Chun-wei Fan
96d4e527ea
Merge branch 'master' into msvc-support-master
2011-11-14 22:57:50 +08:00
Emmanuele Bassi
7c180a0742
interactive/*: Do not use clutter_stage_get_default()
2011-11-10 15:37:50 +00:00
Chun-wei Fan
bb9e452a36
Merge branch 'master' into msvc-support-master
2011-11-07 11:42:16 +08:00
Emmanuele Bassi
53513f8586
tests: Remove #undef CLUTTER_DISABLE_DEPRECATED
...
We need to test deprecated API as well, and we don't use a guard any
more in the build.
2011-11-03 15:35:03 +00:00
Emmanuele Bassi
c4e6f74f29
interactive/pixmap: Make sure to work only on the X11 backend
...
Even if the test has been successfully compiled against the X11 backend,
we need to ensure that it is actually running against it, otherwise bad
things will happen.
2011-11-03 13:45:21 +00:00
Emmanuele Bassi
3b38cee66b
interactive/devices: Build unconditionally
...
The test-devices interactive test does not rely on the X11 API being
present any more, after the introduction of the device manager API.
2011-11-03 13:45:21 +00:00
Emmanuele Bassi
a09bbffd92
Implement multi-backend support
...
The Clutter backend split is opaque enough that should allow us to just
build all possible backends inside the same shared object, and select
the wanted backend at initialization time.
This requires some work in the build system, as well as the
initialization code, to remove duplicate functions that might cause
conflicts at build and link time. We also need to defer all the checks
of the internal state of the platform-specific API to run-time type
checks.
2011-11-03 13:45:19 +00:00
Chun-wei Fan
fedca055e9
Revert "Revert "Deprecate clutter_threads_init()""
...
This reverts commit 5419c11c99
.
This is another part to attempt to investigate on error 0xC0000264
on Windows
2011-10-21 17:44:27 +08:00
Chun-wei Fan
098a83af9e
test-[interactive/conformance].bat: Update .exe name
2011-10-20 17:26:55 +08:00
Chun-wei Fan
a36ab5787b
Rename conform/interactive tests VS projects
...
Add a -clutter suffix for their project names to avoid clashes with the
COGL test executables
2011-10-20 16:35:38 +08:00
Chun-wei Fan
d6af2e54c8
Merge branch 'master' into msvc-support-master
2011-10-20 15:41:46 +08:00
Chun-wei Fan
5419c11c99
Revert "Deprecate clutter_threads_init()"
...
This reverts commit 7e3a75c66b
.
Conflicts:
clutter/clutter-main.c
clutter/clutter-main.h
2011-10-20 15:17:25 +08:00
Neil Roberts
b240b95a97
tests: Use the portable cogl wrappers for GLSL builtins
...
Instead of directly using the GLSL names for the builtins in the
shaders for test-shader and test-pick, this makes it use the Cogl
wrapper names instead. That way it will be portable to GLES2 as well.
Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com>
2011-10-19 13:50:48 +01:00
Chun-wei Fan
b1780711f7
Merge branch 'master' into msvc-support-master
2011-10-17 15:52:57 +08:00
Emmanuele Bassi
f75dfcfd8b
interactive: Use the newly added CLUTTER_ALIGN_BOTH value
...
We center a lot of stuff using ClutterAlignConstraints.
2011-10-15 18:36:27 +01:00
Emmanuele Bassi
96cb1d7128
Disable deprecation warnings for the test suite
...
We test deprecated functionality as well as current one, so we need to
enable all symbols and disable the deprecation warnings.
2011-10-13 17:50:25 +01:00
Emmanuele Bassi
c58baf42ca
interactive/threads: Clean up
...
Add some comments explaining why we use idle handlers to update the UI,
and update to the newest API in GLib master.
2011-10-13 10:38:36 +01:00