Commit Graph

65811 Commits

Author SHA1 Message Date
DomingoGP
e47e9869d3 Jedi code format: issue #40612 Accept and "or xor class, ..." operators and improved formatting of operator overloads.
(cherry picked from commit dedb2622b3)
2023-11-24 14:18:03 +01:00
Maxim Ganetsky
cecfd2034e IDE: save and restore of "Delete all the files?" confirmation dialog, issue #40611
(cherry picked from commit 486ffc5d9a)
2023-11-24 00:27:20 +00:00
Maxim Ganetsky
9951feea7e IDE: pass to FPC only documented assembler mode parameter values and only for relevant CPU families (i8086, i386, x86_64), issue #38786
(cherry picked from commit 7eb6be5a2c)
2023-11-24 02:27:02 +03:00
Maxim Ganetsky
138a8b4bc4 CI: Renamed Dockerfile to make code highlight to work in GitLab web interface. Also simplified it and made to terminate earlier in case of compilation errors.
(cherry picked from commit 7fd8824fbc)
2023-11-22 00:27:28 +00:00
rich2014
851cd68564 Cocoa: Standardize and Simplify NS constants, Merge branch 'cocoa/const' 2023-11-21 23:51:21 +08:00
rich2014
57f76d3946 Cocoa: improve #40608: special processing for '+/=' as KeyEquivalent 2023-11-21 23:50:46 +08:00
Maxim Ganetsky
06a9e27523 LCL: don't add Cocoa units to lcl.pas uses section 2023-11-21 23:50:01 +08:00
rich2014
b4e946cfd9 Lcl/Cocoa: Remove almost all circular unit references , Merge branch 'cocoa/crossref' 2023-11-21 23:49:21 +08:00
Juha
4c0aec37e6 DateTimeCtrlsDsgn: Move uses sections from implementation to interface.
(cherry picked from commit 97c3ff8515)
2023-11-21 13:45:11 +00:00
dsiders
bb3708768b Docs: LCL/lresources. Fixes tagging errors.
(cherry picked from commit 343079e4f3)
2023-11-19 04:25:27 +00:00
dsiders
baae9e2cbb Docs: LCL/lresources. Fixes spelling error.
(cherry picked from commit 7ee655f2f6)
2023-11-19 03:21:28 +00:00
dsiders
10114ce094 Docs: LCL/lresources. Adds deprecation notices in TUTF8Parser topics for changes in 5b65498e.
(cherry picked from commit 97b15f1b08)
2023-11-18 23:15:06 +00:00
dsiders
a2949c40fb Docs: LazUtils. Adds license header to .xml documentation files.
(cherry picked from commit 6025966d00)
2023-11-18 23:13:59 +00:00
dsiders
80143ed2ca Docs: LCL. Adds license header to .xml documentation files.
(cherry picked from commit f6110685b5)
2023-11-18 23:13:31 +00:00
dsiders
d7f847783a Docs: Adds files with LCL, LazUtils license information.
(cherry picked from commit d16f151d77)
2023-11-18 23:13:17 +00:00
Željan Rikalo
27d7099388 Qt5, Qt6: fixed some virtual keys. issue #40589
(cherry picked from commit 7f95150461)
2023-11-18 18:18:25 +00:00
Juha
e532c42392 IDE: Allow configuring Toolbars in IDE CoolBar also when "Coolbar is visible" is unchecked. Issue #40600, patch by n7800.
(cherry picked from commit e50ab381b1)
2023-11-18 20:49:15 +03:00
Bart
a9950fe389 LResources: deprecate TUtf8Parser class. It's not needed anymore.
(cherry picked from commit 5b65498e19)
2023-11-18 20:49:15 +03:00
Bart
56d3bf0395 LResources: remove support for the DisableWindowsUnicodeSupport define (as we've done before in LCL).
(cherry picked from commit 048f337abe)
2023-11-18 20:49:15 +03:00
zeljan1
ad8e69f7c9 Qt5: better fix for menus under wayland, fixed submenus also. issue #40602
(cherry picked from commit d21628051f)
2023-11-18 16:00:14 +00:00
Željan Rikalo
1416ae9a4d Qt5: rewritten fix for issue #40602.
(cherry picked from commit 44b898cc32)
2023-11-18 15:59:43 +00:00
Željan Rikalo
fc90648535 Qt5: fixed TMainMenu submenus positioning under Wayland. issue #40602
(cherry picked from commit 4b1a81ac7b)
2023-11-18 15:59:09 +00:00
rich2014
6a8b76a920 Cocoa/Form: improve compatibility of OnTopForm and FullScreen 2023-11-18 11:15:58 +08:00
rich2014
35114571af Cocoa/Form: #40606 improved, Merge branch 'cocoa/form' 2023-11-18 11:15:45 +08:00
rich2014
cd9da93187 fpcunit: fix #29283: save the configuration file to the default path
(cherry picked from commit 218c536b94)
2023-11-17 13:45:59 +00:00
Maxim Ganetsky
3211889649 IDE: added clarifying comment in LoadCustomKeySchemasInDir procedure of keymapping.pp unit
(cherry picked from commit 6a1faf1419)
2023-11-17 01:47:08 +03:00
Martin
c6d4ee73be 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
(cherry picked from commit 415660120f)
2023-11-15 22:02:56 +01:00
Maxim Ganetsky
c9efedc227 IDE: regenerated translations and updated Russian translation
(cherry picked from commit 2edaae58fb)
2023-11-13 17:24:06 +03:00
Maxim Ganetsky
5fe9adb855 IDE: unify UserKeySchemeDirectory signature with UserSchemeDirectory
(cherry picked from commit 9c28c9b117)
2023-11-13 17:24:02 +03:00
Maxim Ganetsky
e37e1aff99 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).

