Commit Graph

61144 Commits

Author SHA1 Message Date
Martin
22fa14ce16 Merge branch 'strrec-cpu64-align-fpdbg' into 'main'
FpDebug takes into account that FPC 3.3.1 changed offset of the CodePage field in TAnsiRec

See merge request freepascal.org/lazarus/lazarus!25

(cherry picked from commit dd31014237)
2021-10-17 15:19:30 +02:00
Martin
3c8bd7451d Revert "Disable PEEPHOLE opt in fpc 3.2.0 to fpc 3.2.3 => there is a bug that can cause crashed in fpdebug/lazutils"
This reverts commit 6d1185d76b.
2021-10-16 13:42:24 +02:00
Martin
9cb279160d Installer, Win: Fix for git / restore binw32/binw64
(cherry picked from commit 056cc6dd26)
2021-10-16 13:23:06 +02:00
Martin
6d1185d76b Disable PEEPHOLE opt in fpc 3.2.0 to fpc 3.2.3 => there is a bug that can cause crashed in fpdebug/lazutils 2021-10-16 11:44:22 +02:00
Željan Rikalo
fe110ccdce Qt,Qt5: ReleaseCapture when app is deactivated.
(cherry picked from commit f1156f551a)
2021-10-14 23:56:00 +03:00
Željan Rikalo
c56adcb6a4 Qt,Qt5: removed old workaround for Qt < 4.8.7, fixes TApplication activate/deactivate events. issue #37868
(cherry picked from commit d21ebb1b60)
2021-10-14 23:56:00 +03:00
dsiders
1ad2e6b39c Docs: LazControls/checkboxthemed. Updates TCustomCheckBoxThemed.State to reflect actions in the property setter.
(cherry picked from commit e5ed5082d5)
2021-10-14 01:30:07 +03:00
dsiders
4c2a537c89 Docs: LCL/graphics. Adds topic for TCustomBitmap.GetSharedImageClass.
* Depends on 4918dc89.

