Commit Graph

65899 Commits

Author SHA1 Message Date
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
Bart
9762393535 TaskDialog: TLCLTaskDialog:
- less magic numbers
- make GlobalLeftMargin a global vraible for the form (-> less params for some methods)
- calculate buttonheights, margins and spacings just once
- some comments
2023-08-14 22:45:31 +02:00
mattias
d64ce3bd4d opengl: indentation 2023-08-14 22:18:03 +02:00
mattias
8cd56087d9 fixed make bigide lclextension 2023-08-14 21:46:11 +02:00
ACTom
b47891cfef Translations: Chinese translation update, merge request !226 2023-08-14 22:23:30 +03:00
mattias
1a81ac9a12 update makefiles 2023-08-14 21:05:33 +02:00
mattias
25c110d28f ide: fixed note for compile reason 2023-08-14 20:49:10 +02:00
mattias
8d92e3b67d updated makefiles 2023-08-14 20:31:20 +02:00
mattias
44c8d90058 ide: fixed ide macro loop detection 2023-08-14 20:03:01 +02:00
Martin
afb5e6376c IDE, Identifier-Completion: fix sorting in identifier completion. Issue #40332 / Restore order-precedence for Compatibility. 2023-08-14 18:51:29 +02:00
mattias
cbe5f931fa makefiles: fixed order, split packages in folder components into categories lazbuildpackages, lazbuildlclpackages, idepackages 2023-08-14 16:46:31 +02:00
mattias
e6a7b31d4c IDE: package editor: unified store/restore filter, selection and scroll 2023-08-14 15:11:07 +02:00
mattias
99810467be lazcontrols: TTreeFilterEdit: restore scroll position 2023-08-14 15:08:53 +02:00
mattias
ee218d1fa0 lcl: TTreeView: public ScrolledLeft/Top, PathDelimiter 2023-08-14 15:08:23 +02:00
mattias
60befe6342 ide: package fallback output dir: simplified and switch back when writable again 2023-08-14 11:42:51 +02:00
mattias
072360b4c8 ide: started GetFormEditorLookupRoot 2023-08-13 23:41:27 +02:00
mattias
007fcc3b9d lcl: added semicolons 2023-08-13 21:46:15 +02:00
mattias
b73e4dcecf IDE: fixed typos and comment 2023-08-13 21:45:16 +02:00
mattias
90da7e38d8 ide: package fallback output directory: delete if not needed, switch back 2023-08-13 21:09:04 +02:00
dsiders
42a89dc628 Docs: LCL/stdctrls. Reorders topics to match declaration order in 44d7786c19. 2023-08-12 18:57:22 +01:00
Michaël Van Canneyt
d62ee4e3ba * Allow to delete actions for which no element ID exists 2023-08-12 15:59:19 +02:00
wp_xyz
0cbb6646f7 LCL/all units with controls: stream events at the end. 2023-08-12 14:55:46 +02:00
Ondrej Pokorny
44d7786c19 StdCtrls: stream events in the end 2023-08-12 12:28:44 +02:00
Bart
1ca27c4fa5 TaskDialog: TLCLTaskDialog: place controls on 3 different panels. This will make it easier to move the controls
when the dialog gets expanded or collapsed (which has yet to be implemented).
2023-08-12 11:45:56 +02:00
Michaël Van Canneyt
551d3d8b15 * Correct support for TDBHTMLElementAction 2023-08-10 22:32:32 +02:00