Bug reports, feature requests or code contributions are always very welcome. To make things easier, here are a few tips:
- Best way to report bugs and request new features is to use GitHub issues, but you can contact me also any other way.
- Building and installing Corrade is described in the documentation.
- Follow the project coding guidelines. In short -- try to match style of the surrounding code and avoid any trailing whitespace. When in doubt, consult coding guidelines, which are available also online.
Document your code. When updating or adding new API, make sure that Doxygen documentation is up to date. Run
in project root to generate the documentation and check that your modifications didn't add any warnings.
Build unit tests (
-DBUILD_TESTS=ONparameter to CMake) and run them using
in build directory. All tests should always pass. Add new tests or modify the existing to make sure new code is properly covered (if possible). Here is a short tutorial to help you with creating unit tests.
- Best way to contribute is by using GitHub pull requests -- fork the repository and make pull request from feature branch. You can also send patches via e-mail or contact me any other way.
All your code will be released under license of the project (see COPYING file for details), so make sure you and your collaborators (or employers) have no problems with it. If you create new files, don't forget to add license header (verbatim copied from other files) and don't forget to add yourself to license header of files you added or significantly modified, for example:
/* This file is part of Corrade. Copyright © 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Vladimír Vondruš <email@example.com> Copyright © YEAR YOUR_NAME <firstname.lastname@example.org> Permission is hereby granted, free of charge, to any person obtaining a ...