Commit Graph

59872 Commits

Author SHA1 Message Date
juha
d5099bfbd4 ExtTool: Use a hack Sleep(1) added in r64005 #ad65618c2b to Enter-/LeaveCriticalSection only for LazBuild. It caused bad slowdowns in the IDE.
git-svn-id: trunk@64212 -
2020-12-16 22:08:32 +00:00
wp
1c9c36d205 LCL/FileListbox: Update selected filename when ItemIndex is set
git-svn-id: trunk@64211 -
2020-12-16 21:17:52 +00:00
martin
569e49e3cb TRefCountedObject, make thread safe
git-svn-id: trunk@64210 -
2020-12-16 14:44:11 +00:00
juha
ad741ce26d Docs: Documentation updates for LCL and LazUtils. Issue #38217, patch from Don Siders.
git-svn-id: trunk@64209 -
2020-12-15 18:18:40 +00:00
juha
1ab96d8fd3 IDE: Update editor on idle after adding components to designer.
git-svn-id: trunk@64208 -
2020-12-15 18:18:38 +00:00
juha
907d1a29da IDE: Don't set DisplayState:=dsSource in SrcNotebookEditorActived. Editor may not have focus.
git-svn-id: trunk@64207 -
2020-12-15 18:17:37 +00:00
juha
569174e007 LCL: Don't steal focus for TabControl when changing current page by code.
git-svn-id: trunk@64206 -
2020-12-15 18:17:36 +00:00
juha
24690ac403 IDE: Optimize TSourceNotebook.FindPageWithEditor a little.
git-svn-id: trunk@64205 -
2020-12-15 18:17:33 +00:00
wp
c3d9ff515c LCL/Listview: Fix listview items not drawn bold in OnCustomDrawXXXX event if requested. Issue #25397, patch by jamie philbrook.
git-svn-id: trunk@64204 -
2020-12-15 10:11:02 +00:00
dmitry
83065724b3 cooca: using cocoa native texthints. only for macOS 10.10 and later. bug #38198
git-svn-id: trunk@64203 -
2020-12-15 06:57:35 +00:00
wp
d9b1507320 TurboPower_iPro: Call OnPaint from TIpHtmlInternalPanel instead of calling IpHtmlCustomPanel's inherited Paint. (issue #38204).
git-svn-id: trunk@64202 -
2020-12-13 21:12:10 +00:00
wp
29c601614e TurboPower_iPro: Avoid unnecessary painting operations (issue #38204, patch by serbod). Make OnPaint event available.
git-svn-id: trunk@64201 -
2020-12-13 16:27:01 +00:00
juha
259fadaece IDE: Update component palette after its configuration was changed by user.
git-svn-id: trunk@64200 -
2020-12-13 08:00:10 +00:00
juha
473e65ba01 IDE: Prevent an infinite loop when comparing files. Issue #38185, patch from Domingo Galmés.
git-svn-id: trunk@64199 -
2020-12-12 18:45:29 +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
wp
aa8f480e17 LCL/Grids: Fix grids truncating cell height during editing if TitleFont.Size is smaller than Font.Size. Issue #38203).
git-svn-id: trunk@64195 -
2020-12-11 15:18:33 +00:00
juha
337b198136 Examples: Fix dir separator in testall.lpi.
git-svn-id: trunk@64194 -
2020-12-10 22:12:35 +00:00
juha
c3eb57a7fc LCL-Qt5: Support Wayland, improve build with QT_NO_SESSIONMANAGER. Issue #38197, patch from Marius Maximus.
git-svn-id: trunk@64193 -
2020-12-10 22:12:33 +00:00
ondrej
fe15ff7582 TCustomLabel: fix CalculateSize Canvas Handle
git-svn-id: trunk@64192 -
2020-12-09 15:05:37 +00:00
ondrej
d7ef9f3f70 TCustomLabel: fix DoDrawText selecting Font for the Canvas
git-svn-id: trunk@64191 -
2020-12-09 15:04:26 +00:00
juha
453f156da7 IdeIntf: Restore property Comps in BaseComponentPalette. Was removed accidentally in r64182 #ce1d8c1014.
git-svn-id: trunk@64190 -
2020-12-09 14:51:19 +00:00
juha
f34f7f4c56 Cleanup.
git-svn-id: trunk@64189 -
2020-12-09 11:48:28 +00:00
juha
62849be37a IDE: Get dependencies only for newly added component in PropHookPersistentAdded. Affects speed with densely populated forms.
git-svn-id: trunk@64188 -
2020-12-09 11:48:26 +00:00
juha
61ed7b3c3e LCL-QT5: Disable a DebugLn giving output too often.
git-svn-id: trunk@64187 -
2020-12-09 11:48:25 +00:00
juha
3a7b29485d IDE: Cleanup.
git-svn-id: trunk@64186 -
2020-12-08 22:08:05 +00:00
juha
dd0852b911 Jedi Code Format: Remember cursor position and keep undo-history after a format. Issue #38178, patch from Domingo Galmés.
git-svn-id: trunk@64185 -
2020-12-08 19:34:45 +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
96027c20c3 IDE: Optimize Component Palette's update logic a little.
git-svn-id: trunk@64183 -
2020-12-08 19:34:42 +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
b52cbb021d LCL: Simplify code for setting FLastActiveControl.
git-svn-id: trunk@64181 -
2020-12-08 19:34:36 +00:00
dmitry
24f5f9b1d9 cocoa: restoring the actual menu state once the system dialog is closed. bug #38182
git-svn-id: trunk@64180 -
2020-12-08 05:37:38 +00:00
juha
b167267112 LCL-Win32: Support Combobox with csOwnerDrawFixed in a DLL. Issue #37982, patch from Zdravko Gabrovski.
git-svn-id: trunk@64179 -
2020-12-07 13:06:42 +00:00
juha
3f62b54817 Jedi Code Format: Support assign := in enumerations. Issue #38174, patch from Domingo Galmés.
git-svn-id: trunk@64178 -
2020-12-07 10:34:00 +00:00
juha
5e56724a20 Docs: Documentation updates for LCL Graphics. Issue #38172, patch from Don Siders.
git-svn-id: trunk@64177 -
2020-12-07 10:24:53 +00:00
juha
ddedcde469 Docs: Documentation updates for LCL. Issue #38176, patch from Don Siders.
git-svn-id: trunk@64176 -
2020-12-07 09:28:51 +00:00
dmitry
aa83422093 cocoa: using only fixed width for filters in Big Sur and later. This prevents contant resizing of the dialog. bug #38121
git-svn-id: trunk@64175 -
2020-12-07 00:00:36 +00:00
ondrej
4e0d02024d LCLType: enable DT_HIDEPREFIX and DT_PREFIXONLY - even if they are ToDos on non-Windows platforms
git-svn-id: trunk@64174 -
2020-12-06 09:46:04 +00:00
ondrej
6133721d44 TCustomLabel: DoDrawText for Delphi compatibility and for unifying size calculation and painting
git-svn-id: trunk@64173 -
2020-12-06 09:44:49 +00:00
juha
78a6b3d56a Docs: Documentation updates for LCL. Issue #38163, patch from Don Siders.
git-svn-id: trunk@64170 -
2020-12-05 11:18:53 +00:00
bart
0c50332e9f Win32: document that setting TComboBox.BorderStyle to bsNone is not supported. Issue #0038126.
git-svn-id: trunk@64169 -
2020-12-01 21:54:55 +00:00
wp
aadc207387 LCL/CheckGroup: Fix items and checkboxes getting out of sync upon Items.Insert. Issue #38157.
git-svn-id: trunk@64168 -
2020-12-01 09:21:50 +00:00
juha
51302252eb LCL-GTK2: Paint a form with one color also after scrolling. Issue #16183, patch from Joeny Ang.
git-svn-id: trunk@64167 -
2020-11-30 20:52:19 +00:00
juha
b1afd41fb2 Jedi Code Format: Fix access violation when parsing not closed IFDEF. Issue #38146, patch from Domingo Galmés.
git-svn-id: trunk@64166 -
2020-11-30 20:35:22 +00:00
juha
7d90e95e0b LCL: Propogate TAction.ImageIndex to TSpeedButton.ImageIndex. Issue #38135, patch from Anton Kavalenka.
git-svn-id: trunk@64165 -
2020-11-30 20:21:17 +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
e47ecfcbaa IdeIntf: Remove a wrong assertion when building component tree.
git-svn-id: trunk@64162 -
2020-11-30 19:41:18 +00:00
wp
62462e4388 TAChart: Fix some ZoomDragTool and DataPointCrosshairTool painting on other chart if shared between two charts.
git-svn-id: trunk@64161 -
2020-11-30 11:29:26 +00:00