Commit Graph

87 Commits

Author SHA1 Message Date
DomingoGP
efef2162f8 Jedi code format: takes into account the obfuscation options. 2024-11-08 14:23:04 +01:00
DomingoGP
1db5f4272e Jedi code format: add support for "Whitesmiths" format style. 2024-10-28 10:44:55 +01:00
DomingoGP
a68ddcaaf6 Jedi code format: more options to indent labels (goto label). 2024-10-26 17:11:50 +02:00
DomingoGP
be26baf875 Jedi code format: refactor, remove include file JcfGlobal.inc 2024-09-18 19:59:57 +02:00
DomingoGP
258955d906 Jedi code format: implement special comment //jcf:parse=off/on. Related to issue #41144 2024-09-15 14:40:50 +02:00
DomingoGP
f7293e2477 Jedi code format: new indent options for case labels and interface guid.
I borrowed the features and some code from https://github.com/quadroid/jcf-pascal-format
2024-09-14 10:02:30 +02:00
DomingoGP
67885f4924 Jedi code format: Feature, normalize the capitalisation of identifiers to be the same as the first occurrence in the unit 2024-09-11 20:20:02 +02:00
DomingoGP
2b70328d5d Jedi code format: Fix bug when obfuscating only selected text. 2024-07-07 19:17:03 +02:00
DomingoGP
109012f8f7 Jedi code format: Fix issue #41011, bad format of comments before class var 2024-07-03 21:09:14 +02:00
DomingoGP
140875c982 Jedi code format: fix parser error when there are more than one attribute. 2024-05-16 14:12:58 +02:00
DomingoGP
cb6991ccd6 Jedi code format: more fine grained control of warning messages. 2024-03-28 11:15:23 +01:00
DomingoGP
482d9b7e20 Jedi code format: refactorize error messages. 2024-03-01 11:44:16 +01:00
DomingoGP
4c6f93909c Jedi code format: improved i18n support. 2024-02-17 18:33:08 +01:00
DomingoGP
306e9ec1ad Jedi code format: dont't use locale when sorting uses clauses.
See: https://forum.lazarus.freepascal.org/index.php?topic=66163.0
2024-02-09 21:35:52 +01:00
DomingoGP
143990a64d Jedi code format: fix typo. 2024-02-09 21:06:34 +01:00
DomingoGP
839c4e8307 Jedi code format: add support for record alignment directive. 2024-01-19 21:39:10 +01:00
DomingoGP
eacf519cbb Jedi code format: cleanup, remove compiler hints. 2024-01-06 11:45:27 +01:00
DomingoGP
dedb2622b3 Jedi code format: issue #40612 Accept and "or xor class, ..." operators and improved formatting of operator overloads. 2023-11-24 00:27:13 +01:00
DomingoGP
f600868569 Jedi code format: Add support for delphi 12 multiline quoted strings. 2023-11-11 18:23:34 +01:00
DomingoGP
17768091e5 Jedi code format: Improved align of compiler conditional directives. Issue
#40539
2023-10-08 17:06:42 +02:00
DomingoGP
462eece676 Jedi code format: Fix identation and bug in commit 8035014eaf 2023-10-05 22:27:45 +02:00
DomingoGP
77f9fb9cd0 Jedi code format: adds an extra space lines at sections end. Issue #40539 2023-10-05 00:15:11 +02:00
DomingoGP
8035014eaf Jedi code format: dont't ident comments before procedures at the end of sections. Issue #40533. 2023-10-01 21:21:02 +02:00
DomingoGP
fde9868fda Jedi code format: issue 40501 comment not stays on the same line. 2023-09-10 16:15:52 +02:00
DomingoGP
0804282d52 Jedi code format: issue #40412 parser error in anonymous methods var/const/type sections. 2023-07-28 16:00:53 +02:00
DomingoGP
a1ba0b7ffe Jedi code format: remove dependencies in JcfSettings. 2023-05-23 21:32:14 +02:00
Juha
ffa9a8a233 Jedi Code Format: Fix identation of preprocessor directives. Issue #40242, patch by Domingo Galmés. 2023-05-06 13:19:38 +03:00
Juha
de92d049b6 Jedi Code Format: Do not break line in generic method with "class". Issue #40180, patch by Domingo Galmés. 2023-03-26 09:36:31 +03:00
Juha
f51da4dc1d Jedi Code Format: Fix indentation in nested try blocks. Issue #40104, patch by Domingo Galmés. 2023-02-03 15:30:04 +02:00
Juha
5b27a87e76 Jedi Code Format: Allow only one space after certain keywords. Issue #40075, patch by Domingo Galmés. 2023-01-03 00:27:00 +02:00
Juha
d6bfb829cf Jedi Code Format: Fix a memory leak. Issue #40058, patch by Domingo Galmés. 2022-12-23 09:09:05 +02:00
Juha
0777a5b939 Jedi Code Format: Fix indentation of generic function forward declarations. Issue #40055, patch by Domingo Galmés. 2022-12-23 09:04:40 +02:00
Juha
28443d4c13 Jedi Code Format: No blank lines in function/procedure declarations. Issue #40006, patch by Domingo Galmés. 2022-11-19 22:21:41 +02:00
Juha
f112427168 Jedi Code Format: Remove blank lines before type, const, var, begin tokens inside a procedure/function. Issue #39990, patch by Domingo Galmés. 2022-11-06 23:39:31 +02:00
Juha
2d95dc76d7 Jedi Code Format: Indent try..finally..except blocks better. Issue #39989, patch by Domingo Galmés. 2022-11-06 23:25:08 +02:00
Juha
f4d0eeb099 Jedi Code Format: Improve formatting of preprocessor blocks and preprocessor directives. Issue #39662, patch by Domingo Galmés. 2022-11-02 19:30:49 +02:00
Juha
8affac89f3 Jedi Code Format: Support noinline keyword and Delphi inline vars and consts. Issue #39960, patch by Domingo Galmés. 2022-10-16 22:26:44 +03:00
Juha
5d276c4f43 Jedi Code Format: Prevent an assertion failure on certain assembler code. Issue #39942, patch by Domingo Galmés. 2022-10-16 13:06:38 +03:00
Juha
5a0ff3af30 Jedi Code Format: Support anonymous methods. Issue #39928, patch by Domingo Galmés. 2022-10-15 12:20:44 +03:00
Juha
88242f8152 Jedi Code Format: Reapply changes for removing LCL dependency. Generate Makefiles. Issue #39929, patch by Domingo Galmés. 2022-10-13 20:39:13 +03:00
Juha
c024e5bb5a Jedi Code Format: Revert changes for removing LCL dependency. It broke "make bigide" because of LAZARUS_PLUGIN define. 2022-10-07 11:58:01 +03:00
Juha
02d6db5218 Jedi Code Format: Remove LCL dependency from the command line program. Issue #39929, patch by Domingo Galmés. 2022-10-06 17:09:04 +03:00
Juha
0e08315669 Jedi Code Format: Disable code with LCLNOGUI define for the cmd line project. Add Debug and Release build modes. Issue #39929. 2022-10-04 00:13:57 +03:00
Juha
e81675c3a7 Jedi Code Format: Fix formatting with external and export var modifiers. Issue #39665, patch by Domingo Galmés. 2022-09-17 19:04:12 +03:00
Juha
8d06f23d76 Jedi Code Format: Do not add useless spaces. Issue #39670, patch by Domingo Galmés. 2022-09-17 18:58:42 +03:00
Juha
6439e19d40 JEDI Code Formatter: Support a list of used registers at the end of "asm" block. Issue #35722, patch by DomingoGP. 2021-10-10 21:50:12 +03:00
juha
bd59984c98 Jedi Code Format: Prevent an assertion failure. Issue #39125, patch by Domingo Galmés.
git-svn-id: trunk@65360 -
2021-07-04 11:52:12 +00:00
maxim
8b62aae17b JCF2: committed a file, forgotten in r65340 #8644ddb16b, bug #39132
git-svn-id: trunk@65343 -
2021-07-02 21:27:17 +00:00
juha
8644ddb16b Jedi Code Format: Deal with imbalanced bracket comments. Issue #39116, patch by Udo Sommer.
git-svn-id: trunk@65340 -
2021-07-02 08:38:09 +00:00
juha
37b1f57731 Jedi Code Format: Respect "Max consecutive blank lines before removal" setting. Issue #39114, patch by Udo Sommer.
git-svn-id: trunk@65334 -
2021-06-30 22:52:34 +00:00