Commit Graph

127 Commits

Author SHA1 Message Date
Michaël Van Canneyt
f95b262013 * Also accept *.fmx as form file extension (Firemonkey form files) 2025-03-06 10:22:03 +01:00
Juha
402c6a3c09 Converter: Do not comment out {$R *.res} directive even if the file does not exist. It will be generated. Issue #39336. 2022-09-18 16:13:42 +03:00
mattias
f0061abfac IDE: less hints
git-svn-id: trunk@64564 -
2021-02-13 12:39:19 +00:00
juha
f76b3198f9 IDE: Reduce calls to UpperCase() and LowerCase(). Improves performance.
git-svn-id: trunk@64504 -
2021-02-08 19:09:20 +00:00
juha
20c5ac47c0 IDE: Use a faster compare method for case-insensitive strings and StringLists.
git-svn-id: trunk@64440 -
2021-01-29 19:59:04 +00:00
juha
9562cb7492 Converter: Continue normally if mode directive was there already. Issue #34810.
git-svn-id: trunk@60028 -
2019-01-08 00:00:06 +00:00
juha
8ddcf68e99 Converter: For adding MODE Delphi, use function GetSourceNamePos from codetools. Add log msg. Somehow solves issue #34126.
git-svn-id: trunk@58972 -
2018-09-13 10:38:16 +00:00
juha
ffa67e0ff4 Fix compilation of Codetools examples and wiki test project. Clean uses sections.
git-svn-id: trunk@54563 -
2017-04-07 19:02:11 +00:00
juha
e800a738ad Copy AVL_Tree from FPC trunk and replace classes in AvgLvlTree and in CodetoolsStructs with it.
The unit in FPC packages will be used directly later.

