Commit Graph

577 Commits

Author SHA1 Message Date
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
juha
4bcd8659cc Converter: Replace Mask with Masks, not MaskEdit. Issue #18361.
git-svn-id: trunk@65329 -
2021-06-30 22:04:10 +00: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
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
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
mattias
5fe35be313 IDE: less hints
git-svn-id: trunk@64291 -
2020-12-28 16:59:41 +00:00
juha
283b70dbac Cleanup, comments.
git-svn-id: trunk@64228 -
2020-12-18 21:02:19 +00:00
juha
1c047add57 IDE: Use class type instead of name when searching for components in various places.
git-svn-id: trunk@64184 -
2020-12-08 19:34:44 +00:00
juha
ce1d8c1014 IDE: Optimize ComponentPalette caches. Index by registered class instead of class name.
git-svn-id: trunk@64182 -
2020-12-08 19:34:40 +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
juha
125e794a87 Remove useless test for X <> Nil when using "is" operator.
git-svn-id: trunk@63779 -
2020-08-18 17:35:21 +00:00
ondrej
74fb203f39 LCL: Screen.BeginTempCursor & EndTempCursor
git-svn-id: trunk@62664 -
2020-02-23 06:04:38 +00:00
juha
0c7fee62f3 IDE: Use configurable DropDownCount for IDE's ComboBoxes. Issue #36329, patch from Vojtech Cihak.
git-svn-id: trunk@62278 -
2019-11-22 00:14:36 +00:00
wp
2c93efc441 Converter: Display single success message after conversion of multiple dfm files.
git-svn-id: trunk@60053 -
2019-01-10 13:34:52 +00:00
juha
411c7643fd Converter: Remove unused code. Turn a private method FixWideString into a function.
git-svn-id: trunk@60032 -
2019-01-08 10:52:39 +00:00
juha
abbb0f061a Converter: Give a converted binary DFM file a .lfm suffix. Issue #34811.
git-svn-id: trunk@60031 -
2019-01-08 10:52:33 +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
6d3f9bd7a7 LazUtils: Move string manipulation functions from IDEProcs to LazStringUtils.
git-svn-id: trunk@58632 -
2018-07-25 13:39:06 +00:00
juha
7f7e7ada81 Format and clean uses sections.
git-svn-id: trunk@58629 -
2018-07-25 13:38:35 +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
a914eaa29d IDE: use TLCLGlyphs for IDE buttons
git-svn-id: trunk@57857 -
2018-05-08 23:10:58 +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
e93ea1ced9 Converter: Fix a crash when converting a single unit. Issue #32785, patch from Timl.
git-svn-id: trunk@56660 -
2017-12-07 14:58:41 +00:00
juha
4c7dc1b89b Use Delete() instead of Copy() where appropriate.
git-svn-id: trunk@55311 -
2017-06-10 16:30:27 +00:00
michl
5d03c243b5 IDE: High-DPI: All IDE SpeedButtons DPI-aware
git-svn-id: trunk@55035 -
2017-05-21 20:59:29 +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
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
c55426d008 Converter: Improve conversion for SynRegExpr and GetFileSize.
git-svn-id: trunk@53891 -
2017-01-06 14:03:15 +00:00
juha
714bd8024f Converter: Prevent the IDE freezing when cancelling the conversion. A non-started thread was waited for.
git-svn-id: trunk@53890 -
2017-01-06 14:03:13 +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 #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
79436e5633 SynEdit: Remove SynRegExpr and use the identical RegExpr from FCL.
git-svn-id: trunk@53751 -
2016-12-21 22:35:05 +00:00