Commit Graph

66304 Commits

Author SHA1 Message Date
dsiders
775d0c7ede Docs: LazUtils/lazclasses. Adds missing topics. Adds missing content. 2023-10-28 23:57:41 +01:00
rich2014
b55a091996 Cocoa: better support for Multi Display, Merge branch 'cocoa/MultiDisplay' 2023-10-28 19:37:55 +08: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
dsiders
a84be54e3c Docs: LazUtils/lazconfigstorage. Updates content in various topics. 2023-10-28 05:06:14 +01:00
dsiders
41f9fc32f5 Docs: LazUtils/codepagescommon. Updates content in ArrayISO_8859_1ToUTF8 and ArrayMacintoshToUTF8 topics. 2023-10-28 05:05:56 +01:00
Maxim Ganetsky
fa850b68a2 IDE: regenerated translations and updated Russian translation 2023-10-27 20:45:37 +03:00
Maxim Ganetsky
c69d5ebb09 IDE: localized 'Emulate right button' option 2023-10-27 20:42:41 +03:00
mattias
0a9cf42b49 ide: added TEnvGuiOptions.EmulateRightMouseButton, used by Messages Window for popup on Ctrl+Left 2023-10-27 15:36:44 +01: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
wp_xyz
05b29b1859 Images: Fix incorrect image in previous commit (by Roland Hahn) 2023-10-26 19:09:36 +02:00
wp_xyz
81ba24dad3 Images: re-worked "menu" icons (by Roland Hahn) 2023-10-26 12:47:08 +02:00
Maxim Ganetsky
fb24359e3a IDE: regenerated German translation 2023-10-26 02:18:11 +03:00
wp_xyz
f9d74edbff Images: Icon for "Run with Debugging", by Roland Hahn. 2023-10-25 23:34:39 +02:00
rich2014
f35f68c5b6 Cocoa: Fix #40569: Merge branch 'cocoa/ontop', fsStayOnTop improved 2023-10-26 00:29:41 +08: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
dsiders
586323470e Docs: LCL/calcform. Updates content in various topics. 2023-10-25 04:40:40 +01: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
Maxim Ganetsky
606baf0a8b Merge branch 'gtk2-fix-listview-images-doublefree' into 'main'
LCL-GTK2: Fix double free in listview pixbuf due to wrong refcounting

See merge request freepascal.org/lazarus/lazarus!243
2023-10-20 13:54:48 +00: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
Martin
a37599119b IDE, Options: keep highlighter in WriteSettings, in case of "Apply" button. Issue #40566 2023-10-18 23:03:49 +02:00
Martin
f987f75d28 IDE, Debugger: find the first stack-frame with source (e.g. if paused at exception) / avoid the asm window. 2023-10-18 21:23:32 +02:00
Martin
79a8665989 IDE: Hint (Html/TurboPowerIPro), add space for horizontal scrollbar if needed. Issue #40565 2023-10-18 16:13:26 +02:00
dsiders
33662ba17b Docs: LCL/jsonpropstorage. Adds content in TCustomJSONPropStorage topics, including:
* TCustomJSONPropStorage.DoReadString
* TCustomJSONPropStorage.DoWriteString
* TCustomJSONPropStorage.DoEraseSections
* TCustomJSONPropStorage.JSONFileName
* TCustomJSONPropStorage.RootObjectPath
* TCustomJSONPropStorage.Formatted
2023-10-18 02:17:40 +01:00
ACTom
0e61715762 Translations: Chinese translation update by ACTom, merge request !241 2023-10-18 01:46:12 +03:00
rich2014
a89cf75d07 Cocoa: Multi Display fully supported, Merge branch 'cocoa/MultiDisplay' 2023-10-18 00:11:46 +08: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