Commit Graph

61405 Commits

Author SHA1 Message Date
dsiders
4ef50c5d54 Adds ignored files in /docs/html/ to .gitignore. 2021-10-28 23:25:41 +01:00
dsiders
fc0c7393bb Docs: LCL/interfacebase. Adds missing topic for MemSizeLessThan.
* depends on 75aebbee.
2021-10-28 17:11:17 +01:00
Juha
75aebbee85 LCL: Consider that MemSize can return 0 with a custom MemoryManager. Merge request !27 by Sergey Larin. 2021-10-28 11:23:36 +03:00
dsiders
8af9cd0918 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.
2021-10-28 02:55:57 +01:00
Juha
7530dcb21a IDE: Set focus correctly to the input field of the filter of Components window. Merge request !31 by Sergey Larin. 2021-10-28 01:47:57 +03:00
Juha
f20d0dab9c LCL: In LogFontAndName compare only upto the terminating #0. There may be garbage after it. Merge request !30 by Sergey Larin. 2021-10-28 01:35:12 +03:00
wp_xyz
e6e2178ca7 LCL/Menus: Fix owner-drawn menu having zero item size if not specified by OnMeasureItem. Issue #35972, patch by dmz73. 2021-10-27 23:26:44 +02:00
Bart
63847a62b4 LazUtils: patch from Jose Mejuto to ensure that sets are only allowed is mocSet is enabled.
e.i. [abc] will give an exception if mocSet is not enabled and mocRange is.
2021-10-27 20:53:58 +02:00
Bart
33df1460d5 LazUtils: implement DbgS() for TMaskOpCodes and TWindowsQuirks in Masks unit. 2021-10-27 14:09:12 +02:00
Bart
ddcf2d27db LazUtils: implement TMaskListWindows in Masks unit. 2021-10-27 13:30:27 +02:00
wp_xyz
cda74efb64 TAChart: Rework sample "db" to avoid confusion due to stacked series. 2021-10-27 13:20:53 +02:00
wp_xyz
8d942a675f TAChart: Less hints and warnings. Check all demo files for fpc 3.2.2. 2021-10-27 12:59:15 +02:00
wp_xyz
b58bc06733 TAChart: Small improvements of help file for TAMath unit. 2021-10-27 00:14:10 +02:00
Michaël Van Canneyt
82518bf64d * Do not free object 2021-10-26 13:27:51 +02:00
dsiders
64ccfb3fd2 Docs: Updates module topics for LCL and LazUtils to include both name and abbreviation. 2021-10-25 15:56:11 +01:00
Bart
cff7df7db8 LazUtils: clarify some comments about TMaskOpcode enums in Masks unit. 2021-10-24 17:57:19 +02:00
wp_xyz
811f3994dd TAChart/ChartEditor: Use new TLegendClickTool.OnSeriesClick event rather than .OnLegendClick 2021-10-24 11:29:29 +02:00
wp_xyz
cc0800d0d0 TAChart: TLegendClickTool.OnSeriesClick event should not fire at clicks on empty space within the legend. Fix order of OnLegendClick and OnSeriesClick events. 2021-10-24 11:19:30 +02:00
Bart
bc3e07560f LazUtils: fix typo in comment Masks unit. 2021-10-23 23:30:53 +02:00
Bart
a94d0711cf LazUtils: rename an enum in Masks unit. 2021-10-23 23:29:31 +02:00
Bart
d511c0dfb9 LazUtils: add comments for the TMaskOpCode enums in Masks unit. 2021-10-23 23:27:05 +02:00
wp_xyz
4f84bdc0f3 TAChart: Fix double-click in TLegendClickTool. 2021-10-23 22:53:38 +02:00
wp_xyz
b4876dc79f TAChart: Support right-to-left mode in TChartListbox. 2021-10-23 22:44:33 +02:00
Juha
964d5f4d69 LazUtils: Improve naming of types and variables in Masks. Follow naming conventions of other code. 2021-10-23 23:28:30 +03:00
wp_xyz
c3f0740005 TAChart: Fix TChartListbox using more than 1 column, issue #39439 2021-10-23 21:59:35 +02:00
wp_xyz
6422aaa213 TAChart: New event OnSeriesClick for TLegendClickTool to report series of clicked legend item. Issue #39437. 2021-10-23 16:51:23 +02:00
Martin
49a220e7c3 Merge branch 'debugger-properties-config-nil-fix' into 'main'
Fixed checking CurrentDebuggerPropertiesConfig for nil

