Commit Graph

70569 Commits

Author SHA1 Message Date
Maxim Ganetsky
bf3e2c0813 IDEIntf: reorganized resource strings of TreeView items OpenDialog filter, made this part less prone to potential typos in translations 2025-04-27 18:23:42 +03:00
Bart
f4755a13f1 TreeStorage: Provide a callback function in TreeSaveToXML/TreeLoadFromXML. Issue #41602. 2025-04-27 13:16:41 +02:00
Bart
ae4aa51835 TreeView property editor: tweak the Open- and SaveDialog filter. Part of Issue #40806. 2025-04-27 12:21:11 +02:00
Bart
2307106895 TReeView property editor. Remove internal function ConfirmFileReplace, use ofOverWrtiePrompt for associated TSaveDialog instead. Part of issue #40806. 2025-04-27 11:51:56 +02:00
Martin
b94af816fe FpDebug: fix finding breakpoint addresses for generics. Related to https:/bugs.freepascal.org/view.php?id=37658 2025-04-26 12:30:08 +02:00
Martin
92d902d141 Win32, LCL: fix crash of TWin32WSCustomShellTreeView on Win-XP. 2025-04-25 20:06:05 +02:00
Martin
56e8feccc1 IDE: Disable tracking feature in package-manager as it causes IDE crashes. See Issue #41555 / commit aae7ed1f94 2025-04-25 01:08:50 +02:00
wp_xyz
347e9fc629 TAChart: Improved drawing of broken lines (TEnhancedChartPen.EnhancedBrokenLines) 2025-04-25 00:03:44 +02:00
Martin
ec03c5273d IDE, SourceEditor: use SynEdits logical pos directly (already computed) rather than converting. 2025-04-24 21:36:08 +02:00
Martin
6974d8ea3d SynEdit: Remove some "TopView := TopView". Those were originally added to adjust for new fold/unfold lines. But this is now handled via event senrLineMappingChanged 2025-04-24 20:26:48 +02:00
Martin
79d5fbb479 SynEdit: Wordwrap, check if wrap-count changed for any modified line 2025-04-24 16:27:00 +02:00
Martin
d333eac396 SynEdit: Wordwrap, reduce unnecessary invalidate/paint. 2025-04-24 16:26:59 +02:00
Maxim Ganetsky
d58062682f Merge branch 'PackageTabs/SideAlign' into 'main'
PackageTabs: Align the tab captions on the left if they are located on the side

See merge request freepascal.org/lazarus/lazarus!441
2025-04-24 16:31:34 +03:00
n7800
0bf878f88e PackageTabs: Align the tab captions on the left if they are located on the side 2025-04-24 16:24:33 +03:00
Maxim Ganetsky
513d4a4c99 Merge branch 'canvas_test_gtk2_fix' into 'main'
Examples, canvas_test: added workaround to avoid shaped window example crash on GTK2

See merge request freepascal.org/lazarus/lazarus!460
2025-04-24 16:14:02 +03:00
alligator
087932ec05 Examples, canvas_test: added workaround to avoid shaped window example crash on GTK2 2025-04-24 16:14:01 +03:00
Maxim Ganetsky
a99f5fc2bf LCL: Let TControl.GetDefaultColor for a control with clDefault color return color of its parent.
Improves situation e.g. for background of panels and checkboxes on Gtk2
widgetset on some themes, including Greybird.

Their classes have default color not equal to clDefault, so previously
it was returned without accounting for the state of ParentColor
property.

