Releases: 42school/norminette
Releases Β· 42school/norminette
3.3.58
3.3.57
What's Changed
- Add --no-colors flag and fix #492 regressions by @NiumXp in #537
- fix norminette version formating by @Asandolo in #540
- Bump virtualenv from 20.23.0 to 20.26.6 by @dependabot in #524
New Contributors
- @dependabot made their first contribution in #524
Full Changelog: 3.3.56...3.3.57
3.3.56
What's Changed
- add "File" and "Errors" classes by @NiumXp in #479
- fix #477 by @NiumXp in #480
- fix #470 by @NiumXp in #481
- feat: add --format flag and *ErrorsFormatter classes by @NiumXp in #482
- add more information in 'norminette --version' command by @NiumXp in #483
- feat: add to translate (di|tri)graphs in Lexer, fix #474 by @NiumXp in #486
- Update README.md to add alternatives for Norminette installation by @SrVariable in #487
- fix norminette error formatters output that was not using newlines by @NiumXp in #488
- update Lexer to use Errors and add some support for C23 stuffs by @NiumXp in #489
- Fix Dockerfile python version and dependencies installation by @gabrielgaraujo in #500
- fix(docker): Fix dockerfile poetry installation by @Ourobore in #502
- add colors to the norminette by @yroussea in #492
- Fix build linter errors by @gabrielgaraujo in #531
- Fix Docker build by explicitly installing
setuptools
by @gabrielgaraujo in #511 - Adding github action by @iioel in #323
- Handle defined operator in #if and #elif directives by @MFelida in #533
- fix: fix all test with color by @Asandolo in #536
New Contributors
- @SrVariable made their first contribution in #487
- @gabrielgaraujo made their first contribution in #500
- @Ourobore made their first contribution in #502
- @yroussea made their first contribution in #492
- @iioel made their first contribution in #323
- @MFelida made their first contribution in #533
- @Asandolo made their first contribution in #536
Full Changelog: 3.3.55...3.3.56
3.3.55
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
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
- @kiokuless made their first contribution in #417
- @vitorsantanna2 made their first contribution in #430
Full Changelog: 3.3.53...3.3.54
3.3.53
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
- @NiumXp made their first contribution in #382
- @astahjmo made their first contribution in #393
- @pruiz-ca made their first contribution in #405
Full Changelog: 3.3.52...3.3.53
3.3.52
Rework the toolchain with poetry.
Add linter in GitHub action.
Bug fixes.
3.3.51
3.3.50
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):
3.3.40
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