2007-08-06 Emmanuele Bassi <ebassi@openedhand.com>
+ * clutter/clutter-main.[ch]: Remove clutter_threads_enter()
+ and clutter_threads_leave(); both are no-ops and they just
+ confuse things. The thread-awareness in Clutter is planned
+ for 0.4.1/0.5.0.
+
+ * README:
+ * NEWS: Update.
+
+2007-08-06 Emmanuele Bassi <ebassi@openedhand.com>
+
* clutter/clutter-box.[ch]: Implement margin, color and default
padding for ClutterBox. Provide API to pack a child by specifying
every packing detail or just pack with the defaults. ClutterBox
o Add basic tslib support to eglnative backend (for touchscreen events)
+ o New ClutterBox API: each box has now a colour and a margin (distance
+ between the inner-border and the children); plus, each packed child
+ has a padding. Margins and paddings are expressed in ClutterUnits,
+ to ease the transition to the device independent units. You can use
+ clutter_box_set_default_padding() if you want the same padding for
+ each child.
+
* List of bug fixed
o #390 - clutter_stage_get_actor_at_pos broken on 16bpp displays.
o #398 - inconsistent type for return value of clutter_event_get_state
* clutter_actor_show_all does not recurse for groups at least (this is to
match the original group_show_all behaviour)
-* FIXME
+* ClutterBox API has changed: clutter_box_pack_start() and
+ clutter_box_pack_end() have been removed in favour of the clutter_box_pack()
+ API.
+
+* Both clutter_threads_enter() and clutter_threads_leave() have been
+ removed from the API, as they just created confusion and the wrong
+ idea that Clutter is either thread-safe or thread-aware. Full
+ thread-awareness is arriving in the next revision (see bug #429).
Release Notes for Clutter 0.3.1
-------------------------------
}
/**
- * clutter_threads_enter:
- *
- * Locks the Clutter thread lock.
- */
-void
-clutter_threads_enter (void)
-{
- ClutterMainContext *context = CLUTTER_CONTEXT ();
-
- if (context->gl_lock)
- g_mutex_lock (context->gl_lock);
-}
-
-/**
- * clutter_threads_leave:
- *
- * Unlocks the Clutter thread lock.
- */
-void
-clutter_threads_leave (void)
-{
- ClutterMainContext *context = CLUTTER_CONTEXT ();
-
- if (context->gl_lock)
- g_mutex_unlock (context->gl_lock);
-}
-
-
-/**
* clutter_get_debug_enabled:
*
* Check if clutter has debugging turned on.
gboolean clutter_get_debug_enabled (void);
gboolean clutter_get_show_fps (void);
-void clutter_threads_enter (void);
-void clutter_threads_leave (void);
-
void clutter_base_init (void);
gulong clutter_get_timestamp (void);
ClutterBackend *backend;
GQueue *events_queue;
PangoFT2FontMap *font_map;
- GMutex *gl_lock;
guint update_idle;
guint main_loop_level;
GSList *main_loops;
clutter_main
clutter_main_quit
clutter_main_level
-clutter_redraw
-clutter_threads_enter
-clutter_threads_leave
-clutter_base_init
clutter_get_timestamp
<SUBSECTION Private>
clutter_init_error_quark
+clutter_base_init
+clutter_redraw
</SECTION>
<SECTION>