./devel/knfmt [kernel normal form formatter]
[+] Add this package to your ports tracker

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 3.0.0, Package name: knfmt-3.0.0
Maintained by: Anton Lindqvist
Master sites:
Description
The knfmt(1) utility formats source code files to conform to the Kernel Normal
Form (KNF) in a best effort fashion.


Filesize: 357.476 KB
Version History (View Complete History)
  • (2022-08-09) Updated to version: knfmt-3.0.0
  • (2022-06-01) Updated to version: knfmt-2.1.0
  • (2022-04-13) Updated to version: knfmt-2.0.0
  • (2022-01-12) Updated to version: knfmt-1.2.0
  • (2021-11-22) Updated to version: knfmt-1.1.0
  • (2021-08-28) Updated to version: knfmt-1.0.0
  • (2021-08-18) Updated to version: knfmt-0.5.4
  • (2021-08-08) Updated to version: knfmt-0.5.3
  • (2021-07-31) Updated to version: knfmt-0.5.2
  • (2021-07-30) Updated to version: knfmt-0.5.1
[show/hide] View available PLISTS (Can be a lot of data)

CVS Commit History:

   2021-11-22 08:30:32 by Anton Lindqvist | Files touched by this commit (2)
Log message:
update to knfmt-1.1.0
- handle windows line endings
- never break before the closing parens in a call expression
- trim empty lines after switch case statements
- trim trailing whitespace from comments
- optionally skip new line after function implementation
- multiple fixes related to handling of cpp branches
- fix indent of statements after switch case statement
- multiple fixes related to brace initializers
- correct handling of do/while statements in diff mode
   2021-08-08 04:44:19 by Anton Lindqvist | Files touched by this commit (2)
Log message:
update to knfmt-0.5.3
- fix function pointer type detection regression
- improve detection of unknown types
- preserve spaces around misplaced binary operators
- preserve new lines before comments placed at the end of a statement block
- do not emit a new line before a field expression
   2021-07-31 05:43:00 by Anton Lindqvist | Files touched by this commit (2)
Log message:
update to knfmt-0.5.2
- recognize unknown types as part of a cast expression
- do not confuse certain function calls and function pointers
   2021-07-30 06:11:53 by Anton Lindqvist | Files touched by this commit (2)
Log message:
update to knfmt-0.5.1
- fix diff mode bug caused by a diff chunk only adding cpp directives
- fix incorrect indentation for block comments followed by goto labels
- recognize function pointer types without arguments