Željan Rikalo
85aa06c1d8
LCL: proper initialization of dragimagelist position in ShowDragImage manually. Issue #40640
2023-12-13 16:02:55 +01:00
0x4A4D00
e84cc69788
Update Version of Windows qt6pas6 dll
2023-12-12 13:56:48 +00:00
Juha
728725bd7f
LCL-CustomDrawn: Fix TButton's caption. Issue #40638 , patch by Alexey Torgashin.
2023-12-11 22:39:46 +02:00
rich2014
34b0afa4d8
Cocoa: Fix the issue of not being able to turn pages in the DatePickerForm from ModalForm
2023-12-11 20:45:22 +08:00
rich2014
189a26739f
Cocoa: replace deprecated functions in CocoaScrollers
2023-12-10 20:51:03 +08:00
rich2014
3bfa4b5a16
Cocoa: avoid sending unnecessary KillFocus/SentFocus messages and keep consistent with win32
2023-12-10 13:59:37 +08:00
rich2014
4746c886bd
Cocoa: Fix the issue that KillFocus message is sent to the wrong control when the control is a FieldEditor #40635
2023-12-10 13:37:27 +08:00
Abou Al Montacir
fb3002163e
GTK3: Improved initial size of created windows by setting constraints.
2023-12-09 14:18:36 +01:00
Maxim Ganetsky
e2c8faccd9
LCL-Gtk2: Ignore temporary windows (like dragging image) when selecting a target during Drag'n'Drop action. Patch by Alexander (Rouse_) Bagel, issue #40637 .
2023-12-08 01:42:54 +03:00
rich2014
f86dc6fdc1
Cocoa: improve TCocoaTableListView.initWithFrame() compatibility
2023-12-06 00:40:48 +08:00
rich2014
cccd1f28b8
Cocoa: NSTableView Style setting supported at Runtime #40633
2023-12-06 00:35:09 +08:00
rich2014
fe69ea4048
Cocoa: NSTableViewStyle added, by Ross Hemingway
2023-12-06 00:35:09 +08:00
rich2014
9c48a2501d
Cocoa: move config variables from CocoaConst into CocoaConfig
2023-12-06 00:35:09 +08:00
Željan Rikalo
ddc2c4135b
Qt,Qt5,Qt6: fixed mouse capture for TEdit and TComboBox, see details in related issue. Issue #40379
2023-12-05 16:32:37 +01:00
Maxim Ganetsky
469e1318dd
LCL: Do not force-clear mouse capture flag on creation of TCustomEdit and TCustomComboBox, issue #40379 .
...
Fixes text selection of TEdit and TComboBox on Gtk2 widgetset.
This effectively reverts the following commits:
Commit 27d0c29fb7
(introduced long time
ago to workaround Qt* widgetsets problems, which will be fixed
separately).
Commit e4494cf4cd
(workaround for Gtk2
problems caused by the first one).
2023-12-05 17:25:51 +03:00
wp_xyz
ca219eca4b
LCL/TLabeledEdit: Allow to change TLabeledEdit.EditLabel.Layout, publush TLabeledEdit.EditLabel.Alignment (see https://forum.lazarus.freepascal.org/index.php/topic,65452.msg498672.html )
2023-12-05 12:18:27 +01:00
rich2014
119f21dcaf
Cocoa: Fix #40628 , crash when double-clicking a date from the calendar
2023-12-05 00:34:41 +08:00
rich2014
3408482979
Cocoa: Fix the issue that DatePickerForm may be covered by the ModalForm
2023-12-04 23:45:00 +08:00
rich2014
aab12c6c54
Cocoa: Control supported in TCocoaWidgetSet.GetWindowRect()
2023-12-04 23:45:00 +08:00
Abou Al Montacir
f195540fe8
GTK3: Fixed cursor update when dragging.
...
Fix #40617 .
2023-12-03 18:45:41 +01:00
Maxim Ganetsky
86218cf48d
LCL-Gtk2: Correctly clear input flag in IME mode to avoid double char input. Issue #40630 , based on patch by rasberryrabbit.
2023-12-03 19:05:36 +03:00
Juha
425372ee74
LCL-GTK2: Make TrayIcon more configurable based on libraries and features provided by a distro. Issue #40629 , patch by dbannon.
2023-12-03 17:49:20 +02:00
Martin
40421d987a
LCL/WS: change LazLogger to LazLoggerBase
2023-12-03 15:58:47 +01:00
Željan Rikalo
eade19d2bd
Qt: fixed mouse focus behaviour of TQtCustomControl. issue #36006,#40615
2023-12-03 12:06:27 +01:00
rich2014
1898a84c34
Cocoa: Fix #40623 , TCustomComboBox is not referenced to avoid the issue of APP directly calling TControl.Free() in event handler without using Application.ReleaseComponent()
2023-12-03 10:41:18 +08:00
Juha
ef8b5603be
LCL: Restore a class procedure TCustomShellTreeView.GetFilesInDir. Rename a helper procedure to avoid name clash.
2023-12-02 14:54:49 +02:00
rich2014
25c7f3c141
Cocoa: Fix memory leak in TCocoaWSCustomPage.SetProperties()
2023-12-02 00:29:54 +08:00
rich2014
be1dd4686a
Cocoa: Fix #40620 release NSColumn again in TCocoaWSCustomListView.ColumnDelete()
2023-12-02 00:19:47 +08:00
Bad Sector
f5718e9f06
LCL-GTK1: Fix various startup warnings and Gtk1 assertions
...
This fixes a bunch of warnings when Gtk1 applications start. The fixes
are on keyboard initialization (make a previously statically sized array
dynamic as the old value wasn't long enough and disable an unnecessary
warning about filling the VK table as the user can't do anything about
it - nor we unless the whole thing is redesigned), module loading (this
is a side effect of an environment variable collision between Gtk1, Gtk2
and Gtk3 - all of these use the GTK_MODULES variable to load some
modules but since as of 2023 no distribution aside from Slackware comes
with Gtk1, all of these warnings are bogus, so this patch temporarily
cleans the environment variable before initializing Gtk and restores it
later so that child processes can still access it) and passing NULL
styles to gtk_style_copy (the previous code assumed the style retrieval
functions always return a valid object, which is not the case).
2023-11-30 23:13:16 +00:00
Maxim Ganetsky
8e2954328e
LCL-Win32: adjusted FPC version define
2023-12-01 02:03:03 +03:00
Bad Sector
9b8f434368
LCL-GTK1: Fix menu item drawing for menus without icons
...
When a menu does not have any icons set, the existing code drew
checkboxes over the menu icons. This patch fixes that.
The previous code relied on a function that apparently became noop in
Gtk 1.2.9 but the underlying code and private field it modified were not
changed, so this fix now changes the private field directly (this change
was made in 2001 so the chances of this breaking are a bit low :-P).
It also removes the unnecessary left side padding when no menu has any
icon or is checkable so that the menu appearance matches other
(non-Lazarus made) Gtk 1.2 programs.
2023-11-30 17:25:33 +00:00
Maxim Ganetsky
e5831fc959
LCL: more adjustments of FPC version defines
2023-11-30 20:16:48 +03:00
Maxim Ganetsky
72ea155588
LCL: fixed compilation with FPC 3.2.3
2023-11-30 19:17:17 +03:00
Abou Al Montacir
a0ac9a9da0
GTK3: Fixed computation of default widget height bounds.
...
Closes : #40510 .
Thanks To: Anton Kavalenka.
2023-11-28 22:52:25 +01:00
Abou Al Montacir
bfc786c46c
GTK3: Fixed handling widget focus when csNoFocus is used.
...
Closes : #40037 .
When the widget has `csNoFocus` set, we don't set focus on it.
2023-11-28 22:08:15 +01:00
Maxim Ganetsky
3fda0a9be8
LCL-Win32: Fixed blending of semi-transparent pixels of BitBtn glyph. Makes it consistent with TImage and SpeedButtons, issue #38897 .
2023-11-27 02:28:48 +03:00
mattias
6e973773ca
updated Makefiles
2023-11-25 14:33:16 +01:00
Juha
2c1472b435
CustomDrawn: Fix TForm's MouseMove. Issue #40609 .
2023-11-25 11:48:14 +02:00
Abou Al Montacir
3256ff9246
GTK3: Fixed setting cursor on widgets.
...
Closes : #40374 . Thanks To: Anton Kavalenka.
When the widget doesn't have a window, we fall back to parent's one.
2023-11-24 19:59:54 +01:00
Abou Al Montacir
fa8e8eeecf
GTK3: Fixed rendering of images using 24 bits per pixel.
...
Closes : #40374 . Thanks To: Anton Kavalenka.
When the image is stored in a buffer using 24 bits per pixel, we don't
need to copy pixel by pixel unless the components order is wrong.
We can use `System.move` in this case.
This is the same thing that is used for 32 bit images.
2023-11-24 19:16:06 +01:00
rich2014
0419fca186
Cocoa: make NS Const read-only
2023-11-21 21:24:54 +08:00
rich2014
b3928ed3df
Cocoa: fix const error
2023-11-21 19:21:21 +08:00
rich2014
1efcbc5377
Cocoa: normalize NSPasteboardType
2023-11-21 18:28:48 +08:00
rich2014
b55c816aa8
Cocoa: standardize references to several NSString constants
2023-11-21 18:28:48 +08:00
rich2014
c64aed3fb8
Cocoa: move const from CocoaUtils to CocoaConst
2023-11-21 18:28:48 +08:00
rich2014
312a73b6b7
Cocoa: move const from CocoaTabControls to CocoaConst
2023-11-21 18:28:48 +08:00
rich2014
29d299458e
Cocoa: move const from CocoaMenus to CocoaConst
2023-11-21 18:28:48 +08:00
rich2014
7610b7e341
Cocoa: rename CocoaConfig to CocoaConst
2023-11-21 18:28:47 +08:00
Juha
3692c658ae
LCL, LazControls: Fix order of calling OnKeyDown in FilterEdit controls. Issue #40601 , patch by n7800.
2023-11-20 22:48:10 +02:00
Juha
764415b6a0
LCL, LazControls: FilterEdit cleanup. Issue #40601 , patch by n7800.
2023-11-20 22:45:11 +02:00
rich2014
8849a9cc96
Cocoa: improve #40608 : special processing for '+/=' as KeyEquivalent
2023-11-21 00:24:47 +08:00
Maxim Ganetsky
b8146c7183
LCL: don't add Cocoa units to lcl.pas uses section
2023-11-19 19:37:08 +03:00
rich2014
f821ad251b
Lcl: udpate lcl lpk and cocoa unit files
2023-11-19 18:36:52 +08:00
rich2014
0a9f5cb472
Cocoa/CrossRef: Remove useless unit references
2023-11-19 18:36:52 +08:00
rich2014
1adaff6dae
Cocoa/CrossRef: Remove unit cross-references between CocoaInt and CocoaWSCommon
2023-11-19 18:36:52 +08:00
rich2014
365360bd90
Cocoa/CrossRef: Remove unit cross-references between CocoaInt and CocoaWSMenus
2023-11-19 18:36:51 +08:00
rich2014
92cab2ee2a
Cocoa/CrossRef: Remove unit cross-references between CocoaInt and CocoaWSForms
2023-11-19 18:36:51 +08:00
rich2014
1652f3b148
Cocoa/CrossRef: Remove Const/Config related unit cross-references
2023-11-19 18:36:51 +08:00
rich2014
25c60331fd
Cocoa/CrossRef: remove unnecessary unit references
2023-11-19 18:36:51 +08:00
rich2014
ca23ffbbdf
Cocoa/CrossRef: Remove Cursor-related unit cross-references
2023-11-19 18:36:51 +08:00
Željan Rikalo
a9b3e3a8db
Qt5,Qt6: Fixed TCustomControl mouse focus behaviour. issue #36006
2023-11-18 21:24:25 +01:00
Željan Rikalo
7f95150461
Qt5, Qt6: fixed some virtual keys. issue #40589
2023-11-18 19:01:41 +01:00
zeljan1
d21628051f
Qt5: better fix for menus under wayland, fixed submenus also. issue #40602
2023-11-18 12:43:22 +01:00
rich2014
df8df02575
Cocoa/Form: improve compatibility of OnTopForm and FullScreen
2023-11-18 11:12:58 +08:00
Željan Rikalo
44b898cc32
Qt5: rewritten fix for issue #40602 .
2023-11-17 23:16:09 +01:00
Željan Rikalo
4b1a81ac7b
Qt5: fixed TMainMenu submenus positioning under Wayland. issue #40602
2023-11-17 23:03:26 +01:00
wp_xyz
4b6c4e06e3
LCL/ShellCtrls: Improved updating of ShellListView (based on code by d7_2_laz)
2023-11-17 22:40:30 +01:00
rich2014
dd43ea568f
Cocoa/Form: make OnTopForm compatible with FullScreen
2023-11-18 02:31:38 +08:00
rich2014
481187923e
Cocoa/Form: fix the issue at Desgin time
2023-11-18 02:31:38 +08:00
rich2014
33f0b15dc1
Cocoa/Form: TWinLevelOrder related removed
2023-11-18 02:31:38 +08:00
rich2014
e5656f3311
Cocoa/Form: reset OnTopForm in applicationDidBecomeActive()
2023-11-18 02:31:38 +08:00
rich2014
5f37850234
Cocoa/Form: adapt ModalForm and OnTopForm in applicationDidResignActive()
2023-11-18 02:31:38 +08:00
rich2014
95373db0f0
Cocoa/Form: adapt to selecting a window from Docker Icon/Show All Windows
2023-11-18 02:31:38 +08:00
rich2014
e60b72117e
Cocoa/Form: adapt WindowLevel to be adjusted by System
2023-11-18 02:31:38 +08:00
rich2014
e6e4867d52
Cocoa/ModalForm: adapt WindowLevel to be adjusted to NSModalPanelWindowLevel
2023-11-18 02:31:38 +08:00
rich2014
f72fb8054c
Cocoa/Form: AppRemoveStayOnTopFlags() and AppRestoreStayOnTopFlags() implemented
2023-11-18 02:31:38 +08:00
Abou Al Montacir
e928a40d93
GTK3: Fixed function return type and got rid of deprecated function call.
2023-11-16 00:33:35 +01:00
Abou Al Montacir
16ce270720
GTK3: Got rid of deprecated function call.
2023-11-15 23:55:22 +01:00
Abou Al Montacir
eafce4b0de
GTK3: Disabled warning about non ascending enumeration values.
2023-11-15 22:48:37 +01:00
Abou Al Montacir
0714f1706a
GTK3: Updated some automatically generated binding units.
...
Tried to reduce the differences between committed units and those
generated automatically using `gir2pas` tool.
Some changes are still blocked because they need change in the WS
related code. They will applied incrementally later.
We used Bookworm (Debian 12.2) GIR files constrained the units version
to Bullseye (Debian 11.6) shipped libraries.
They were generated using the following command:
```sh
gir2pas -P Laz -e Set -w \
-M atk-2.36 \
-M pango-1.16 \
-M pangocairo-1.46 \
-M glib-2.66 \
-M gio-2.66 \
-M gmodule-2.66 \
-M gobject-2.66 \
-M gtk-3.24 \
-i /usr/share/gir-1.0/Gtk-3.0.gir \
-o lazarus/lcl/interfaces/gtk3/gtk3bindings
```
2023-11-15 22:29:45 +01:00
Bart
5b65498e19
LResources: deprecate TUtf8Parser class. It's not needed anymore.
2023-11-15 16:42:03 +01:00
Bart
048f337abe
LResources: remove support for the DisableWindowsUnicodeSupport define (as we've done before in LCL).
2023-11-15 13:16:50 +01:00
Abou Al Montacir
6b8c349175
GTK3: Updated lazgdk3 unit.
...
We used Bookworm (Debian 12.2) GIR files constrained the units version
to Bullseye (Debian 11.6) shipped libraries.
They were generated using the following command:
```sh
gir2pas -P Laz -e Set -w \
-M atk-2.36 \
-M pango-1.16 \
-M pangocairo-1.46 \
-M glib-2.66 \
-M gio-2.66 \
-M gmodule-2.66 \
-M gobject-2.66 \
-M gtk-3.24 \
-i /usr/share/gir-1.0/Gtk-3.0.gir \
-o lazarus/lcl/interfaces/gtk3/gtk3bindings
```
Some old code was manually added and was kept for backward compatibility
with old interface code. It will be removed later.
2023-11-14 07:58:17 +01:00
wp_xyz
cd92f94f6b
LCL/ShellCtrls: Avoid unnecessary updates of the ListView by TShellTreeView.UpdateView.
2023-11-13 19:51:08 +01:00
wp_xyz
6fd30d194f
LCL/ShellCtrls: Update ShellListview when ObjectTypes changes.
2023-11-12 17:24:06 +01:00
wp_xyz
222117e473
LCL/ShellCtrls: Do not raise a silent exception when the current path in the TreeView does not exist any more.
2023-11-12 17:06:03 +01:00
wp_xyz
01d11f00ee
LCL/ShellCtrls: Optimize the new UpdateView method of the tree and listview.
2023-11-12 16:48:29 +01:00
Abou Al Montacir
9b23abbad1
GTK3: Updated lazcairo1 binding unit.
...
We used Bookworm (Debian 12.2) GIR files constrained the units version
to Bullseye (Debian 11.6) shipped libraries.
They were generated using the following command:
```sh
gir2pas -P Laz -e Set -w \
-M atk-2.36 \
-M pango-1.16 \
-M pangocairo-1.46 \
-M glib-2.66 \
-M gio-2.66 \
-M gmodule-2.66 \
-M gobject-2.66 \
-M gtk-3.24 \
-i /usr/share/gir-1.0/PangoCairo-1.0.gir \
-o lazarus/lcl/interfaces/gtk3/gtk3bindings
```
Some code was manually added at the end of the interface section to keep
backward compatibility with old, manually translated unit.
2023-11-11 23:51:28 +01:00
rich2014
d8a1016498
Cocoa: Fix #40598 embedded form in TCocoaWSCustomForm.ShowHide()
2023-11-11 22:06:37 +08:00
Abou Al Montacir
5606746c1d
GTK3: Updated lazcairo1 binding unit.
...
We constrained the units version to Bullseye (Debian 11.6) shipped
libraries.
They were generated using the following command:
```sh
gir2pas -P Laz -e Set
-M atk-2.36 \
-M pango-1.16 \
-M pangocairo-1.46 \
-M glib-2.66 \
-M gio-2.66 \
-M gmodule-2.66 \
-M gobject-2.66 \
-M gtk-3.24 \
-i /usr/share/gir-1.0/PangoCairo-1.0.gir \
-o lazarus/lcl/interfaces/gtk3/gtk3bindings
```
Some code was manually added at the end of the interface section to keep
backward compatibility with old, manually translated unit.
2023-11-09 22:45:43 +01:00
wp_xyz
fb8756e03b
LCL/Grids: Add grid option goCopyWithoutTrailingLinebreak to avoid copying cells to the clipboard with trailing linebreak.
2023-11-06 18:36:49 +01:00
Bart
54e9cc9171
TCustomAbstractGroupedEdit: assign PopupMenu also to FBuddy (if this does not have a separate PopupMenu by itself).
...
Resolves part of #38098 .
2023-11-06 13:22:36 +01:00
wp_xyz
8fa26c3c71
LCL/ShellCtrls: Add method UpdateView to TShellTreeView and TShellListView which updates these controls and keeps the selection and the expanded nodes. Based on patch by tcrass ( https://forum.lazarus.freepascal.org/index.php/topic,65100.msg495622.html ).
2023-11-05 16:20:36 +01:00
mattias
bcd4138db4
lcl: fixed compile with fpc 3.3.1
2023-11-02 18:24:49 +01:00
mattias
0f4eb93052
lcl: debugging
2023-11-02 18:24:49 +01:00
ACTom
aaaca4ee83
Translations: Chinese translation update by ACTom, merge request !247
2023-10-31 01:45:39 +03:00
Maxim Ganetsky
b64bba34d7
LCL-Win32: Do not change window Z-order when minimizing and then restoring IDE with opened form designers. Patch by Red_prig (Pavel), issue #40576 .
2023-10-30 02:44:34 +03:00
rich2014
a58d6acc3d
Cocoa: cleanup in CocoaUtils
2023-10-28 19:31:49 +08:00
rich2014
408f836d14
Cocoa: TCocoaWidgetSet.GetWindowRelativePosition() removed
...
TWidgetSet.GetWindowRelativePosition() works fine
2023-10-28 19:29:51 +08:00
rich2014
e3a53a2a42
Cocoa: new utils for Multi Display applied
2023-10-28 19:26:56 +08:00
rich2014
27fd42670e
Cocoa: new utils for Multi Display added
2023-10-28 19:23:39 +08:00
Juha
21ab648823
LCL: Initialize FMoveLast in TCustomGrid. Invalidate a cell after setting CheckboxState in TCustomDrawGrid. Issue #40550 .
2023-10-27 08:21:58 +03:00
rich2014
0484d03733
Cocoa: improve the setting of fsStayOnTop Window when DeActive / Active
2023-10-26 00:23:02 +08:00
rich2014
4c33927499
Cocoa: save window info when Application DeActive
2023-10-26 00:23:02 +08:00
rich2014
8d606b37f4
Cocoa: set windows to NSNormalWindowLevel when Application DeActive
2023-10-26 00:23:02 +08:00
rich2014
4cf9b9ffa9
Cocoa: HideOnDeactivate related removed
2023-10-26 00:23:01 +08:00
rich2014
8d0f10ed90
Cocoa: Fix #40571 in TCocoaContext.DrawEdge()
2023-10-25 22:07:39 +08:00
rich2014
0f745066a1
Cocoa: Fix #40571 in TCocoaContext.DrawEdgeRect()
2023-10-24 21:48:44 +08:00
rich2014
4a877534a9
Cocoa: fix #40569 : fsStayOnTop supported
2023-10-22 23:43:07 +08:00
rich2014
a31a65d03e
Cocoa: Full Screen Form improved
...
1. on MacOS, when a FORM is full screen, it has its own separate Space.
2. in this case, if a new FORM opened, no matter what's the properties of the
FORM, Cocoa will automatically set this FORM to full screen,
even if it is a Modal Form (ModalSession exactly).
3. in order to still show according to the settings of the newly opened FORM,
we need to:
(1) first set the corresponding NSWindow.CollectionBehavior to
NSWindowCollectionBehaviorFullScreenAuxiliary
(2) after the FORM is shown, decide whether to set CollectionBehavior to
NSWindowCollectionBehaviorFullScreenPrimary based on the properties of
the FORM.
2023-10-22 21:08:49 +08:00
rich2014
d5be98e8c5
Cocoa/Display: Merge branch 'cocoa/display', fix and improve Display related
2023-10-21 21:55:34 +08:00
rich2014
db1c12c95d
Cocoa: cleanup in TCocoaWidgetSet.ShowWindow()
2023-10-21 21:51:49 +08:00
rich2014
0c99ef9d0d
Cocoa: simplify coordinate conversion related to Window
2023-10-21 09:52:35 +08:00
rich2014
a4863bb0e3
Cocoa: fix IME popup window pos on Multi Displays
2023-10-21 00:52:36 +08:00
rich2014
7f7a01a35b
Cocoa: TCocoaWSPopupMenu.Popup() refactored
2023-10-21 00:33:37 +08:00
rich2014
275776771b
Cocoa: TCocoaWidgetSet.MonitorFromPoint() implemented
2023-10-21 00:31:59 +08:00
Maxim Ganetsky
53f21809d1
Revert "LCL: Do not Invalidate a CustomGrid in every MouseUp. Merge request !66 by Petr Kristan."
...
This reverts commit 7f6c15e911
.
It caused an incompatibility for subclassed DrawGrids, issue #40550 .
2023-10-20 18:10:00 +03:00
Maxim Ganetsky
1c3d963184
LCL-Gtk2: Fix handling selection of simple listview in icon mode, issue #40563 . Based on patch by Anton Kavalenka.
...
Actually it was a regression after
ed5ff63cf4
.
2023-10-20 17:38:12 +03:00
rich2014
6121304a85
Cocoa: correctly returns system metric values about FULLSCREEN in TCocoaWidgetSet.GetSystemMetrics()
2023-10-20 18:43:11 +08:00
rich2014
b3f6299b14
Cocoa: correctly returns system metric values about VIRTUALSCREEN in TCocoaWidgetSet.GetSystemMetrics()
2023-10-20 18:40:23 +08:00
Bad Sector
6a5e16239a
LCL-GTK2: Fix double free in listview pixbuf due to wrong refcounting
...
The 'pixbuf' field in GtkCellRendererPixbuf is supposed to be private to
Gtk which handles refcounting itself, but LCL modifies it directly which
can cause refcounting mismatches, especially during the destruction of a
listview with icons (images are unref'd by both the listview destructor
and gtk itself). Since it is exposed as a property it can be modified
using the g_object_set_property and g_value_xxx APIs which handle any
necessary refcounting, so this patch replaces the direct modification of
the pixbuf field with these APIs. This fixes the crashes due to
refcounting mismatch.
2023-10-19 20:38:09 +03:00
rich2014
79c570b0e6
Cocoa: correctly returns the width/height of the primary display screen in TCocoaWidgetSet.GetSystemMetrics() with SM_CXSCREEN/SM_CYSCREEN
2023-10-20 00:40:32 +08:00
rich2014
132d374870
Cocoa: TCocoaWidgetSet.GetWindowRect() fixed, returns the correct Window rectangle
...
Forms are now correctly vertically centered
2023-10-19 23:43:13 +08:00
rich2014
998bfc4e21
Cocoa: TCocoaWindowContent.resolvePopupParent() removed
2023-10-19 23:38:15 +08:00
ACTom
0e61715762
Translations: Chinese translation update by ACTom, merge request !241
2023-10-18 01:46:12 +03:00
rich2014
98acb93c9a
Cocoa/MultiDisplay: fix the bug about GetCocoaWindowAtPos() in TCocoaWSPopupMenu.Popup()
2023-10-18 00:08:12 +08:00
rich2014
afc2dae9d3
Cocoa/MultiDisplay: unused functions removed
2023-10-17 23:32:52 +08:00
rich2014
8750601c96
Cocoa/MultiDisplay: GetMonitorInfo() adapted
2023-10-17 23:16:26 +08:00
rich2014
c3f2c8614e
Cocoa/MultiDisplay: NSPrimaryScreenHeight() applied
2023-10-17 23:11:54 +08:00
rich2014
31316cc61c
Cocoa/MultiDisplay: NSGlobalScreenHeight() applied
2023-10-17 22:07:06 +08:00
rich2014
8d626fd1e4
Cocoa/MultiDisplay: Screen support functions added
2023-10-17 21:43:12 +08:00
rich2014
94d9d1dd16
Cocoa/Cursor: better compatible with MacOS 13
2023-10-14 23:00:38 +08:00
rich2014
25f4ba3380
Cocoa: CocoaWinapi & TCocoaContext refactored
2023-10-14 20:53:22 +08:00
rich2014
f49aedaf1f
Cocoa: both 3d style and box style supported in TCocoaWidgetSet.Frame3d() by csParentBackground
2023-10-14 20:53:22 +08:00
rich2014
8a6d93c26e
Revert "Cocoa: TCocoaContext.Frame3d() removed by a901a8e"
...
This reverts commit eb65e0684e
.
2023-10-14 20:53:22 +08:00
rich2014
d4af394bac
Cocoa/TabControl: clean up
2023-10-14 20:53:22 +08:00
rich2014
0dc0c39f0e
Cocoa/TabControl: bug fix in exttabMoveTabViewItem_toIndex() and exttabInsertTabViewItem_atIndex()
2023-10-14 20:53:22 +08:00
rich2014
c34f708ae4
Cocoa/TabControl: exttabRemoveTabViewItem() refactored
2023-10-14 20:53:22 +08:00
rich2014
cbb27a8f6d
Cocoa/TabControl: add triggeringByLCL to distinguish whether the operation is triggered by User or Program
2023-10-14 20:53:22 +08:00
rich2014
82d467b50c
Cocoa/TabControl: RemovePage() improved
2023-10-14 20:53:22 +08:00
rich2014
70423dd372
Cocoa/TabControl: SetPageIndex() improved
2023-10-14 20:53:22 +08:00
rich2014
0fff5f41d0
Cocoa/TabControl: ReviseTabs() improved
2023-10-14 20:53:22 +08:00
rich2014
f45c278b53
Cocoa/TabControl: exttabMoveTabViewItem_toIndex() and updateVariousIndex() applied
2023-10-14 20:53:22 +08:00
rich2014
2bd05f0474
Cocoa/TabControl: TCocoaTabControl.extselectTabViewItemAtIndex() improved
2023-10-14 20:53:22 +08:00
rich2014
62d199c399
Cocoa/TabControl: TCocoaTabControl.exttabRemoveTabViewItem() improved
2023-10-14 20:53:22 +08:00
rich2014
51f7942433
Cocoa/TabControl: TCocoaTabControl.exttabMoveTabViewItem_toIndex() improved
2023-10-14 20:53:22 +08:00
rich2014
5bfc060093
Cocoa/TabControl: TCocoaTabControl.exttabInsertTabViewItem_atIndex() improved
2023-10-14 20:53:22 +08:00
rich2014
f3add49346
Cocoa/TabControl: TCocoaTabControl.updateVariousIndex() added
2023-10-14 20:53:22 +08:00
rich2014
f7f153694c
Cocoa/TabControl: new TCocoaTabControl.attachAllTabs() added
2023-10-14 20:53:22 +08:00
Maxim Ganetsky
ddbcec7bcc
LCL, LCLTranslator: Do not check if a property has a setter before even attempting to read what it is and thus ignoring classes (with translatable properties) returned by properties without setters. Check if a property setter is present only just before actually writing to it.
...
Fixes translation of TLabeledEdit.EditLabel.Caption (EditLabel is a property without setter there).
It was a regression after commit 36c7ef29ed
which fixed issue #35202 .
2023-10-13 02:36:37 +03:00