Commit Graph

65923 Commits

Author SHA1 Message Date
dsiders
10f65ee4fd Docs: LCL/controls. Fixes typos in See Also links. 2023-08-23 02:01:32 +01:00
dsiders
60b8ad9d52 Docs: LCL/controls. Updates content in TWinControl.SetChildZPosition to reflect changes in 853461fe. 2023-08-23 01:28:16 +01:00
Bart
7c055798ef Revert "Win32: Vista dialogs: reverse the logic of applying FOS_STRICTFILETYPES to IFileDialog."
It causes a regression in the IDE.
The old logic is still wrong, but must be fixed in a different way, yet to be discussed.
This reverts commit ed3e261065.
2023-08-22 23:51:06 +02:00
Željan Rikalo
853461fed6 LCL: fixed TWinControl.SetChildZPosition, WS must be informed about change of order in any case. issue #40450 2023-08-22 19:50:19 +02:00
Željan Rikalo
2a339f8cb1 Qt,Qt5,Qt6: fixed borderless popup over parent form with FormStyle = fsStayOnTop. issue #40440 2023-08-22 19:28:56 +02:00
wp_xyz
24e996ddef fpvectorial: Add new pdf writer to package. Modify fpvTextWriteTest demo to support pdfwriter. 2023-08-22 18:49:35 +02:00
Werner Pamler
4a653549e1 Merge branch 'fpvectorial_pdfwriter' into 'main'
fpVectorial PDF writer for text documents

