Commit Graph

56 Commits

Author SHA1 Message Date
DomingoGP
2c0cded09d Jedi code format: Support for unicode identifiers (allowed by delphi). 2024-02-18 18:36:46 +01:00
DomingoGP
4c6f93909c Jedi code format: improved i18n support. 2024-02-17 18:33:08 +01:00
DomingoGP
719f66bebf Jedi code format: replace deprecated TRegIniFile by TIniFile. 2024-01-28 11:28:29 +01:00
DomingoGP
eacf519cbb Jedi code format: cleanup, remove compiler hints. 2024-01-06 11:45:27 +01:00
DomingoGP
46d79350b0 Jedi code format: Solves Issue #40538 process defines in include files. 2023-11-11 12:11:24 +01:00
DomingoGP
7cdecac783 Jedi code format: improved fake unit generator. Related to issue #40538 2023-10-08 16:54:55 +02:00
DomingoGP
a51afba79f Jedi code format: use jcfbase.lpk package in the jcfidelazarus package.
Some files have been moved to other directories to avoid conflicts with the jcfbase and jcfidelazarus package paths.
2023-06-01 23:11:24 +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
1e8303a356 Jedi Code Format: Refactoring. Remove obsolete code and units. Issue #39929, patch by Domingo Galmés. 2022-10-14 18:21: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
4fda5f9771 Jedi Code Format: Add more files to the IdePlugin package. Cleanup in uses sections. 2022-10-04 10:35:12 +03:00
Juha
2011565650 Jedi Code Format: Improve formatting of selected code. Issue #39940, patch by Domingo Galmés. 2022-10-03 12:12:28 +03:00
Juha
869f59b3f0 JEDI Code Formatter: Cleanup. Remove unused functions. Issue #35722, patch by DomingoGP. 2021-10-10 21:51:53 +03:00
juha
77e6853ca6 Components: Reduce calls to LowerCase().
git-svn-id: trunk@64515 -
2021-02-10 13:43:15 +00:00
juha
b53ad7ceed Components: Reduce calls to UpperCase() and LowerCase(). Improves performance.
git-svn-id: trunk@64506 -
2021-02-08 19:09:30 +00:00
juha
18cf55d8a9 Jedi Code Format: Improve formatting of a text selection in .inc files. Issue #37705, patch from Domingo Galmés.
git-svn-id: trunk@63872 -
2020-09-07 08:46:53 +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
d9ac09795b Respect compiler OPT='-v0' by using {$push} and {$pop} in code. Issue #34955.
git-svn-id: trunk@60706 -
2019-03-16 21:17:58 +00:00
juha
5fcdd06c6a JCF2: Improve forms layout. Issue #33815, patch from AlexeyT.
git-svn-id: trunk@58182 -
2018-06-08 10:30:13 +00:00
juha
ce074563bb JCF2: Use IntegerList as a base for local TIntList.
git-svn-id: trunk@56393 -
2017-11-13 17:33:33 +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
c666926244 JCF2: Cleanup based on compiler hints.
git-svn-id: trunk@48477 -
2015-03-24 17:50:33 +00:00
juha
c0bcfb9343 JCF2: Support binary constants. Issue #26986, patch from BrunoK.
git-svn-id: trunk@47184 -
2014-12-12 19:59:25 +00:00
reiniero
5e6a4176d3 * Various files: cosmetic: typo: occurance=>occurrence
git-svn-id: trunk@46757 -
2014-11-05 10:00:42 +00:00
jesus
2ea7ac784f JCF: avoid convert to WideString to string and count WideChars instead of chars, fix problem on formatting strings with several non-ascii chars, issue #23715
git-svn-id: trunk@46756 -
2014-11-05 00:13:54 +00:00
marco
96616afa61 * fixed compilation of 2.7.1, this component used a function that has been deprecated since 2007
git-svn-id: trunk@37315 -
2012-05-18 12:28:58 +00:00
maxim
577d97a85c Components, JCF: make logging more robust, don't try to write to a log file, if it cannot be accessed
git-svn-id: trunk@29685 -
2011-02-27 13:15:57 +00:00
vincents
ba1b2f95f1 jcf: removed FileUtils unit from package in the past it has been replaced with JcfFileUtils, fixes issue #14863
git-svn-id: trunk@22263 -
2009-10-22 19:59:03 +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
791747d822 jcf2: rename unit
git-svn-id: trunk@22220 -
2009-10-18 09:02:11 +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
3ded592929 jcf: fix compilation error for unixes
git-svn-id: trunk@19110 -
2009-03-26 06:06:45 +00:00
paul
78dd5824d8 jcf: fix compilation error for unixes
git-svn-id: trunk@19109 -
2009-03-26 06:01:17 +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
ae8e919225 jcf: further fix compilation on case sensitive file systems
git-svn-id: trunk@17922 -
2008-12-24 08:43:04 +00:00
paul
a1f5d77faa hide FileUtil in the JCFHelp from the Lazarus/Freepascal
git-svn-id: trunk@17916 -
2008-12-24 04:34:13 +00:00
paul
d578cccfd2 jcf: remove some jcl dependencies
git-svn-id: trunk@17890 -
2008-12-23 03:47:34 +00:00
paul
a4326b440c jcf: sync with r746 (misc fixes in comments)
git-svn-id: trunk@17880 -
2008-12-22 08:35:35 +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
7409df351c jcf: sync with r723 (fix error found in graphics.pp - "absolute" with a dotted name was not handled, fixes for lazarus source, and tests on it)
git-svn-id: trunk@17828 -
2008-12-13 17:04:34 +00:00
paul
ebd3475a31 jcf: fix JCFHelp compilation on linux
git-svn-id: trunk@17824 -
2008-12-13 02:58:28 +00:00
paul
af104c35a9 jcf: use NativeLineFeed
git-svn-id: trunk@17820 -
2008-12-13 01:42:09 +00:00
paul
2f530e41d5 jcf2: sync with main repository r718
git-svn-id: trunk@17811 -
2008-12-12 02:06:31 +00:00
paul
8d5983a13d jcf2: fixed delphi compilation
git-svn-id: trunk@16988 -
2008-10-14 01:26:28 +00:00