Commit Graph

70580 Commits

Author SHA1 Message Date
Lipinast Lekrisov
899f36897a Gtk/Gtk2/Gtk3: fixes in NotifyApplicationUserInput 2025-05-01 02:39:07 +03:00
Lipinast Lekrisov
04474929e1 CustomDrawn: fixes in NotifyApplicationUserInput 2025-05-01 02:39:07 +03:00
Lipinast Lekrisov
9331c551e3 Cocoa: fixes in NotifyApplicationUserInput 2025-05-01 02:39:07 +03:00
Lipinast Lekrisov
b8daf2d0c1 Carbon: fixes in NotifyApplicationUserInput 2025-05-01 02:39:07 +03:00
Lipinast Lekrisov
3636904959 Win32/WinCE: fixes in NotifyApplicationUserInput 2025-05-01 02:39:07 +03:00
Lipinast Lekrisov
febe7dd477 Qt/Qt5/Qt6: fixes to NotifyApplicationUserInput 2025-05-01 02:31:20 +03:00
Lipinast Lekrisov
35a5df1517 LCL: TOnUserInputEvent now works with message reference 2025-05-01 02:31:20 +03:00
Bart
2e0cb2cfbf LCL: Implement Application.OnLog. Resolves issue #40913. 2025-04-28 22:54:41 +02:00
Maxim Ganetsky
5188131074 LazDataDesktop: better handle closing of a question dialog, part of merge request !281 2025-04-27 19:18:57 +03:00
Maxim Ganetsky
530e81997e IDEProject: cache values obtained by Units[Result] getters as appropriate, based on merge request !394 by n7800 2025-04-27 18:57:29 +03:00
Maxim Ganetsky
3951ff86e6 IDEIntf: regenerated translations and updated Russian translation 2025-04-27 18:27:32 +03:00
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