(cherry picked from commit 232ed8531c)
2021-10-14 01:17:10 +03:00
Martin
cff1d53e40 FpDebug: more asserts for correct thread usage
(cherry picked from commit 6fc5c2fcdd)
2021-10-13 21:50:18 +02:00
Martin
1b9c784595 LazDebuggerFp: Run Thread.RegisterValueList in debug-thread
(cherry picked from commit e4499b3ba0)
2021-10-13 21:50:18 +02:00
Martin
7667dc1bad LazDebuggerFp: Trigger DefaultContext in thread to cache it. (Avoid calling GetInstructionPointerRegisterValue outside the debug-thread)
(cherry picked from commit 24c378f797)
2021-10-13 21:50:18 +02:00
Martin
357120fb44 LazDebuggerFp: Ensure MemReader.RegisterSize is run in debug-thread. It currently needs the thread-state, as the size is read from the RegisterValue-list.
(cherry picked from commit 12b1484637)
2021-10-13 21:50:18 +02:00
Dmitry Boyarintsev
30d615e33a cocoa: adding additional tracking for menus. If Modal window is called, all main menu tracking is being cancelled
(cherry picked from commit 3c3b14de01)
2021-10-13 00:01:57 +03:00
Željan Rikalo
927f2884d3 Qt: optimized palette reload instead of recreating handles. issue #38589
(cherry picked from commit 9233efadf0)
2021-10-13 00:01:57 +03:00
Željan Rikalo
86db9c2719 Qt5: implemented T(Float)SpinEdit.EditorEnabled. issue #38736
(cherry picked from commit b83a9fd9f0)
2021-10-13 00:01:56 +03:00
Željan Rikalo
97fb9a4751 Qt5: optimized palette reload instead of calling recreateWnd(). issue #38589
(cherry picked from commit 7fa32a1e8e)
2021-10-13 00:01:56 +03:00
Marc
be59761cc4 LCL: Return TSharedCustomBitmap as shared image class. TCustomBitmap assumes this as a descendant
(cherry picked from commit 4918dc89b0)
2021-10-12 22:15:35 +02:00
dsiders
9ced00b2ee Docs: LCL/menus. Adds missing topic content.
(cherry picked from commit a058e53864)
2021-10-12 00:55:12 +03:00
dsiders
211bbf8961 Docs: LCL/controls. Adds short descriptions for various topics.
(cherry picked from commit e027061cb5)
2021-10-12 00:55:12 +03:00
Željan Rikalo
fee3ccb58e Qt,Qt5: fixed paleete change at runtime. issue #38589
(cherry picked from commit 4076f4efdd)
2021-10-12 00:54:07 +03:00
Željan Rikalo
044eaf72fa Qt,Qt5: fixed radialPie paint with antialiasing. issue #39416
(cherry picked from commit c822e57876)
2021-10-12 00:54:06 +03:00
Željan Rikalo
4a6878dde1 Qt,Qt5: Fixed menu radio items. issue #37741
(cherry picked from commit 52f2a8b88f)
2021-10-12 00:54:06 +03:00
Martin
89f2d7a70c IDE: Fix endless loop in codetools. Issues #39306 and #39387
(cherry picked from commit 8d41aa5e99)
2021-10-11 13:56:50 +02:00
Juha
1464cd5a75 JEDI Code Formatter: Support a list of used registers at the end of "asm" block. Issue #35722, patch by DomingoGP.
(cherry picked from commit 6439e19d40)
2021-10-11 00:35:41 +03:00
michl
76bbcbde46 DockedFormEditor: Remove invalid widgetset LCLWin64
(cherry picked from commit 4204b2bd71)
2021-10-11 00:35:40 +03:00
Juha
ad4610e5ec IDE: Disable Project Options toolbuttons while compiling many build modes. Issue #39332.
(cherry picked from commit e67c74ed7e)
2021-10-11 00:35:40 +03:00
Martin
abcf52816b PascalScript: Compile on PPC, using "not supported" InnerfuseCall. Issue #39404
(cherry picked from commit 114d4a1714)
2021-10-10 13:06:50 +02:00
Martin
3fcf01d0c7 svn2revisioninc, Installer: use first-parent for git describe
(cherry picked from commit b26d9aa832)
2021-10-09 21:41:18 +02:00
Martin
9dd05b2dec Debugger: Fix mem leak in asm
(cherry picked from commit c4109375a5)
2021-10-09 20:11:31 +02:00
Željan Rikalo
5c7defb63a Qt5: fixed typo.
(cherry picked from commit e42dfcff56)
2021-10-07 01:42:40 +03:00
Dmitry Boyarintsev
eb16a093a9 cocoa: passing the checkminmax value
(cherry picked from commit e8614c81e9)
2021-10-07 00:07:31 +03:00
Dmitry Boyarintsev
5e1fcd37e0 cocoa: adding the check for min and max values of the spin edit. If they are the same, pretend we don't have any boundires
(cherry picked from commit 1bef01e030)
2021-10-07 00:07:31 +03:00
Dmitry Boyarintsev
95c87a711d cocoa: removing hardcoded offset of the content. it should have been already offset enough
(cherry picked from commit b84637afff)
2021-10-07 00:07:30 +03:00
Dmitry Boyarintsev
ba8ab33550 cocoa: hidding the text title for ownerdrawn controls
(cherry picked from commit 49bb85a7ba)
2021-10-07 00:07:30 +03:00
Željan Rikalo
7be2dcc25c Qt,Qt5: fixed antialiased paint of ellipse and poylgon. issue #35568 , issue #39416
(cherry picked from commit 26930d85c6)
2021-10-07 00:07:30 +03:00
Željan Rikalo
f7bab82a56 Qt,Qt5: fixed maximized window with borderstyle = bsnone. issue #39158
(cherry picked from commit 29fa1e508e)
2021-10-07 00:07:29 +03:00
Željan Rikalo
d7b94bfffa Qt,Qt5: fixed problem with drawing primitives when antialiasing enabled. issue #39416
(cherry picked from commit e8317fb534)
2021-10-07 00:07:29 +03:00
Juha
7657129760 IDE: Execute a shortcut command only when it is enabled.
(cherry picked from commit b6a4282835)
2021-10-07 00:07:29 +03:00
Juha
2a120e8c97 IDE: Disable Project Options command while compiling many build modes. Issue #39332.
(cherry picked from commit 8c248da41d)
2021-10-07 00:07:29 +03:00
John Shand
be49848878 Update create_fpc_rpm.sh
(cherry picked from commit d753efec99)
2021-10-07 00:05:37 +03:00
John Shand
24d58a8cf9 Update create_lazarus_export_tgz.sh
(cherry picked from commit 0ca9443df0)
2021-10-07 00:05:37 +03:00
dsiders
5115278e58 Docs: LCL/spin. Adds and updates topics for changes in abd3cd5c, 2befd9dd.
(cherry picked from commit cc0c03af28)
2021-10-06 01:10:34 +03:00
dsiders
2cc7c7e748 Docs: LazControls/spinex. Updates topics for recent source code changes.
* Depends on 2e98d119, e868afe1, 16c42cea.

(cherry picked from commit 335ac8b724)
2021-10-05 01:06:15 +03:00
dsiders
f411266401 Docs: LCL/stdctrls. Updates topics for issue #39413.
* Updates RealSetText and Text topics in TCustomComboBox.
* Depends on a669e084.

(cherry picked from commit f77ea526e4)
2021-10-05 00:50:14 +03:00
Bart
126b69ca9f TComboBox: update ItemIndex in RealSetText also if Text is empty string. Issue #39366.
(cherry picked from commit a669e08450)
2021-10-05 00:48:49 +03:00
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