Commit Graph

256 Commits

Author SHA1 Message Date
Juha
5082cc1189 Converter: Handle mrCancel in question dialog. Part of merge request !281. 2024-07-04 08:24:22 +03:00
Martin
d40c952fa7 Ide: Move more units into ide-packages, project / packager 2024-04-11 23:46:56 +02:00
Juha
ecd69708ba Move unit ProjPackCommon to package IdeConfig. 2024-04-08 02:22:35 +03:00
Juha
817427e89e Move unitt ParsedCompilerOpts and CompilerOptions to package IdeConfig. 2024-04-06 16:20:28 +03:00
Juha
3c1c879cf5 IDE: Separate parsed compiler options code to a new unit ParsedCompilerOpts. 2024-04-06 11:00:13 +03:00
Juha
3ec140e266 Move unit ComponentReg from IdeIntf to BuildIntf. 2024-03-15 10:40:41 +02:00
Martin
40fd2fc1fe Support for Highlighter based on TextMate grammar 2023-09-12 12:01:50 +02:00
mattias
dd6cb894c8 ide: TConvertDelphiProjPack.CheckPackageDep: use cache 2023-08-02 13:47:30 +02:00
Juha
636e902e6a Move units IDECmdLine, IDEGuiCmdLine, IDEProcs and CompOptsModes to IdeConfig package. 2023-07-23 22:34:21 +03:00
Juha
e045ba01d2 Remove units from uses sections, especially LCLProc which now contains many wrappers to other non-LCL units. 2023-06-18 14:57:06 +03:00
Juha
29794316f2 Converter: Move function PathHasPascalUnitFile to IDEProcs. Search missing units from all open packages. 2023-03-26 15:38:22 +03:00
Juha
4b3bb40c9b Converter: Search missing units from search paths of dependent packages. Use const for more string params. 2023-03-19 16:46:30 +02:00
Juha
45d350bfd2 Converter: Try to find used units when they are not included in a component package. Improve GUI texts. 2023-03-19 08:34:45 +02:00
mattias
0f766e6e08 IDE: clean up 2023-03-19 00:35:08 +01:00
Juha
ce8b41e375 Converter: Inherit from TProjectDescriptor. Sets many flags needed for an application. Issue #40132. 2023-02-26 22:39:38 +02:00
Juha
68eb8b0232 Converter,IDE: Read full component info from .lfm file to UnitInfo. Don't generate resources when there aren't any yet. Issue #40132. 2023-02-26 20:44:14 +02:00
Juha
aa5f5e9d1b Converter,IDE: Rename variables, comments. 2023-02-26 20:44:14 +02:00
Martin
bf4114c8ca EnvironmentOpts: remove dependency on IdeProcs 2022-12-08 16:05:03 +01:00
juha
207dee8890 IDE: Rename unit ProjectDescriptors to ProjectDescriptorTypes. Clashed with a global variable in ProjectIntf.
git-svn-id: trunk@64780 -
2021-03-10 19:53:03 +00: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
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
42850cfe4d LazUtils: Deprecate now obsolete unit LazUtf8Classes and remove its references from Lazarus code.
git-svn-id: trunk@64384 -
2021-01-14 12:41:32 +00:00
juha
36968885dd LazUtils: Rename function FilenameIsPascalUnit -> FilenameHasPascalExt. Clashed with a function in Codetools. Update references.
git-svn-id: trunk@64376 -
2021-01-11 16:16:58 +00:00
juha
3ea7788cbf Optimize CompareFileExt in different ways. Comparison of FPC/Lazarus generated files can be case-sensitive.
git-svn-id: trunk@64374 -
2021-01-10 19:07:52 +00:00
juha
283b70dbac Cleanup, comments.
git-svn-id: trunk@64228 -
2020-12-18 21:02:19 +00:00
juha
edc2cc5dbb Fix StandardCodeTool.HasInterfaceRegisterProc. Simplify code for checking added unit files.
git-svn-id: trunk@64156 -
2020-11-23 10:26:46 +00:00
ondrej
74fb203f39 LCL: Screen.BeginTempCursor & EndTempCursor
git-svn-id: trunk@62664 -
2020-02-23 06:04:38 +00:00
juha
6d3f9bd7a7 LazUtils: Move string manipulation functions from IDEProcs to LazStringUtils.
git-svn-id: trunk@58632 -
2018-07-25 13:39:06 +00:00
juha
8bed6f8ca0 IdeIntf: Split IDEOptionsIntf into a new IDEOptEditorIntf.
git-svn-id: trunk@58208 -
2018-06-09 14:40:08 +00:00
ondrej
73faf67c41 IDE: move project descriptors from projectdefs.pas into new unit to prevent circular dependency on project.pas
git-svn-id: trunk@56976 -
2018-01-06 02:32:03 +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
4c7dc1b89b Use Delete() instead of Copy() where appropriate.
git-svn-id: trunk@55311 -
2017-06-10 16:30:27 +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
juha
0f1c5f448d Rename unit ProjPackBase -> ProjPackCommon. Reduce confusion as it defines a common interface etc., not a base class.
git-svn-id: trunk@54401 -
2017-03-15 13:13:23 +00:00
juha
a86166fcfb Converter: Keep the main form of project open after conversion. Issue #25364.
git-svn-id: trunk@54339 -
2017-03-04 00:32:32 +00:00
juha
9f3aae8c8c Converter: Make the target file name (-o) empty. Wrong value may come from default options. Issue #26655.
git-svn-id: trunk@54338 -
2017-03-03 18:02:34 +00:00
juha
8ff9bb8f08 Converter: Fill the "unit output directory" field with a default value. Issue #31256.
git-svn-id: trunk@54337 -
2017-03-03 18:00:21 +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
5f92759f52 Converter: Do not free CacheUnitsThread automatically on terminate. Fixes a memory leak when conversion is aborted.
git-svn-id: trunk@53894 -
2017-01-06 14:03:22 +00:00
juha
662bc7f0d2 Converter: Search units under selected path instead of its parent path.
git-svn-id: trunk@53893 -
2017-01-06 14:03:18 +00:00
juha
e6662ccdc5 Converter: Refactor, turn nested functions into methods.
git-svn-id: trunk@53892 -
2017-01-06 14:03:16 +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 #30895.
git-svn-id: trunk@53841 -
2017-01-02 22:02:50 +00:00
juha
5e8fb9d46e Converter: A minor optimization.
git-svn-id: trunk@53840 -
2017-01-02 22:02:35 +00:00
juha
9c405911fd Reduce SynEdit dependencies from units. Reorder uses sections to see dependencies better.
git-svn-id: trunk@53727 -
2016-12-20 00:09:10 +00:00
mattias
dfcce2b301 IDE: search units with Pascal case insensitivity, instead of UTF-8
git-svn-id: trunk@53404 -
2016-11-21 16:12:38 +00:00
mattias
36d42e0d9c IDE: clean up deprecated
git-svn-id: trunk@53140 -
2016-10-17 13:35:07 +00:00
juha
297e19a349 IDE: Add methods for merging paths to CompilerOptions and replace common code patterns with them.
git-svn-id: trunk@52693 -
2016-07-15 17:47:18 +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
5ec79158ce Converter: Backup the original .dfm also when it is used directly for Lazarus. Issue #29631.
git-svn-id: trunk@51632 -
2016-02-15 00:08:08 +00:00