Commit Graph

238 Commits

Author SHA1 Message Date
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
juha
0eceab81b7 Converter: Do not show "Conversion took: xx:yy:zz" when conversion is aborted. Issue #29396, patch from Bart.
git-svn-id: trunk@51288 -
2016-01-14 21:18:41 +00:00
mattias
caff01e9f6 IDE: fixed Disable/EnableAutosizing restoring package editors
git-svn-id: trunk@50178 -
2015-10-26 22:09:12 +00:00
juha
0e075dc2d9 IDE: Fix tab orders in Desktop Manager. Cleanup. Issue #28426, patch from Alexey Torgashin.
git-svn-id: trunk@49713 -
2015-08-26 11:32:47 +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
06ac76f560 LazUtils, unit FileUtil: Disable conditionally LazUtf8 and LazFileUtils wrapper functions. For testing define NoLazUTF8Wrappers and build Lazarus.
git-svn-id: trunk@49494 -
2015-07-04 23:08:00 +00:00
mattias
054dc48d1e IDE: clean up
git-svn-id: trunk@48544 -
2015-03-30 19:09:39 +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
3ee0203df5 converter: unicode file names
git-svn-id: trunk@46826 -
2014-11-12 19:27:26 +00:00
juha
3e7bb391dc Converter: Improve localization. Issue #26498.
git-svn-id: trunk@46405 -
2014-10-02 15:10:29 +00:00
juha
44073052c7 Converter: Improve settings GUI. Add a checkbox for disabling the scanning of parent dir.
git-svn-id: trunk@46399 -
2014-10-01 23:36:53 +00:00
juha
2892a0fa58 IDE: Use the new interface for project and package in Delphi converter.
git-svn-id: trunk@45901 -
2014-07-17 22:07:02 +00:00
juha
4fbeea1dfd IDE: ... and more hard-coded quotations in resourcestrings.
git-svn-id: trunk@45521 -
2014-06-15 11:52:27 +00:00
juha
0e189386d9 Fix comments, formatting
git-svn-id: trunk@43726 -
2014-01-15 00:08:42 +00:00
juha
354c863fdb Converter: replace TrimFilename with ResolveDots.
git-svn-id: trunk@43183 -
2013-10-08 21:27:19 +00:00
juha
38c9ffd3c6 Converter: Define PUREPASCAL for units during conversion when simulate Delphi defines is set.
git-svn-id: trunk@42910 -
2013-09-22 21:15:47 +00:00
mattias
f66fa252fc IDE: renamed SetPathDelims to GetForcedPathDelims
git-svn-id: trunk@42698 -
2013-09-09 10:28:10 +00:00
mattias
ac4996ff62 replaced SetDirSeparators with SetPathDelims
git-svn-id: trunk@42685 -
2013-09-08 20:58:12 +00:00