Commit Graph

65121 Commits

Author SHA1 Message Date
Juha
e3691f68f6 Move SkipCheckByKey functions from IdeUtils (IdeIntf) to LazUtilities (LazUtils). No LCL dependency. Add comments in uses section. 2023-06-11 20:34:36 +03:00
Juha
eac9c6e5c6 IdeConfig: Remove LCL dependency from IdeConfig package. Add comments in uses sections, helps locate dependencies. 2023-06-11 20:34:36 +03:00
Juha
a71517e5d2 IdeConfig: Remove LCL dependency from RecentListProcs. 2023-06-11 20:34:36 +03:00
Maxim Ganetsky
97c198b599 LazUtils: Remove special macOS handling from LazGetLanguageIDs procedure. Handle macOS just as any Unix.
For the record, the logic of this code was the following:
1. If the App Bundle does not do any Locale configuration, 'English' is
returned (i. e. not an ISO code).
2. If the App Bundle has configured the Locale configuration that
matches the user's system settings, it will return locale name from its
list, e. g. 'zh_CN'.
3. If the App Bundle cannot match the Locale of the user system, the
first item set in the App Bundle is returned (`en` in case of Lazarus).

So this code provided no tangible benefits and introduced dependency on
language list in Lazarus bundle. This list was outdated and thus
prevented autodetection of Czech, Hungarian, Brazilian Portuguese,
Ukrainian languages on macOS.

