Commit Graph

66409 Commits

Author SHA1 Message Date
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
mattias
0ac09485c6 codetools: ReadNextPascalAtom: delphi multi line string literal 2023-11-10 15:01:03 +01:00
mattias
6fac14495b codetools: linkscanner: skip delphi multi line string literal 2023-11-10 15:01:03 +01: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
mattias
3ff0868ca6 codetools: started parsing delphi 12 multiline string literals 2023-11-09 16:29:06 +01:00
dsiders
591793ee8e Docs: LCL/groupededit. Updates TCustomAbstractGroupedEdit.PopupMenu topic for changes in 54e9cc9171. 2023-11-09 04:31:44 +00:00
Maxim Ganetsky
6478851bc1 Components, ExamplesWindow: register IDE command names in locale independent manner 2023-11-08 20:00:34 +03:00
Maxim Ganetsky
a187c73c68 IDE: reduce memleaks when loading custom keyscheme, based on part of patch by Dean Mustakinov, issue #40559 2023-11-08 18:21:58 +03: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
9ec85e5d2a FileUtil: implement TFileSearcher.OnQueryFileFound and OnQueryDirectoryFound. Gives the user the possibility
to reject files and/or directories. If rejected OnFileFound/OnDirectoryFound/OnDirectoryEnter will not be fired.
2023-11-06 15:16:32 +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
Martin
2113ad4fef SynEdit: Shell-Highlighter, escaped strings. Issue #40584 2023-11-05 15:44:53 +01:00
Martin
9dabae7399 Merge branch 'lazarus-autoinvoke-3a' 2023-11-04 22:30:32 +01:00
regs01
a61f118049 Moved caret check back to timer. 2023-11-04 17:05:28 +00:00
regs01
4a878e6b70 Linguistic mistake 2023-11-04 17:05:28 +00:00
regs01
7314f5b1a4 Fix code competion firing with no checks, when no delay option is On. Code refactor. 2023-11-04 17:05:28 +00:00
regs01
cda109f74b Avoid firing on pure number 2023-11-04 17:05:28 +00: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
Maxim Ganetsky
434020fe78 IDE: regenerated translations and updated Russian translation 2023-11-02 17:36:19 +03:00
Martin
d3687ef05c SynEdit, Pas-HL: use case-label-attributes in "record case". Issue #40586 2023-11-02 14:37:10 +01:00
Martin
258b46b12f Merge branch 'ACTom-main-patch-77105' into 'main'
Fix the problem that TSynMemo reports an error when the input method is enabled on Windows.

See merge request freepascal.org/lazarus/lazarus!248
2023-10-31 18:03:28 +00:00
ACTom
4fd606cdfd Fix the problem that TSynMemo reports an error when the input method is enabled on Windows. 2023-10-31 17:33:52 +00:00
dsiders
9bb3e76ac7 Docs: LazUtils/lazfileutils. Adds content and fixes grammar in topics, including:
* TryCreateRelativePath
* CreateRelativePath
* GetDarwinSystemFilename
* GetDarwinNormalizedFilename
2023-10-31 04:27:08 +01:00
ACTom
aaaca4ee83 Translations: Chinese translation update by ACTom, merge request !247 2023-10-31 01:45:39 +03:00
dsiders
54716537eb Docs: LCL/forms. Adds content and See Also links in TApplication.Minimize and TApplication.Restore topics. Fixes spelling error. 2023-10-30 21:26:10 +01:00
Martin
b97a9b80a1 FpDebug: fix disassembler DPPD... / Issue #40567 patch by Red_prig (Pavel) 2023-10-30 18:26:14 +01:00
rich2014
218c536b94 fpcunit: fix #29283: save the configuration file to the default path 2023-10-30 23:06:59 +08: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
dsiders
ffee752335 Docs: LCL, LazUtils. Removes unneeded fpmake.xml documentation files. Not used for make files. 2023-10-29 00:00:25 +01:00
dsiders
6e83a5dc5a Docs: LazUtils/lazutf8. Cleanup for unused parameters. 2023-10-28 23:59:43 +01:00