Commit Graph

70756 Commits

Author SHA1 Message Date
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
wp_xyz
d699bf2001 Images: Updated package icons by Roland Hahn. 2025-04-16 22:52:04 +02:00
Maxim Ganetsky
3e84fd961f LCL, LCLTranslator: search for translations in correct place on macOS, issue #41592 2025-04-16 16:21:56 +03:00
Maxim Ganetsky
3873d997b2 IDE: regenerated translations and updated Russian translation 2025-04-16 16:19:17 +03:00
dsiders
020ca3b42c Docs: LCL/dialogs. Additional updates to TOpenOption.ofViewDetail, TOpenOption.ofAutoPreview topics. Fixes spelling error. 2025-04-15 18:08:05 -04:00
Maxim Ganetsky
52ad2a34cd IDE: Clean up "readonly" OpenDialog options Files option page. Patch by n7800, issue #41572. 2025-04-16 00:46:10 +03:00
Maxim Ganetsky
523f810f17 AnchorDocking: Clean up "readonly" OpenDialog options in MiniIDE. Patch by n7800, issue #41572. 2025-04-16 00:41:56 +03:00
Bart
89a27ef0df Dialogs: fixed descriptions of ofViewDetail and ofAutoPreview, which got mixed up in 79160f61. 2025-04-15 22:39:27 +02:00
dsiders
57671a64e2 Docs: LCL/valedit. Corrects content in TDisplayOption.doAutoColResize, TDisplayOption.doKeyColFixed topics. 2025-04-15 12:37:41 -04:00
Bart
79160f61db Dialogs: remove TOpenOptionEx.ofForcePreviewPaneOn and move it's functionality to TOpenOption.ofAutoPreview. 2025-04-15 18:34:20 +02:00
dsiders
28a6803122 Docs: LCL/valedit. Updates/corrects TDisplayOption topics.
* TDisplayOption.doColumnTitles
* TDisplayOption.doAutoColResize
* TDisplayOption.doKeyColFixed
2025-04-14 23:31:12 -04:00
Martin
88bebcf493 IDE, SynEdit: implement flag to control if certain attributes/colors (comments, selection, ...) extend past EOL. 2025-04-14 22:21:47 +02:00
wp_xyz
f826b89848 LCL/ValueListEditor: Fix mismatch of FixedCols default value in constructor and property declaration (issue #41589). 2025-04-14 18:56:34 +02:00
Maxim Ganetsky
44942f15a1 OpkMan: updated Russian translation 2025-04-14 19:31:28 +03:00