git-svn-id: trunk@54524 -
2017-04-05 08:34:48 +00:00
joost
1de2cbf586 general: Updated address of the Free Software Foundation in copyright messages
git-svn-id: trunk@54031 -
2017-01-29 21:04:32 +00:00
juha
7328ad5783 Converter: Improve adding missing units and package dependencies etc. Issue #30895.
git-svn-id: trunk@53841 -
2017-01-02 22:02:50 +00:00
juha
f42ebf10a7 Converter: Improve messages. Show urgency, file name, coordinates. Relevant file now opens when clicking a message.
git-svn-id: trunk@51674 -
2016-02-21 14:05:42 +00:00
juha
08c9621520 Change order of used units so that "deprecated" warnings are not triggered.
git-svn-id: trunk@49612 -
2015-08-07 17:20:40 +00:00
juha
653b5dd43a Codetools, unit FileProcs: Disable conditionally wrapper functions. For testing define DisableWrapperFunctions and build Lazarus.
git-svn-id: trunk@49504 -
2015-07-07 11:43:38 +00:00
juha
708afdf966 Fix uninitialized variables and other problems found by the compiler.
git-svn-id: trunk@48451 -
2015-03-22 10:17:35 +00:00
mattias
b98e5b914f IDE: checked compiler warnings, clean up, fixed compile with fpc 2.6.4
git-svn-id: trunk@48228 -
2015-03-10 15:28:11 +00:00
mattias
75fd8a4e5d IDE: checked compiler warnings, clean up
git-svn-id: trunk@48211 -
2015-03-10 13:27:41 +00:00
juha
de4036b130 Converter: Use the plain (not cleaned) source when replacing compiler directives. Issue #27528.
git-svn-id: trunk@47984 -
2015-02-24 22:57:05 +00:00
juha
3e7bb391dc Converter: Improve localization. Issue #26498.
git-svn-id: trunk@46405 -
2014-10-02 15:10:29 +00:00
juha
52c26ec4d5 Converter: optimize function replacement, use binary search and skip short identifiers.
git-svn-id: trunk@43198 -
2013-10-10 22:20:05 +00:00
juha
41d824bbe4 Converter: Fix a crash when a replaced function had brackets '()' without parameters.
git-svn-id: trunk@43195 -
2013-10-10 15:53:36 +00:00
mattias
cf4f0b577b IDE: further migration external tools
git-svn-id: trunk@42295 -
2013-08-03 19:33:59 +00:00
juha
cb53e0699e Converter: Support case insensitive reserved words when inserting '&' in front of an OleVariant member. Fixes issue #23552.
git-svn-id: trunk@42161 -
2013-07-20 17:57:01 +00:00
juha
7d5074bd8c Converter: after codetools exception, insert '&' before every '.'+reserved word instead of only '.type'. Part of issue #23552
git-svn-id: trunk@42156 -
2013-07-20 11:40:14 +00:00
juha
5d64e62ba7 Converter: implement the dummy source replacements using TSourceChangeCache.ReplaceEx. Fixes issue #23552
git-svn-id: trunk@41971 -
2013-07-02 16:14:59 +00:00
juha
1182ff0df2 Converter: Add variables in class when components (like menu item) are only in LFM. Changed also CheckLFM. Issue #24473.
git-svn-id: trunk@41948 -
2013-06-30 22:05:56 +00:00
juha
98aef1c568 Converter: cleanup + remove dead code
git-svn-id: trunk@41726 -
2013-06-16 12:15:49 +00:00
juha
ff691cadc3 Converter: save the log messages also to a file.
git-svn-id: trunk@41640 -
2013-06-09 19:18:11 +00:00
juha
aa5f6fd0f7 Converter: Change unit name to match disk name unless the disk name is all lowercase.
git-svn-id: trunk@41593 -
2013-06-08 16:32:39 +00:00
juha
d5bfaea603 Converter: Use {$IFnDEF ...} with small 'n'. Easier to read.
git-svn-id: trunk@41170 -
2013-05-13 14:10:37 +00:00
juha
22cf9232b4 Converter: add a setting for putting a comment after a replaced function.
git-svn-id: trunk@40580 -
2013-03-17 23:33:03 +00:00
juha
cd0e43972f Converter: refactoring and some variable name changes.
git-svn-id: trunk@40564 -
2013-03-17 08:56:27 +00:00
juha
1e6aba487f Converter: turn {$R *.RES} directive into a comment if the file does not exist
git-svn-id: trunk@40560 -
2013-03-16 16:34:15 +00:00
juha
782074c449 Converter: rename Multi-platform to Cross-platform
git-svn-id: trunk@39696 -
2012-12-30 19:38:30 +00:00
juha
d768cb42a7 Converter: formatting
git-svn-id: trunk@39054 -
2012-10-12 08:11:53 +00:00
juha
672f5bd862 Replace #13 with LineEnding in many messages. It didn't show correctly on Linux systems.
git-svn-id: trunk@38633 -
2012-09-13 06:39:56 +00:00
juha
9f602bf564 Converter: Fix function replacement to handle nested brackets correctly. Issue #22537
git-svn-id: trunk@38273 -
2012-08-18 12:33:39 +00:00
juha
f6f3d00b54 Converter: improve comments
git-svn-id: trunk@38272 -
2012-08-18 12:33:35 +00:00
juha
ee02cf6a72 Converter: improve handling of errors and error messages
git-svn-id: trunk@37682 -
2012-06-17 23:21:38 +00:00
juha
7c90c81de5 Converter: refactoring and improved error handling + other fixes
git-svn-id: trunk@37675 -
2012-06-17 19:47:13 +00:00
juha
d91c978a4d Converter: Call FixIncludeFiles before parsing the source.
git-svn-id: trunk@37646 -
2012-06-14 17:51:25 +00:00
mattias
3e852e27be IDE: converter: fixed checking if source is unit
git-svn-id: trunk@36486 -
2012-03-31 17:23:58 +00:00
juha
b54ecafd13 IDE: Change {*.dfm} to {*.lfm} when renaming a unit (Save As). Finally fixes #21492.
git-svn-id: trunk@36381 -
2012-03-27 11:54:40 +00:00
juha
2510694d18 Converter: make TConvDelphiCodeTool.RenameResourceDirectives public. New Constuctor for TConvDelphiCodeTool.
git-svn-id: trunk@36373 -
2012-03-27 07:34:38 +00:00
juha
e002cb4bc6 Converter: Respect the "use same dfm" setting properly + clean RenameResourceDirectives code
git-svn-id: trunk@30510 -
2011-04-30 13:33:25 +00:00
juha
8b7d161446 Converter fix: Disabling a function replacement category was not respected.
git-svn-id: trunk@30020 -
2011-03-26 18:32:04 +00:00
mattias
77566ccf65 codetools: implemented scanning units in smaller chunks and successive scanning without deleting nodes
git-svn-id: trunk@29769 -
2011-03-09 20:52:44 +00:00
juha
f0f24c280f Converter: Omit some unit names from project. Settings GUI improvements. Refactoring.
git-svn-id: trunk@29452 -
2011-02-10 12:58:50 +00:00
juha
f714457e24 Converter: Try to improve Multi-Platform conversion on Windows.
git-svn-id: trunk@29389 -
2011-02-05 10:00:53 +00:00
juha
57a280722d Converter: Change sLineBreak to LineEnding for consistency.
git-svn-id: trunk@29387 -
2011-02-05 10:00:46 +00:00