Commit Graph

334 Commits

Author SHA1 Message Date
Martin
2d2e5431aa IDE: moved some of the most common ResourceString to IdeIntf, so other IDE packages can use them (instead of duplicating them) 2023-01-10 17:00:41 +01:00
Martin
e22f69d623 IdeDebugger: Move unit BaseDebugManager from Ide to IdeDebugger. 2023-01-09 23:05:15 +01:00
Martin
bf4114c8ca EnvironmentOpts: remove dependency on IdeProcs 2022-12-08 16:05:03 +01:00
Juha
ecdb59db7c IDE: Refactoring, separate function FinalizeSavingProject from function ShowSaveProjectAsDialog. 2022-11-20 20:31:33 +02:00
Juha
fa224fda62 IDE: Simplify function ShowSaveProjectAsDialog. UseMainSourceFile parameter and sfSaveMainSourceAs flag are not needed. 2022-11-20 20:31:33 +02:00
Juha
18ac301d9d IDE: Allow renaming a project using the Save As dialog. Issue #39954. 2022-11-19 13:07:25 +02:00
Juha
0ac5d3a4ce IDE: Suggest a correct file name for .lpr, read from the file contents. Issue #39954. 2022-11-06 23:09:52 +02:00
Juha
2f8deeefee IDE: Save resource file after a project is renamed (Save Project As). Issue #39958. 2022-10-16 23:50:19 +03:00
Juha
0258d679f5 IDE: Do not truncate a virtual project main file when it is closed. Issue #39745. 2022-10-03 23:10:54 +03:00
Juha
593146fc8c IDE: Formatting. 2022-10-03 23:10:54 +03:00
Juha
8bb0530a24 IDE: Keep suggesting the old suffix of a project main source file when "Saving As". Issue #39885. 2022-09-18 16:13:42 +03:00
Juha
4676d86152 IDE: Add DebugLn() output. Formatting. 2022-09-18 16:13:42 +03:00
Juha
e95f7e6d76 Revert 07a4f62d. It broke LAMW. 2022-05-06 01:55:42 +03:00
mattias
268bfdc250 IDE: new project: set activerunmode 2022-04-20 10:45:12 +02:00
mattias
b9cfb64b7b buildintf: added TProjectFileDescriptor.Initialized, IDE: newfile: set HasResources before calling Initialized 2022-02-06 13:30:18 +01:00
Juha
e9b2eb209a IDE: Implement auto-select in "View Project Units". Issue #39569, merge request !57 by duzenko. 2022-01-25 19:59:39 +02:00
mattias
9c302c472d ide: clean up 2022-01-25 13:24:13 +01:00
Juha
07a4f62dd0 IDE: Identify dead code under SearchComponentClass by assertions, remove TryRegisteredClasses. If not triggered, the code can be removed. Remove TryRegisteredClasses. 2022-01-25 13:11:53 +02:00
Juha
34c6785954 IDE: Less debug info. Formatting. 2022-01-12 14:43:01 +02:00
Juha
d056a1c9f1 Designer,IDE: Change a function name to FindGlobalComponent. Reduce debug info. 2021-12-28 16:53:33 +02:00
Juha
28984a7cdf IDE: Revert experimental exceptions. 2021-11-29 11:27:42 +02:00
Juha
05382f4ddf IDE: Show Frame's contents in designer also when its component package is installed in palette. Issue #39488. 2021-11-28 00:22:27 +02:00
Juha
1c6662a681 IDE: Rename FindComponentClass -> SearchComponentClass to differentiate from other functions with the same name. 2021-11-28 00:22:27 +02:00
Juha
805c9e3169 IDE: Open also projects and packages when their names are drag/dropped, or passed as cmd line for a running instance. Issue #39338. 2021-11-13 12:01:31 +02:00
Juha
0b817c8df3 IDE: Fix the order of iteration of units when searching class definition. 2021-09-25 19:37:06 +03:00
maxim
171338a8db IDE: fixed typos related to 'occur' word
git-svn-id: trunk@65206 -
2021-06-10 22:17:00 +00:00
michl
37c8a252a1 IDE: Auto-create DataModule. Regression from revision 63005 #f5472e8233. Issue #38946
git-svn-id: trunk@65153 -
2021-05-30 11:59:48 +00:00
juha
6c50817cf5 IDE: Fix a problem with 3 levels of inheritance from TForm. Issue #38921, patch by Martok.
git-svn-id: trunk@65124 -
2021-05-23 06:43:33 +00:00
juha
6be311758d IDE: Ask about auto-creating form after adding a unit.
git-svn-id: trunk@64870 -
2021-03-25 09:59:38 +00:00
juha
566adc9a29 IDE: Make added units available for auto-create forms. Move function UpdateUnitInfoResourceBaseClass to avoid circular ref. Issue #38634.
git-svn-id: trunk@64869 -
2021-03-25 06:35:38 +00:00
juha
f4cb483f2d IDE: Fix reading ancestor type TFrame for object in LFM when it is not a direct ancestor. Issue #38585, patch from Martok.
git-svn-id: trunk@64800 -
2021-03-14 07:41:46 +00:00
juha
4e2c94c4c9 IDE: Update DefineTemplates of all packages after switching a project.
git-svn-id: trunk@64794 -
2021-03-13 12:57:34 +00:00
juha
62a7390394 IDE: Update project DefineTemplates better when switching a project. Add DebugLn calls.
git-svn-id: trunk@64793 -
2021-03-13 10:01:27 +00:00
juha
41c2e02039 IDE: Guess ancestor type TFrame using heuristics. Issue #38585.
git-svn-id: trunk@64769 -
2021-03-09 09:11:14 +00:00
mattias
4fda9bfdb6 IDE: fixed crash on load lfm error
git-svn-id: trunk@64765 -
2021-03-07 16:13:02 +00:00
juha
bda23a6856 IDE: Fix reading ancestor type TFrame for object in LFM when it is not a direct ancestor. Issue #38585.
git-svn-id: trunk@64763 -
2021-03-07 13:24:52 +00:00
juha
2fa9987008 IDE, Codetools: Simplify LoadAncestorDependencyHidden. Use "out" parameter when appropriate.
git-svn-id: trunk@64762 -
2021-03-07 13:24:51 +00:00
juha
ca2323fd5e temp
git-svn-id: trunk@64752 -
2021-03-05 22:32:57 +00:00
juha
9046b533af LazUtils: New LazStartsStr and similar functions. StartsStr etc. in StrUtils return False for empty sub-string, thus Delphi incompatible.
git-svn-id: trunk@64743 -
2021-03-04 08:58:54 +00:00
juha
7b9dcb0166 IDE: Update editor tab with a unit name with proper case after renaming.
git-svn-id: trunk@64707 -
2021-03-01 09:16:25 +00:00
juha
69565b2caf IDE: Formatting resource strings and variables. No real changes.
git-svn-id: trunk@64706 -
2021-03-01 09:16:24 +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
fcff9d8ea7 IDE: fixed compile with fpc 3.2.0
git-svn-id: trunk@64574 -
2021-02-13 21:49:37 +00:00
michl
26c6ac0ef4 Make Lazarus compilable again after revision 64564 #f0061abfac: Remove StrUtils instead of LazStringUtils
git-svn-id: trunk@64572 -
2021-02-13 20:18:43 +00:00
mattias
f0061abfac IDE: less hints
git-svn-id: trunk@64564 -
2021-02-13 12:39:19 +00:00
juha
077ebbe494 Optimise string manipulation. Reduce calls to Copy().
git-svn-id: trunk@64527 -
2021-02-11 14:08:24 +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
b092cee8be IDE: Optimize DefineTemplates updates for packages and project.
git-svn-id: trunk@64405 -
2021-01-19 09:20:34 +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