Compiz source should contain a coding style documentation, Qt Creator config file and more detailed instructions for contributors

Bug #1168360 reported by MC Return
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Triaged
Low
Stephen M. Webb

Bug Description

Every possible contributor, looking at the Compiz source with a standard editor, will probably be shocked about the indentation, as almost no editor gets the C++11 indentation with mixed tabs and spaces right.

While Qt Creator (with the right config file imported) works like a charm as IDE for Compiz, no potential contributor to Compiz will know about it or have an easy way to get it.
We should include the config file in the source.

Also we should probably save and extend the .html file from wiki.compiz.org (which seems to be down @ the moment) to inform about how we would like good code to be written.

Update:
Partially fixed.
The Qt Creator config file has been merged into lp:compiz at revision 3748.
( https://code.launchpad.net/~mc-return/compiz/compiz.merge-added-qtcreator-config-file-for-contributors/+merge/171948 )

MC Return (mc-return)
Changed in compiz:
assignee: nobody → MC Return (mc-return)
status: New → In Progress
description: updated
description: updated
Revision history for this message
Sam Spilsbury (smspillaz) wrote :

Integrating vera++ might also be a good idea here, though I think one of the problems would be that the code is already not in a completely consistent state anyways.

MC Return (mc-return)
Changed in compiz:
milestone: none → 0.9.10.0
importance: Undecided → Medium
Revision history for this message
MC Return (mc-return) wrote :

Update:
Partially fixed.
The Qt Creator config file has been merged into lp:compiz at revision 3748.
( https://code.launchpad.net/~mc-return/compiz/compiz.merge-added-qtcreator-config-file-for-contributors/+merge/171948 )

summary: - Compiz source should contain a coding style documentation, QTCreator
+ Compiz source should contain a coding style documentation, Qt Creator
config file and more detailed instructions for contributors
description: updated
description: updated
Changed in compiz:
importance: Medium → Low
Changed in compiz:
milestone: 0.9.10.0 → 0.9.10.2
MC Return (mc-return)
Changed in compiz:
milestone: 0.9.10.2 → 0.9.11.0
Stephen M. Webb (bregma)
Changed in compiz:
assignee: MC Return (mc-return) → Stephen M. Webb (bregma)
milestone: 0.9.11.0 → 0.9.12.1
status: In Progress → Triaged
Stephen M. Webb (bregma)
Changed in compiz:
milestone: 0.9.12.1 → 0.9.12.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.