Skip to content

Releases: 42School/norminette

3.3.55

29 Nov 10:02
Compare
Choose a tag to compare

What's Changed

  • feat: check newline before braces on UserDefinedTypes by @NiumXp in #452
  • fix: avoid calculating the length of a escaped char in char_constant_function by @NiumXp in #451
  • add to raise an error when string is not terminated by @NiumXp in #421
  • feat: allow use comments in other scopes that is not from a function by @NiumXp in #454
  • Improve comments by @NiumXp in #455
  • Improve Rule classes to be able add a rich context.history in Rules by @NiumXp in #457
  • feat: show warnings when no errors is reported by @NiumXp in #459
  • Update norm pdf by @matthieu42Network in #460
  • Add to forbid struct in C files and in scopes that is not global by @NiumXp in #458
  • feat: check spacing before typedef name by @NiumXp in #462

Full Changelog: 3.3.54...3.3.55

3.3.54

05 Sep 07:59
11cfe4a
Compare
Choose a tag to compare

What's Changed

  • add to preprocessors works with chars by @NiumXp in #408
  • add to properly handle member assignment of a function call by @NiumXp in #412
  • add to PreProcessors only hold positive numbers by @NiumXp in #410
  • ignore backslash in multiline comment by @matthieu42Network in #409
  • add to check space before newline in CheckSpacing by @NiumXp in #415
  • fix line pos with escaped chars by @NiumXp in #413
  • Add a option --use-gitignore, for parsing only source files not match to .gitignore by @kiokuless in #417

New Contributors

Full Changelog: 3.3.53...3.3.54

3.3.53

12 Jul 08:58
Compare
Choose a tag to compare

What's Changed

  • improves how 'Rule's and 'PrimaryRule's are collected by @NiumXp in #382
  • add to ignore non-file targets by @NiumXp in #389
  • fix no error after NL_AFTER_VAR_DECL by @astahjmo in #393
  • fix unexpected error when checking label statements by @NiumXp in #388
  • fix CheckLabel rule by @NiumXp in #391
  • update english pdf by @matthieu42Network in #400
  • fixed norminette validating wrong includes by @pruiz-ca in #405
  • fixed infinite loop caused when there is a space between the function name and left parenthesis by @pruiz-ca in #404
  • Enhances functionality related to preprocessors by @NiumXp in #398

New Contributors

Full Changelog: 3.3.52...3.3.53

3.3.52

22 Jun 11:35
43a0625
Compare
Choose a tag to compare

Rework the toolchain with poetry.
Add linter in GitHub action.
Bug fixes.

3.3.51

09 Nov 10:00
Compare
Choose a tag to compare

Small errors here and there that needed fixing.
This update should not break any code, it's just a complement to 3.3.50

3.3.50

08 Nov 12:13
Compare
Choose a tag to compare

Big update again:

  • A notice pops up when a student uses a global, inviting justification for the use of said global. This notice (as far as I can tell) won't trigger the moulinette error and is just here to spark discussion between students

Errors that were wrongly tracked and are no longer tracked:

  • Enabled multiple constant/strings for #define (#246). this is a test, we can remove it if it is abused. There still are some limitations, but to a lesser extent.
  • Use Path library (#244) because problems with os.path and windows
  • Reordered check rules application (was "random")
  • Better negative constant parsing (#241)
  • Crash when using preproc last line (#238)
  • Better parser on fct pointer (#240)

Errors that weren't tracked and should have been (and now are tracked):

  • Brackets/parenthesis stuff on var declarations (#249)
  • Commas at start of line on var decl (#248)
  • Operator/pointer stuff (#247)
  • Better tab/space tracker for preproc

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