Skip to content

Releases: 42school/norminette

3.3.59

06 Jun 13:27
1923d74
Compare
Choose a tag to compare

What's Changed

  • fix: update and improve pull request template by @NiumXp in #545
  • improve readability of SPACE_BEFORE_FUNC error message by @MoulatiMehdi in #509
  • feat: allow ternary in define with -R CheckDefine by @malallai in #560
  • Translate norm PDF v4.1 into Japanese by @yunixuma in #553
  • fix error when no .c files are found by @pruiz-ca in #555
  • feat: add internationalization support for en_US and pt_BR locales by @NiumXp in #543
  • refactor: update project structure and dependencies for Python 3.10+ by @NiumXp in #548

New Contributors

Full Changelog: 3.3.58...3.3.59

3.3.58

09 Apr 14:05
Compare
Choose a tag to compare

What's Changed

  • fix: set token pos on multi comment line len rule by @Asandolo in #542

Full Changelog: 3.3.57...3.3.58

3.3.57

08 Apr 10:17
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.3.56...3.3.57

3.3.56

07 Apr 14:58
e78a1ee
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.3.55...3.3.56

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