Commit Graph

57 Commits

Author SHA1 Message Date
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
juha
6f17bec491 Jedi Code Format: Format operator := and "case" in records. Issue #38995, patch by Domingo Galmés.
git-svn-id: trunk@65223 -
2021-06-13 10:11:55 +00:00
juha
c96db30993 Jedi Code Format: Unify formatting for "type" and "var" in class and record. Issue #38525, patch from Domingo Galmés.
git-svn-id: trunk@64646 -
2021-02-21 21:51:06 +00:00
juha
802ff9d061 Jedi Code Format: Fix option "leave as is" for linebreak in blocks. Issue #38277, patch from Domingo Galmés.
git-svn-id: trunk@64305 -
2020-12-29 23:07:28 +00:00
juha
b1afd41fb2 Jedi Code Format: Fix access violation when parsing not closed IFDEF. Issue #38146, patch from Domingo Galmés.
git-svn-id: trunk@64166 -
2020-11-30 20:35:22 +00:00
juha
e994fa439c Jedi Code Format: Shorten code by exit() with parameter instead of setting Result and then exit.
git-svn-id: trunk@64150 -
2020-11-19 22:12:51 +00:00
juha
b6078f53b5 Jedi Code Format: Support generic types with const. Issue #38088, patch from Domingo Galmés.
git-svn-id: trunk@64149 -
2020-11-19 22:12:49 +00:00
juha
8e52758eb7 Jedi Code Format: Fix strict private/protected after var declarations. Issue #38082, patch from Domingo Galmés.
git-svn-id: trunk@64140 -
2020-11-15 13:33:04 +00:00
juha
4652d40073 Jedi Code Format: Support Threadvar in classes and records. Issue #38081, patch from Domingo Galmés.
git-svn-id: trunk@64136 -
2020-11-14 20:48:57 +00:00
juha
a10a039a84 Jedi Code Format: Support advanced records and nested types better. Issue #38057, patch from Domingo Galmés.
git-svn-id: trunk@64121 -
2020-11-10 09:50:22 +00:00
juha
19c695f1d9 Jedi Code Format: Add support for generic procedures/functions. Issue #38026, patch from Domingo Galmés.
git-svn-id: trunk@64100 -
2020-11-03 08:13:21 +00:00
juha
e0b2abcbe7 JediCodeFormat: Clean out Delphi support from our fork. Delphi users get JCF from SourceForge.
git-svn-id: trunk@63852 -
2020-08-31 09:02:33 +00:00
juha
080e21106f JediCodeFormat: Harmonize uses sections.
git-svn-id: trunk@63849 -
2020-08-31 07:10:19 +00:00
juha
ab7cad1fc8 Jedi Code Format: Comments, formatting. Issue #36825, patch from BrunoK.
git-svn-id: trunk@62809 -
2020-03-25 13:49:42 +00:00
juha
02ba3da476 JCF2: Support "otherwise" in a case clause. Issue #34592, patch from BrunoK.
git-svn-id: trunk@59640 -
2018-11-23 17:38:31 +00:00
juha
80722bc507 jcf2: Support "static" keyword better. Issue #32267, patch from delfion.
git-svn-id: trunk@55784 -
2017-09-04 08:46:56 +00:00
juha
946806aef2 JCF: Rename FormatSettings -> FormattingSettings because of a confusing name clash.
git-svn-id: trunk@55493 -
2017-07-13 08:19:33 +00:00
juha
4d3f2aefa9 Cleanup.
git-svn-id: trunk@51065 -
2015-12-28 13:32:23 +00:00
juha
32f2f78b28 JCF2: Use String type + UTF-8 instead of WideString. Prevents conversions and compiler warnings. Also related to issue #27945.
git-svn-id: trunk@51043 -
2015-12-26 16:52:28 +00:00
juha
71a92380d4 IDE: Cleanup.
git-svn-id: trunk@49280 -
2015-06-06 11:19:40 +00:00
juha
8f66caf323 JCF: Implement basic generics support. Issue #16128, patch from Julian Puhl.
git-svn-id: trunk@46971 -
2014-11-23 16:24:49 +00:00
mattias
369aa3055c fixed typo dont
git-svn-id: trunk@27304 -
2010-09-11 14:05:21 +00:00
paul
f3e0e3abec jcf: fix indentation for const section in program or library by Bernd Kreuss
git-svn-id: trunk@23721 -
2010-02-16 14:59:29 +00:00
paul
1f597e595b jcf: fix char case in unit names
git-svn-id: trunk@22248 -
2009-10-21 07:57:37 +00:00
paul
66216cd1eb jcf2: update from the main repository to r823
git-svn-id: trunk@22217 -
2009-10-18 08:58:08 +00:00
paul
75d3718f7d jcf: update to r803 revision of main repository:
- support for c-style fpc operators

git-svn-id: trunk@19236 -
2009-04-06 02:19:13 +00:00
paul
5a9e74a1fa jcf: update from the main repository
git-svn-id: trunk@19107 -
2009-03-26 05:55:59 +00:00
paul
471ec5ea59 jcf2: sync with r773 of main jcf2 tree (also fixes issue #0012977):
- some use of JcfStringUtils instead of JclStrings
 - IndentProcedureBody setting
 - StrPadLeft implementation in JcfStringUtils.pas
 - added StrIPos function to JcfStringUtils.pas and tests
 - renamed VersionConsts.pas to JcfVersionConsts.pas to avoid a name clash with a unit in another package
 - rearranging util functions

git-svn-id: trunk@18292 -
2009-01-15 02:08:47 +00:00
paul
ce19796997 jcf: sync with r764:
- Fix to 2130798 - Indentation strange on procedure local type/var declarations
  - Notepad UI has save and save as for input files, and remembers the file name
  - Fix to SF bug ID: 2490118 Parser exception with empty var section in a class
  - Fixed an issue in handling utf-8 encoded files

git-svn-id: trunk@18246 -
2009-01-11 02:27:52 +00:00
paul
2c018868d2 jcf: reduce amount of hints
git-svn-id: trunk@17917 -
2008-12-24 05:37:30 +00:00
paul
d578cccfd2 jcf: remove some jcl dependencies
git-svn-id: trunk@17890 -
2008-12-23 03:47:34 +00:00