Commit Graph

61170 Commits

Author SHA1 Message Date
mattias
d09e34d46f set fixes version to 2.2.0RC3 2021-10-31 08:43:01 +01:00
mattias
ab85f43b84 git: ignore link.res 2021-10-30 13:38:05 +02:00
mattias
3d959181d1 rpm: comments 2021-10-30 13:30:24 +02:00
mattias
ebe6434627 debs: fixed git checkout on older systems 2021-10-30 13:02:15 +02:00
mattias
aea0e04eca docs: add docs/chm 2021-10-30 12:44:20 +02:00
mattias
aa7f671da5 debs: fixed building from a git repo 2021-10-30 11:41:16 +02:00
mattias
afdfaa1f13 deb: fixed building using a git repo 2021-10-30 11:31:30 +02:00
Maxim Ganetsky
896764a797 Lazutils: removed deprecated messages from Masks unit at Bart's request 2021-10-29 23:47:20 +03:00
dsiders
92b66dbfc5 Revert "Docs: Modifies build_lcl_docs and scripts.Address an issue in #28500."
This reverts commit 8ac2328b60.
2021-10-29 18:10:51 +01:00
dsiders
66db2ec9f6 Revert "Adds ignored files in /docs/html/ to .gitignore."
This reverts commit fb234788f3.
2021-10-29 18:10:24 +01:00
dsiders
fb234788f3 Adds ignored files in /docs/html/ to .gitignore.
(cherry picked from commit 4ef50c5d54)
2021-10-29 02:19:19 +03:00
dsiders
8ac2328b60 Docs: Modifies build_lcl_docs and scripts.Address an issue in #28500.
Modified files:

* docs/html/build_lcl_docs.lpi
*  docs/html/build_lcl_docs.lpr
Adds TFPDocRun.ChmTitle property for CHM title and text in the LHelp TOC navigation tree.
Sets the footer file for each of the output formats generated in the program. Allows CHM to have links to the online HTML version, while HTML does not.
Modifies logic used to generate links to external topics. Causes LazUtils (the smaller of the two outputs) to be created twice.

* docs/html/build_chm.bat
* docs/html/build_chm.sh
Adds logic to generate distinct footer files for CHM vs HTML. Footer files include document title, version information, and generation date.

* docs/html/build_html.bat
* docs/html/build_html.sh
Copies custom CSS file to the output directory.

* docs/html/chmlazutilsfooter.xml
* docs/html/chmlclfooter.xml
* docs/html/locallazutilsfooter.xml
* docs/html/locallclfooter.xml
Standardized footer files for CHM and HTML output formats. A separate footer file is used for LCL and LazUtils for each of the output formats.

* docs/html/fpdoc.css
Adds font family fallbacks for common default fonts on various platforms.
Modifies layout and borders for definition lists (DL, DT, DD tags). Removes the border around DL.
Adds style rules for tags, classes used in file footers.

(cherry picked from commit 8af9cd0918)
2021-10-29 02:19:19 +03:00
wp_xyz
08c83b5352 LCL/Menus: Fix owner-drawn menu having zero item size if not specified by OnMeasureItem. Issue #35972, patch by dmz73.
(cherry picked from commit e6e2178ca7)
2021-10-28 01:06:23 +03:00
dsiders
6bad22c954 Docs: Updates module topics for LCL and LazUtils to include both name and abbreviation.
(cherry picked from commit 64ccfb3fd2)
2021-10-26 00:13:50 +03:00
mattias
5689275a3e tools: gitignore updatemakefiles linux binary
(cherry picked from commit 1c177dd9c2)
2021-10-26 00:13:50 +03:00
Sergey Larin
e1bf1d6a75 Fixed checking CurrentDebuggerPropertiesConfig for nil.
Related to 4f145f9709

(cherry picked from commit 9d94d1fa28)
2021-10-23 14:55:46 +02:00
dsiders
3a8059f59c Docs: LCL/lcltype. Adds missing topics. Removes topics no longer in source. Updates topic content.
(cherry picked from commit 622a7619d0)
2021-10-23 00:40:15 +03:00
Željan Rikalo
4366df2779 Qt,Qt5: fixed broken TTrayIcon popup menu after recreating popup menu handle. issue #38849
(cherry picked from commit 7f0e0cd0bd)
2021-10-23 00:40:15 +03:00
Željan Rikalo
40a621c596 Qt,Qt5: fixed system mouse lock when TCustomControl is double clicked. issue #27384
(cherry picked from commit 9057aece81)
2021-10-23 00:40:15 +03:00
Sergey Larin
60f2d501c0 FpDebug: Fixed incorrect new length of FLocation array in TFpInternalBreakpoint.RemoveAddress
fix c1611124b4

(cherry picked from commit 16218b91f9)
2021-10-21 15:47:09 +02:00
Maxim Ganetsky
a537a37dfe LCL: actually show to user deprecated messages for VK_LCL_OPEN_BRAKET and VK_LCL_CLOSE_BRAKET constants
(cherry picked from commit a4bb9309b7)
2021-10-21 00:01:47 +03:00
Juha
ad87f6b728 LCL: Fix typos in virtual key constants. Issue #39434, patch by Don Siders.
(cherry picked from commit 14304e8180)
2021-10-21 00:01:46 +03:00
Juha
d15b225981 LCL-GTK2: Use a new SysTray API by default. The old one fails to work in new Ubuntu versions + derivatives. Patch by dbannon.
(cherry picked from commit 99e4bd2515)
2021-10-21 00:01:46 +03:00
dsiders
dbc4103140 Docs: LazControls/listviewfilteredit. Removes extra short description in module topic.
(cherry picked from commit fea136a894)
2021-10-20 00:07:53 +03:00
Dmitry Boyarintsev
6a0ab012c2 cocoa: fix the filter index selection
(cherry picked from commit 4aaf8d270c)
2021-10-18 23:59:30 +03:00
Željan Rikalo
98742e6185 Qt,Qt5: restored the way how we send application activate/deactivate to LCL, removed calling of RestoreStayOnTop windows which cause confusion.
(cherry picked from commit 5081a5269f)
2021-10-17 23:48:19 +03:00
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