[ci skip]
- Added the code needed for the proposed license templates.
- ./src/templates.c
- ./src/callbacks.c
- ./data/geany.glade
- ./data/Makefile.am
- Added the proposed licenses to "templates=" in ./data/Makefile.am
- Added AGPLv2 (GNU Affero General Public License v2)
- Added AGPLv3 (GNU Affero General Public License v3)
- Renamed ./data/templates/gpl to ./data/templates/gpl2
- This makes it clear that the license is version 2
- Added GPLv3 (GNU General Public License v3)
- Many developers prefer GPLv3 over GPLv2
- Added LGPLv2 license (GNU Lesser General Public License v2)
- Added LGPLv3 license (GNU Lesser General Public License v3)
- The LGPL licenses are commonly used in libraries and other code
- Added BSD 2-Clause License
- Renamed ./data/templates/bsd to ./data/templates/bsd-3-clause (BSD 3-Clause License)
- This makes it clear that the license is 3-Clause
- Updated ./data/templates/bsd-3-clause (BSD 3-Clause License)
- Ensured that this license matches the official BSD 3-Clause License
- Variety is the spice of life; Some other commonly used licenses should be added
- Added Apache License v2.0
- Added cc0 (CC0 1.0 Universal (CC0 1.0))
- Added the MIT License (MIT)
- Added MPLv2 (Mozilla Public License v2.0)
- Added zib/libpng License
- I plan to add more licenses in the future (perhaps WTFPL)
The functions "editor_insert_snippet" and "editor_find_snippet" in ./src/editor.c dynamically find and add license templates to the "Edit > Insert Comments" sub-menu during compilation.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/752
Commit Summary
- Create lgpl3
- Rename gpl to gpl2
- Create lgpl2
- Create cc0
- Create mpl2
- Create agpl3
- Create agpl2
- Create gpl3
- Create bsd-2-clause
- Update and rename bsd to bsd-3-clause
- Update bsd-2-clause
- Create zlib-libpng
- Create apache2
- Create mit
- Update templates.c
- Update callbacks.c
- Update geany.glade
- Update Makefile.am
File Changes
Patch Links:
—
Reply to this email directly or view it on GitHub.