Releases: 42School/norminette
Releases Β· 42School/norminette
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
3.3.4
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