Commit Graph

69 Commits

Author SHA1 Message Date
Juha
e65a102527 Remove unit Laz_AVL_Tree, a copy of unit AVL_Tree. Not needed with FPC 3.2.x. 2023-07-07 17:39:03 +03:00
juha
3f78f0d62d New optimized functions in LazUtils: FilenameExtIs and FilenameExtIn. Used instead of CompareFileExt and similar.
git-svn-id: trunk@64583 -
2021-02-15 08:43:50 +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
12ad076089 Converter: Simplify single unit conversion. fOwnerConverter.fAllCommentedUnits is Nil then.
git-svn-id: trunk@56663 -
2017-12-07 16:41:24 +00:00
juha
e93ea1ced9 Converter: Fix a crash when converting a single unit. Issue , patch from Timl.
git-svn-id: trunk@56660 -
2017-12-07 14:58:41 +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
a6975f0f66 Converter: Fix the return value of MaybeAddPackageDep. (It was not used yet, no bugs caused.)
git-svn-id: trunk@53844 -
2017-01-02 22:26:21 +00:00
juha
f009e795cb Converter: Reorder and improve resource strings.
git-svn-id: trunk@53843 -
2017-01-02 22:02:53 +00:00
juha
19cecf179f Converter: Update uses sections already before checking LFM file. Unknown units screwed up parsing. Especially "Windows" unit on Linux.
git-svn-id: trunk@53842 -
2017-01-02 22:02:51 +00:00
juha
7328ad5783 Converter: Improve adding missing units and package dependencies etc. Issue .
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
mattias
2f643bd4d4 codetools: move Find*UsesSection to TPascalParserTool, issue
git-svn-id: trunk@49342 -
2015-06-16 09:22:42 +00:00
juha
71a92380d4 IDE: Cleanup.
git-svn-id: trunk@49280 -
2015-06-06 11:19:40 +00:00
mattias
75fd8a4e5d IDE: checked compiler warnings, clean up
git-svn-id: trunk@48211 -
2015-03-10 13:27:41 +00:00
juha
3e7bb391dc Converter: Improve localization. Issue .
git-svn-id: trunk@46405 -
2014-10-02 15:10:29 +00:00
juha
5e88daf9f5 Converter: refactor and clean.
git-svn-id: trunk@42465 -
2013-08-23 17:38:31 +00:00
juha
f770004bfc Converter: Optimize commenting units in main and implementation uses sections.
git-svn-id: trunk@42463 -
2013-08-23 17:38:22 +00:00
mattias
cf4f0b577b IDE: further migration external tools
git-svn-id: trunk@42295 -
2013-08-03 19:33:59 +00:00
juha
af3f23c7b6 Converter: improve replacing used a unit with a comma separated list of units.
git-svn-id: trunk@41931 -
2013-06-28 10:36:39 +00:00
juha
e48de26440 Converter: Make sure the same unit will not be added again after AddUnitImmediately.
git-svn-id: trunk@41799 -
2013-06-22 13:30:48 +00:00
juha
23ca7bd6a5 Converter: fix unit conversion in different situations. Issue
git-svn-id: trunk@41736 -
2013-06-16 23:42:46 +00:00
juha
cff5dd3116 Converter: optionally delete files in project dir if LCL has a unit with same name.
git-svn-id: trunk@41665 -
2013-06-10 14:32:53 +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
01807a29cd Converter: Remove invalid properties also after replacing a component type. Issue
git-svn-id: trunk@41619 -
2013-06-09 10:05:20 +00:00
juha
19d10cfdcb Converter: improve package conversion. It was broken.
git-svn-id: trunk@41575 -
2013-06-07 11:21:37 +00:00
mattias
35f0478c14 IDE: fixed compilation
git-svn-id: trunk@41555 -
2013-06-05 19:43:34 +00:00
juha
411a8864be Converter: identifier name changes
git-svn-id: trunk@41483 -
2013-06-01 15:21:07 +00:00
juha
5d1490e17c Converter: fix a special case when a VCL unit is copied to project directory. Somehow LCL dependency was not added.
git-svn-id: trunk@41427 -
2013-05-26 17:49:31 +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
a4cebdfafc Converter: Organize and clean method FindMissingUnits. Use original unit name when reporting special cases as missing.
git-svn-id: trunk@39800 -
2013-01-07 19:45:38 +00:00
juha
4d015441b6 Converter: for units omitted from project, add Lazarus Package as a dependency
git-svn-id: trunk@39787 -
2013-01-06 19:18:38 +00:00
juha
f1d5a6a06f Converter: Fix replacements of unit names when target is Windows-only.
git-svn-id: trunk@39697 -
2012-12-30 19:38:39 +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
62517a1978 Converter: find replacement also for units that are omitted from project (they have a valid Lazarus package). Improve messages
git-svn-id: trunk@39689 -
2012-12-29 22:32:30 +00:00
juha
03611adae0 IDE: Formatting
git-svn-id: trunk@39062 -
2012-10-13 09:13:41 +00:00
juha
fdf1a89262 Converter: refactoring AddUnitIfNeeded procedure
git-svn-id: trunk@39048 -
2012-10-11 18:57:44 +00:00
juha
7d7d464100 Converter: Convert also units in project directory which are not part of the project. Issue
git-svn-id: trunk@38903 -
2012-09-29 14:44:47 +00:00
juha
11a9424522 Converter: Treat also Wintypes and Winproc units as Windows specific when converting for multi-platform. Issue
git-svn-id: trunk@38343 -
2012-08-23 06:21:49 +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
87c52f9c5e Converter: cleanup
git-svn-id: trunk@37269 -
2012-05-13 17:08:31 +00:00
juha
fef0a4ab76 Converter: minor changes
git-svn-id: trunk@35005 -
2012-01-29 08:43:14 +00:00
juha
3d7f3c8fe5 Converter: A unit was sometimes added to uses section although it was already in "LCL" section of the uses section.
git-svn-id: trunk@30511 -
2011-04-30 13:33:28 +00:00
juha
37468b82a4 Converter: Revert accidentally committed "temp"
git-svn-id: trunk@30131 -
2011-04-02 11:17:59 +00:00
juha
11facd56f9 Converter: Cleanup
git-svn-id: trunk@30125 -
2011-04-02 11:13:29 +00:00
juha
de5ed19263 temp
git-svn-id: trunk@30124 -
2011-04-02 11:13:25 +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
2e2e795109 Converter: improve reporting missing units.
git-svn-id: trunk@29513 -
2011-02-13 12:04:52 +00:00
juha
f26b21daea Converter: Experiment with removing and adding used units.
git-svn-id: trunk@29494 -
2011-02-12 20:27:02 +00:00