Commit Graph

342 Commits

Author SHA1 Message Date
Juha
049fedf34a LCL-GTK2&3: Improve handling of font stretch and weight in font name. Issue #29596, patch by Juliette. 2025-02-23 12:42:07 +02:00
Juha
476da882fa Delete some deprecated functions. Inspired by issue #41363. 2025-01-31 13:50:35 +02:00
Andrey Zubarev
27f3226a53 LCL: Removed unneeded string copy in LCLProc.TextToShortCutGeneric function 2024-06-03 22:25:30 +00:00
Juha
d784606f77 LCL: Fix deprecation warnings. Issue #40918, patch by Don Siders. 2024-04-26 00:59:26 +03:00
Juha
94e7abc281 LCL: Fix a deprecated message in LCLProcs. 2024-04-20 16:01:00 +03:00
Juha
c1274517ca LCL: Deprecate debug output functions in LCLProc. They were already forwarded to LazLoggerBase. 2024-04-10 14:35:18 +03:00
Juha
ca71aeb4e4 Move CreateFirstIdentifier, CreateNextIdentifier and MergeSort from LCLProc to LazUtilities. 2024-04-08 16:32:07 +03:00
Juha
7a0af825b3 LCL: Minor optimization in function TextToShortCutGeneric. 2024-01-28 14:16:04 +02:00
Maxim Ganetsky
e4b407fd21 IDE: Use UTF8WrapText for wrapping Lazarus help descriptions, improved help output formatting 2024-01-20 05:06:35 +03:00
Maxim Ganetsky
f0eb9b849d IDE, LCL: Lazarus help output refactoring by n7800, issue #40690:
1. The text has been slightly corrected and made more uniform.
2. The parameters are sorted in some logical order, starting with the more "global" ones. A long list of values for debugging is located at the end. Now all parameters are visible at once, without scrolling.
3. Indentations fixed.
4. The list of values for the --skip-checks parameter is listed in a column, similar to the values for the --debug-enable parameter. This is easier to read and does not create a very long line, which is visible in the screenshot.
5. The "LCL Interface specific options:" header is displayed only if such parameters exist.
6. Changed max line length to a more standard 80.
7. Help output has been moved in a nested function.
8. Removed unused code.
2024-01-20 05:04:42 +03:00
Juha
e65a102527 Remove unit Laz_AVL_Tree, a copy of unit AVL_Tree. Not needed with FPC 3.2.x. 2023-07-07 17:39:03 +03:00
Juha
adfc424e92 Lazarus trunk requires at least FPC 3.2.0. Remove checks for earlier FPC_FULLVERSION. 2023-07-07 17:39:03 +03:00
Juha
41adb276bb Remove obsolete checks for FPC versions earlier then 3.0. 2023-07-07 17:39:02 +03:00
Juha
0bc32656ed LazUtils, LCL: Move LCLProc.CompareRect() -> GraphMath.SameRect(). Deprecate LCLProc.CompareRect(). 2023-07-03 16:54:10 +03:00
Juha
dd161fc03b LazUtils, LCL: Initialize UnicodeTables in LazUTF16 only when needed. Deprecate copied UTF16 functions in LCLProc. 2023-07-03 15:29:56 +03:00
Juha
211d95da17 LCL: Use TLCLHandle instead of a redefined LCLType.THandle or TLCLIntfHandle. Deprecate them. 2023-07-03 11:17:01 +03:00
Juha
cee2ee4060 LCL: Add a wrapper for Types.OffsetRect() into LCLProc. 2023-06-06 22:31:46 +03:00
Juha
517830dafe LCL: Add deprecated wrappers for moved procedures in LCLProc. 2023-06-05 22:12:05 +03:00
Juha
d9637b02d4 LCL: Restore a wrapper for FreeThenNil in LCLProc as deprecated. 2023-06-05 21:54:50 +03:00
Juha
1475336c8c Remove LCLProc.OffsetRect(). Move some functions from LCLProc to GraphMath (LazUtils). 2023-06-05 15:48:01 +03:00
Juha
d5596c80a9 LCL: Remove tests for define WithOldDebugln. It has been there since 2012. 2021-10-31 09:51:28 +02:00
Juha
14304e8180 LCL: Fix typos in virtual key constants. Issue #39434, patch by Don Siders. 2021-10-20 23:02:41 +03:00
Juha
814e4ba4e2 Rename CompareMethods to more logical SameMethod. Remove old deprecated functions. 2021-10-10 19:00:49 +03:00
bart
912b44ef09 Fix spelling errors in lclproc.pas. Patch by Don Siders. Issue #0039161.
git-svn-id: trunk@65374 -
2021-07-05 15:45:45 +00:00
mattias
f45d7ed2c4 LCL: less hints
git-svn-id: trunk@64681 -
2021-02-28 08:51:17 +00:00
juha
42850cfe4d LazUtils: Deprecate now obsolete unit LazUtf8Classes and remove its references from Lazarus code.
git-svn-id: trunk@64384 -
2021-01-14 12:41:32 +00:00
juha
ac6049864a LCL: Give new name to left-Backslash key on 102-keys keyboard. Issue #37966, patch from CudaText man.
git-svn-id: trunk@64304 -
2020-12-29 22:56:43 +00:00
juha
6813e28eef LazUtils: Move math helper functions from LCLProc to LazUtilities. Deprecate LCLProc versions.
git-svn-id: trunk@64197 -
2020-12-12 11:41:07 +00:00
juha
604efa0b8a LCL: Refactored IsEditableTextKey(). Issue #37237, patch from delfion.
git-svn-id: trunk@63423 -
2020-06-23 11:14:57 +00:00
ondrej
cb399a6260 revert r62550 #e254ce3acb
git-svn-id: trunk@62553 -
2020-01-14 16:32:58 +00:00
ondrej
e254ce3acb LCL: move IsFontNameDefault from LCLProc to Graphics to resolve the default font name dependency
git-svn-id: trunk@62550 -
2020-01-14 14:37:28 +00:00
juha
63cc527b35 LCL: Simplify code dealing with ampersands (&). Remove duplicate code.
git-svn-id: trunk@62493 -
2020-01-04 19:30:01 +00:00
juha
56b70571c9 LCL: Make result of ShortcutToText compatible with Delphi ("="). Issue #36489, patch from Bart.
git-svn-id: trunk@62468 -
2019-12-29 23:18:59 +00:00
juha
7cac33cb8e LCL-GTK2: Simplify function RemoveAmpersands and move it to LCLProc.
git-svn-id: trunk@62465 -
2019-12-29 23:18:53 +00:00
juha
315a844105 LCL-GTK2: Use function DeleteAmpersands from unit LCLProc. Already handles a trailing &.
git-svn-id: trunk@62440 -
2019-12-23 21:01:06 +00:00
juha
3df7d8afe5 LCL, LazUtils: Move string manipulation functions from LCLProc to LazStringUtils.
git-svn-id: trunk@61038 -
2019-04-22 09:00:32 +00:00
juha
5274919338 LCL: Include key 189 in LCLProc.IsEditableTextKey. Issue #35067, patch from Alexey Tor.
git-svn-id: trunk@60690 -
2019-03-15 22:16:58 +00:00
juha
1cade139bf LCL: Inline some functions in LCLProc. Issue #35076.
git-svn-id: trunk@60421 -
2019-02-14 15:06:07 +00:00
maxim
1805732402 LCL: restored VK_HELP key i18n and made sure its resource string is not reused in button captions (added a separate resource string for them). Regenerated translations and updated Russian translation.
git-svn-id: trunk@58790 -
2018-08-27 23:06:05 +00:00
maxim
4c7c08a39c LCL: added TextToShortCutRaw and ShortCutToTextRaw functions, which expect/have UNlocalized input/output, contrary to TextToShortCut and ShortCutToText functions, which expect/have localized input/output (their behavior has not changed and seems to be Delphi compatible). New functions are useful when user wishes to store shortcut text in config file. Fixes bug #23082.
git-svn-id: trunk@58700 -
2018-08-13 22:25:50 +00:00
maxim
2afa04032b LCL: refactored/simplified menu shortcuts i18n handling in order to always show them in correct language, fixes bug #34045
git-svn-id: trunk@58661 -
2018-08-01 22:36:05 +00:00
juha
41dc46374f LazUtils: Move string manipulation functions from LazUtilities to LazStringUtils.
git-svn-id: trunk@58634 -
2018-07-25 23:44:54 +00:00
juha
0500052f06 Move functions CompareCaret and CompareBoolean away from IDEProcs, to LCLProc and LazUtilities respectively.
git-svn-id: trunk@58618 -
2018-07-24 17:49:11 +00:00
juha
53ee66450d LazUtils: Move exception and stack trace stuff to new LazTracer. Move function ConvertLineEndings to LazUtilities.
git-svn-id: trunk@58255 -
2018-06-14 09:05:50 +00:00
juha
3574bdfb6d Move debug- & other non-GUI stuff from LCLProc to LazUtilities and LazLogger in package LazUtils.
git-svn-id: trunk@58244 -
2018-06-13 13:59:07 +00:00
juha
f440f660a2 Refactor: move CompareMethods to LazMethodList. Keep alias in LCLProc.
git-svn-id: trunk@58204 -
2018-06-09 14:39:36 +00:00
ondrej
a172ea3030 LCL: use LazLoggerBase instead of LazLogger
git-svn-id: trunk@58078 -
2018-06-02 15:59:13 +00:00
michl
c21d026d03 IDE: Fixed key mappings key name (Unknown) for value 0, after revision 57373 #193932300b. Issue #30992
git-svn-id: trunk@57959 -
2018-05-18 20:52:45 +00:00
michl
193932300b LCL: ShortCutToText faster, with array. Issue #30992. Patch by AlexeyT
git-svn-id: trunk@57373 -
2018-02-25 14:13:12 +00:00
juha
3ed79743c8 Remove the wrapper functions from LazUtils.FileUtil, Lcl.LclProcs and Codetools.FileProcs completely. Simplify code.
git-svn-id: trunk@56693 -
2017-12-11 19:44:37 +00:00