Commit Graph

65899 Commits

Author SHA1 Message Date
Bart
e1d2db658f Refactoring TTaskDialog: remove hack of exposing TCustomTaskDialog.FWidth. It was unneccessary to begin with... 2023-07-24 11:12:55 +02:00
wp_xyz
5f5b9dce29 DataDict: New palette icon for TFPCodeGenerator by Roland Hahn. 2023-07-24 11:11:37 +02:00
Bart
b7cc27d3a5 Refactoring TTaskDialog:
- TWSTaskDialog.Execute: Don't cast ADlg to TTaskDialog.
- Adapt signature of function ExecuteLCLTaskDialog accordingly.
- Less debug output
2023-07-24 11:06:22 +02:00
Bart
c343cfe0d3 Refactoring TTaskDialog: remove some comments from TaskDialogEmulation unit. 2023-07-24 11:00:52 +02:00
Bart
80dc2c89b0 Refactoring TTaskDialog: undo all temprary changes in (now deprecated) LCLTaskDialog unit. 2023-07-24 10:58:20 +02:00
Bart
cc10035843 Refactoring TTaskDialog:
- Win32 WS: fix not returning ButtonID.
- Win32 WS: initialize RadioRes return value.
2023-07-24 10:52:11 +02:00
wp_xyz
3b1c10423f Tools/LazDataDesktop: Some new/improved icons by Roland Hahn. Improvements in data dictionary popup menu translation. 2023-07-24 10:35:41 +02:00
Bart
b9634c255d Refactoring TTaskDialog: switch over to the new code, remove dependency on deprecated unit LCLTaskDialog. 2023-07-24 10:31:34 +02:00
Bart
ca1e231417 Refactoring TTaskDialog:
- move procedure PrepareTaskDialogConfig to Execute, since it refrences variables on the stack
- move function DialogBaseUnits
- in callbackfunction only test if dwRefData is correct if a button is clicked, and only if assertions are enabled
- rename some nested procedures and variables
- less debug output
- TWin32WSTaskDialog.Execute now properly returns the result of TaskDialogIndirect
- use CommCtrl.TaskDialogIndirect, change the mechanisme of detecting wether this is supported.
2023-07-24 10:20:00 +02:00
Maxim Ganetsky
90812b4afa LazDataDesktop: regenerated translations 2023-07-24 02:29:44 +03:00
Maxim Ganetsky
477cd6947f IDEConfig: moved relevant translations from IDE 2023-07-24 02:22:21 +03:00
Maxim Ganetsky
3cfccde07a IDE: regenerated translations and updated Russian translation 2023-07-24 02:19:35 +03:00
Bart
92f83f8b59 Refactoring TTaskDialog:
- first attempt to get Win32 WS code working (currently littered with writeln() statements, so crashes if no console!)
- fix ModalResult in OnButtonClicked for emulated dialog.
2023-07-24 01:08:33 +02:00
wp_xyz
7c6659ba46 Tools/LazDatadesktop: Improved layout 2023-07-24 00:52:21 +02:00
wp_xyz
fe3b5ca955 Tools/LazDataDesktop: Refactoring of icons: new icons by Roland Hahn merged to a single image list in new data module. 2023-07-24 00:22:04 +02:00
Martin
24dfc32172 VTV: Fix wrong node.TotalHeight. Issue #40401 2023-07-23 23:17:21 +02:00
wp_xyz
a0179e8133 LazDatadesktop: Update German translation 2023-07-23 22:56:54 +02:00
Juha
095b604997 IDE: Move MsgViewShowFPCMsgLinesCompiled to EnvironmentOptions. Allows to reduce dependencies. Cleanup, reorder. 2023-07-23 22:35:22 +03:00
Juha
636e902e6a Move units IDECmdLine, IDEGuiCmdLine, IDEProcs and CompOptsModes to IdeConfig package. 2023-07-23 22:34:21 +03:00
Martin
0cd1374f3c FpDebug: Fix "=" and "<>" work with booleans 2023-07-23 21:06:15 +02:00
Martin
34b7126915 IdeDebugger: Fix deleting multiple selected watches / crashed if some sub-watches were selected 2023-07-23 14:33:56 +02:00
rich2014
9811b6927f Cocoa: Enter key on the numeric keypad handled in KeyDown(), avoid beep 2023-07-23 19:16:11 +08:00
Juha
c539d373e7 IDE: Simplify TUnitInfo.NeedsSaveToDisk and don't check LFM if the unit is an LFM file itself. 2023-07-23 10:04:01 +03:00
wp_xyz
138b8f2eae OPM: Improved layout (overlapping label with localized strings) 2023-07-23 01:17:48 +02:00
Bart
4440804744 Refactoring TTaskDialog: start working on Win32 widgetset implementation. Far from functional yet. 2023-07-22 17:21:01 +02:00
Bart
4442949a29 Refactoring TTaskDialog: remove property ParentWindow (added in 61fefaa7), it's not longer needed. 2023-07-22 16:03:50 +02:00
Bart
85c1fff32d Refactoring TTaskDialog: move (and rename) constants for first radio/button index to Dialogs unit and use them there as well. 2023-07-22 15:55:17 +02:00
Bart
b3995a78df Refactoring TTaskDialog: TLCLTaskDialog: rename 2 methods. No functional changes. 2023-07-22 15:43:38 +02:00
Bart
30ed531405 Refactoring TTaskDialog: TLCLTaskDialog: factor out AddLabel. 2023-07-22 15:39:34 +02:00
Bart
17fee115bf Refactoring TTaskDialog: TLCLTaskDialog: factor out AddFooter. 2023-07-22 10:48:11 +02:00
Juha
4ed8ff9b1c IDE: Prevent an error "Unable to find the component class ..." with an .lfm file open in editor. Part of issue #40377. 2023-07-22 10:49:38 +03:00
Maxim Ganetsky
31bbbe6b1e IDE: regenerated translations and updated Russian translation 2023-07-22 02:54:44 +03:00
Bart
d9861e8170 Refactoring TTaskDialog: some refactoring and cleanup of TLCLTaskDialog. 2023-07-21 23:36:15 +02:00
Martin
761e1107bb Ide, Codetools: Added colors for recent identifier completion items to schemes 2023-07-21 22:48:04 +02:00
Martin
4f1297912a Ide, Codetools: IdentifierCompletion, add color for recent Items. Issue #40392 Based(Amended) on Patch by Bruno K 2023-07-21 22:47:39 +02:00
Martin
b087b9f55e Codetools: IdentifierCompletion, apply history limit to filtered list 2023-07-21 22:45:43 +02:00
dsiders
b9cdb23eed Docs: LCL/forms. Clarifies content in NewFormWasCreated and AddHandlerNewFormCreated topics in TScreen. Depends on 3844d008, 5a647cd4. 2023-07-21 19:47:12 +01:00
Juha
fd2593f05b IDE: Improve removing unknown component properties. Issue #40377. 2023-07-21 13:21:36 +03:00
dsiders
3844d00814 Docs: LCL/forms. Adds TScreen, TScreenNotification topics for changes in 5a647cd4. Issue #39288. 2023-07-21 09:04:38 +01:00
Martin
3c1dcebf6f IDE, Debugger: Fixed "copy all" after ae1c9e4710 "add "copy line" to callstack window." Issue #40392 2023-07-21 01:40:41 +02:00
Maxim Ganetsky
8a1b73b989 IDEDebugger: updated Russian translation 2023-07-21 02:07:29 +03:00
Juha
5a647cd4e1 DockedFormEditor: Solve the unrecoverable loop differently. Add a new handler for it. Issue #39288. 2023-07-20 23:46:25 +03:00
Bart
677a73c38c Refactoring TTaskDialog: fix compilation of Dialogs unit on non-windows platforms. 2023-07-20 20:17:40 +02:00
Bart
9a3e5c120d Refactoring TTaskDialog:
- Change signature of TWSTaskDialog.Execute and related functions/methods so we can set ParentWnd and retrieve RadioRes.
The TLCLTaskDialog now should act the same as the old emulated version (unit LCLTaskDialog).
2023-07-20 20:09:38 +02:00
Bart
1420ce0a69 Refactoring TTaskDialog:
- Use meaningfull names for private vars of TLCLTaskDialog
- Factor out SetupPanel
- Consistent capitalization of "Result" ,"True" and "False"
- Remove property VerifyChecked, set appropriate flag instead
- More debugln statements
- Add some comments
The emulated dialog is now more or less functional (we don't return RadioResult yet).
2023-07-20 19:54:20 +02:00
Martin
ae1c9e4710 IDE, Debugger: add "copy line" to callstack window. Issue #40392 Patch by Bruno K 2023-07-20 19:21:34 +02:00
Martin
c74bd43729 LazLogger: optimized some log function 2023-07-20 18:23:40 +02:00
Maxim Ganetsky
86b559253b CI: enabled 'tests-codetools' job to run by default 2023-07-20 16:23:02 +00:00
Maxim Ganetsky
2e5ff7abf6 IDE, Backup Options page: store Subdirectory comboboxes '(no subdirectory)' values language independently 2023-07-20 19:13:24 +03:00
Martin
4d05ca1d2e LazLogger: optimized some log function by making the open array a "const param". 2023-07-20 18:05:57 +02:00