Commit Graph

61088 Commits

Author SHA1 Message Date
Bernd K
606f2301c1 opm: fix readability of hint window on dark themes, remove hardcoded colors...
(cherry picked from commit b379bae79b)
2021-10-01 00:26:24 +03:00
Dmitry Boyarintsev
2741351022 cocoa: fix the detection of the row by coordinates. using scrollView documentVisible rect instead of visibileRect
(cherry picked from commit 8a971e273f)
2021-09-30 00:51:02 +03:00
Dmitry Boyarintsev
f88210a5ca cocoa: implementing .MakeVisible() for TListView items
(cherry picked from commit 7fb476c5cd)
2021-09-30 00:51:01 +03:00
Dmitry Boyarintsev
affa27bed4 cocoa: resolve the inconsistency with BOM removal from the string on conversion from UTF8 to NSString
(cherry picked from commit 10e94128a0)
2021-09-30 00:51:01 +03:00
Dmitry Boyarintsev
bfa5398a2e cocoa: making UpdateTabAndArrowVisibility part of the interface
(cherry picked from commit cbb2859959)
2021-09-30 00:51:01 +03:00
Dmitry Boyarintsev
902e862bf2 cocoa: evaluating the need of next and prev arrows on the change of the tab caption
(cherry picked from commit 90efbfef0f)
2021-09-30 00:51:01 +03:00
dsiders
a722a7b722 Docs: LCL/graphics. Fixes an invalid topic name, and updates topic content.
(cherry picked from commit ee4324bbe5)
2021-09-30 00:51:00 +03:00
Juha
8d9efcb506 IDE: Check Filename<>UnitName mismatch only when Codetools was able to parse the source. Issue #22921.
(cherry picked from commit 7cb38d7bc6)
2021-09-30 00:51:00 +03:00
Juha
a3dbd6fe04 IDE: Remove Assert() that prevented adding source files with errors in them. Issue #22921.
(cherry picked from commit 824e696005)
2021-09-30 00:51:00 +03:00
wp_xyz
2f4d99f301 TAChart: Add InitFonts procedure to TADrawerFPCanvas initialize default font directories. Remove GetDefaultFontName.
(cherry picked from commit 8410f7274b)
2021-09-29 09:52:14 +02:00
wp_xyz
2c9e4125ee TAChart: Fix nogui demo showing no texts. (Fix is effective only on fpc fixes or main)
(cherry picked from commit 002b5cd1bc)
2021-09-29 09:52:14 +02:00
Bernd Kreuss
9c32b28658 MakeResStrDialog: remove hardcoded default colors, use system colors instead
(cherry picked from commit 58bab52639)
2021-09-29 01:38:07 +03:00
Bernd Kreuss
de2672722e fix env_file_filters hardcoded colors
(cherry picked from commit 3a13f819f7)
2021-09-29 01:38:07 +03:00
dsiders
803fe2fa78 Docs: LazUtils/lazstringutils. Updates LazIsValidIdent for revert in de4f7249.
(cherry picked from commit 1c0f3e699c)
2021-09-29 01:07:46 +03:00
Juha
e2a24fadb6 Revert checking for Pascal keywords in LazIsValidIdent which is used also for unit names etc. Prevent illegal name by other means.
(cherry picked from commit de4f724924)
2021-09-29 01:07:45 +03:00
Martin
5cd595f179 WS, Win32: ShowModal, Fix checking for correct handle. Prevent crash. See Issue #39314
(cherry picked from commit 668fd03717)
2021-09-28 14:37:45 +02:00
Martin
02f62c3836 WS, Win32: ShowModal, Fix checking for correct handle. Prevent crash. See Issue #39314
(cherry picked from commit 754cedea82)
2021-09-28 14:37:45 +02:00
Martin
962f05f665 IDE, SourceEditor: TopLineInfoHint, reduce amount of memory re-allocs
(cherry picked from commit 0f830698c0)
2021-09-28 00:15:17 +02:00
Martin
2906c4f8d1 IDE, SourceEditor: TopLineInfoHint, clear any lines while waiting for the highlighter. This ensures that there are no references to no-longer-existing lines (if lines got deleted). "PaintLines" could otherwise try to access those out-of-range lines.
Also clear data, if Highlighter is changed.

(cherry picked from commit e177cf97c2)
2021-09-28 00:15:17 +02:00
Martin
d488f04626 SynEdit: Highlighter, make sure to call SendHighlightChanged (even if lines where deleted, instead of scanned / HL still changed back to valid/"no scan needed")
(cherry picked from commit 031eb66656)
2021-09-28 00:15:16 +02:00
Juha
4739022418 IdeIntf: Improve recursion in TComponentTreeView.FindAndChange. Call RebuildCollection only once per deleted comp. Issue #39290.
(cherry picked from commit b7ab9549a6)
2021-09-28 00:30:14 +03:00
Juha
f2c26bd129 IDE: When completing a label, add a colon (':') after it. Issue #38307.
(cherry picked from commit 907f82485b)
2021-09-28 00:29:54 +03:00
Juha
4ea049265b PascalScript: Fix event TPSOnProcessDirective signature. Active clashed with TForm.Active. Issue #39359.
(cherry picked from commit a8a398e553)
2021-09-28 00:29:34 +03:00
dsiders
a2c3ca5b29 Docs: LazUtils/lcsvutils. Updates topic content.
(cherry picked from commit 1d0d348cf6)
2021-09-28 00:29:13 +03:00
dsiders
9ba1bcc27a Docs: LazUtils/lazstringutils. Updates content for LazIsValidIdent topic.
* depends on 5a1abf73.