See merge request freepascal.org/lazarus/lazarus!230
2023-08-22 16:47:16 +00:00
wp_xyz
e32f823789 LHelp: Fix duplicate hint windows, issue #40456 2023-08-22 18:16:28 +02:00
Moritz Lamprecht
0fafee823a added pdf document writer 2023-08-22 15:10:38 +00:00
mattias
b59196e223 ide: fixed search ancestor lfm for lfm with unitnames 2023-08-22 16:25:59 +02:00
mattias
5763fb14c6 codetools: added AnsiChar 2023-08-22 16:25:59 +02:00
Martin
2234c02716 IdeDebugger: Watches, fix updating array-nav-bar while scrolling 2023-08-22 12:45:34 +02:00
Michaël Van Canneyt
a3566d0f8e * Remove actions for which there is no tag 2023-08-22 08:41:47 +02:00
Bart
cf5777a164 TTaskDialog: implement property Handle. Makes it possible to send messages to the dialog.
This is needed to implement e.g. progressbar and can be used to update on-the-fly the contents of the dialog.
2023-08-21 22:11:25 +02:00
ACTom
dde185549b Translations: Chinese translation update, merge request !229 2023-08-21 01:45:06 +03:00
Martin
ab8f817be8 IdeDebugger: Watches, hide array-nav-bar when collapsing 2023-08-20 15:55:37 +02:00
Martin
7def84841a IdeDebugger: fix crash in watches (changing watch, with open children) 2023-08-20 15:54:24 +02:00
Bart
7bf0a50a7b TTaskDialog: remove outdated comments. 2023-08-20 15:15:10 +02:00
Bart
ab5d084ade TTaskDialog: publish properties CustomFooterIcon and CustomMainIcon. 2023-08-20 14:54:50 +02:00
Bart
86c3d72d4d TTaskDialog: Win32 WS: prevent possible crash when accessing CustomMainIcon/CustomFooterIcon. 2023-08-20 14:33:19 +02:00
Bart
e975ddddf5 TTaskDialog: implement flags tfUseHIconMain and tfUseHIconFooter for emulated dialog as well.
Resolves issue #40449.
2023-08-20 14:29:25 +02:00
Bart
d7801adb2a TTaskDialog: implement CustomMainIcon and CustomFooterIcon, needed for flags tfUseHIconMain and tfUseHIconFooter respectively.
The flags now work on Windows Vista+ native dialog.
Partly resolves issue #40449.
2023-08-20 13:48:50 +02:00
mattias
fe4a986145 ide: fixed parsing fpc linker error ld.bfd and file:linenumber: msg 2023-08-20 11:06:29 +02:00
dsiders
26a0f8d7e4 Docs: LCL/comctrls. Updates content in TStatusBar topics.
* Includes:
*  Font, Panels, SimpleText, SimplePanel, OnDrawPanel, OnHint,
*  DrawPanel, LMDrawItem
2023-08-19 18:58:16 +01:00
Bart
ed3e261065 Win32: Vista dialogs: reverse the logic of applying FOS_STRICTFILETYPES to IFileDialog. 2023-08-19 19:32:53 +02:00
Bart
e5c0139d49 Win32: factor out GetDefaultExt (code duplication). 2023-08-19 19:04:56 +02:00
Bart
bf38c3cfdc Win32: Win32Extra: ifdef the declaration of TD_QUESTION_ICON. 2023-08-19 18:23:16 +02:00
Bart
284dd7b9b4 Win32: Win32Extra: document in what fpc version TD_QUESTION_ICON is added, so we can remove it later. 2023-08-19 13:54:15 +02:00
Maxim Ganetsky
904b5fd71c LCL (Win32, CustomDrawn): removed constants already present in Windows/ShlObj units, issue #40451 2023-08-19 02:26:26 +03:00
Patriccollu
3370b74839 Translations: Corsican translation update, merge request !228 2023-08-18 22:50:18 +03:00
ACTom
f58e090182 Translations: Chinese translation update, merge request !227 2023-08-18 22:38:02 +03:00
Bart
435181519f Win32: remove some TaskDialog related definitions from Win32Extra unit that are already defined in fpc's CommCtrl unit. 2023-08-18 18:30:20 +02:00
Bart
9f9e1542f2 TaskDialog: Win32 WS: cleanup. No functional changes. 2023-08-18 18:07:11 +02:00
Bart
8012169318 TaskDialog: TLCLTaskDialog and Win32 WS: remove type definitions (and conversion routines) that were copied from the old LCLTaskDialog unit. Part 2. 2023-08-18 17:57:18 +02:00
Bart
17bf02baad TaskDialog: TLCLTaskDialog and Win32 WS: remove type definitions (and conversion routines) that were copied from the old LCLTaskDialog unit. 2023-08-18 17:55:15 +02:00
Bart
bdd7515d79 TaskDialog: Win32 WS: move declaration of TD_QUESTION_ICON to win32extra unit. 2023-08-18 17:18:39 +02:00
Juha
ac9232ae35 LCL-GTK3: Support TFrame as a MenuItem's owner. Issue #40446, patch by haword. 2023-08-18 12:10:42 +03:00
Juha
6d4a4ec202 IDE: Cleanup TFileOpener.OpenMainUnit. 2023-08-18 12:05:59 +03:00
Bart
0f6b5606ed TaskDialog: Win32 WS: comment out unused const definition. 2023-08-17 23:45:06 +02:00
Bart
65106f1e28 TaskDialog: Win32 WS: use pszMainIcon and pszFooterIcon fields of TTaskDialogConfig structure to set MainIcon and FooterIcon.
Gets rid of some constant definitions which are magic numbers that I was unable to trace why they work at all.
The new constants are predefined by MS, with the exception of TD_QUESTION_ICON.
Also this way we use the same constants for both MainIcon and FooterIcon.
2023-08-17 23:41:23 +02:00
Bart
0112fc4456 TaskDialog: add comments to TTaskDialogFlag definitions. 2023-08-17 19:05:30 +02:00
Bart
90ab2ac4c7 TaskDialog: Win32 WS: don't let TaskDialogIndirect fail if tfUseHIconMain or tfUseHIconFooter is set.
For now set icons to none in this case.
Temporary wordaround for issue #40449.
2023-08-17 18:59:32 +02:00
Maxim Ganetsky
ee7fe3b9d1 LCL: updated Russian translation 2023-08-17 19:38:32 +03:00
Bart
ca6ad3064d TaskDialog: Win32 WS: add debugging code for issue #40449. 2023-08-17 18:31:37 +02:00
Bart
07f5fca767 TaskDialog: TLCLTaskDialog: use resourcestring for default Expand/Collapse buttons. 2023-08-17 17:20:07 +02:00
Bart
898c45597a TaskDialog: TLCLTaskDialog: remove custom translate function.
It was inherited from the now deprecated LCLTaskDialog unit and is called upon resource strings.
This is not the "normal" way of translating resource strings: users should use the translation unit for that.
2023-08-17 17:12:57 +02:00
Bart
8fab0d8cde TaskDialog: TLCLTaskDialog:
- fix crash if MainIcon = tdiNone
- fix left-aligning ExpandedText in footer area if FooterIcon = tdiNone
- remove unused parameter from method declaration.
2023-08-17 16:53:55 +02:00
Bart
925b576e48 TaskDialog: TLCLTaskDialog: implement Expand/Collapse. Resolves issues ##31397 and ##31396. 2023-08-16 23:39:04 +02:00
Bart
95ebf74b26 TaskDialog: TLCLTaskDialog: add license info and general comment explaining what the aim of the unit is. 2023-08-16 11:03:57 +02:00
Martin
17e62ec5c0 IDE, Identifier-Completion: fix overloaded function in history list. Issue #40332
- Adding 2 versions of an overloaded function did not work. The overloaded params were compared with different functions.
2023-08-14 23:37:19 +02:00