Commit Graph

42 Commits

Author SHA1 Message Date
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
paul
c50309a06c jcf2: sync with r741 (finished MoveSpaceToBeforeColon, initial support of fpc *operators*, misc fixes)
git-svn-id: trunk@17873 -
2008-12-21 03:44:59 +00:00
paul
035d9ead5b jcf: reduce amount of warnings
git-svn-id: trunk@17838 -
2008-12-15 04:41:38 +00:00
paul
351862c47d jcf: sync with r728
git-svn-id: trunk@17836 -
2008-12-15 02:59:23 +00:00
paul
2f530e41d5 jcf2: sync with main repository r718
git-svn-id: trunk@17811 -
2008-12-12 02:06:31 +00:00
paul
d3cc59116c jcf2: try to isolate/remove windows unit dependency
git-svn-id: trunk@16955 -
2008-10-11 09:30:16 +00:00
paul
7c0a1d29a9 jcf:
- add JcfUtils unit with almost empty implementation
  - replace usage of Jcl units with JcfUtils.
  - add lazarus project for console jcf application

git-svn-id: trunk@16945 -
2008-10-10 05:33:07 +00:00
paul
255062d13d components: initial of jcf2 r676 as is without output, tests and help directories. It does not useful for lazarus at moment
git-svn-id: trunk@16938 -
2008-10-09 08:06:32 +00:00