Commit Graph

61099 Commits

Author SHA1 Message Date
Bart
54a7d0fcb9 T(Float)SpinEdit: make Modified have the correct value in OnChange as well.
(cherry picked from commit 2befd9dd7f)
2021-10-05 00:48:15 +03:00
Bart
b646d80ef6 T(Float)SpinEditEx: forgotten to commit file in e868afe1.
(cherry picked from commit 16c42ceaa0)
2021-10-05 00:48:15 +03:00
Bart
0a8d959905 T(Float)SpinEditEx: set make sure Modified is correct in OnChange event as well.
(cherry picked from commit e868afe133)
2021-10-05 00:48:15 +03:00
Bart
89a9ce9785 T(Float)SpinEdit: set Modified to False if Value is set programmatically.
(cherry picked from commit abd3cd5c6b)
2021-10-05 00:48:15 +03:00
Bart
66b87899c0 T(Float)SpinEditEx: set Modified to False if Value is set programmatically.
(cherry picked from commit 2e98d119cc)
2021-10-05 00:48:14 +03:00
dsiders
1bfd60aa8d Docs: LCL/filectrl. Updates MinimizeName to specify that the width argument is pixels and not characters.
(cherry picked from commit 736e71078e)
2021-10-02 00:32:19 +03:00
Juha
5bc586ab23 CodeTools: Support case-insensitive {$Align X} etc. directives. Issue #39339, patch by PeaZomboss.
(cherry picked from commit 555a0bb5fc)
2021-10-02 00:32:19 +03:00
Juha
9cd7aab585 LCL-GTK3: Show applications better under KWin. Issue #39367, patch by Anton Kavalenka.
(cherry picked from commit f120539d03)
2021-10-02 00:32:19 +03:00
Maxim Ganetsky
d03e244334 Regenerated translations after revision 865013ee
(cherry picked from commit 2b295d7617)
2021-10-01 00:27:25 +03:00
dsiders
e096e82f21 Docs: LCL. Updates topics to reflect code changes in 865013ee.
* modified:   docs/xml/lcl/controls.xml
* modified:   docs/xml/lcl/lclstrconsts.xml

(cherry picked from commit 24ababf578)
2021-10-01 00:27:25 +03:00
Juha
f4f288fb6e IDE: Remove unused and duplicate resource strings. Fix exception messages.
(cherry picked from commit 865013eeb9)
2021-10-01 00:27:25 +03:00
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