2007-07-30 16:28:53 +00:00
|
|
|
GENERAL
|
|
|
|
=======
|
|
|
|
|
2007-07-25 22:09:53 +00:00
|
|
|
General notes and rules on clutter core hacking;
|
|
|
|
|
|
|
|
- GNU style indentation, please wrap at 80 chars.
|
|
|
|
|
2008-01-30 13:05:10 +00:00
|
|
|
- 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.
|
2007-07-30 16:28:53 +00:00
|
|
|
|
2007-07-25 22:09:53 +00:00
|
|
|
- All public functions with float parameters should also provide a fixed
|
2007-07-30 16:28:53 +00:00
|
|
|
point version. Fixed point should be used internally.
|
2007-07-25 22:09:53 +00:00
|
|
|
|
2008-01-30 13:05:10 +00:00
|
|
|
- Properties should always be float (never fixed).
|
2007-07-25 22:09:53 +00:00
|
|
|
|
2008-01-30 13:05:10 +00:00
|
|
|
- API funcs should always check their arguments with g_return_*().
|
2007-07-25 22:09:53 +00:00
|
|
|
|
|
|
|
- Really try to avoid if possible additions to clutter-private.h
|
|
|
|
|
2008-01-30 13:05:10 +00:00
|
|
|
- Don't add direct GL calls but wrap with cogl (also adding GL ES Version)
|
2007-07-25 22:09:53 +00:00
|
|
|
|
2007-07-30 16:28:53 +00:00
|
|
|
- Use CLUTTER_NOTE() macro for debug statements.
|
|
|
|
|
|
|
|
- New features should also include an exhaustive test in tests/
|
|
|
|
|
|
|
|
|
|
|
|
RELEASES
|
|
|
|
========
|
|
|
|
|
|
|
|
In making a new release;
|
|
|
|
|
|
|
|
- Check out a fresh copy from SVN.
|
|
|
|
|
|
|
|
- verify versioning in configure.ac, increasing relevant
|
|
|
|
clutter_major_version/clutter_minor_version/clutter_micro_version
|
|
|
|
value.
|
|
|
|
|
|
|
|
- Update NEWS (New feature details, bug #'s), README (Any API changes
|
|
|
|
relevant to developers + version), AUTHORS if relevant.
|
|
|
|
|
|
|
|
- Add a Release entry to the ChangeLog noting version.
|
|
|
|
|
2008-01-30 13:05:10 +00:00
|
|
|
- Call make distcheck and fix if fails.
|
|
|
|
|
|
|
|
- Upload the tarball.
|
2007-07-30 16:28:53 +00:00
|
|
|
|
2008-01-30 13:05:10 +00:00
|
|
|
- Bump to the next odd number version.
|
2007-07-30 16:28:53 +00:00
|
|
|
|
2008-01-30 13:05:10 +00:00
|
|
|
- Commit.
|
2007-07-30 16:28:53 +00:00
|
|
|
|
|
|
|
- Announce release to waiting world on blog and mailing list.
|
|
|
|
|
|
|
|
- Release any dependant add-ons following similar rules to above.
|
2008-01-30 13:05:10 +00:00
|
|
|
Dont forget to check *.pc file version deps!
|
|
|
|
|
|
|
|
$LastChangedDate$
|