Commit Graph

313 Commits

Author SHA1 Message Date
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
juha
6810c626df LazUtils: Change "Character" to "Codepoint" in LazUTF8 function names to be more accurate and to avoid confusion.
git-svn-id: trunk@56692 -
2017-12-11 19:44:22 +00:00
juha
be678e2bf1 LCL: Use CompareText function in IsFontNameDefault.
git-svn-id: trunk@55224 -
2017-06-04 21:52:34 +00:00
juha
1184822164 LCL: Use a helper function for testing fontname 'default'. Issue #31940, patch from AlexeyT.
git-svn-id: trunk@55188 -
2017-06-03 18:56:34 +00:00
juha
e800a738ad Copy AVL_Tree from FPC trunk and replace classes in AvgLvlTree and in CodetoolsStructs with it.
The unit in FPC packages will be used directly later.

git-svn-id: trunk@54524 -
2017-04-05 08:34:48 +00:00
juha
63f9efed4e LCL: Add support for MUI widgetset (AmigaOS, MorphOS, AROS) by Marcus Sackrow.
git-svn-id: trunk@53941 -
2017-01-14 09:55:59 +00:00
juha
52ab6a0253 LCL: Cleanup
git-svn-id: trunk@53763 -
2016-12-22 22:29:16 +00:00
juha
d33b9f61a2 Reuse LazLogger.DumpExceptionBackTrace. Cleanup.
git-svn-id: trunk@53742 -
2016-12-20 22:52:02 +00:00
juha
cfd390c5c5 Order uses sections some more.
git-svn-id: trunk@53741 -
2016-12-20 22:32:52 +00:00
juha
a714a91311 LCL: Move TLCLPlatform and related non-GUI code to a new unit to be used without GUI.
Organize uses-sections by package so that dependencies can be easier seen.

git-svn-id: trunk@53711 -
2016-12-17 22:58:08 +00:00
mattias
bfcced5fad lcl: added KeyCodeToKeyString, issue #30988, from AlexeyT
git-svn-id: trunk@53427 -
2016-11-23 16:00:23 +00:00
juha
cdf1328144 LCL: Fix the display string of shortcut "+". Issue #30973, patch from Michl.
git-svn-id: trunk@53422 -
2016-11-23 10:24:15 +00:00
juha
223f280d3a LCL: Small optimization for ShortcutToText. Issue #30709, patch from Alexey Torgashin.
git-svn-id: trunk@53084 -
2016-10-09 13:12:13 +00:00
juha
813f5cb5d7 LCL: Small optimization for TextToShortcut. Issue #30707, patch from Alexey Torgashin.
git-svn-id: trunk@53077 -
2016-10-08 07:15:11 +00:00
juha
95e8ab1cd8 LCL, Codetools: Turn condition {$IFnDEF DisableWrapperFunctions} into {$IFDEF EnableWrapperFunctions} in units where it was forgotten.
git-svn-id: trunk@52678 -
2016-07-13 13:32:33 +00:00
bart
45e8d97693 LCLProcs: Remove the Win9xWsManager unit, since we don't support that platform anymore.
git-svn-id: trunk@51858 -
2016-03-08 11:47:49 +00:00
mattias
19299db032 lcl: inline DumpStack
git-svn-id: trunk@51660 -
2016-02-19 08:59:58 +00:00
juha
c96d141c52 Tools: Reorder and clean uses sections. Prevent "deprecated" warnings.
git-svn-id: trunk@49624 -
2015-08-08 21:06:51 +00:00
juha
653b5dd43a Codetools, unit FileProcs: Disable conditionally wrapper functions. For testing define DisableWrapperFunctions and build Lazarus.
git-svn-id: trunk@49504 -
2015-07-07 11:43:38 +00:00
juha
06ac76f560 LazUtils, unit FileUtil: Disable conditionally LazUtf8 and LazFileUtils wrapper functions. For testing define NoLazUTF8Wrappers and build Lazarus.
git-svn-id: trunk@49494 -
2015-07-04 23:08:00 +00:00
juha
389df5cdfe LCL: Support special strings for TextToShortcut/ShortcutToText. Issue #27746, patch from Alexey Torgashin.
git-svn-id: trunk@48922 -
2015-05-02 21:50:00 +00:00
juha
abe573b42d Initialize variables based on compiler warnings around Lazarus and libs. Contains ToDo items.
git-svn-id: trunk@48481 -
2015-03-24 17:52:23 +00:00
mattias
5ca1ca2bd8 LCL: less hints
git-svn-id: trunk@47614 -
2015-02-07 09:52:51 +00:00
juha
abf9a845da Deprecate wrappers for LazUTF8 functions in LCLProc.
git-svn-id: trunk@47604 -
2015-02-06 18:25:31 +00:00
mattias
814cf1a717 lazutils: FindInvalidUTF8Character: check for wrong mapped codes, changed default to report gaps
git-svn-id: trunk@47172 -
2014-12-10 14:26:18 +00:00
mattias
010fd26779 lcl: DbgSaveData: unicode file names
git-svn-id: trunk@46809 -
2014-11-12 18:50:45 +00:00
mattias
1fe37e15a2 fixed spelling mistakes, found by lintian
git-svn-id: trunk@43900 -
2014-02-05 12:07:46 +00:00
jesus
103d6a39e3 LCL, added dbgs(variant)
git-svn-id: trunk@43774 -
2014-01-20 01:14:56 +00:00
maxim
18a463791b LCL: fixed TComboBox autocompletion with numeric (non-numpad) keys, patch from Gilson Nunes, bug #25495
git-svn-id: trunk@43660 -
2014-01-06 15:05:48 +00:00
juha
c30eb3edd3 Clean outdated DEFINEs from the code, like old compiler versions and FPC_HAS_CONSTREF.
git-svn-id: trunk@43628 -
2014-01-02 18:16:19 +00:00