Commit Graph

68383 Commits

Author SHA1 Message Date
rich2014
152ed000a7 Cocoa/ListView: perfect the CaptionEditor position and size layout 2024-08-19 23:54:33 +08:00
rich2014
62bdfb501d Cocoa/ListView: in vsIcon/vsSmallIco/vsList, CaptionEditor adapts the font of Caption 2024-08-19 23:54:33 +08:00
rich2014
8740a1e3eb Cocoa/ListView: in vsReport, CaptionEditor adapts the font of Caption 2024-08-19 23:54:33 +08:00
Juha
e751c618b6 Codetools: Add RISC-V selections to DefineTemplates. Issue #41067. 2024-08-19 14:53:32 +03:00
rich2014
85c17ebf3e Cocoa: support Canvas Font/Brush in OnDrawItem/OnCustomDraw/OnCustomDrawItem/OnCustomDrawSubItem for ListView/ListBox/CheckListBox, issue #39500
in NSTableView, cell drawing is out of order:
1. it is not necessary to draw rows first and then columns
2. row order is not fixed
3. column order is not fixed
therefore, in these callback functions, do not assume the settings in Canvas
2024-08-19 00:31:24 +08:00
DomingoGP
5abac68141 Jedi code format: Fix bug parsing delphi inline vars like "var J: Integer := 22 + I;" 2024-08-18 14:06:05 +02:00
Mattias Gaertner
98b800100f Merge branch 'CodeTools/Examples/AddClass' into 'main'
CodeTools: Fixing compilation of the addclass.lpi example (continued 2f643bd4)

