Commit Graph

66032 Commits

Author SHA1 Message Date
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
Michaël Van Canneyt
2c12a7e228 * Parameter support when executing query 2023-08-10 22:32:32 +02:00
Martin
ebe39d7d54 IDE, Identifier-Completion: fix crash when using template completion. Issue #40439 2023-08-10 09:38:19 +02:00
Bart
91052758c8 TaskDialog: fix typo in variable/propertyname (collaps -> collapse), as pointed out by Maxim. 2023-08-09 23:00:40 +02:00
ACTom
29240dfd2b IDE: Chinese translation update, merge request !225 2023-08-09 22:27:56 +03:00
Michaël Van Canneyt
2a1a2a68a5 * Scroll result display to the end 2023-08-09 21:21:37 +02:00
Maxim Ganetsky
57fe53bd0d VirtualTreeView: adjust IFDEFS for Qt4, Qt5, Qt6 widgetsets to enable asm code for both 32 bit and 64 bit x86 CPUs, issue #40431 2023-08-09 16:41:11 +03:00
Werner Pamler
87d776d7ca Merge branch 'main' into 'main'
fpVectorial and odtVectorialWriter updates

See merge request freepascal.org/lazarus/lazarus!222
2023-08-09 13:40:15 +00:00
Michaël Van Canneyt
57a46deca4 * Add copy from/to pascal code menu items 2023-08-09 14:11:34 +02:00
wp_xyz
b066fc82cd aggpass: Complete restructuring of sample projects 2023-08-09 14:07:09 +02:00
Bart
321020750e TaskDialog: TLCLTaskDialog:
- trying to simplify laying out the controls.
- use more meaningfull variable and constant names.
- cut down on "magic numbers".
- try to use the same left margins everywhere (ToDo: right margins).
- simplify calculation the global margins: now only depends on tfEmulateClassicStyle, not on presence of an icon.
- use a slightly smaller left margin for not tfEmulateClassicStyle (16 instead of 24), looks a bit better when compared to native Vista+ dialog.
- more factoring out.
- as a byproduct: resolves issue #40437.
- less debug output.
2023-08-09 13:39:18 +02:00
Juha
441266a440 FreeType: Clean up TFreeTypeFont.GetVersionNumber. Issue #40438. 2023-08-09 14:05:49 +03:00
wp_xyz
4bf49d12ad aggpas: Some more sample projects converted from Delphi to Lazarus 2023-08-09 11:07:04 +02:00
Michaël Van Canneyt
1729571841 * Add popup menu to editor, scrollbars to result pane memo 2023-08-09 08:55:48 +02:00
Michaël Van Canneyt
d13e7e41b1 * Register classes, RegisterNoIcon does not actually register classes 2023-08-09 08:55:48 +02:00
wp_xyz
feac61a662 AggPas: Beginning to convert sample projects from Delphi to Lazarus and moving them into separate directories. 2023-08-09 01:24:47 +02:00
Maxim Ganetsky
b101a75d7e VirtualTreeView: fix building with Qt4 widgetset on non-x86 platforms (unify with Qt5 and Qt6 widgetsets), issue #40431 2023-08-09 01:58:02 +03:00
Bart
4a98bd92be TaskDialog: TLCLTaskDialog: right align (Simple)Query with CommandLinkButtons (if these are present). 2023-08-08 23:22:56 +02:00