(cherry picked from commit 86a3ea8328)
2021-09-27 01:16:06 +03:00
Basile Burg
feb2cb481c Revert partly "Add HookGetCheckboxForBoolean handler in OI only once."
This reverts partly commit 943e4e4ff7.

(cherry picked from commit 45a590ed0b)
2021-09-27 01:14:41 +03:00
Martin
ca16e51245 FpDebug: Fixed mem leak.
(cherry picked from commit 0a2bc87781)
2021-09-26 16:03:00 +02:00
Martin
38855733be FpDebug: Add asserts
(cherry picked from commit f47220cc47)
2021-09-26 02:12:18 +02:00
Martin
62d65aa210 LazDebuggerFp: Do not call GetInstructionPointerRegisterValue (ReadThreadState) while target may be running. Also do not call from IDE thread (only debug worker thread is allowed).
(cherry picked from commit c8a6a985d0)
2021-09-26 02:12:18 +02:00
Martin
ef4c4bccf3 LazDebuggerFp: Make sure OnIdle is called, and all results are awaited. (Fixes Debug History) / DebugManager triggers snapshots for any dsPause and dsInternalPause.
(cherry picked from commit f99f5c0ed9)
2021-09-26 02:12:18 +02:00
Martin
dcdb3fd378 IDE, Debugger: Fix History. Make sure callstack entries are requested.
Currently TDebugManager.DebuggerChangeState triggers 2 consecutive calls do DoDebuggerIdle, so Count may not be available and smrCallStack got set incorrectly.

(cherry picked from commit edb26c9d33)
2021-09-26 02:12:17 +02:00
Juha
a756d38e6b Designer: Prevent an illegal name for a component when "Ask name on create" is enabled. Issue #39292.
(cherry picked from commit f6b7ba2662)
2021-09-26 02:20:42 +03:00
Juha
286bdf8d38 LazUtils: Check for Pascal keywords in LazIsValidIdent. Must be prepended with '&'. Merge request 11 by Abdullahi Usman.
(cherry picked from commit 5a1abf733a)
2021-09-26 02:20:42 +03:00
dsiders
14497a4e54 Docs: LCL/comctrls. Corrects typo in 92c69567.
(cherry picked from commit 059c77a655)
2021-09-26 02:19:04 +03:00
dsiders
60bd19363d Docs: LCL/comctrls. Updates topic content for changes to address issue #39391.
* depends on 6eca378f.

(cherry picked from commit 92c69567d4)
2021-09-26 02:19:04 +03:00
Bart
9771fa06e7 TListView: call OnDeletion also when destroying. Issue #39391.
(cherry picked from commit 6eca378f9d)
2021-09-25 11:45:59 +02:00
Martin
728bc1691b IDE: EditorOpts, Line-number gutter, "Every Nth Line" must be 1 or greater. Issue #39394
(cherry picked from commit 0da24dda48)
2021-09-25 11:40:11 +02:00
Martin
63eb69a5fd SynEdit: Linenumber gutter, "Every Nth Line" must be 1 or greater. Issue #39394
(cherry picked from commit 9cf535759e)
2021-09-25 11:40:10 +02:00
Martin
23ef8ab3ca IDE: EditorOptions, Color, fix "reset all". Issue #39388
(cherry picked from commit ff2da4d6be)
2021-09-24 12:58:41 +02:00
wp_xyz
0396183892 TAChart: Fix crash when TCubicSplineSeries.Calculate is called. Issue #39393.
(cherry picked from commit fb4681dd53)
2021-09-24 12:09:47 +02:00
dsiders
7b7d5dd363 Docs: LCL/propertystorage. Adds or updates topic content.
(cherry picked from commit 6a29f96cec)
2021-09-23 00:25:54 +03:00
wp_xyz
bf20e4eee5 IDEIntf/ImageListEditor: Fix incorrect anchoring of label "Transparent color" causing overlap at high-dpi. 2021-09-22 22:22:10 +02:00
wp_xyz
e96c416a83 IDEIntf/ActionsEditor: Improved spacing of items in actionlistbox. Issue #39386. Patch by Roland H.
(cherry picked from commit e8affb6df1)
2021-09-21 22:32:24 +02:00
Bernd K
19d71026de update translations (mainly Desktops and also some others)
(cherry picked from commit 7f2bcc9a94)
2021-09-21 00:14:40 +03:00
dsiders
c7a62c75ef Docs: LazUtils/laz2_xpath. Adds or updates topic content.
(cherry picked from commit 34bef0cbf9)
2021-09-20 00:36:20 +03:00
wp_xyz
0bc0484c52 TAChart: Find point index error in relation with ColorEach of line series (https://forum.lazarus.freepascal.org/index.php/topic,56324.msg418533.html#msg418533).
(cherry picked from commit 925e2e7370)
2021-09-17 22:52:11 +02:00
dsiders
94392c6abd Docs: LazUtils/lazloggerprofiling. Adds or updates topic content.
(cherry picked from commit 3b9cfa9943)
2021-09-17 01:52:27 +03:00
wp_xyz
7ce5f8a3ef TAChart: Fix TLineSeries.ColorEach ignoring LinePen.Width setting.
(cherry picked from commit 62d7b87f0d)
2021-09-16 11:49:56 +02:00
dsiders
a9502ddd27 Docs: LazUtils/lazlogger. Adds or updates topic content.
(cherry picked from commit a7ee5a544d)
2021-09-16 00:09:42 +03:00
Željan Rikalo
b155dc8e6d Qt5: implemented TCustomMemo.setCaretPos(). Patch by Joeny Ang. Issue #39373
(cherry picked from commit fc6854704d)
2021-09-16 00:09:42 +03:00