See merge request freepascal.org/lazarus/lazarus!29
2021-10-23 12:53:32 +00:00
wp_xyz
f9c8a2160f TAChart: Fix TChartListbox line height if checkboxes are not show (Issue #39438). Fix vertical alignment of text in TChartListbox lines. 2021-10-22 23:08:41 +02:00
dsiders
622a7619d0 Docs: LCL/lcltype. Adds missing topics. Removes topics no longer in source. Updates topic content. 2021-10-22 00:34:57 +01:00
Martin
57d356a2a2 Merge branch 'fpdebug-breakpoint-removeaddress-fix' into 'main'
FpDebug: Fixed incorrect new length of FLocation array in TFpInternalBreakpoint.RemoveAddress

See merge request freepascal.org/lazarus/lazarus!26
2021-10-21 13:43:43 +00:00
Maxim Ganetsky
a4bb9309b7 LCL: actually show to user deprecated messages for VK_LCL_OPEN_BRAKET and VK_LCL_CLOSE_BRAKET constants 2021-10-20 23:54:21 +03:00
Juha
14304e8180 LCL: Fix typos in virtual key constants. Issue #39434, patch by Don Siders. 2021-10-20 23:02:41 +03:00
Juha
99e4bd2515 LCL-GTK2: Use a new SysTray API by default. The old one fails to work in new Ubuntu versions + derivatives. Patch by dbannon. 2021-10-20 12:09:58 +03:00
Željan Rikalo
7f0e0cd0bd Qt,Qt5: fixed broken TTrayIcon popup menu after recreating popup menu handle. issue #38849 2021-10-19 14:54:10 +02:00
Dmitry Boyarintsev
4aaf8d270c cocoa: fix the filter index selection
(cherry picked from commit 8629f0f2b126d7137559d7273258a7c28c7a6bac)
2021-10-18 23:55:41 +03:00
dsiders
fea136a894 Docs: LazControls/listviewfilteredit. Removes extra short description in module topic. 2021-10-18 17:45:43 +01:00
mattias
0354b47bc4 updated makefiles 2021-10-18 14:32:30 +02:00
mattias
1c177dd9c2 tools: gitignore updatemakefiles linux binary 2021-10-18 14:31:31 +02:00
Martin
f8bc3ff316 IDE: added package dependency for LazDebuggerFp 2021-10-17 16:41:00 +02:00
Martin
dd31014237 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
2021-10-17 13:15:46 +00:00
Juha
c28cc988ec LazUtils: Implement TMask.MatchesWindowsMask for backwards compatibility. 2021-10-17 09:33:43 +03:00
dsiders
370e42c4e4 Docs: LCL/lclproc. Removes topics deprecated since version 2.1.
* Depends on 814e4ba4.
2021-10-17 02:27:52 +01:00
Juha
67111d9a30 LazUtils, Masks: Turn define RANGES_AUTOREVERSE into a run time option. Add constructors for legacy syntax. More tests. 2021-10-16 23:32:17 +03:00
wp_xyz
d6a9516c11 LCL/TCheckComboBox: Workaround for issues #39424 and #39427 2021-10-16 17:45:40 +02:00
Martin
ad741a8d7a 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 78bb88de35.
2021-10-16 13:41:59 +02:00
Martin
056cc6dd26 Installer, Win: Fix for git / restore binw32/binw64 2021-10-16 13:01:34 +02:00
Martin
78bb88de35 Disable PEEPHOLE opt in fpc 3.2.0 to fpc 3.2.3 => there is a bug that can cause crashed in fpdebug/lazutils
(cherry picked from commit 6d1185d76b)
2021-10-16 11:45:10 +02:00
Juha
a111270ed0 LazUtils: Don't use eWindowsQuirk_Extension3More for Windows mask. Makes *.pas match Unit1.pas.bak 2021-10-16 11:50:13 +03:00
Martin
f81cc24f83 Build scripts: GIT // git clone --depth=1 => "git describe" does not work, as no history is cloned / maybe clone the entire branch or at least depth 10000 on one single branch 2021-10-16 10:37:13 +02:00
Juha
05fdc3f8f3 LazUtils: Use String instead of RawByteString in Masks. Works equally well. 2021-10-16 11:09:36 +03:00