summaryrefslogtreecommitdiff
path: root/.clang-format
AgeCommit message (Collapse)Author
2022-03-31Update .clang-format control fileAlbrecht Schlosser
2020-08-22Fix .clang-format and some whitespace errorsAlbrecht Schlosser
.clang-format: UseTab: ForIndentation -> Never Update fluid generated files
2020-07-06Remove $Id$ tags, update URL's, and moreAlbrecht Schlosser
- remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers.
2017-12-19Update .clang-format, improve comments.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12601 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-12-19Add an experimental .clang-format file.Albrecht Schlosser
This file can be used with clang-format to format c and c++ source files according to the FLTK CMP -- at least "almost" in its current version. It should not (yet) be used without further checking of the result. Note: there are some deliberate non-conformant formattings in current source files, such as formatting like (better readable?) tables with columns etc.. Such special formatting can be preserved with clang-format "pragma's" (see documentation in .clang-format), but this needs source file changes before formatting. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12598 ea41ed52-d2ee-0310-a9c1-e6b18d33e121