Patch submitters guide
Introduction
This is an introductory guide for people wishing to contribute code to the GLFW project.
Following the advice in this guide will both help us review your patch quicker and easier, and will make it more likely to be accepted into the project.
Important points
- Provide patch files in the unified diff format
- Use our coding standards
- Add good comments
- Provide a concise description of your patch
- Put only one feature (or closely related set of features) into a given patch
How to create a patch
- Check out the appropriate branch of the source tree
- Make the appropriate changes to the sources
- Produce a patch file in the unified diff format
- Submit the patch file to our patch tracker, including a description of both what the patch does and why it does it
Naming scheme
The naming of patch files for GLFW follows this pattern:
glfw-<version>_<platform>_<key>.patch
For instance, if your patch is against GLFW version 2.6 and it adds
support for Spoo on Win32, it would be called
glfw-2.6_win32_spoo.patch.