Commit Graph

66346 Commits

Author SHA1 Message Date
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
dsiders
fef0dc5f9f Docs: LazUtils/lazutf16. Adds missing topic content. 2023-10-28 23:59:31 +01:00
dsiders
826fcec702 Docs: LazUtils/lazstringutils. Updates content in the GetPart topic. 2023-10-28 23:59:09 +01:00
dsiders
b1cfc6ec72 Docs: LazUtils/lazfilecache. Cleans up tagging and adds missing content in topics. 2023-10-28 23:58:47 +01:00
dsiders
11d69e906a Docs: LazUtils/lazdbglog. Adds missing short descriptions in topics. 2023-10-28 23:58:29 +01:00
dsiders
d7ad2345dd Docs: LazUtils/lazconfigstorage. Adds missing short descriptions. 2023-10-28 23:58:02 +01:00
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