Commit Graph

66129 Commits

Author SHA1 Message Date
Maxim Ganetsky
7bca626c0a Examples: Adapt comments and code in the "scanline" sample project. Issue #41003.
(cherry picked from commit 52fc791feb)

Co-authored-by: wp_xyz <wp_xxyyzzz@gmx.net>
2024-06-28 16:55:20 +00:00
rich2014
ea0c4a2b76 Cocoa: fix #40853 again, Merge branch 'cocoa/scroll' 2024-06-20 23:02:45 +08:00
rich2014
08fb6b19dc IDE: fix the issue that ProjectInspector would be closed even if it was Docked when pressing ESCAPE 2024-06-20 23:02:45 +08:00
dsiders
bb9f79ea0d Docs: LCL/dbctrls. Updates KeyDown topics in TDBEdit, TDBMemo to include VK_SPACE characters handled on Darwin. Changed in 1ac92dd342.
(cherry picked from commit 3e4e061286)
2024-06-19 17:26:41 +01:00
rich2014
584c173e83 Cocoa & Db: Fix #40985 the issue that Space can't activate editing 2024-06-19 22:28:28 +08:00
dsiders
e370e35dad Docs: LCL/dbctrls. Updates TDBMemo.LoadMemo topic for changes in 1b18f093.
* It references Issue #33598 - which I cannot locate by issue number.

(cherry picked from commit a10a426ac7)
2024-06-15 21:58:36 +01:00
dsiders
682e7eaffe Docs: LCL/dbctrls. Modifies KeyDown topics in TDBEdit and TDBMemo for changes in f358fd7d17, dcacf7aaac. Issue #40985.
* Adds a description of the macOS-specific keys detected and ignored for non-editable fields.

(cherry picked from commit 700ad868db)
2024-06-15 21:58:23 +01:00
rich2014
3ed46ace8f dbmemo: Fix blob issue in TDBMemo.LoadMemo() 2024-06-15 22:18:15 +08:00
rich2014
35d2dae2a3 Cocoa & Db: Fix #40985, Merge branch 'lcl/dbedit' 2024-06-15 22:18:06 +08:00
dsiders
27df05ce8a Docs. LCL/LazUtils/various. Updates or removes URLs which are http, dead links, or examples to placate SourceForge hosting.
(cherry picked from commit 8692ed1de5)
2024-06-13 03:51:53 +01:00
Maxim Ganetsky
d2efdbabc9 Codetools: Fixed AV in "Project -> Show Used PPU Files" when sorting by double-clicking on last three columns. Patch by n7800, issue #40984.
(cherry picked from commit 60e0038353)

Co-authored-by: Maxim Ganetsky <maxim@lazarus-ide.org>
2024-06-12 23:32:38 +00:00
dsiders
4e79486539 Docs: LCL/graphics. Updates GraphicFilter, GraphicFileMask, and GraphicExtension topics.
(cherry picked from commit f6878d7262)
2024-06-11 16:46:26 +01:00
rich2014
531122b3b7 Cocoa: fix the context setting in TCocoaReadOnlyComboBox(TComboBox) 2024-06-10 11:24:20 +08:00
rich2014
9c43c3f1d9 Cocoa: fix the issue with Flipped Coordinates, Merge branch 'cocoa/flip'
note that on Cocoa:
1. Not Flipped: opposite to win32
2. Flipped: like win32
2024-06-10 11:24:20 +08:00
dsiders
33c6b73d32 Docs: LCL/controls. Modifies TWinControl.WndProc topic for changes in 9da0d75b.
(cherry picked from commit ef1838e6d2)
2024-06-09 18:48:26 +01:00
rich2014
9bd6cc792f LCL: Add CM_THEMEDCHANGED to TWinControl.WndProc to catch widget system light/dark change
See merge request freepascal.org/lazarus/lazarus!293
2024-06-09 15:52:40 +08:00
rich2014
7a7fad9190 laz.virutaltrees / Cocoa: fix the issue that the first line displayed abnormally when scrolling
for example, there are many items in Lazarus IDE BreakPoints Dlg.
2024-06-09 15:52:40 +08:00
rich2014
db6ce9345e Cocoa: Fix the issue introduced @ 8ecc0ea
for example, the Icon cannot be displayed normally in VirtualTrees
2024-06-09 15:52:40 +08:00
rich2014
1b9571bfcd Cocoa: Fix the issue introduced @8bdb42c
for example, the Header cannot be displayed normally in VirtualTrees
2024-06-09 15:52:40 +08:00
DomingoGP
f90017e4f6 Jedi code format: fix calls to inherited in array index.
(cherry picked from commit 543afd6573)
2024-06-08 19:24:22 +02:00
DomingoGP
a9137b980f Jedi code format: Fix issue #40981 inherited function calls.
(cherry picked from commit b37e92de41)
2024-06-08 19:23:48 +02:00
DomingoGP
41db711cbc Jedi code format: Fix issue #40980, exception on unterminated string. 2024-06-08 19:19:32 +02:00
rich2014
2216170cde Cocoa: Fix the context size in TCocoaTableListView.drawRow_clipRect (TListBox) 2024-06-06 23:17:55 +08:00
rich2014
2099ac1c1f Cocoa: fix the Drawing issue #36714, Merge branch 'cocoa/cgcontext' 2024-06-06 11:29:39 +08:00
rich2014
0c1f7c3b17 Cocoa: Fix "Access Violation" in TCocoaWSCustomListView.SetImageList(), by Michalis Kamburelis 2024-06-03 08:55:12 +08:00
rich2014
46b4ce12e9 LCL: fix the issue #19685 that painting TGraphicsControl on Designer Overlay DC
1. the issue only occurs at design time
2. the issue is that Control should not be painted on Designer Overlay Layer
2024-06-03 08:55:12 +08:00
rich2014
3f43638383 Cocoa: make MenuItem State Images configurable 2024-06-03 08:55:12 +08:00
rich2014
1ee73b9b31 Cocoa: adapt Radio MenuItem to Dark Theme 2024-06-03 08:55:12 +08:00
rich2014
07bf33ea2b Cocoa: LM_CONTEXTMENU is sent when the right mouse button is released instead of being pressed
1. consistent with Win32
2. avoids the problem that is easy to occur in APP, because the context menu pops up after the APP receives LM_CONTEXTMENU, which will lose the LM_MOUSEUP event. For example, in IDE Form Designer, if you right-click to pop up the context menu, after closing the context menu, the Designer is still in the MouseDown state by mistake
2024-06-03 08:55:12 +08:00
dsiders
ab8b899319 Docs: LCL/graphics. Updates the TCanvas.Draw topic to clarify content.
* Based on suggestions by @jamie in the forum discussion
* https://forum.lazarus.freepascal.org/index.php/topic,67389.0.html.

