Commit Graph

66390 Commits

Author SHA1 Message Date
dsiders
7ee655f2f6 Docs: LCL/lresources. Fixes spelling error. 2023-11-19 03:19:51 +00:00
dsiders
97b15f1b08 Docs: LCL/lresources. Adds deprecation notices in TUTF8Parser topics for changes in 5b65498e. 2023-11-18 23:11:26 +00: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
Juha
e50ab381b1 IDE: Allow configuring Toolbars in IDE CoolBar also when "Coolbar is visible" is unchecked. Issue #40600, patch by n7800. 2023-11-18 11:04:05 +02: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
575e58d312 Cocoa/Form: #40606 improved, Merge branch 'cocoa/form' 2023-11-18 02:35:05 +08: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
Martin
9d30984709 LazEdit: Update RegEx 2023-11-17 19:21:26 +01:00
Maxim Ganetsky
6a1faf1419 IDE: added clarifying comment in LoadCustomKeySchemasInDir procedure of keymapping.pp unit 2023-11-17 01:44:57 +03:00
dsiders
6025966d00 Docs: LazUtils. Adds license header to .xml documentation files. 2023-11-16 19:48:32 +00:00
dsiders
f6110685b5 Docs: LCL. Adds license header to .xml documentation files. 2023-11-16 19:48:10 +00:00
dsiders
d16f151d77 Docs: Adds files with LCL, LazUtils license information. 2023-11-16 19:46:44 +00:00
Maxim Ganetsky
0e65a9fbeb Revert erroneous renaming of file in "gir2pas: Added code to disable warning about non ascending enumeration values." (commit 508bd102b0). The change made to file contents is kept. 2023-11-16 02:35:22 +03: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
508bd102b0 gir2pas: Added code to disable warning about non ascending enumeration values.
FPC does warn about non strictly ascending enumeration values.
Unfortunately, some GTK enum identifiers share the same value and this
warning can safely be ignored. We shut it up.
2023-11-15 22:47:52 +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
Martin
415660120f Debugger: Correctly store names for function refs. The name was wrongly stored as part of the type, making it equal for all entries in an array. Issue #40604 2023-11-15 22:02:07 +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
Martin
d2d64321b4 LazEdit: Update copy of TRegExpr 2023-11-14 19:27:33 +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
Maxim Ganetsky
2edaae58fb IDE: regenerated translations and updated Russian translation 2023-11-13 17:08:51 +03:00
Maxim Ganetsky
9c28c9b117 IDE: unify UserKeySchemeDirectory signature with UserSchemeDirectory 2023-11-13 17:06:55 +03: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
DomingoGP
f600868569 Jedi code format: Add support for delphi 12 multiline quoted strings. 2023-11-11 18:23:34 +01:00
DomingoGP
5c65c6df5b Jedi code format: Fix memory leak on unclosed quoted constant string. 2023-11-11 18:12:06 +01:00
rich2014
d8a1016498 Cocoa: Fix #40598 embedded form in TCocoaWSCustomForm.ShowHide() 2023-11-11 22:06:37 +08:00
DomingoGP
46d79350b0 Jedi code format: Solves Issue #40538 process defines in include files. 2023-11-11 12:11:24 +01:00
Maxim Ganetsky
190dc4c999 IDE, Keymapping Options: removed key scheme Import button and related functionality (it was impossible to correctly load such a scheme after IDE restart), last part of issue #40559.
Instead, `Export` button now opens file save dialog in user key scheme subdirectory ('userkeyschemes') of Lazarus settings directory. This behavior is similar to how color schemes are handled.

Thus, user is able to edit scheme, export it and then immediately select it if desired (even without IDE restart). To load an external scheme, user should put it to key scheme subdirectory of Lazarus settings directory and select it in Lazarus settings (no IDE restart needed).
2023-11-11 03:06:04 +03:00
Maxim Ganetsky
18bec6520a IDE: Fixed loading of user key schemes.
1. Fix access violation on closing IDE when loaded user key scheme is present.
2. Correctly load user key scheme on IDE (re)start.
3. Search user key schemes in `userkeyschemes` subdirectory of Lazarus configuration directory.

Based on patch by Dean Mustakinov, part of issue #40559.
2023-11-11 02:16:41 +03:00
mattias
9ef9c85f35 ide: fixed FindSourceFile fsfUseIncludePaths, patch by Domingo 2023-11-10 18:23:12 +01:00