Commit Graph

22151 Commits

Author SHA1 Message Date
Juha
c71e7356c4 LazBuild: Default to Cocoa widgetset on 64-bit Darwin. Issue #39293, patch by Chris Rorden. 2021-12-25 22:00:28 +02:00
Maxim Ganetsky
7a102468ce LCL: replaced Mac OS X with macOS in resource strings, regenerated translations and updated Russian translation 2021-12-21 01:58:04 +03:00
Ondrej Pokorny
5f9aaa6cab LCL: reformatting according to CodeTools 2021-12-17 10:18:01 +01:00
Ondrej Pokorny
f05922b05d LCL: TControl.ClientToScreen(TRect) overload - Delphi compatibility 2021-12-17 10:16:49 +01:00
wp_xyz
dbf1fef155 TDateEdit: Fix calendar not closing on double-click. Issue #39519, patch by Daniel Rikowski. 2021-12-17 00:24:40 +01:00
wp_xyz
7114800c05 LCL/TCustomGrid, TCustomCheckBoxEx: Add missing Notification method to react on destruction of TitleImageList and Images, respectively. 2021-12-16 14:52:01 +01:00
wp_xyz
6efaae3d24 LCL/TColorBox, TColorListbox: Add missing Notification procedure. Issue #39518. 2021-12-16 14:06:26 +01:00
wp_xyz
285ed6ea0d LCL/TColorButton: Add missing Notification method to prevent crash when assigned ColorDialog is deleted. 2021-12-16 00:37:28 +01:00
Ondrej Pokorny
fdd5721318 LCL: fix case of Integer/Boolean/string types 2021-12-13 10:23:37 +01:00
Ondrej Pokorny
8438ed9d98 Revert "LCL: Add TCustomFrame.CreateParams. Somehow fixes issue #25124."
This reverts commit 20c1e10aca.
2021-11-29 22:05:19 +01:00
Juha
20c1e10aca LCL: Add TCustomFrame.CreateParams. Somehow fixes issue #25124. 2021-11-29 11:26:58 +02:00
Ondrej Pokorny
89162e9c1c LCL: move crScreenCursor to a private const of TScreen so that it isn't used elsewhere 2021-11-26 13:33:48 +01:00
Ondrej Pokorny
d13c67e680 lcl: TForm.ShowModal: override temporary cursors with Screen.Cursor and not crDefault. Issue #39486 2021-11-26 11:23:29 +01:00
Maxim Ganetsky
738e48c6b7 Translations: French translation update by Gilles Vasseur, issue #39487 2021-11-26 03:47:29 +03:00
wp_xyz
0a2c033085 lcl/win32: Revert c5fae8fdd1 (date: 2021/11/20, issue #39472). 2021-11-25 23:57:21 +01:00
wp_xyz
2e7022648b LCL: Add missing dialog shield icon (by Roland Hahn). 2021-11-20 11:29:39 +01:00
wp_xyz
c5fae8fdd1 lcl/win32: Fix of disappearing underline of CourierNew text for some font sizes. Issue #39472. 2021-11-20 10:35:09 +01:00
wp_xyz
5438db7700 LCL: Give access to dialog icon idDialogShield 2021-11-19 23:34:09 +01:00
wp_xyz
c226141ca4 LCL/images: New high-dpi aware dialog images by Roland Hahn. 2021-11-19 23:05:17 +01:00
Ondrej Pokorny
20009b685b win32: use a WindowPosChanging hack in SetBounds to prevent Windows to change the LCL position (replaces c5c2329f). Issue #39479 2021-11-19 20:49:18 +01:00
Ondrej Pokorny
89cd2a1045 win32: fix setting TMenuItem.Visible := True in the top menu bar. Issue #39458 2021-11-19 16:56:10 +01:00
Ondrej Pokorny
c5c2329f62 win32: use SetWindowPlacement in SetBounds instead of SetWindowPos. Issue #39479 2021-11-19 15:50:41 +01:00
Ondrej Pokorny
5f82f6ba31 TCustomForm: MakeFullyVisible should use WorkAreaRect as default (sensible and also Delphi-compatible) 2021-11-19 15:17:18 +01:00
Ondrej Pokorny
cbafa07331 TCustomForm: rewrite MoveToDefaultPosition and fix regression after 5d1e0bb8e9 2021-11-19 15:17:18 +01:00
Ondrej Pokorny
c187dc8f26 Fix warning 2021-11-19 15:17:18 +01:00
Ondrej Pokorny
677b96455e TButtonPanel.DefaultButton: no default button support 2021-11-18 18:31:13 +01:00
Ondrej Pokorny
28a1fe7da8 grids: eat escape key only if handled by the editor 2021-11-18 15:13:56 +01:00
Juha
4b12f85ede LCL: Publish TDBEdit.TextHint. Issue #39470. 2021-11-17 18:45:16 +02:00
Patriccollu
dda3cc7c81 Translations: addied LCL Corsican translation
Merge request freepascal.org/lazarus/lazarus!47
2021-11-17 01:05:57 +03:00
Sven Barth
53fe133e43 * for FPC 3.2.3 and newer alias GraphType.TGraphicsColor to System.UITypes.TColor, Graphics.PColor to System.UITypes.PColor and LCLType.COLORREF to System.UITypes.TColorRef to avoid type conflicts when both System.UITypes and the LCL units are used
Merge request freepascal.org/lazarus/lazarus!46 with minor change (enabled aliasing for FPC 3.2.3 too).
2021-11-16 00:27:36 +03:00
Juha
43da8c5047 LCL-fpGUI: Fix compilation. Issue #39354, patch by Peter Blackman. 2021-11-10 20:42:26 +02:00
mattias
6221e1c546 lcl: THintWindow: made some protected methods virtual 2021-11-09 15:00:41 +01:00
Željan Rikalo
d43d4618e4 Qt,Qt5: fixed OnCloseUp event for TDBCustomComboBox. issue #39455 2021-11-08 15:08:07 +01:00
Roland Hahn
5aee9d5c07 Aktualisieren lcl/include/bitbtn.inc 2021-11-07 10:26:45 +00:00
Juha
da5bd4801c LCL-GTK3: Prevent crash in SaveDialog creation. For some reason virtual class functions confused it. 2021-11-06 03:20:16 +02:00
Juha
0d20c53cd4 LCL-GTK3: Prevent crash when Open/SaveDialog is closed. Remove 'destroy' signal handler. Still no memory leaks. 2021-11-06 03:20:16 +02:00
Juha
776e1e91ad LCL-GTK3: Comment out abundant debug lines. 2021-11-06 02:43:33 +02:00
Juha Manninen
1f03ebf6c8 Merge branch 'win32fillchar' into 'main'
win32: replace FillChar(V) to V:= Default(TV)

See merge request freepascal.org/lazarus/lazarus!37
2021-11-05 20:33:44 +00:00
mattias
adafca05c0 lcl: fixed TSpeedButton with Action and changing Action.ImageIndex 2021-11-05 11:48:00 +01:00
Alexey
2cca6ef676 win32: replace FillChar->Default 2021-11-04 01:31:52 +03:00
Juha Manninen
aa74cc8211 Merge branch 'win32-hints' into 'main'
fix many compiler hints, see https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/39445

See merge request freepascal.org/lazarus/lazarus!33
2021-11-03 18:59:37 +00:00
Juha
d5596c80a9 LCL: Remove tests for define WithOldDebugln. It has been there since 2012. 2021-10-31 09:51:28 +02:00
Alexey
ff7d73f798 more proper vars initing 2021-10-29 16:33:46 +03:00
wp_xyz
06701d05a7 LCL/ShellCtrls: Fix issues in resizing the width of TShellListView, issue #39447. 2021-10-29 11:33:40 +02:00
Juha
75aebbee85 LCL: Consider that MemSize can return 0 with a custom MemoryManager. Merge request !27 by Sergey Larin. 2021-10-28 11:23:36 +03:00
Juha
f20d0dab9c LCL: In LogFontAndName compare only upto the terminating #0. There may be garbage after it. Merge request !30 by Sergey Larin. 2021-10-28 01:35:12 +03:00
wp_xyz
e6e2178ca7 LCL/Menus: Fix owner-drawn menu having zero item size if not specified by OnMeasureItem. Issue #35972, patch by dmz73. 2021-10-27 23:26:44 +02:00
Alexey
b689a8da81 fix many compiler hints, see https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/39445 2021-10-27 22:03:32 +03:00
Juha
964d5f4d69 LazUtils: Improve naming of types and variables in Masks. Follow naming conventions of other code. 2021-10-23 23:28:30 +03:00
Maxim Ganetsky
a4bb9309b7 LCL: actually show to user deprecated messages for VK_LCL_OPEN_BRAKET and VK_LCL_CLOSE_BRAKET constants 2021-10-20 23:54:21 +03:00