In case there will a need to reintroduce special macOS handling arise,
NSLocale.object() should be called with `countryCode` and `languageCode`
keys.
2023-06-11 20:10:26 +03:00
rich2014
5e66a6fc46 Cocoa: Cursor: all enableCursorRects() removed 2023-06-11 23:32:34 +08:00
rich2014
b9002774db Cocoa: Fix #40192: memory leaks in TCocoaFilterComboBox 2023-06-11 22:11:53 +08:00
Martin
ea1e68ed26 IdeDebugger: improve unfolding of watches. Allow Pointer to object/array to be unfolded (and dereference them for this) 2023-06-11 14:30:46 +02:00
Martin
9a0e268738 FpDebug: fix creating result, when mixing ":cc" intrinsic with "[n..m]" slice. 2023-06-11 11:53:01 +02:00
rich2014
a7724534fc DockMainIde: comments updated 2023-06-11 14:04:36 +08:00
rich2014
41a5b150a6 Qt6: TMainIDEBar.CalcNonClientHeight() updated 2023-06-11 14:03:55 +08:00
rich2014
719253ef26 Cocoa: grammar literal fix 2023-06-11 13:53:16 +08:00
rich2014
d27f5e3e4b Cocoa: Cursor: Improve Screen Cursor supportted for Window/Application switching 2023-06-10 23:37:17 +08:00
rich2014
78bdae581b Merge branch 'lcl/cocoa/cursor' 2023-06-10 23:07:08 +08:00
rich2014
cdbab01c2d Cocoa: Cursor: Improve support for Window/Application switching 2023-06-10 23:05:36 +08:00
rich2014
da41c019a6 Cocoa: Cursor: Improve support for Screen Cursor 2023-06-10 23:01:28 +08:00
rich2014
c6640e7d12 Cocoa: Cursor: all resetCursorRects() removed 2023-06-10 22:42:06 +08:00
rich2014
7111681225 Cocoa: Cursor: completely refactored on LCL cursor infrastructure 2023-06-10 22:38:34 +08:00
mattias
d939016d4e codetools: TLinkScanner: search inc file in fpc cfg of current set 2023-06-09 16:51:10 +02:00
mattias
13323a7e32 codetoolsL TLinkScanenr: using TSourceLog 2023-06-09 16:15:46 +02:00
mattias
1d74ac6a25 codetoolsL TLinkScanenr: using TSourceLog 2023-06-09 16:15:46 +02:00
mattias
cece089505 codetools: TLinkScanner.SearchIncludeFile: less overhead when searching multiple extensions 2023-06-09 16:15:46 +02:00
Juha
dcab9e2e9c LCL-GTK2: Improve the earlier ListView speedup. Issue #40302, patch by wavebvg. 2023-06-09 16:14:25 +03:00
Juha
d8e3c3f75e LCL-GTK2: Improve the earlier ListView speedup. Issue #40302, patch by wavebvg. 2023-06-09 11:43:40 +03:00
Juha
07398d821e LCL-GTK2: Improve the earlier ListView speedup. Issue #40302, patch by wavebvg. 2023-06-09 08:07:06 +03:00
dsiders
23206237ad Docs: LCL/comctrls. Updates topics for changes in ab21cfa3. Issue #40304. Includes:
* TTreeNode.Expand
* TCustomTreeView.FullExpand
* TCustomTreeView.FullCollapse
* Removes duplicate word in TTreeNode.MakeVisible.
2023-06-09 00:46:02 +01:00
Juha
ab21cfa331 LCL: Add BeginUpdate..EndUpdate for FullCollapse and FullExpand in TreeView. Issue #40304, patch by n7800. 2023-06-08 18:39:21 +03:00
Maxim Ganetsky
510d99957d IDE: regenerated translations and updated Russian translation 2023-06-08 17:19:08 +03:00
Martin
f9dd45a157 LazDebuggerFpGdbmi: Add option for IntrinsicPrefix and "modeswitch AutoDeref" . 2023-06-08 16:04:09 +02:00
Martin
315be6c5e1 LazDebuggerFpLldb: Add option for IntrinsicPrefix and "modeswitch AutoDeref" . 2023-06-08 16:04:09 +02:00
Martin
1f70742be3 LazDebuggerFp, FpDebug: Add option to support "modeswitch AutoDeref" access of values. 2023-06-08 16:04:09 +02:00
mattias
48401c65c8 codetools: clean up 2023-06-08 16:02:40 +02:00
Martin
ceaec5975a LazDebuggerFp, FpDebug: Add option to support "modeswitch AutoDeref" access of values. 2023-06-08 15:26:01 +02:00
Martin
62e692fc24 LazDebuggerFp, FpDebug: Add option to support "modeswitch AutoDeref" access of values. 2023-06-08 14:57:12 +02:00
Martin
846b00b481 FpDebug: implement shl, shr, <<, >> operators in the pascal parser. 2023-06-08 14:04:11 +02:00
mattias
82af78d8bb codetools: clean up 2023-06-08 13:48:16 +02:00
Juha
a3d81c8820 IDE: Improve the Search Results window more. Issue #40286, patch by n7800. 2023-06-08 11:25:09 +03:00
Juha
ed5ff63cf4 LCL-GTK2: Speed up ListView a LOT. Issue #40302, patch by wavebvg. 2023-06-08 10:49:22 +03:00
mattias
c41663daa6 codetools: fixed searching include file first in incpath, then in fpc src, then relative to inc file 2023-06-07 23:25:17 +02:00
dsiders
bd132261d7 Docs: LazUtils/various. Fixes name attributes in topics for operator overloads. 2023-06-07 19:19:18 +01:00
dsiders
e1f3ac20ba Docs: LazUtils/graphmath. Adds missing topics for operator overloads. 2023-06-07 17:41:25 +01:00
rich2014
e2f2b70e61 Cocoa: Fix #39496: wakeup event loop in TCocoaWidgetSet.AppWaitMessage() when Application.Terminate() 2023-06-08 00:04:25 +08:00
rich2014
34ab4cb28a Cocoa: Fix #39997 #40115: wakeup event loop in TCocoaWidgetSet.AppWaitMessage() 2023-06-07 23:24:18 +08:00
Juha
9e0d2e7371 TurboPower_ipro: Restore deleted units in uses section of IpHtml. Issue #40301. 2023-06-07 09:13:15 +03:00
dsiders
448d3ab979 Docs: LCL/lclintf. Adds a deprecation notice to the OffsetRect topic for changes in f3afdc8d. 2023-06-06 23:08:30 +01:00
Juha
f3afdc8d50 LCL: Add a wrapper for Types.OffsetRect() into LCLIntf. 2023-06-07 00:45:54 +03:00
dsiders
10368c0b02 Docs: LCL/lclproc. Restores topics for routines deprecated in 517830da, cee2ee40. 2023-06-06 21:26:21 +01:00
Juha
12f4ecd347 LCL: Remove const modifier from AValue parameter in TCustomControlFilterEdit.SetFilter. Issue #40300. 2023-06-06 23:23:24 +03:00
Juha
cee2ee4060 LCL: Add a wrapper for Types.OffsetRect() into LCLProc. 2023-06-06 22:31:46 +03:00
Martin
0c96c0e3a5 IDE, Leaks and Traces: fix crash, if fileformat is unknown 2023-06-06 18:22:59 +02:00
dsiders
2e2f4fd240 Docs: LazUtils/lazutf8. Removes version admonition in LazGetLanguageIDs topic. 2023-06-06 17:03:56 +01:00