Commit Graph

1390 Commits

Author SHA1 Message Date
Martin
131d1062df Debugger: allow calling SysVarToLStr for variants (via user defined type-names) 2022-06-23 13:54:18 +02:00
Juha
f737b23e7c LazUtils: Add 4 encodings: ISO-8859-3, -4, -7, -13 to LConvEncoding. Issue #39806, patch by Alexey Torgashin. 2022-06-20 12:28:17 +03:00
Juha
3bea109b57 LazUtils: Add encoding ISO-8859-10 to LConvEncoding. Issue #39800, patch by Alexey Torgashin. 2022-06-20 09:59:08 +03:00
Martin
4e97ffa45f LazUtils: TXMLConfig fixed crash with uninitialized result value. (If "CreateNodes" is false, and [] value is not cached) 2022-06-15 13:12:28 +02:00
Juha
7dfdebb389 LazUtils: Fix a recently introduced bug in LConvEncoding. Issue #39795, patch by Alexey Torgashin. 2022-06-13 23:31:50 +03:00
Juha
4b08ccf47b LazUtils: Add encoding ISO-8859-5 to LConvEncoding. Issue #39795, patch by Alexey Torgashin. 2022-06-13 19:46:22 +03:00
Juha
7cd0c6804d LazUtils: Add encoding ISO-8859-16 to LConvEncoding. Issue #39794, patch by Alexey Torgashin. 2022-06-12 18:50:23 +03:00
Juha
262fe00e31 LazUtils: Add ISO-8859-9 and ISO-8859-14 to the supported encoding list. Issue #39785, patch by Don Siders. 2022-06-08 11:52:12 +03:00
Juha
573be15eaf LazUtils: Add function ISO_8859_14ToUTF8 also to interface section. Issue #39784. 2022-06-07 23:08:33 +03:00
Juha
494fa2abc8 LazUtils: Add encoding ISO-8859-14 to LConvEncoding. Issue #39784, patch by Alexey Torgashin. 2022-06-07 13:00:43 +03:00
mattias
9e762cde89 udpated makefiles 2022-05-29 19:34:19 +02:00
Martin
a68a32a9b5 LazLogger: added missing stackdump with log-group 2022-05-12 21:19:34 +02:00
Juha
76f7524436 LazUtils: In UCS2BEToUTF8 and UCS2LEToUTF8 skip little/big endian BOM. Merge request !88 by Zaher Dirkey. 2022-04-16 12:41:31 +03:00
mattias
0f871f2237 lazutils: clean up 2022-04-11 09:43:22 +02:00
Martin
e2f9ae2c04 LazXmlConfig: Write/Read Set/Enum according to PTypeInfo 2022-03-24 00:39:04 +01:00
wp_xyz
201075cbd8 LCL: Make procedure RotateRect() (local to customlabel.inc) publicly available in GraphMath. 2022-03-13 15:41:48 +01:00
Juha
014d3b3a9f LazUtils: Add ISO-8859-9 encoding to LConvEncoding. Issue #39659, patch by Alexey Torgashin. 2022-03-03 16:14:29 +02:00
Juha
c805ff750d Move FreeType license file from LazUtils to FreeType directory. Issue #39657. 2022-02-25 12:24:58 +02:00
mattias
17614c2ea5 lazutils: updated fpmake 2022-02-24 12:57:34 +01:00
mattias
26c9421318 updated Makefiles 2022-02-24 12:55:45 +01:00
Mattias Gaertner
900cfcb27e Merge branch 'lazutils_dep_fcl-image_remove' into 'main'
Removing the dependency of the LazUtils package on the fcl-image package

