Skip to content

Releases: 42school/norminette

3.3.40

05 Oct 15:25
Compare
Choose a tag to compare

Sorry, missed previous update. Version should have been 3.3.40

Lot of bugfixes, be wary. Some codes that used to pass norminette might not pass it anymore.

Missing header is now an error
Removed multiple ways of having 2 or more assignments/declarations on a single line
Clarified rules for attributes
More pointer/operator difference
Comments after #endif for header files
Restrict is properly checked when declaring a var
Newline indent is less complex to follow

3.3.4

05 Oct 07:51
Compare
Choose a tag to compare

Lot of bugfixes, be wary. Some codes that used to pass norminette might not pass it anymore.

  • Missing header is now an error
  • Removed multiple ways of having 2 or more assignments/declarations on a single line
  • Clarified rules for attributes
  • More pointer/operator difference
  • Comments after #endif for header files
  • Restrict is properly checked when declaring a var
  • Newline indent is less complex to follow

3.3.32

31 Aug 06:56
Compare
Choose a tag to compare

Hotfix for regression on variable parsing in function declaration

3.3.31

30 Aug 08:10
Compare
Choose a tag to compare

Fixed header parsing

3.3.3

27 Aug 07:00
Compare
Choose a tag to compare
  • Variable name checks again for allowed char when defined (same on function definition only, prevents problem with calling other function/variables)
  • Header parsing should work with any header
  • work on the attribute for functions
  • Indent stuff
  • Pointer/mult stuff
  • More precise checks on tabs where they shoudlnt be
  • Prevent tabs before the value on defines
  • Check for newline after preprocs

3.3.2

26 Jul 17:06
Compare
Choose a tag to compare

Headers are being reintroduced. For now it's only a warning that does not trigger the norminette in the moulinette.
Properly checks for ternaries in control structures
Properly handles operator right before a pointer (i = -*j;)
More pointer/operator inconsistencies fixed
Fixed bug with variable declaration and parenthesis
Fixed variable alignment error with typedef const

Fixed various crashs and infinite loop
- With parenthesis
- With not compilable code
etc..
Please note that the scope of the norminette is not to handle uncompilable code. Theses fixes aren't great.
Norminette should be run on compilable code. We might want to modify the moulinette to first check compilation to make sure these bug don't happen again.
More hotfixes on uncompilable code might come through later.

3.3.1

01 Jul 06:59
Compare
Choose a tag to compare

bugfixes:

  • several errors with pointer/mult sign
  • several errors for typedef and function pointer
  • struct can be named without restrictions if typedef (for DIR structs)
  • global environ can be declared without raising error
  • moulinette compliance stuff (error log changes)
  • can no longer use a combination of tabs and space to mess with the norminette
  • escaped char count better toward line length

3.3.0

18 May 09:13
Compare
Choose a tag to compare
Close #143, version update 3.3.0

3.2.95

19 Apr 11:57
Compare
Choose a tag to compare

Pip upload error, reuploading

3.2.9

19 Apr 11:42
Compare
Choose a tag to compare

Generic bug fixes