- Reference Linux Kernel Coding Style instead of Google C++ Style Guide. - Require tabs for indentation. - Keep Javadoc-style documentation comments. - Preserve the original naming rules section. - Update project name to Oak Video Editor.
1.4 KiB
1.4 KiB
Contributing to Oak
Thank you for your interest in contributing to Oak Video Editor!
Writing code
Code contributions are welcome. Note that the code base is rapidly changing in the current stage of development however. There is some documentation in the form of code comments, including Javadoc in header files. Feel free to reach out via an issue or pull request if you have questions about the architecture or implementation details.
Code Standards
In order to keep the code as readable and maintainable as possible, code submitted should abide by the following standards:
- The code style generally follows the
Linux Kernel Coding Style
with the following project-specific exceptions and notes:
- Indentation uses tabs, not spaces.
- Documentation comments should use Javadoc-style (
/** ... */) where appropriate.
- The naming rules below are retained from the original Olive codebase:
lowercase_underscored_variable_nameslowercase_underscored_functions()orSentenceCaseFunctions()class SentenceCaseClassesAndStructs {}kSentenceCaseConstantsprepended with a lowercasekUPPERCASE_UNDERSCORED_MACROSfor variables or same style as functions for macro functionsclass_member_variables_end with a_
- 100 column limit (where it doesn't impair readability)
- Unix line endings (only LF no CRLF)