See merge request freepascal.org/lazarus/lazarus!63
2022-02-24 11:53:51 +00:00
Juha
28dc8193a3 LazUtils: Add a helper function RenderHTML2Text for class THTML2TextRenderer. 2022-02-06 12:38:47 +02:00
Sergey Larin
8a185d4e79 Removing the dependency of the LazUtils package on the fcl-image package 2022-01-26 16:33:00 +03:00
Juha
b7d8333fd9 LazUtils: Prevent a zombie process with openDocument and openURL. Issue #35527. 2022-01-23 02:46:53 +02:00
Bart
4b313d25b3 LazUtf8: optimize Utf8StringReplace. Issue ##39576. Do NOT merge to 2.2 fixes! 2022-01-22 18:32:41 +01:00
Bart
24bb2eb1a4 LazUtf8: small optimization of Utf8EscapeControlChars. 2022-01-22 14:55:25 +01:00
Bart
0ff1e5d2a7 LazUtf8: pass language string parameters as const. Patch by Alexey Torgashin. Issue ##39577 2022-01-22 14:25:35 +01:00
Bart
242f0ac056 LazUtf8: faster implementation Utf8EscapeControlChars based upon idea by Alexey Torgashin. Issue #39573. 2022-01-19 15:38:43 +01:00
mattias
f97a493801 updated makefiles 2022-01-16 21:42:24 +01:00
Martin
fb84c05582 LazCollections: compiler warnings 2022-01-09 01:17:24 +01:00
Bart
9b61164125 LazUtils: Masks: move the logic of #a9457c2f2bd1412ef2c8ed9dc7e468eff6453bf4 to CompileAnyCharOrNone. 2022-01-02 13:20:37 +01:00
Bart
a9457c2f2b LazUtils: Masks: if mocSet, mocRange of mocAnyCharOrNone is enabled an unescaped '[' must always start such a construct and cannot be a literal. 2022-01-01 13:20:42 +01:00
Martin
7a876814d5 LazLogger: fix getting command line param. To not return include "=" from --debug-enable=foo. Issue #39520 2021-12-29 17:08:38 +01:00
Bart
18b5c2d3e2 LazUtf8: use PopCnt in Utf8LengthFast if instructionset supports it (currently X86 with -CpCOREI or higher). 2021-12-28 16:15:01 +01:00
Bart
71d44be64a LazUtf8: use unsigned variables in Utf8LengthFast. 2021-12-28 14:29:01 +01:00
Bart
cb9d685f79 LConvEncoding: reverts #05765da982ab46e2486c6932648c71fd692a54d5 and #01e627e35da5030ccea4406cffbdf5b67b85b0b9 and resolves issue #39348 in a different way (by always setting the target's codepage when converting to UTF8). 2021-12-16 22:11:56 +01:00
Maxim Ganetsky
e71c784ab0 Translations: Brazilian Portuguese translation update by Marcelo B Paula, issue #39516 2021-12-15 02:21:23 +03:00
Martin
189c64388e LazLogger: avoid "inline" warning for fpc versions not supporting it. Issue #39508 2021-12-12 00:02:41 +01:00
Bart
153a562187 LazUtf8: fix rangecheck error due to not detecting invalid 4-byte Utf8-codepoint in ConvertUTF8ToUTF16. Issue #39501. 2021-12-11 19:17:44 +01:00
Bart
01e627e35d LazUtils: LConvEncoding: change signature of TConvertEncodingFunction analogue to all XXXToUtf8() functions. Part of issue #39348; 2021-12-11 17:31:30 +01:00
Bart
5aa4ccaa47 LazUtils: LConvEncoding: remove all code that is disabled if FPC_HAS_CPSTRING is NOT defined,
since we do not support compiler versions < 3.0, so FPC_HAS_CPSTRING is always defined now.
2021-12-09 22:00:25 +01:00
Bart
05765da982 LazUtils: LConvEncoding: Fix not setting target codepage in various xxxToUtf8() functions. Issue #39348.
Note: ConvertAnsiToUtf8 not fixed yet.
2021-12-09 21:42:07 +01:00
Maxim Ganetsky
738e48c6b7 Translations: French translation update by Gilles Vasseur, issue #39487 2021-11-26 03:47:29 +03:00
Bart
ef131e6c46 LazUtils: Masks: modifiy comment about wqAnyExtension 2021-11-20 13:25:33 +01:00
Bart
ac380781cd LazUtils: Masks: re-arrange some definitions. No functional changes. 2021-11-20 13:21:15 +01:00
Bart
7fb173f384 LazUtils: Test: TestMasks: Add test for issue #39462. 2021-11-20 13:00:24 +01:00
Bart
7c0fdd1281 LazUtils: Masks: on Windows 'foo.*' should also match 'foo' (depends on quirks used). Patch by Jose Mejuto. Issue #39462. 2021-11-20 12:57:08 +01:00
Sven Barth
53fe133e43 * for FPC 3.2.3 and newer alias GraphType.TGraphicsColor to System.UITypes.TColor, Graphics.PColor to System.UITypes.PColor and LCLType.COLORREF to System.UITypes.TColorRef to avoid type conflicts when both System.UITypes and the LCL units are used
Merge request freepascal.org/lazarus/lazarus!46 with minor change (enabled aliasing for FPC 3.2.3 too).
2021-11-16 00:27:36 +03:00
Bart
1643927f8f LazUtils: Test: TestMasks: adjust Windows tests after the the removal of wqFileNameEnd from DefaultWindowsQuirks. 2021-11-10 22:15:14 +01:00
Bart
eb63676746 LazUtils: Masks: remove wqFileNameEnd from DefaultWindowsQuirks, as it's behaviour is a bit unexpected for the common user. 2021-11-10 21:52:47 +01:00