(cherry picked from commit c52332fbb5)
2024-05-29 23:17:44 +01:00
rich2014
6272c6d82b Cocoa: TSplitter fixed, issue #40974 2024-05-29 20:04:35 +08:00
wp_xyz
69414a9276 VirtualTreeview: Move LCL implementation units in laz.VirtualTrees to interface uses section. Fixes building Laz/main with FPC/main.
(cherry picked from commit 3635aa3044)
2024-05-26 17:36:39 +02:00
wp_xyz
8fb29f121e TAChart: More changes related to issue #40780. Patch by raspberryrabbit.
(cherry picked from commit e5c820b1d3)
2024-05-26 17:36:38 +02:00
wp_xyz
9f64bc4fc7 TAChart: (hopefully) fix compilation with FPC 3.3.1. Issue #40780.
(cherry picked from commit ca58c47ab7)
2024-05-26 17:36:38 +02:00
Maxim Ganetsky
57e2fc3852 LCL: Do not throw error inside SetActiveControl if we are embedded designer. issue #40833
(cherry picked from commit 34eace3587)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-05-25 20:06:58 +00:00
rich2014
246652ca2a Cocoa: Fixed Key Modifiers handling in TCocoaApplication.nextEventMatchingMask_untilDate_inMode_dequeue() 2024-05-25 11:01:29 +08:00
rich2014
abac1d0235 Cocoa: Fixed MouseDragged Event handling in TLCLCommonCallback.MouseMove() 2024-05-25 11:01:29 +08:00
rich2014
68bea34028 IDE: NormalizeLazExe() bug fixed (by @n7800) 2024-05-25 11:01:29 +08:00
rich2014
945cfc79c4 IDE: secondary installation command hints fixed (issue #39296) 2024-05-25 11:01:28 +08:00
rich2014
d3efbb470f Cocoa: Fix the position issue in TCocoaManualScrollHost.setFrame()
for example: TTreeView
2024-05-25 11:01:28 +08:00
rich2014
a5a234879e Cocoa: Fix an issue where the position was reset when changing the size of a scrollable control
for example, Source Editor in Lazarus IDE.
2024-05-25 11:01:28 +08:00
rich2014
5a9c80ba17 Cocoa: fix #40622 in TCocoaCustomControl that if the frame is changed during the Paint event 2024-05-25 11:01:28 +08:00
rich2014
6c494be0ea Cocoa: add support for scrollWheel on ScrollBar, Merge branch 'cocoa/scrollbar'
for example, the scrollWheel on the ScrollBar of SynEdit works properly noew
2024-05-25 11:01:28 +08:00
rich2014
44a6236999 Cocoa: reset the cursor to the default when the mouse is on the ScrollBar
for example, previously, in the Lazarus IDE editor, the IBeam cursor might be retained when the mouse moved over the scroll bar.
2024-05-25 11:01:28 +08:00
rich2014
3670e936f8 Cocoa: Fix #40939 arithmetic overflow in TabControl 2024-05-25 11:01:28 +08:00
rich2014
cf53186c8e Cocoa: Fix #40937 the linefeed issue in TCocoaMemoStrings (patch by David Jenkins) 2024-05-25 11:01:28 +08:00
mattias
a3cc94cfff docs: updated cmd line example for fpdoc trunk 2024-05-24 23:07:37 +02:00
mattias
c78aa26ce4 set fixes version to 3.5 2024-05-24 22:41:38 +02:00
mattias
34295aa424 set fixes version to 3.4 2024-05-24 22:33:14 +02:00
mattias
89476ec791 codetools: fixed clearing include file link 2024-05-24 11:48:20 +02:00