See merge request !452 and issue #41534.
2025-04-23 22:48:45 +03:00
Martin
545720d39e SynEdit: Optimize scanner, don't create temp objects for fold-blocks 2025-04-23 17:15:38 +02:00
Martin
02dbb7f761 SynEdit: PasHighlighter, refactor, move common code into subroutine 2025-04-23 12:54:11 +02:00
Martin
a42f72da94 SynEdit: PasHighlighter, reset some states in case of incomplete parsed code 2025-04-23 10:13:38 +02:00
dsiders
410911ba37 Docs: LCL/dialogs. Additional updates to TOpenOption topcis. Based upon MR !455 by n7800 with corrections. 2025-04-23 00:03:53 -04:00
Bart
0cb42a6598 Dialogs: some more improvements to descriptions of TOpenOptions. Based upon MR !455 by n7800. 2025-04-22 22:17:25 +02:00
Martin
e037015ad6 Docked-form-designer: fix access after free / use SrcEditIntf events instead of hacking into IDE hooks. Should fix issue #39741 2025-04-22 20:10:02 +02:00
Martin
55dcbec511 IDE, EditorOptions: fix uninitialized value 2025-04-22 18:44:26 +02:00
Martin
33605a2af6 IDE, SourceEditor: change clean up order in destroy 2025-04-22 18:28:14 +02:00
Martin
33a06985b9 SynEdit: fixed access to freed object (FLineMapView will be destroyed, but before it may access the plugin) 2025-04-22 18:24:45 +02:00
wp_xyz
2fc5a52c9a LCL/TSpeedButton, TBitBtn: Add the new GlyphDrawEffectsEnabled property also to TApplicationProperties. Issue #41600. 2025-04-21 23:29:26 +02:00
Martin
6362a111d9 FpDebug: more DWARF-4 DW_FORM_exprloc and location-list handling (DW_FORM_sec_offset) 2025-04-21 23:05:05 +02:00
Martin
b849b153b5 FpDebug: add DW_FORM_exprloc to ConstRefOrExprFromAttrData 2025-04-21 23:05:04 +02:00
wp_xyz
b530c542a1 LCL/TSpeedButton, TBitBtn: Add application-wide setting (TApplication.GlyphDrawEffectsEnabled) for mouse-over/mouse-down effects of buttons. Issue #41600. 2025-04-21 23:04:30 +02:00
Martin
05a5c1f416 SynEdit: Fixed crash due to uninitialised pointer. ATokenInfo.Tk.TokenStart may be trash, but the caller needs nil if there is no data. 2025-04-21 21:23:35 +02:00
wp_xyz
c2c8fe7d28 LCL/SpeedButton, BitBtn: New property DrawingEffectsEnabled to override theme settings for visual mouse-over/mouse-down feedback. Issue #41600. 2025-04-21 19:19:08 +02:00
Martin
9285940e2b FpDebug: Additional security for b1a29e7546 "race condition during exit". Defer the state, till after the ProcessMessages 2025-04-21 12:27:36 +02:00
Martin
b1a29e7546 FpDebug: fix race condition, during exit debug session (new command started while FDbgControllerProcessExitEvent called ProcessMessages) 2025-04-20 17:34:49 +02:00
Martin
efae02fac3 FpDebug: fix finding enum members. Enum were wrongly skipped, if name was only present in TAG_definition, but not in the DW_TAG_enumeration_type 2025-04-20 17:34:49 +02:00
Martin
b4af31d09f FpDebug: tests for signed enum 2025-04-20 17:31:17 +02:00
Martin
3f5473a15b IDE Debugger: don't sign extend enum ordinal values 2025-04-20 17:31:16 +02:00
Martin
d1bf325003 FpDebug: Implement DW_AT_enum_class / scoped enum 2025-04-20 17:31:16 +02:00
Martin
89468fc795 FpDebug: fix missing typecasts / avoid range checks 2025-04-20 17:31:16 +02:00
Martin
c80e65bab0 FpDebug: Read embedded type for enum signed-ness (fpc 3.3.1). Add other checks for enum signed-ness 2025-04-20 17:31:15 +02:00
Martin
d26f6d30af FpDebug: Use size/bitmask to compare enum variable with member values (find named value) 2025-04-19 12:26:40 +02:00
Martin
ac8d539950 FpDebug: Fallback to read size of enumeration from nested type 2025-04-19 11:50:30 +02:00
dsiders
c29e9d7815 Docs: LCL/valedit. Fixes awkward wording in the TValueListEditor.FixedCols topic.
(cherry picked from commit 0a773a82e44596452853717549abcfe97f8fa752)
2025-04-18 22:15:35 -04:00
dsiders
bc76863dfb Docs: LCL/valedit. Adds content to TValueListEditor.FixedCols topic. For changes in f826b898. Issue #41589.
(cherry picked from commit 6e2f277d5cf7b82b9a022fa36fee90bb909832cc)
2025-04-18 22:15:06 -04:00
wp_xyz
99b6e9551a VirtualTreeViews: Fix crash due to incorrectly named cursor resources. Patch by Real-KGS, issue #41556. 2025-04-19 00:14:25 +02:00
wp_xyz
c86da923f2 Examples/lazfreetype: Fix incorrect painting of radiobuttons on Panel_Option 2025-04-18 17:33:14 +02:00
dsiders
6161cd2261 Docs: LCL/dialogs. Updates content in TOpenOption topics. Changes in 5a6e95d7, fd8c8885. 2025-04-18 02:08:24 -04:00
Bart
fd8c888583 Dialogs: some more improved descriptions of TOpenOptions. 2025-04-17 19:47:11 +02:00
Bart
5a6e95d75d Dialogs: improve descriptions of several TOpenOptions. Based upon MR !455 by n7800, modfied by me. 2025-04-17 19:28:56 +02:00
dsiders
5b6c4177b1 Docs: LCL/valedit. Removes an duplicate element tag. 2025-04-17 02:25:02 -04:00