See merge request freepascal.org/lazarus/lazarus!318
2024-08-18 09:23:38 +00:00
rich2014
9d47231bd0 Cocoa: improve ListBox/CheckListBox, Merge branch 'cocoa/list' 2024-08-18 15:25:52 +08:00
rich2014
5f125f2f4c Cocoa: fix the check/select state of CheckListBox to ListControl 2024-08-18 15:14:59 +08:00
rich2014
99646bc91e Cocoa: selection fixed in ListBox/CheckListBox 2024-08-18 11:41:57 +08:00
rich2014
00f0bda2b1 Cocoa: move CocoaTables.TCocoaStringList to CocoaListControl.TCocoaListControlStringList 2024-08-18 11:37:05 +08:00
rich2014
cfcda960d2 Cocoa: decouple callbacks related to List Control 2024-08-18 11:34:39 +08:00
rich2014
ac6d122b39 Cocoa: avoid unexpected changes in the focus control during TabControl update 2024-08-17 23:13:21 +08:00
Maxim Ganetsky
ab1d8281f2 LCL-Gtk3: fixed autosizing of TUpDown buttons for some themes, patch by Anton Kavalenka, issue #41086 2024-08-16 22:56:34 +03:00
Martin
0e7a968c42 IdeDebugger: correctly clear old watchdata 2024-08-16 17:23:11 +02:00
Martin
32e1ae20d4 IdeDebugger: Locals, do not collapse locals, if there expanded values still exist. 2024-08-16 17:23:11 +02:00
Martin
c2a4065e0b LazControl: LazIntegerEdit, fix wrong selection. Issue #41085 2024-08-16 17:23:10 +02:00
rich2014
8ae3b2d018 Cocoa: comments added in ListView 2024-08-16 20:39:00 +08:00
rich2014
97f08d7f6e Cocoa: eliminate duplicate code in TCocoaCollectionView 2024-08-16 20:38:56 +08:00
rich2014
fc8e457629 Cocoa: clean up 2024-08-16 20:38:27 +08:00
rich2014
fba4c8e459 Cocoa: improve the settings of FoucsRing to better adapt to LCL, Merge branch 'cocoa/focusring'
on macOS, the FocusRing takes up extra space, which may cause strange display in some cases. it may block other controls, or be partially cut off.
for example, in the Lazarus IDE - About dialog, the FocusRing of the Tab of TPageControl is partially cut off. by providing a configurable infrastructure, FocusRing can be controlled for different control types.
2024-08-16 20:33:19 +08:00
rich2014
b37fe3b42b Cocoa: FocusRing old code cleanup 2024-08-16 20:29:21 +08:00
rich2014
5f84939650 Cocoa: Focus Ring config for Button applied 2024-08-16 20:29:21 +08:00
rich2014
f8a7c8d854 Cocoa: Focus Ring config for ListView and TabView applied 2024-08-16 20:29:21 +08:00
rich2014
e06ed5230f Cocoa: FocusRing configurable infrastructure added 2024-08-16 20:29:21 +08:00
Martin
20445109d5 LazControl: LazIntegerEdit, result not set 2024-08-15 23:52:39 +02:00
Maxim Ganetsky
5bdd772f03 IDEDebugger: updated Russian translation 2024-08-16 00:46:31 +03:00
Martin
5d8a93d6e7 IdeDebugger: fix expanding array (locals dlg). Take low-bound into account. Issue #41073 2024-08-15 23:30:25 +02:00
Martin
c8f30b1459 FpDebug: fix I2O intrinsic / value to "out param" can't be passed as ref in other param. 2024-08-15 22:43:57 +02:00
Martin
f54755cc79 LazControl: LazIntegerEdit, improve and paste-clipboard fixes. Issue #41079, #41080, #41081 2024-08-15 22:43:57 +02:00
rich2014
1ec623a8f1 Cocoa: Text Color in ComboBox with csDropDownList supported
https://forum.lazarus.freepascal.org/index.php/topic,68222.0.html
2024-08-16 01:03:56 +08:00
Martin
0806d74565 IdeDebugger: Breakpoint window, change setting node-height for group-headers. Maybe Issue #41083 2024-08-15 18:52:34 +02:00
Martin
c924cafb5f LazControl: LazIntegerEdit, improve selection after changing sign/base. Issue #41082 2024-08-15 18:17:06 +02:00
Martin
ac53164253 LazControl: New icons for TLazIntegerEdit 2024-08-15 17:52:16 +02:00
Martin
cab5b39fe0 LazControl: LazIntegerEdit, clean up / comments 2024-08-15 16:07:37 +02:00
Jesus Reyes A
f356184e3b LazReport: Fix double scrollbars in previewform, patch by Soner, issue #41065 2024-08-14 21:15:29 -06:00
Martin
8c36a16a4b IdeDebugger: Watches-Array Toolbar, allow hex input / change how to override bounds (add checkbox). Issue #41027 2024-08-14 20:21:03 +02:00
Martin
72aac2ebdd LazControl: new edit for integers in different bases. 2024-08-14 20:20:53 +02:00
Maxim Ganetsky
36550e3488 DockedFormEditor: updated Russian translation 2024-08-14 18:19:25 +03:00
Maxim Ganetsky
7029f3657e AnchorDocking: updated Russian translation 2024-08-14 18:19:25 +03:00
Maxim Ganetsky
dcd2c1b006 AnchorDocking: made hint for 'Enable' checkbox visible 2024-08-14 18:19:25 +03:00
rich2014
26cf067928 Cocoa/ListView: take the Column Header into account when automatically calculating column width 2024-08-14 23:18:28 +08:00
rich2014
1af2723ade Cocoa/ListView: support double-clicking the Column Divider to automatically set the Column Width 2024-08-14 20:35:32 +08:00
rich2014
76e937a5cb Cocoa: support OnDrawItem/OnCustomDraw/OnCustomDrawItem/OnCustomDrawSubItem for ListView/ListBox/CheckListBox, Merge branch 'cocoa/listview' 2024-08-14 20:35:14 +08:00
rich2014
18791f7c0f Cocoa: eliminate duplicate code in CocoaTables 2024-08-14 20:28:55 +08:00
rich2014
dc821628f9 Cocoa/ListView: fix Canvas Bounds issue in OnDrawItem/OnCustomDraw/OnCustomDrawItem/OnCustomDrawSubItem
previously, the size of the dirtyRect was used temporarily, which was not always equal to the size of the Canvas
2024-08-14 20:28:54 +08:00
rich2014
fc8387d1fc Cocoa: avoid sending CustomDraw messages to ListBox/CheckListBox
they only support DrawItem messages
2024-08-14 20:28:54 +08:00
rich2014
43ab1946ea Cocoa/ListView: fix State issue in OnDrawItem/OnCustomDrawItem/OnCustomDrawSubItem 2024-08-14 20:28:54 +08:00
rich2014
4f51e1b228 Cocoa/ListView: add OnDrawItem 2024-08-14 20:28:54 +08:00
rich2014
5a30cdc2dd Cocoa/ListView: add OnCustomDraw 2024-08-14 20:28:54 +08:00