From 9d5e9aaa9aab6d1ec5e8f66926fa98979b0f14be Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 30 Jan 2008 13:05:10 +0000 Subject: [PATCH] 2008-01-30 Emmanuele Bassi * HACKING: Expand the "document API" point, and the release process. * README: Update the release notes regarding the scale behaviour, now that the gravity has been removed. --- ChangeLog | 8 ++++++++ HACKING | 26 ++++++++++++++++++-------- README | 6 +++++- 3 files changed, 31 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5da4992..77dbf20 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-01-30 Emmanuele Bassi + + * HACKING: Expand the "document API" point, and the release + process. + + * README: Update the release notes regarding the scale behaviour, + now that the gravity has been removed. + 2007-01-30 Tomas Frydrych * clutter/clutter-actor.c: diff --git a/HACKING b/HACKING index 0e01b66..20a06ac 100644 --- a/HACKING +++ b/HACKING @@ -5,18 +5,24 @@ General notes and rules on clutter core hacking; - GNU style indentation, please wrap at 80 chars. - - All non static public API funcs should be documented in the .c via gtk-doc + - All non static public API funcs should be documented in the source files + via gtk-doc. Structures, enumerations and macros should be documented in + the header files. + + - All non-trivial static and private API should be documented, especially + the eventual lifetime handling of the arguments/return values or locking + of mutexes. - All public functions with float parameters should also provide a fixed point version. Fixed point should be used internally. - - Propertys should always be float (never fixed). + - Properties should always be float (never fixed). - - API funcs should always use g_return_* + - API funcs should always check their arguments with g_return_*(). - Really try to avoid if possible additions to clutter-private.h - - Dont add direct GL calls but wrap with cogl (also adding GL ES Version) + - Don't add direct GL calls but wrap with cogl (also adding GL ES Version) - Use CLUTTER_NOTE() macro for debug statements. @@ -39,13 +45,17 @@ In making a new release; - Add a Release entry to the ChangeLog noting version. - - make distcheck and fix if fails. + - Call make distcheck and fix if fails. + + - Upload the tarball. - - commit. + - Bump to the next odd number version. - - Make tarballs, upload. + - Commit. - Announce release to waiting world on blog and mailing list. - Release any dependant add-ons following similar rules to above. - Dont forget to check *.pc file version deps! \ No newline at end of file + Dont forget to check *.pc file version deps! + +$LastChangedDate$ diff --git a/README b/README index f3711e0..c16e64b 100644 --- a/README +++ b/README @@ -209,7 +209,11 @@ Release Notes for Clutter 0.6.0 been changed to accomodate the scaling factors on both the X and Y axis, matching the clutter_actor_set_scale() function. This also changed the clutter_effect_scale() function, which now accepts the final scale - factor on both the X and Y axis. + factor on both the X and Y axis. The gravity property has also been + removed, as it behaved incorrectly with regards to the anchor point. When + scaling an actor using a BehaviourScale, the anchor point should be set + before applying the behaviour (remember to adjust the positioning as + well by factoring in the anchor point). * The clutter_do_event() is now public; it can be used to feed an event to Clutter and let it generate the capture-bubble signal emissions; it should -- 2.7.4