1
0
Fork 0
mutter-performance-source/HACKING
Matthew Allum e7c2b250b1 2007-07-30 Matthew Allum <mallum@openedhand.com>
* AUTHORS:
        * HACKING:
        * README:
        Various updates and improvements.

        * configure.ac:
        Remove --disable-fast-fp-conversions
2007-07-30 16:28:53 +00:00

51 lines
No EOL
1.3 KiB
Text

GENERAL
=======
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 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).
- API funcs should always use 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)
- 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.
- make distcheck and fix if fails.
- commit.
- Make tarballs, upload.
- 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!