Commit Graph

555 Commits

Author SHA1 Message Date
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
juha
c3a54973c7 LazBuild: remove a direct reference to SynRegExpr. Use FCL's RegExpr everywhere in IDE.
git-svn-id: trunk@53744 -
2016-12-20 23:39:59 +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
bart
446f6a0930 Converter: ChangeEncodingDlg: implement a mechanism to let user select which files are to be converted. Issue #0029979.
git-svn-id: trunk@52163 -
2016-04-11 08:32:14 +00:00
juha
5d75afb30f Order uses sections.
git-svn-id: trunk@51954 -
2016-03-15 21:16:43 +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
99194561d2 Converter: Remove a now unused method TConvertSettings.RenameFile.
git-svn-id: trunk@51633 -
2016-02-15 00:08:14 +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
e47c74f7f7 Converter: Refactor code for loading and saving settings into procedures. Don't save when Cancel was clicked.
git-svn-id: trunk@51380 -
2016-01-22 21:08:02 +00:00
juha
3900b6cf37 Converter: Change global procedures into methods of TConvertSettings.
git-svn-id: trunk@51379 -
2016-01-22 21:08:01 +00:00
juha
35618ab4f1 Converter: Do not convert to UTF8 functions any more. Not needed with the new Unicode system.
git-svn-id: trunk@51378 -
2016-01-22 21:07:56 +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
juha
b6a09af5dc IDE: Improve ChgEncodingDialog layout. Issue #29219, patch from Alexey Torgashin.
git-svn-id: trunk@51042 -
2015-12-26 16:52:16 +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
addea6e448 Converter: Improve MissingUnits form layout. Issue #28676, patch from Alexey Torgashin.
git-svn-id: trunk@49825 -
2015-09-14 14:30:28 +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
2f643bd4d4 codetools: move Find*UsesSection to TPascalParserTool, issue #28285
git-svn-id: trunk@49342 -
2015-06-16 09:22:42 +00:00