Emmanuele Bassi [Wed, 2 Nov 2011 13:17:27 +0000 (13:17 +0000)]
build: Disable tslib by default
The event handling through tslib hasn't been tested in a while, and it
hasn't been ported to the device manager machinery either. We are still
considering whether or not it should be entirely removed, since evdev is
supposed to be a better way to handle events not coming from an existing
windowing system.
Emmanuele Bassi [Mon, 17 Oct 2011 15:07:05 +0000 (16:07 +0100)]
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.
Emmanuele Bassi [Mon, 17 Oct 2011 15:06:15 +0000 (16:06 +0100)]
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.
Emmanuele Bassi [Mon, 17 Oct 2011 15:03:19 +0000 (16:03 +0100)]
Clean up the windowing system defines
Instead of defining new symbols for the windowing systems enabled at
configure time, we can reuse the same symbols for both the compile time
and run time checks, e.g.:
#ifdef CLUTTER_WINDOWING_X11
if (clutter_check_windowing_backend (CLUTTER_WINDOWING_X11))
/* use the clutter_x11_* API */
else
#endif
#ifdef CLUTTER_WINDOWING_WIN32
if (clutter_check_windowing_backend (CLUTTER_WINDOWING_WIN32))
/* use the clutter_win32_* API */
#endif
This scheme allows us to ensure that the input system namespace is free
for us to use and select at run time in later versions of Clutter.
Emmanuele Bassi [Mon, 17 Oct 2011 12:25:15 +0000 (13:25 +0100)]
Clean up the backend creation
Move it to its own function.
Emmanuele Bassi [Fri, 14 Oct 2011 11:00:44 +0000 (12:00 +0100)]
build: Make sure to remove colliding shared libraries
The compatibility links should take over any existing installed
shared library with the same soname, to avoid ldd creating stale
links.
Emmanuele Bassi [Wed, 12 Oct 2011 16:56:07 +0000 (17:56 +0100)]
docs: Update the README section on configure switches
Emmanuele Bassi [Wed, 12 Oct 2011 07:48:56 +0000 (08:48 +0100)]
build: Implement proper platform checking
Perform the check for enabling platform-specific backends conditionally
on the 'check' value, instead of unconditionally.
Also, rename the configure switches for the backends to have a '-backend'
suffix, to avoid collisions and provide a more descriptive name.
Emmanuele Bassi [Mon, 3 Oct 2011 16:11:49 +0000 (17:11 +0100)]
build: Improve the compat libs rule
Use the same commands libtool uses when installing symbolic links for
the shared libraries.
Emmanuele Bassi [Mon, 3 Oct 2011 14:25:40 +0000 (15:25 +0100)]
gdk/events: Clean up the event handling code
We need debugging notes, to see what's happening when handling events.
We need to queue a (clipped) redraw when receiving a GDK_EXPOSE event.
We need to check the device (both master and source) of the event using
the GdkEvent API, and pass them to the ClutterEvent using the
corresponding Clutter API.
Emmanuele Bassi [Mon, 3 Oct 2011 11:25:53 +0000 (12:25 +0100)]
egl: First attempt at cleaning up the EGL native backend
At least, let's make it compile when built along with the other
backends. In reality, it still needs to be verified as working.
Emmanuele Bassi [Mon, 3 Oct 2011 09:23:46 +0000 (10:23 +0100)]
build: Move EGL-related files under egl/
Including the clutter-cex100.h.in header.
Emmanuele Bassi [Mon, 3 Oct 2011 09:17:56 +0000 (10:17 +0100)]
build: Move clutter-event-tslib.c out of egl/
Prepare for a full tslib device manager.
Emmanuele Bassi [Fri, 30 Sep 2011 16:29:40 +0000 (17:29 +0100)]
Coding style and cosmetic fixes
Emmanuele Bassi [Fri, 30 Sep 2011 13:50:31 +0000 (14:50 +0100)]
Minimal cosmetic fix to the configure output
Emmanuele Bassi [Fri, 30 Sep 2011 12:58:40 +0000 (13:58 +0100)]
Remove the X11-specific bit in ClutterStageCogl
Let's use a new virtual function in ClutterStageWindow to check whether
a platform-specific implementation does support clipped redraws.
Emmanuele Bassi [Thu, 29 Sep 2011 17:16:48 +0000 (18:16 +0100)]
gdk: Fix Stage foreign window support
The code is generally wrong, and does not work. We need to skip the
GdkWindow creation when we have a foreing window, but we still need to
create the Cogl onscreen buffer and connect it to the GdkWindow's native
resource.
Emmanuele Bassi [Thu, 29 Sep 2011 17:10:48 +0000 (18:10 +0100)]
gdk: Allow disabling event retrieval
Just like the other backends can disable the internal event handling,
and use clutter_<backend>_handle_event() to do the native → Clutter
event translation.
Emmanuele Bassi [Tue, 27 Sep 2011 12:24:52 +0000 (13:24 +0100)]
Cosmetic fixes
Emmanuele Bassi [Mon, 26 Sep 2011 12:14:26 +0000 (13:14 +0100)]
Allow checking the backend type at run-time
Portable code should be allowed to check type backend currently being
used, so that it can use platform-specific API (not just Clutter's).
We don't want to go down the GDK route, with public types for
ClutterBackend and ClutterStageWindow implementations, and use the type
system, e.g.:
#ifdef GDK_WINDOWING_X11
if (GDK_IS_WINDOW_X11 (window))
use_x11_api (window);
else
#endif
#ifdef GDK_WINDOWING_WIN32
if (GDK_IS_WINDOW_WIN32 (window))
use_win32_api (window);
else
#endif
g_critical ("Unsupported backend");
This system would make us expose the backend system, and we want to
still reserve us the option to change the backend system to increase its
granularity — e.g. choosing different input event systems regardless of
the windowing system.
This commit adds a simple function that checks the backend type against
a symbolic constant — the same constant string that can be used to
select the backend at run-time through the CLUTTER_BACKEND environment
variable.
Emmanuele Bassi [Wed, 21 Sep 2011 17:05:03 +0000 (18:05 +0100)]
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.
Giovanni Campagna [Fri, 26 Aug 2011 22:16:12 +0000 (00:16 +0200)]
Rework the interaction between the Cogl and GDK / X11 backends.
Previously, the Cogl backend was at times a subclass of the X11
backend, and at times a standalone one. Now it is the other way
round, with GDK and X11 backends providing the concrete classes,
layered on top of the generic Cogl backend. A new EglNative backend
was introduced for direct to framebuffer rendering. This greatly
simplifies the API design (at the expense of some casts needed)
and reduces the amount of #ifdefs, without duplicating code.
https://bugzilla.gnome.org/show_bug.cgi?id=657434
Giovanni Campagna [Fri, 26 Aug 2011 01:09:18 +0000 (03:09 +0200)]
Add a new GDK backend
This commit introduces a new flavour for Clutter, that uses GDK
for handling all window system specific interactions (except for
creating the cogl context, as cogl does not know about GDK), including
in particular events. This is not compatible with the X11 (glx)
flavour, and this is reflected by the different soname (libclutter-gdk-1.0.so),
as all X11 specific functions and classes are not available. If you
wish to be compatible, you should check for CLUTTER_WINDOWING_X11.
Other than that, this backend should be on feature parity with X11,
including XInput 2, XSettings and EMWH (with much, much less code)
https://bugzilla.gnome.org/show_bug.cgi?id=657434
Robert Bragg [Tue, 1 Nov 2011 13:42:40 +0000 (13:42 +0000)]
cogl: fallback to non-transparent stages if unsupported
If our check of the CoglOnscreenTemplate during initialization fails
then we disable the request for an alpha component in the swap chain and
try the check again.
Reviewed-by: Neil Roberts <neil@linux.intel.com>
Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com>
Emmanuele Bassi [Wed, 2 Nov 2011 13:03:26 +0000 (13:03 +0000)]
build: Bump up Cogl dependency
The newly added cogl-xlib.h header is available since Cogl 1.9, so we
need to bump up the dependency.
Emmanuele Bassi [Wed, 2 Nov 2011 12:53:55 +0000 (12:53 +0000)]
tslib: Remove mention of clutter-stage-egl.h
That header has long since disappeared from the build.
Emmanuele Bassi [Wed, 2 Nov 2011 12:53:26 +0000 (12:53 +0000)]
utils: Remove CLUTTER_DISABLE_DEPRECATED
We use deprecation warnings now.
Emmanuele Bassi [Wed, 2 Nov 2011 12:53:03 +0000 (12:53 +0000)]
texture: Remove CLUTTER_DISABLE_DEPRECATED
We use deprecation warnings now.
Emmanuele Bassi [Wed, 2 Nov 2011 12:52:42 +0000 (12:52 +0000)]
stage-manager: Remove CLUTTER_DISABLE_DEPRECATED
We use deprecation warnings now.
Emmanuele Bassi [Wed, 2 Nov 2011 12:52:18 +0000 (12:52 +0000)]
cairo-texture: Remove CLUTTER_DISABLE_DEPRECATED
We use deprecation warnings now.
Emmanuele Bassi [Wed, 2 Nov 2011 12:51:58 +0000 (12:51 +0000)]
animatable: Remove CLUTTER_DISABLE_DEPRECATED
We use deprecation warnings, now.
Emmanuele Bassi [Wed, 2 Nov 2011 12:48:31 +0000 (12:48 +0000)]
cairo-texture: Use an internal function for create_region()
Avoid double argument checking, and a deprecation warning when
implementing create() as a wrapper around create_region(), by using
a simple internal function.
Emmanuele Bassi [Wed, 2 Nov 2011 12:47:46 +0000 (12:47 +0000)]
actor: Move deprecated symbols into separate headers
The clutter-actor.h header is already pretty big, so let's try to keep
the deprecated symbols out of it.
Emmanuele Bassi [Wed, 2 Nov 2011 12:41:42 +0000 (12:41 +0000)]
backend: Move deprecated symbols to a separate header
Emmanuele Bassi [Wed, 2 Nov 2011 12:32:09 +0000 (12:32 +0000)]
main: Move deprecated symbols to a separate header
The number of deprecations in clutter-main.h makes the header harder to
parse, and more confusing. We can use a separate header under the
deprecated subdirectory to hold all the deprecated symbols.
Robert Bragg [Tue, 1 Nov 2011 15:47:43 +0000 (15:47 +0000)]
cogl: include <cogl/cogl-xlib.h> for xlib specific symbols
Since Xlib.h is such a terrible citizen when it comes to symbol
namespacing it's not desirable to include Xlib.h if it is not absolutely
required. Cogl now has a standalone cogl-xlib.h that should be included
whenever any xlib specific symbols are required.
This patch updates clutter to include <cogl/cogl-xlib.h> wherever
clutter needs to use xlib specific cogl apis.
Acked-by: Emmanuele Bassi <ebassi@linux.intel.com>
Emmanuele Bassi [Mon, 31 Oct 2011 10:39:46 +0000 (10:39 +0000)]
profile: Disable deprecation warnings
We use an atexit() handler to print out the profile report coming from
Uprof. The g_atexit() call has been deprecated by GLib, but since this
use case is pretty specific and it's not meant to be turned on by
default (or distributed) then we can safely disable the deprecation
warnings inside clutter-profile.c.
Emmanuele Bassi [Mon, 24 Oct 2011 11:07:30 +0000 (12:07 +0100)]
backend: Remove atexit handlers
The g_atexit() function has been deprecated in GLib as it is a fairly
bad idea in basically all cases.
We could probably use a GCC destructor if we didn't care about
portability, but for the time being we just remove the atexit() handler
that disposed the backend.
Emmanuele Bassi [Mon, 24 Oct 2011 10:58:23 +0000 (11:58 +0100)]
cairo-texture: Drop the half pixel rounding
Calling ceilf() should be enough.
https://bugzilla.gnome.org/show_bug.cgi?id=661887
Alexander Shopov [Sun, 30 Oct 2011 15:04:55 +0000 (17:04 +0200)]
Updated Bulgarian translation
Emmanuele Bassi [Tue, 25 Oct 2011 10:30:46 +0000 (11:30 +0100)]
docs: Clarify CLUTTER_ACTOR_IS_MAPPED
There are a couple of gotchas in the 'mapped' flag that are not properly
documented, or are documented only in the actor_invariants.txt file; we
should have a proper description in the API reference as well, to avoid
confusion.
Chun-wei Fan [Mon, 24 Oct 2011 16:13:53 +0000 (00:13 +0800)]
Bug 662071-[Win32]-Don't init the Big Clutter Lock
Since the Windows GUI system is assuming multithreadedness, initializing
locks after entering the GUI portion on Windows is likely to cause
problems[1][2], which results many Clutter programs to crash due to
releasing resources that they did not own.
[1]: Multi-threaded use of GTK+ on Win32 in README.win32 of GTK+
source package
[2]: Explanation of Windows GUI system regarding its multithreadness
assumptions-
http://mail.gnome.org/archives/gtk-list/2011-June/msg00005.html
Jorge González [Sat, 22 Oct 2011 15:53:30 +0000 (17:53 +0200)]
Updated Spanish translation
Yaron Shahrabani [Sat, 22 Oct 2011 13:50:50 +0000 (15:50 +0200)]
Updated Hebrew translation (Initialized PO file).
Emmanuele Bassi [Fri, 21 Oct 2011 20:19:27 +0000 (21:19 +0100)]
docs: Document the behaviour in case of init failure
Or, better, the fact that the behaviour of any Clutter function will be
undefined in case the initialization fails.
The value returned by clutter_init() and friends has to be handled
properly.
Matej Urbančič [Fri, 21 Oct 2011 19:20:00 +0000 (21:20 +0200)]
Updated Slovenian translation
Kjartan Maraas [Wed, 19 Oct 2011 21:18:16 +0000 (23:18 +0200)]
Updated Norwegian bokmål translation
Emmanuele Bassi [Wed, 19 Oct 2011 14:32:41 +0000 (15:32 +0100)]
build: Remove the GLES configuration option
The selector for GLES 1.1 or 2.0 is all in Cogl, now.
Robert Bragg [Thu, 4 Aug 2011 15:09:00 +0000 (16:09 +0100)]
build: remove the experimental_image var from configure
Since the image backend is something now dealt with by Cogl there is no
need to check the experimental status of the backend in the Clutter
configure script.
Reviewed-by: Neil Roberts <neil@linux.intel.com>
Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com>
Robert Bragg [Tue, 18 Oct 2011 09:06:06 +0000 (10:06 +0100)]
blur: don't accumulate texture padding twice
This removes the create_texture implementation for ClutterBlurEffect
because we already account for padding in the get_paint_volume
implementation so we were creating textures larger than necessary.
Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com>
Robert Bragg [Thu, 4 Aug 2011 15:04:52 +0000 (16:04 +0100)]
build: Don't actually check for glx for glx flavour
GLX is now totally abstracted by Cogl so the "glx" flavour is actually
only used to determine the soname of clutter now so we don't actually
have to check for the glx header or that libGL provides any GLX symbols.
Reviewed-by: Neil Roberts <neil@linux.intel.com>
Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com>
Emmanuele Bassi [Wed, 19 Oct 2011 14:23:55 +0000 (15:23 +0100)]
Avoid the shadowing of 'clone'
The clone() call can creep into the build environment, so it's a good
thing to avoid using 'clone' as a variable name.
Neil Roberts [Wed, 19 Oct 2011 12:42:18 +0000 (13:42 +0100)]
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>
Emmanuele Bassi [Mon, 17 Oct 2011 10:48:47 +0000 (11:48 +0100)]
docs: Improve documentation of LayoutManager
Especially with regards to layout properties and their usage inside a
ClutterScript UI definition.
Emmanuele Bassi [Mon, 17 Oct 2011 09:25:20 +0000 (10:25 +0100)]
docs: Clean up the 'running Clutter apps' chapter
Emmanuele Bassi [Mon, 17 Oct 2011 09:25:07 +0000 (10:25 +0100)]
Remove mentions of clutter_redraw()
Emmanuele Bassi [Mon, 17 Oct 2011 09:24:25 +0000 (10:24 +0100)]
debug: Clean up debugging notes
Emmanuele Bassi [Sat, 15 Oct 2011 17:35:45 +0000 (18:35 +0100)]
interactive: Use the newly added CLUTTER_ALIGN_BOTH value
We center a lot of stuff using ClutterAlignConstraints.
Emmanuele Bassi [Sat, 15 Oct 2011 17:33:49 +0000 (18:33 +0100)]
align-constraint: Add CLUTTER_ALIGN_BOTH
Just like ClutterBindConstraint has two shorthand enumerations for binding
position and size and avoid using multiple instances, ClutterAlignConstraint
should have a way to align an actor with the same alignment factor on both
axis at the same time; this is especially useful for centering actors.
Fran Dieguez [Sat, 15 Oct 2011 13:24:41 +0000 (15:24 +0200)]
Updaged Galician translations
Emmanuele Bassi [Fri, 14 Oct 2011 10:34:38 +0000 (11:34 +0100)]
Tag all deprecated symbols using CLUTTER_DEPRECATED
This requires some minor surgery in the build to disable the deprecation
warnings in the deprecated classes.
Emmanuele Bassi [Fri, 14 Oct 2011 10:34:26 +0000 (11:34 +0100)]
Bump up the dependency on gtk-doc
Emmanuele Bassi [Wed, 12 Oct 2011 17:04:23 +0000 (18:04 +0100)]
build: Strip out G_DISABLE_DEPRECATED
We have compiler warnings, now.
Emmanuele Bassi [Thu, 13 Oct 2011 16:50:25 +0000 (17:50 +0100)]
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.
Emmanuele Bassi [Thu, 13 Oct 2011 10:38:27 +0000 (11:38 +0100)]
debug: Move paint-deform-tiles to CLUTTER_PAINT
The CLUTTER_DEBUG class of debugging flags is meant for debugging notes,
while the CLUTTER_PAINT debugging flags are for changing the output of
the paint cycle. Painting the DeformEffect tiles should go in the latter.
Emmanuele Bassi [Thu, 13 Oct 2011 09:42:30 +0000 (10:42 +0100)]
docs: Include test-threads.c in the API reference
We can use the test-threads.c interactive test as part of the documentation
on how to use threads with Clutter.
Emmanuele Bassi [Thu, 13 Oct 2011 09:38:36 +0000 (10:38 +0100)]
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.
Piotr Drąg [Wed, 12 Oct 2011 18:33:16 +0000 (20:33 +0200)]
Updated POTFILES.in
Emmanuele Bassi [Wed, 12 Oct 2011 15:17:39 +0000 (16:17 +0100)]
Avoid using deprecated API internally
Use the proper API to implement deprecated functions.
Emmanuele Bassi [Wed, 12 Oct 2011 11:36:41 +0000 (12:36 +0100)]
texture: Disable deprecation warnings
Sadly, ClutterTexture is still using internally deprecated API, like
clutter_actor_get_shader().
Emmanuele Bassi [Wed, 12 Oct 2011 09:36:17 +0000 (10:36 +0100)]
Remove _clutter_shader_release_all()
This function is called when the backend is being disposed - as a way
of releasing all ClutterShader. This doesn't take into account three
things:
- ClutterShader is deprecated
- the Backend is *never* disposed
- once the process terminates, all its resources are automatically
released by the OS
So the _clutter_shader_release_all() function is a pointless exercise
in futility.
Emmanuele Bassi [Wed, 12 Oct 2011 08:57:53 +0000 (09:57 +0100)]
tests: Fix some compiler warnings
Emmanuele Bassi [Wed, 12 Oct 2011 08:57:33 +0000 (09:57 +0100)]
tests: Disable deprecation warnings
Emmanuele Bassi [Tue, 11 Oct 2011 23:20:43 +0000 (00:20 +0100)]
interactive/threads: Use G_PRIVATE_INIT
Though strictly not necessary, we should be using the proper init macro
for GPrivate.
Emmanuele Bassi [Tue, 11 Oct 2011 22:42:23 +0000 (23:42 +0100)]
Remove some compiler warnings
Some issues found using clang as the compiler.
Emmanuele Bassi [Tue, 11 Oct 2011 22:11:56 +0000 (23:11 +0100)]
Fix included header
Emmanuele Bassi [Tue, 11 Oct 2011 22:06:06 +0000 (23:06 +0100)]
build: Disable deprecation warnings with --enable-deprecated
Just like we turn everything on with --disable-deprecated, we have to
turn everything off with --enable-deprecated. This means disabling the
deprecation warnings from the compiler as well.
Emmanuele Bassi [Tue, 11 Oct 2011 22:03:09 +0000 (23:03 +0100)]
Add a Clutter-specific deprecation macro for symbols
Just like GLIB_DEPRECATED and GLIB_DEPRECATED_FOR, Clutter should have
its own wrappers for G_DEPRECATED and G_DEPRECATED_FOR, to allow opting
out of deprecation warnings.
Deprecation warnings are enabled by default, now, even when building
Clutter.
Emmanuele Bassi [Tue, 11 Oct 2011 22:02:17 +0000 (23:02 +0100)]
Fix duplicate typedef of ClutterAlpha
Caught on OS X but not on my Fedora machine. Weird.
Emmanuele Bassi [Tue, 11 Oct 2011 21:43:54 +0000 (22:43 +0100)]
Do not leak strings from GKeyFile
The string getters always copy, so we need to free the returned
values.
Emmanuele Bassi [Tue, 11 Oct 2011 17:25:14 +0000 (18:25 +0100)]
docs: Fixes to build the API reference
Emmanuele Bassi [Tue, 4 Oct 2011 13:21:32 +0000 (14:21 +0100)]
Move more typedefs into clutter-types.h
Emmanuele Bassi [Tue, 4 Oct 2011 12:28:04 +0000 (13:28 +0100)]
Move all enumerations to a separate file
This should allow sharing types, and we can avoid glib-mkenums thrawling
the whole repository for enumerations.
Emmanuele Bassi [Tue, 4 Oct 2011 11:18:26 +0000 (12:18 +0100)]
Move clutter-fixed.[ch] to the deprecated section
Emmanuele Bassi [Tue, 4 Oct 2011 10:58:44 +0000 (11:58 +0100)]
Move ClutterBehaviour to the deprecated section
Emmanuele Bassi [Tue, 4 Oct 2011 10:52:47 +0000 (11:52 +0100)]
Minor header surgery to ClutterBehaviour
This moves a couple of definitions to the common types header, and makes
sure that ClutterBehaviour subclasses include clutter-behaviour.h first,
so that their types can be fully expanded without necessarily have the
ClutterBehaviour header header included by their public headers. This is
the necessary prelude to have clutter-behaviour.[ch] moved to the
deprecated section.
Emmanuele Bassi [Tue, 4 Oct 2011 10:32:36 +0000 (11:32 +0100)]
Move ClutterBehaviour subclasses to the deprecated section
Moving ClutterBehaviour itself will require some minor header surgery,
so we'll do that next.
Emmanuele Bassi [Tue, 4 Oct 2011 10:16:38 +0000 (11:16 +0100)]
docs: Move deprecated classes out of the way
The deprecated sections should be much more prominently separated from
the current API; we can use a new part inside the main reference index
for this.
Emmanuele Bassi [Tue, 4 Oct 2011 10:12:55 +0000 (11:12 +0100)]
Move ClutterShader to the deprecated section
Emmanuele Bassi [Tue, 4 Oct 2011 10:07:03 +0000 (11:07 +0100)]
Move ClutterScore to the deprecated section
Emmanuele Bassi [Tue, 4 Oct 2011 09:57:28 +0000 (10:57 +0100)]
Move timeout pool to the deprecated section
Emmanuele Bassi [Tue, 4 Oct 2011 09:51:09 +0000 (10:51 +0100)]
build: Move deprecated code into its own prefix
The code that has been deprecated should live into its own directory,
both in the repository and when installed. This should make it clear
which functionality is actually maintained and which is not.
We start with an oldie: the frame source API.
Emmanuele Bassi [Tue, 11 Oct 2011 16:51:14 +0000 (17:51 +0100)]
interactive/threads: Fix up after deprecations
The GThread API has undergone a massive restructuring, and the fallout
is still being processed.
Emmanuele Bassi [Tue, 11 Oct 2011 16:08:20 +0000 (17:08 +0100)]
docs: Document the settings.ini file
Describe the location, groups, and keys of the settings.ini file used by
Clutter.
Emmanuele Bassi [Tue, 11 Oct 2011 15:05:24 +0000 (16:05 +0100)]
Show lib and sysconfdir in the configure summary
Emmanuele Bassi [Tue, 11 Oct 2011 14:28:47 +0000 (15:28 +0100)]
Add more sections to the Clutter configuration file
On top of the existing "Settings" group in the settings.ini file we
should have two more groups:
Environment - contains all the configuration possible through
environment variables
Debug - contains all the possible debug variables
Emmanuele Bassi [Tue, 11 Oct 2011 13:42:31 +0000 (14:42 +0100)]
Add a configuration file for ClutterSettings
ClutterSettings should be able to load its initial state by using
configuration files in SYSCONFDIR and XDG_CONFIG_HOME. This allows
Clutter to have a system (and user) configuration on platforms that
do not have XSETTINGS bridges.
Emmanuele Bassi [Mon, 3 Oct 2011 13:12:48 +0000 (14:12 +0100)]
Deprecate clutter_[sg]et_font_flags()
We already have two mechanisms for controlling the font rendering
quality on a per-application basis:
• ClutterSettings properties
• clutter_backend_set_font_options()
The font flags were always a stop-gap solution, and one that tried to
simplify a fairly complex issue beyond the point of actually being
useful.
https://bugzilla.gnome.org/show_bug.cgi?id=660786
Emmanuele Bassi [Mon, 10 Oct 2011 16:00:28 +0000 (17:00 +0100)]
Deprecate clutter_clear_glyph_cache()
This is a wrapper function for API that has long since been public.
Emmanuele Bassi [Mon, 10 Oct 2011 15:57:18 +0000 (16:57 +0100)]
Deprecate clutter_get_input_device_for_id()
We have the ClutterDeviceManager methods for that.