Skip to content

Latest commit

 

History

History
28 lines (26 loc) · 2.09 KB

CONTRIBUTING.md

File metadata and controls

28 lines (26 loc) · 2.09 KB

Thank You

Thank you for showing interest in contributing to RawTherapee. It is people such as yourself who make this program and project possible.

Contribute as a Tester

The most useful feedback is based on the latest development code, and in the case of crashes should include a stack backtrace made using a debug build.

Contributing as a Programmer

  • Announce and discuss your plans in GitHub before starting work.
  • Work in a new branch. Fork if necessary.
  • Keep branches small so that completed and working features can be merged into the "dev" branch often, and so that they can be abandoned if they head in the wrong direction.
  • Use C++11.
  • To break header dependencies use forward declarations as much as possible. See #5197 for some tips.
  • The naming isn't homogeneous throughout the code but here is a rough guideline:
    • Identifiers (variables, functions, methods, keys, enums, etc.) should be clear and unambiguous. Make them as long as necessary to ensure that your code is understandable to others.
    • Types (classes, structs, enums, typedefs...) should be named with UpperCamelCase.
    • Functions and methods should be named with lowerCamelCase.
    • Variables should be either named with lowerCamelCase or better with lower_underscores to avoid conflicts.
    • Enum values should be named with UPPER_UNDERSCORES.
    • Be consistent, even when not sticking to the rules.
  • Code may be run through astyle version 3 or newer. If using astyle, it is important that the astyle changes go into their own commit, so that style changes are not mixed with actual code changes. Command: astyle --options=rawtherapee.astylerc code.cc