Commit Graph

1519 Commits

Author SHA1 Message Date
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
b4fc035018 Restore the "const" removed in r64300 #943e4e4ff7. Affected 3rd party components.
git-svn-id: trunk@64312 -
2020-12-31 10:57:48 +00:00
juha
9219ea531d Move unit GraphMath from LCL to LazUtils. It has no dependencies to GUI.
git-svn-id: trunk@64303 -
2020-12-29 22:56:40 +00:00
juha
3feac99f06 Designer, editor: Formatting.
git-svn-id: trunk@64302 -
2020-12-29 22:56:31 +00:00
juha
c0926457b8 IdeIntf: Harmonize events for Delete, update OI's tree when plugins are deleted from PSScript.
git-svn-id: trunk@64301 -
2020-12-29 22:47:37 +00:00
juha
943e4e4ff7 IdeIntf: Remove "const" from an event. Add HookGetCheckboxForBoolean handler in OI only once.
git-svn-id: trunk@64300 -
2020-12-29 22:47:34 +00:00
mattias
5fe35be313 IDE: less hints
git-svn-id: trunk@64291 -
2020-12-28 16:59:41 +00:00
michl
24567c321c Designer: Alternative fix of closing a LAMW form in designer. Related to revision 61223 #298236df33 and 64283
git-svn-id: trunk@64284 -
2020-12-26 22:44:03 +00:00
juha
4c2c4acb18 Designer: Name child controls only if owned by an added component. TPairSplitter may be the only one.
git-svn-id: trunk@64274 -
2020-12-25 17:26:39 +00:00
juha
deba76613b IdeIntf, Designer: Improve deleting components from OI's tree. Make a special case for PairSplitterSide. Issue #38235.
git-svn-id: trunk@64254 -
2020-12-20 14:46:02 +00:00
juha
5cf724ae46 Designer: Give names for the side components of PairSplitter. Don't crash when deleting. Issue #38227.
git-svn-id: trunk@64225 -
2020-12-18 10:51:37 +00:00
juha
5d01307132 IDE: Optimize adding components to designer a little.
git-svn-id: trunk@64198 -
2020-12-12 12:56:39 +00:00
juha
6813e28eef LazUtils: Move math helper functions from LCLProc to LazUtilities. Deprecate LCLProc versions.
git-svn-id: trunk@64197 -
2020-12-12 11:41:07 +00:00
juha
277bee311d Rename event handlers in TabOrder dialog.
git-svn-id: trunk@64196 -
2020-12-12 11:41:01 +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
477d5362ae Designer: Optimize ComponentIsInvisible with a cache. Affects the whole designer.
git-svn-id: trunk@64164 -
2020-11-30 19:42:24 +00:00
juha
d99c3b888f Designer: Move code from TComponentPalette.CheckComponentDesignerVisible to function ComponentIsInvisible.
git-svn-id: trunk@64163 -
2020-11-30 19:42:22 +00:00
juha
7a03920de9 Designer: Handle opRemove notification for TControlSelection after copy/paste.
git-svn-id: trunk@64141 -
2020-11-15 16:57:11 +00:00
juha
9fe47fd5a6 IdeIntf: Do not autoexpand ComponentTree in OI after a component is added. Issue #33464.
git-svn-id: trunk@64133 -
2020-11-13 21:47:19 +00:00
juha
6fa295d5e4 Designer: Call DoDeletePersistent only once after deleting a control.
git-svn-id: trunk@64132 -
2020-11-13 21:47:17 +00:00
juha
dbe82166d0 MenuEditor: Update menuitems correctly when adding or removing separators. Patch from BrunoK, issue #37595.
git-svn-id: trunk@63803 -
2020-08-21 16:04:36 +00:00
juha
8b34fff80b MenuEditor: Prevent assertion failure when separator selected, right click, "Remove all separators". Issue #37595.
git-svn-id: trunk@63802 -
2020-08-21 10:13:03 +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
juha
cca567d5e7 Designer: Restore function InvokeComponentEditor to componenteditors interface but implement it with PopupMenuComponentEditor. Must not be freed right away.
git-svn-id: trunk@62938 -
2020-04-11 09:43:14 +00:00
juha
0726d31a26 Designer: Use PopupMenuComponentEditor property to prevent a memory leak. Issue #36872.
git-svn-id: trunk@62928 -
2020-04-10 21:31:09 +00:00
juha
0a548cf17d Designer: Formatting, minor refactoring.
git-svn-id: trunk@62927 -
2020-04-10 21:30:58 +00:00
juha
25a0114031 IdeIntf: Update Object Inspector after changing order of items in ActionList Editor. Issue #36872.
git-svn-id: trunk@62926 -
2020-04-10 11:59:07 +00:00
juha
7a87464490 Designer: Fix moving multiple controls with keyboard after deselecting one. Issue #35255, idea from ptvs.
git-svn-id: trunk@62881 -
2020-04-04 10:56:40 +00:00
ondrej
c0484a52e0 Designer: Rename component: fix limitation when renaming the form itself
git-svn-id: trunk@62775 -
2020-03-19 08:18:38 +00:00
juha
bc1e8a9946 LCL: Update Images in BitBtn and SpeedButton from connected Action also when Glyph is not empty. Issue #22071.
git-svn-id: trunk@62642 -
2020-02-17 18:17:25 +00:00
juha
6a5bdbd4f8 IDE: Implement configurable DropDownCount for more ComboBoxes. Issue #36595, patch from Vojtech Cihak.
git-svn-id: trunk@62571 -
2020-01-18 09:37:59 +00:00
ondrej
f5da5df4fb LCL: high-DPI: fix inplace frames. Issue #36370
git-svn-id: trunk@62507 -
2020-01-07 21:14:44 +00:00
juha
71735e079b Designer: Add conditional debug lines for JITForm creation and reduce typecasts.
git-svn-id: trunk@62411 -
2019-12-18 17:52:31 +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
juha
33ed908dbc Designer: Add debug lines to designer code and class destructors for testing issue #36151.
git-svn-id: trunk@62006 -
2019-10-08 17:12:10 +00:00
juha
6362b3d71a Designer: Fix a crash bug caused by r61974 #dcb8bd49fb. Top form has no Owner.
git-svn-id: trunk@62001 -
2019-10-06 13:43:11 +00:00
juha
5ff78d5320 Designer: Support Undo-action for changed Parent of a component. Issue #26815.
git-svn-id: trunk@61996 -
2019-10-05 19:47:24 +00:00
juha
dcb8bd49fb Designer: Support Undo for properties of subcomponents like 'LabeledEdit1.SubLabel'. Issue #36071.
git-svn-id: trunk@61974 -
2019-10-03 22:58:20 +00:00
juha
c32570a990 Designer: Explode a big WITH block in TDesigner.ExecuteUndoItem. Use another temp variable.
git-svn-id: trunk@61973 -
2019-10-03 22:58:08 +00:00
martin
a17ed6695c fix compare function
git-svn-id: trunk@61158 -
2019-05-05 15:53:28 +00:00
martin
80f32f0ac9 IDE: fix compare function
git-svn-id: trunk@61156 -
2019-05-05 15:48:42 +00:00
martin
4e7db82b52 IDE: fix potential overflow in compare function
git-svn-id: trunk@61153 -
2019-05-05 15:35:54 +00:00
martin
1e08f29dd0 IDE: SynEdit: fix potential rangecheck in compare function
git-svn-id: trunk@61151 -
2019-05-05 15:30:02 +00:00
juha
d9ac09795b Respect compiler OPT='-v0' by using {$push} and {$pop} in code. Issue #34955.
git-svn-id: trunk@60706 -
2019-03-16 21:17:58 +00:00
martin
78fdca77d0 IDE: added "const" for some "array of" params
git-svn-id: trunk@59928 -
2018-12-28 17:51:51 +00:00
mattias
a5170a4055 IDE: ask new componentname dialog: fixed uninitialized result
git-svn-id: trunk@59581 -
2018-11-17 20:40:15 +00:00
mattias
34dbf4fe70 IDE: designer: enable Reset only if there are ancestors
git-svn-id: trunk@59554 -
2018-11-16 11:00:40 +00:00
juha
7183dd5d0b MenuDesigner: Rename a MenuItem when it is changed into a separator.
git-svn-id: trunk@58940 -
2018-09-10 22:27:57 +00:00
juha
7f7e7ada81 Format and clean uses sections.
git-svn-id: trunk@58629 -
2018-07-25 13:38:35 +00:00
juha
b20cf40349 Use RaiseGDBException from LazTracer unit. Remove similar funcs from IDEProcs and ComponentReg.
git-svn-id: trunk@58622 -
2018-07-24 17:49:21 +00:00