Commit Graph

309 Commits

Author SHA1 Message Date
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
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 , 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 .
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 , 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 .
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 .
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
juha
3feac99f06 Designer, editor: Formatting.
git-svn-id: trunk@64302 -
2020-12-29 22:56:31 +00:00
mattias
5fe35be313 IDE: less hints
git-svn-id: trunk@64291 -
2020-12-28 16:59:41 +00:00
martin
ecb9e69eac IDE, Project Session: Ensure the session is not marked as changed while being loaded.
git-svn-id: trunk@64235 -
2020-12-19 15:09:24 +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
5ec8bc5d98 IDE: A new function for updating TargetFilename.
git-svn-id: trunk@64069 -
2020-10-24 19:59:54 +00:00
juha
78d5022afa IDE: Minor optimization, cleanup and formatting.
git-svn-id: trunk@64047 -
2020-10-22 13:35:04 +00:00
juha
7bc704b156 IDE: Don't complain about project's missing package dependencies while IDE is starting.
git-svn-id: trunk@63974 -
2020-10-08 17:56:49 +00:00
juha
5b1d9b4f7c IDE: Refactor RemoveEmptyMethods->RemoveEmptyMethodsInUnit. Remove repeat loop for parent types, props are already iterated. Prepare for issue .
git-svn-id: trunk@63780 -
2020-08-18 17:35:23 +00:00
mattias
950091831c IDE: clean up
git-svn-id: trunk@63608 -
2020-07-20 21:22:17 +00:00
mattias
3c431cf740 IDE: do not confirm overwrite on Cocoa, where the dialog is already confirms replace
git-svn-id: trunk@63605 -
2020-07-20 16:55:14 +00:00
wp
bfeb99af9e IDE: Fix TForm.DesignTimePPI changing when form is loaded with different PPI and "Force DPI scaling in design time" is off. Issue , patch by Emil Totev.
git-svn-id: trunk@63482 -
2020-06-30 08:55:48 +00:00
mattias
9fea11639e IDE: new file: do not break lines at dots
git-svn-id: trunk@63405 -
2020-06-20 16:01:26 +00:00
juha
7ef32e6a3a IdeIntf: A new ProjectOpening event. Triggered before a project opens. Issue .
git-svn-id: trunk@63085 -
2020-04-26 19:58:32 +00:00
juha
25d8d5b4c7 IDE: Formatting. Eliminate a parameter in sub-function of LoadAncestorDependencyHidden.
git-svn-id: trunk@63038 -
2020-04-20 23:12:51 +00:00
juha
f5472e8233 IDE: Do not add CreateForm to project source for a new frame. Issue .
git-svn-id: trunk@63005 -
2020-04-17 09:32:07 +00:00
ondrej
765094ef99 IDE: do not save LPI on project reload. Issue
git-svn-id: trunk@62780 -
2020-03-20 13:21:53 +00:00
juha
7d6d05a0bf IDE: Change logic updating Application.Title and .Scaled in main source. Don't delete them when user option is off. Check for LCL app.
git-svn-id: trunk@62669 -
2020-02-24 09:51:03 +00:00
juha
1bfb7ec3fd IDE: Update Application.Scaled line in project main source correctly.
git-svn-id: trunk@62580 -
2020-01-23 14:17:28 +00:00
juha
7cfe7dc26d IDE: Remove Application.Scaled line from source also when Project1.Scaled=False.
git-svn-id: trunk@62579 -
2020-01-22 19:30:11 +00:00
juha
6e3d70b796 LCL-GTK3: TextOut cleanup. Issue , patch from CudaText man.
git-svn-id: trunk@62552 -
2020-01-14 16:26:35 +00:00
juha
80d2504cd1 IDE: Move code updating Application Title, Scale and AutoForms from Main unit to SourceFileManager.
git-svn-id: trunk@62534 -
2020-01-12 18:07:39 +00:00
ondrej
f5da5df4fb LCL: high-DPI: fix inplace frames. Issue
git-svn-id: trunk@62507 -
2020-01-07 21:14:44 +00:00
juha
37a763ee4f IDE: Fix compilation with defines IDE_MEM_CHECK and DebugDisableAutoSizing.
git-svn-id: trunk@62257 -
2019-11-17 14:22:52 +00:00
maxim
a48f3289a0 IDE: fixed compilation after r62194 #d8e277a5f0
git-svn-id: trunk@62195 -
2019-11-04 22:48:59 +00:00
juha
d8e277a5f0 IDE: Remove all selected units with "Remove from project..." even if user commented out the CreateForm lines. Issue .
git-svn-id: trunk@62194 -
2019-11-04 22:38:07 +00:00