(cherry picked from commit 190dc4c999)
2023-11-13 17:24:01 +03:00
Maxim Ganetsky
1dc998066d 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.

(cherry picked from commit 18bec6520a)
2023-11-13 17:23:15 +03:00
Maxim Ganetsky
dd0b913271 IDE: reduce memleaks when loading custom keyscheme, based on part of patch by Dean Mustakinov, issue #40559
(cherry picked from commit a187c73c68)
2023-11-13 17:17:24 +03:00
Maxim Ganetsky
91c3bf3781 LazUtils: more FPC 3.3.1 compilation fixes 2023-11-13 02:42:39 +03:00
mattias
fe520c4f4e lcl: fixed compile with fpc 3.3.1
(cherry picked from commit bcd4138db4)
2023-11-13 02:22:06 +03:00
DomingoGP
74a73ca396 Jedi code format: Fix memory leak on unclosed quoted constant string. 2023-11-11 18:58:39 +01:00
rich2014
c491890f84 Cocoa: Fix #40598 embedded form in TCocoaWSCustomForm.ShowHide() 2023-11-11 23:03:59 +08:00
mattias
1053612d8b ide: fixed FindSourceFile fsfUseIncludePaths, patch by Domingo 2023-11-10 18:24:25 +01:00
dsiders
07c698cda1 Docs: LCL/groupededit. Updates TCustomAbstractGroupedEdit.PopupMenu topic for changes in 54e9cc9171.
(cherry picked from commit 591793ee8e)
2023-11-09 04:34:13 +00:00
Maxim Ganetsky
8ea19afecd Components, ExamplesWindow: register IDE command names in locale independent manner
(cherry picked from commit 6478851bc1)
2023-11-08 17:28:10 +00:00
Bart
dabe00e84a TCustomAbstractGroupedEdit: assign PopupMenu also to FBuddy (if this does not have a separate PopupMenu by itself).
Resolves part of #38098.


(cherry picked from commit 54e9cc9171)
2023-11-07 14:29:59 +00:00
regs01
276e88dd44 Avoid firing on pure number
(cherry picked from commit cda109f74b)
2023-11-04 22:31:49 +01:00
ACTom
d0513b237e Fix the problem that TSynMemo reports an error when the input method is enabled on Windows.
(cherry picked from commit 4fd606cdfd)
2023-11-01 09:24:32 +01:00
dsiders
1bae2536ba Docs: LazUtils/lazfileutils. Adds content and fixes grammar in topics, including:
* TryCreateRelativePath
* CreateRelativePath
* GetDarwinSystemFilename
* GetDarwinNormalizedFilename

(cherry picked from commit 9bb3e76ac7)
2023-10-31 04:31:56 +01:00
ACTom
2b274da415 Translations: Chinese translation update by ACTom, merge request !247
(cherry picked from commit aaaca4ee83)
2023-10-31 01:55:59 +03:00
dsiders
778d8debbd Docs: LCL/forms. Adds content and See Also links in TApplication.Minimize and TApplication.Restore topics. Fixes spelling error.
(cherry picked from commit 54716537eb)
2023-10-30 21:30:27 +01:00
Martin
88ddd885a7 FpDebug: fix disassembler DPPD... / Issue #40567 patch by Red_prig (Pavel)
(cherry picked from commit b97a9b80a1)
2023-10-30 18:27:22 +01:00
dsiders
cc2d94f656 Docs: LCL, LazUtils. Removes unneeded fpmake.xml documentation files. Not used for make files.
(cherry picked from commit ffee752335)
2023-10-29 21:21:38 +01:00
dsiders
75552f0ed1 Docs: LazUtils/lazutf8. Cleanup for unused parameters.
(cherry picked from commit 6e83a5dc5a)
2023-10-29 21:21:28 +01:00
dsiders
b223ad8767 Docs: LazUtils/lazutf16. Adds missing topic content.
(cherry picked from commit fef0dc5f9f)
2023-10-29 21:21:22 +01:00
dsiders
fa0faf12c9 Docs: LazUtils/lazstringutils. Updates content in the GetPart topic.
(cherry picked from commit 826fcec702)
2023-10-29 21:21:10 +01:00