Commit Graph

65713 Commits

Author SHA1 Message Date
mattias
3e4403e691 codetools: skip star direcory when listing star directory 2023-07-31 13:30:36 +02:00
mattias
aa8213a2b4 lcl: gtk3: fixed getting style constraints 2023-07-31 13:30:36 +02:00
mattias
7eb893ea23 lcl: gtk3: fixed gtk warnings with docked forms 2023-07-31 13:30:36 +02:00
mattias
7d429b8940 anchordocking: clean up 2023-07-31 13:30:36 +02:00
Bart
c3823da117 LCL: first try at implementing TApplication.ActiveFormHandle property.
Needs black-box testing against Delphi, especially when either no active form exists yet, or
when the active form's Active property is False (e.g. minimized, hidden of a non-LCL form is shwoing modally).
Also needs to be debated wether the return value should be TLCLHandle.
2023-07-31 13:10:57 +02:00
Maxim Ganetsky
50e7d46c66 LCL: cleaned up some unused variables, issue #40414 2023-07-31 02:44:43 +03:00
rich2014
770e392d8e Cocoa: Fix GetKeyState (eg. Command/Option/Shift) that the principle is similar to 53cd3db
completely eliminate keystroke issue caused by improper reading of modifier keys.
it's because in TCocoaWidgetSet.GetKeyState(), the modifier key should not be obtained in real time, but should be obtained from the current event.
for example, when pressing Command+R in the IDE, it was originally a shortcut key for Run, but sometimes the character R is entered inadvertently.
2023-07-30 23:14:39 +08:00
rich2014
53cd3db19c LCL: Fix #40416: Mouse Message issue (Enter/Level/Move) 2023-07-30 21:55:11 +08:00
rich2014
5b6b7955cb Cocoa: simplify TCursorHelper by b184a37 2023-07-30 17:12:58 +08:00
Bart
15989485bf TTaskDialog: Win32WS: handle '\n' in caption of (radio)buttons (for backwards compatibility). 2023-07-29 23:59:33 +02:00
Bart
1729b47bbe TTaskDialog: remove obsolete comment in TWin32WSTaskDialog.Execute. 2023-07-29 23:35:55 +02:00
Bart
bff41e1f5d TTaskDialog: In Execute, use the Handle of the current active form for the ParentWnd parameter.
Based upon the documentation of Delphi: https://docwiki.embarcadero.com/Libraries/Alexandria/en/Vcl.Dialogs.TCustomTaskDialog.Execute
It makes Execute honour the tfRelativeToWindow flag.
2023-07-29 23:29:53 +02:00
Bart
732cfd1460 TTaskDialog: make TWin32WSTaskDialog.Execute published (as it's ancestor). 2023-07-29 23:14:23 +02:00
Bart
26361d1105 TTaskDialog: TWin32WSTaskDialog.Execute:
- If tfSizeToContent is set, set cxWidth to zero.
  Because https://learn.microsoft.com/en-us/windows/win32/api/commctrl/ns-commctrl-taskdialogconfig says so.
  For simple cases, I did not notice any difference though.
- Remove commeted out code and excessive whitespace.
2023-07-29 23:12:05 +02:00
wp_xyz
b4f8ae34b5 Tools/Lazdatadesktop: Fix LCLScaling in Windows. 2023-07-29 18:56:31 +02:00
Maxim Ganetsky
5652e05efd IDEDebugger: fixed crashes when manipulating breakpoints in BreakPoints dialog, patch by Martin 2023-07-29 16:19:30 +03:00
Juha
63bee05d67 IDE: Join boolean variables of TUnitInfo into FFlags set. 2023-07-29 15:18:11 +03:00
wp_xyz
fe828040ce Tools/Lazdatadesktop: Final (?) tuning of the application icons. By Roland Hahn. 2023-07-29 13:11:06 +02:00
wp_xyz
11b92b26c8 LCL/SpeedButton: Fix position of caption when no glyph is present. 2023-07-29 00:36:46 +02:00
dsiders
df99227b6b Docs: LCL/buttons. Updates content in the TCustomSpeedButton.MeasureDraw topic. 2023-07-28 23:07:32 +01:00
wp_xyz
07da832b28 LCL/SpeedButton: Fix positioning of Glyph and Caption. Issue #40410. Based on patch by Luca Olivetti. 2023-07-28 19:40:50 +02:00
Maxim Ganetsky
7de77442b7 IDE: regenerated translations and updated Russian translation 2023-07-28 20:06:42 +03:00
mattias
9bb7b14f14 lazbuild: fixed crash 2023-07-28 17:25:03 +01:00
mattias
ad640c5e38 ide: added Laz_FullVersion to compiler option cfg script 2023-07-28 16:55:03 +01:00
Bart
f48fe7983e TTaskDialog: add a comment why Execute always returns True. 2023-07-28 17:20:27 +02:00
Bart
033512d064 Revert "TTaskDialog: fix Result value of Execute method:"
Apparently the Delhi docs arw wrong (as in: Delphi does not do what the dosc say: it awill always return True, as long as the dialog was shown.
2023-07-28 17:13:41 +02:00
rich2014
e277fcd78b Cocoa: Cursor compatible with TGraphicControl 2023-07-28 22:51:18 +08:00
Bart
cbd7579c15 TTaskDialog: fix Result value of Execute method:
- previously it returned True if the dialog succeeded to show, even if the dialog was cancelled.
- now it is False if the dialog is canceled.
- See https://docwiki.embarcadero.com/Libraries/Alexandria/en/Vcl.Dialogs.TCustomTaskDialog.Execute
2023-07-28 16:31:35 +02:00
DomingoGP
0804282d52 Jedi code format: issue #40412 parser error in anonymous methods var/const/type sections. 2023-07-28 16:00:53 +02:00
mattias
6ceeb57076 IDE: added package option Write compiler config file 2023-07-28 14:50:48 +01:00
mattias
071135a4c9 IDE: added project option Write compiler config file 2023-07-28 14:50:48 +01:00
michl
4179f1b4b1 New Fixed removing of incorrect component properties in LFM with installed DockedFormEditor. Issue #40377. 2023-07-27 22:05:55 +02:00
michl
94afdceb9c Revert "Fixed removing of incorrect component properties in LFM with installed DockedFormEditor. Issue #40377."
This reverts commit 25a3b69252.
2023-07-27 20:35:18 +02:00
zeljan1
0878535faa Qt,Qt5,Qt6: Fixed result of TQtWidgetSet.DrawFrameControl. Issue #40380 2023-07-27 19:10:27 +02:00
Martin
c7cef13c39 LazDebuggerFp, test: add alias AnsiChar for Char 2023-07-27 17:41:46 +02:00
Martin
d3c5d91ce9 Debugger: Implement changing breakpoint location (line num in brk-property dialog).
- Update source editor marks
- Update FpDebug
2023-07-27 17:41:46 +02:00
Martin
0e1f76f481 LazDebuggerFp: Fix removing breakpoint, while thread-worker is still setting it. (possible race condition) 2023-07-27 17:41:45 +02:00
rich2014
2a6fa122d1 Cocoa: Fix #40395: TCocoaWidgetSet.PtInRegion() implemented 2023-07-27 22:12:47 +08:00
rich2014
285d0248e2 Cocoa: the cursor has better compatibility when switching windows at design time 2023-07-27 21:42:40 +08:00
rich2014
ead28bdcc6 Designer: Cursor Cache Old Pos comparison adjusted (Similar to ded870b) 2023-07-27 21:42:40 +08:00
wp_xyz
203dbd08fd Tools/LazDataDesktop: Improved version of the Connections icon. By Roland Hahn. 2023-07-27 13:35:50 +02:00
Martin
ae263321c1 REVERT: 41adb276bb "Remove obsolete checks for FPC versions earlier then 3.0."
- Not obsolete for the testcase
2023-07-27 12:55:31 +02:00
Bart
e259355d76 TTaskDialog: initial support for query capability (combobox or single line edit).
The implementation differs from the one in (now deprecated) LCLTaskDialog:
- the type of query is controlled by flags only (which are mutually exclusive)
- for single line edit, you can set passwordchar
- intial value of single line query has no influence on combobox
- initial value of combobox is controlled by integer value, not by text
2023-07-27 00:05:09 +02:00
michl
25a3b69252 Fixed removing of incorrect component properties in LFM with installed DockedFormEditor. Issue #40377. 2023-07-26 20:15:48 +02:00
Bart
2722337e33 TTaskDialog: layout the initial infrastructure to add Query capability to TTaskDialog. 2023-07-26 16:13:50 +02:00
Maxim Ganetsky
8045dda491 IDE: regenerated translations and updated Russian translation 2023-07-26 17:08:00 +03:00
mattias
62657fbfd4 ide: fixed SubTarget to Subtarget 2023-07-26 13:36:16 +01:00
Martin
dbdec84476 IdeDebugger: Breakpoint window, defer showing "new group" drag target, until mouse moves in drag. 2023-07-26 13:45:41 +02:00
rich2014
705a74b957 Cocoa: improve Enter key on the numeric keypad handled in KeyDown(), avoid beep 2023-07-26 19:44:25 +08:00
Martin
04b3d4b5d2 IdeDebugger: Breakpoint window, fix crash in delete selected breakpoints 2023-07-26 13:36:37 +02:00