Commit Graph

66194 Commits

Author SHA1 Message Date
Martin
2c6dbb037a DockedFormEditor: Prevent TForm from being aligned to parent (resize-container). Issue #39531
(cherry picked from commit 835e3c2a62)
2024-07-11 01:14:23 +02:00
Martin
d8c59c7ee6 IdeDebugger: Watches, fix updating array bounds for expanded view / grow expanded rows up to pagination-limit. Issue #41015
(cherry picked from commit 7d1dc79584)
2024-07-11 01:12:36 +02:00
rich2014
c11434dd55 Cocoa: fix the issue of Notification on macOS 13+, issue #41016, Merge branch 'cocoa/notify' 2024-07-09 22:50:53 +08:00
rich2014
6b03d7c4dd Cocoa: fix the issues of TrayIcon, Merge branch 'cocoa/trayicon' 2024-07-09 22:50:53 +08:00
Maxim Ganetsky
2586c1d7ae Packager: fixed memory leak when trying to add already existing dependency (spotted in merge request !302)
(cherry picked from commit 0ef797a45c)

Co-authored-by: Maxim Ganetsky <maxim@lazarus-ide.org>
2024-07-08 22:44:11 +00:00
DomingoGP
a82057a3cf Jedi code format: Fix issue #41011, bad format of comments before class var
(cherry picked from commit 109012f8f7)
2024-07-07 14:28:06 +02:00
rich2014
501f6f9ab6 Cocoa: Fix and Improve TManualScrollView related base on 2ee50f0, Merge branch 'cocoa/scroll' 2024-07-05 21:32:26 +08:00
wp_xyz
d1f004d8b4 TurboPowerIPro: Less hints.
(cherry picked from commit 92306de965)
2024-07-04 22:47:35 +03:00
wp_xyz
587bb18cd1 TurboPowerIPro: Add support of 3-digit html color codes.
(cherry picked from commit 2acde1ee85)
2024-07-04 22:47:35 +03:00
rich2014
e95dec3baa Cocoa: improve Overlay Style Scroller to support Trackpad Tapping and keep it consistent with the native Scroller. Merge branch 'cocoa/scroll' 2024-07-03 23:19:21 +08:00
rich2014
0f0c5e56b6 Cocoa & Db: enable dbedit/dbmemo to input when FDataLink.Field=nil, patch by Ugo Boccardi 2024-07-03 23:19:10 +08:00
rich2014
dc0c436a40 Cocoa: fix the issues related to Canvas Clipping, especially on version < macOS 11 2024-07-03 23:19:06 +08:00
rich2014
d71dce5eac Cocoa: improve the handling of the mouse passing through the Overlay Style Scroller quickly 2024-07-03 23:18:57 +08:00
rich2014
521ea0a9a8 Cocoa: fix #40081 #40853 by completely reimplementing TManualScrollView with Legacy/Overlay Style Scroller, Merge branch 'cocoa/scroll'
TCocoaManualScrollView is based on NSView without native Scroller.
it doesn't require the document to have the full size it claims, so it is usually suitable for components of unlimited size.
it corresponds to components such as TreeView, Grid, SynEdit.
Legacy and Overlay style Scroller were implemented, they have visual effects highly similar to native Scrollers.

on the contrary, TCocoaScrollView is based on NSScrollView with native Scroller.
it requires the document to have the full size it claims, so it is usually suitable for components of limited size.
it corresponds to components such as ListBox, ListView, ScrollBox, Form.
2024-07-03 23:18:34 +08:00
Maxim Ganetsky
59774ccb4e IDE: Fixed out-of-bounds error when calling a non-existent "external tool" with a shortcut
(cherry picked from commit 6048a8cb51)

Co-authored-by: n7800 <14154601-n7800@users.noreply.gitlab.com>
2024-07-03 14:05:52 +00:00
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