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
Emmanuele Bassi
9901a06a1f
tests: Fix some compiler warnings
2011-10-12 09:57:53 +01:00
Emmanuele Bassi
9e61cfcf38
tests: Disable deprecation warnings
2011-10-12 09:57:33 +01:00
Chun-wei Fan
bd991e625b
Merge branch 'master' into msvc-support-master
2011-10-12 14:37:19 +08:00
Emmanuele Bassi
29a16980fe
interactive/threads: Use G_PRIVATE_INIT
...
Though strictly not necessary, we should be using the proper init macro
for GPrivate.
2011-10-12 00:22:04 +01:00
Emmanuele Bassi
57f54173ec
interactive/threads: Fix up after deprecations
...
The GThread API has undergone a massive restructuring, and the fallout
is still being processed.
2011-10-11 17:52:17 +01:00
Chun-wei Fan
1cf7128540
Merge branch 'master' into msvc-support-master
2011-10-11 17:19:45 +08:00
Emmanuele Bassi
33846dcf4d
Deprecate clutter_redraw()
...
It's just a badly named proxy to clutter_stage_ensure_redraw().
2011-10-10 15:48:43 +01:00
Emmanuele Bassi
7e3a75c66b
Deprecate clutter_threads_init()
...
GLib deprecated g_thread_init(), and threading support is initialized
by GObject, so Clutter already runs with threading support enabled. We
can drop the clutter_threads_init() call requirement, and initialize the
Big Clutter Lock™ on clutter_init(). This reduces the things that have
to be done when dealing with threads with Clutter, and the things that
can possibly go wrong.
2011-10-07 15:57:32 +01:00
Emmanuele Bassi
3690ddc4a0
Drop g_thread_init()
...
It's not necessary any more, and it has been deprecated.
2011-10-07 15:10:37 +01:00
Chun-wei Fan
a9771b596f
Update Visual C++ support
...
-tests/interactive/Makefile.am, build/win32/Makefile.am: copy the
generated test-unit-names.h to build/win32 so that it can be
distributed in "make dist" (maybe we could dist the generated header
in tests/interactive directly?)
-Update test-interactive Visual C++ projects to include build/win32 in
the list of folders to look for headers
2011-10-06 13:00:26 +08:00
Chun-wei Fan
b55656b698
Merge branch 'master' into msvc-support-master
2011-10-06 12:04:30 +08:00
Emmanuele Bassi
e058cd4c5f
Pass the remaining args to the executed interactive unit
...
We only support running one interactive test at a time; everything after
the unit name is to be considered an argument to the actual unit.
2011-09-29 14:01:03 +01:00
Chun-wei Fan
f0dfd8ab07
Merge branch 'master' into msvc-support-master
...
Conflicts:
tests/interactive/Makefile.am
2011-09-29 16:33:02 +08:00
Emmanuele Bassi
ac8e174eca
tests/interactive: Add some descriptions
2011-09-28 15:18:21 +01:00
Emmanuele Bassi
5fc953cb5e
test-textures -> test-texture-slicing
...
The unit is supposed to be testing the slicing support in CoglTexture.
2011-09-28 15:18:21 +01:00
Emmanuele Bassi
d640c56cef
test-interactive: Allow querying the interactive test for a description
...
It would be nice if the interactive tests had a way to be queried for a
description, instead of "Just Knowing" what they are meant to be doing.
2011-09-28 15:18:21 +01:00
Emmanuele Bassi
4ebdeede9f
test-texture-async: Clean up the test code
...
Force threading on, and stop using the default stage and behaviours:
let's try to use modern API.
2011-09-28 13:52:53 +01:00
Chun-wei Fan
9f12ec534e
msvc-support: Recover wrecked branch
...
Recover the branch! :|
2011-09-16 17:25:47 +08:00
Emmanuele Bassi
967bd3ac58
docs: Update test-easing and xinclude it into ClutterAnimation
...
The easing test is a nice example of what ClutterAnimation and
clutter_actor_animate() can do. The "tween ball to the pointer
event coordinates" is a bit of a staple in animation libraries
and their documentation.
2011-09-05 17:22:15 +01:00
Emmanuele Bassi
bce27e45b0
test-constraints: Clean up the example
...
Add some comments to detail what are we doing and why.
2011-09-02 15:39:56 +01:00
Emmanuele Bassi
059d32b40d
build: Add -lm to the tests linker flags
...
https://bugzilla.gnome.org/show_bug.cgi?id=657529
2011-08-28 00:03:28 +01:00
Emmanuele Bassi
df107fc5ba
interactive/test-actors: Constraint the hands group
...
Use constraints to align and size the ClutterGroup containing the
spinning hands so that resizing the stage doesn't look like arse.
2011-08-15 15:53:58 +01:00
Emmanuele Bassi
f28c1d2d2a
state: Use the Animatable interface
...
The Animatable interface allows object classes to provide and animate
properties outside of the usual GObject property introspection API.
This change allows ClutterState to defer to the animatable objects the
property introspection and animation, just like ClutterAnimation does.
2011-07-29 11:44:28 +01:00
Emmanuele Bassi
110dff5823
test/cairo-clock: Remove a double source color set
...
Do not call cairo_set_source_rgba() right after calling
clutter_cairo_set_source_color().
2011-07-27 11:48:07 +01:00