Commit Graph

1046 Commits

Author SHA1 Message Date
michl
e34bbc5c6f LCL: Fixed OnKeyUp for special keys when key was handled in OnKeyDown. Issue #33196
git-svn-id: trunk@57331 -
2018-02-19 23:28:20 +00:00
maxim
73a90daa66 LazUtils: fixed TPOFile.FillItem debugln in translations.pas
git-svn-id: trunk@57327 -
2018-02-18 21:42:38 +00:00
mattias
0b8beb57af lcl: fixed typo
git-svn-id: trunk@57320 -
2018-02-17 10:42:53 +00:00
maxim
97eebaa8d9 LazUtils: slightly improved code in translations.pas without changing logic
git-svn-id: trunk@57317 -
2018-02-16 23:02:09 +00:00
maxim
47ca6a4009 LazUtils: removed unused constant from translations.pas
git-svn-id: trunk@57146 -
2018-01-25 00:02:34 +00:00
maxim
768142c2d9 Lazutils: fixed setting fuzzy flags for incorrectly formatted items when translations are regenerated by IDE and introduced Duplicate flag for TPOFileItem (we don't want to use Context for this, because in future it can be set not only for duplicate items)
git-svn-id: trunk@57144 -
2018-01-24 23:54:36 +00:00
maxim
692a019da4 Lazutils: Got rid of separate CheckFormatArguments method and FormatChecked property in TPOFile class. They are useless, because items are already checked for format arguments correctness when CheckFormatArguments is called.
git-svn-id: trunk@57143 -
2018-01-23 23:54:40 +00:00
maxim
f0d23f46c7 Lazutils: deprecated TPOFile.Add method. FillItem should be used from now on.
git-svn-id: trunk@57139 -
2018-01-21 22:48:54 +00:00
maxim
b7f1c99d2b Lazutils: refactored code for adding/updating items in order to remove code duplication (TPOFile.Add method call was always preceded by search for duplicate item). This change introduces FillItem method which effectively renders Add method obsolete.
git-svn-id: trunk@57138 -
2018-01-21 22:35:50 +00:00
maxim
26ce2347a4 LazUtils: when updating existing translation item, copy Flags together with translation if needed, just like we do for newly added item.
git-svn-id: trunk@57016 -
2018-01-08 23:05:59 +00:00
maxim
854d1eceaf LazUtils: when updating existing translation item, copy PreviousID together with translation if needed, just like we do for newly added item.
git-svn-id: trunk@57010 -
2018-01-08 15:22:52 +00:00
maxim
07343847b2 LazUtils: replaced hardcoded literal with constant in translations.pas
git-svn-id: trunk@56988 -
2018-01-06 15:00:32 +00:00
maxim
7c33223dae LazUtils: if existing item being updated has empty translation, search for possible translation variants just like for newly added item. This should allow to avoid the need to do two regenerations of .po files in a row in some cases.
git-svn-id: trunk@56967 -
2018-01-05 15:07:41 +00:00
maxim
375c1edea3 LazUtils: when updating translation item, set FModified only when flags are actually modified.
git-svn-id: trunk@56954 -
2018-01-04 15:41:57 +00:00
maxim
50260ae6a6 LazUtils: when updating translation item, always check for formatting arguments and update flags accordingly, because badformat flags are often removed e.g. by poEdit. This change should allow to avoid the need to do two regenerations of .po files in a row in some cases.
git-svn-id: trunk@56953 -
2018-01-04 14:16:17 +00:00
maxim
3d107d6533 LazUtils: when updating translation item, also correctly set BadFormat flag.
git-svn-id: trunk@56939 -
2018-01-03 16:49:09 +00:00
maxim
edac957379 LazUtils: when updating translation item, change its PreviousID only if it was empty or translation item was not fuzzy before update. This allows to keep for translator's reference PreviousID against which this fuzzy translation was made. It helps when some changes get made to already fuzzy translation item.
git-svn-id: trunk@56938 -
2018-01-03 15:49:21 +00:00
juha
ed1cd9335d LazUtils: Add a new function UTF8ProperCase() to unit LazUTF8.
git-svn-id: trunk@56892 -
2017-12-31 08:49:05 +00:00
maxim
6393c91e5d Translations: Chinese translation update by robsean, bug #32850
git-svn-id: trunk@56798 -
2017-12-19 22:08:00 +00:00
mattias
5d67ef5e1b lazutils: fixed ResolveDots under Windows .\.
git-svn-id: trunk@56726 -
2017-12-14 16:19:14 +00:00
juha
f8be53b0e6 LazUtils: Change "Character" to "Codepoint" also in some parameter names in LazUTF8. Cleanup.
git-svn-id: trunk@56708 -
2017-12-13 00:07:00 +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
mattias
5444356865 lazutils: debug comments
git-svn-id: trunk@56678 -
2017-12-09 10:01:41 +00:00
juha
0f1a653071 LazUtils: Remove the reference to resource file from LazUnicode GUI example.
git-svn-id: trunk@56673 -
2017-12-08 20:52:04 +00:00
mattias
41d64afed4 lazutils: TAVLTree: changed default to be usable in threads
git-svn-id: trunk@56667 -
2017-12-08 09:54:41 +00:00
mattias
8fa91fbd06 lazutf8: fixed UTF8LowerCase CIRCLED LATIN CAPITAL LETTER K
git-svn-id: trunk@56665 -
2017-12-07 19:43:10 +00:00
juha
be0dcc0b50 LazUtils: Fix errors in LazUTF8.UTF8LowerCase. By forum user Munair.
git-svn-id: trunk@56662 -
2017-12-07 15:54:54 +00:00
juha
962f0fce09 LazUtils: Improve function UTF8LengthFast. From forum user "engkin".
git-svn-id: trunk@56572 -
2017-12-01 13:54:45 +00:00
martin
b289de5fdc Lazlogger: Allow setting to nil. Issue #32548
git-svn-id: trunk@56540 -
2017-11-30 13:53:44 +00:00
maxim
682a383e55 Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug #32754
git-svn-id: trunk@56535 -
2017-11-29 22:49:04 +00:00
maxim
926062dcfd Translations: huge Chinese translation update by robsean, bug #32750
git-svn-id: trunk@56534 -
2017-11-29 22:32:14 +00:00
juha
d10aed499e LazUtils: Improve function UTF8RPos. Use RPos and UTF8Length instead of reversing the whole string.
git-svn-id: trunk@56529 -
2017-11-28 21:29:05 +00:00
juha
c06635aeeb LazUtils: Fix the compare functions of lists for integer types in unit IntegerList.
git-svn-id: trunk@56400 -
2017-11-14 09:33:04 +00:00
juha
c7ba603d21 Reduce typecasts. Use TIntegerList and TByteList where appropriate.
git-svn-id: trunk@56399 -
2017-11-13 23:20:44 +00:00
juha
18f15c2e73 LazUtils: Add class TInt64List, a list of Int64.
git-svn-id: trunk@56397 -
2017-11-13 19:13:49 +00:00
juha
d2b1729095 LazUtils: Rename TArray -> TPointerPointerArray.
git-svn-id: trunk@56396 -
2017-11-13 17:33:36 +00:00
juha
04a49cc7ee LazUtils: Add a new unit IntegerList.
git-svn-id: trunk@56388 -
2017-11-13 17:33:23 +00:00
juha
18570daf7b LazUtils: Use TUnicodeCharacterEnumerator for the "for .. in" iterator syntax. Move demo to examples dir and add a GUI demo.
git-svn-id: trunk@56260 -
2017-11-03 16:13:46 +00:00
juha
7772e8646b LazUtils: Optimize Unicode enumerators. Use preset variables for different codepoint/character lengths.
git-svn-id: trunk@56259 -
2017-11-01 23:02:29 +00:00
mattias
5af084c055 codetools: test write components without with-do
git-svn-id: trunk@56229 -
2017-10-29 14:42:45 +00:00
mattias
b04498135d codetools: test writing with-lookuproot-do
git-svn-id: trunk@56218 -
2017-10-27 15:25:10 +00:00
mattias
036507e3ba codetools: test write end signature
git-svn-id: trunk@56217 -
2017-10-27 14:57:37 +00:00
mattias
085ac5259b codetools: test needed unit for defineproperties
git-svn-id: trunk@56213 -
2017-10-26 17:49:46 +00:00
mattias
87cee22c65 codetools: test write custom properties
git-svn-id: trunk@56212 -
2017-10-26 17:29:47 +00:00
mattias
fac364fd3b lazutils: added unit lazpasreadutil
git-svn-id: trunk@56209 -
2017-10-26 14:58:46 +00:00
mattias
acd77c3bb0 lazutils: replaced TPASObjectWriter with TCompWriterPas
git-svn-id: trunk@56208 -
2017-10-26 14:18:13 +00:00
bart
0d6d2cc04a LazFileUtils: rename a local variable to improve readability. No functional changes.
git-svn-id: trunk@56187 -
2017-10-25 10:36:19 +00:00
mattias
5e7387d21d lazutils: fixed ResolveDots: ./ -> .
git-svn-id: trunk@56185 -
2017-10-25 10:21:23 +00:00
mattias
90dd28d142 lazutils: simplified
git-svn-id: trunk@56163 -
2017-10-23 09:35:35 +00:00
mattias
8b8930645a lazutils: comment
git-svn-id: trunk@56097 -
2017-10-17 15:10:40 +00:00
mattias
099b09d88d lazutils: added compwriterpas.pas
git-svn-id: trunk@56093 -
2017-10-17 12:12:46 +00:00
bart
08a73bdac1 Fix TMask.InitMaskString for charsets when CaseSensitive is False. Issue #0032491. Patch by delfion.
git-svn-id: trunk@56029 -
2017-10-11 15:38:36 +00:00
juha
f331aaa8a1 EasyLazFreeType: Allow freeing TFreeTypeFont after EasyLazFreeType finalization. Issue #32371, patch from Andrey Zubarev.
git-svn-id: trunk@55788 -
2017-09-05 10:06:50 +00:00
juha
313c93184b LazUtils: In HTML2TextRenderer use an emoji for list items.
git-svn-id: trunk@55743 -
2017-08-24 22:18:03 +00:00
juha
bbd38e2474 LazUtils: Call the optimized function Utf8StringOfChar from StringOfCodePoint when using UTF-8.
git-svn-id: trunk@55729 -
2017-08-21 09:47:21 +00:00
juha
6169b87086 LazUtils: Add a trivial function StringOfCodePoint to unit LazUnicode.
git-svn-id: trunk@55701 -
2017-08-19 16:03:23 +00:00
mattias
895444b524 lazutils: less hints
git-svn-id: trunk@55679 -
2017-08-19 08:18:44 +00:00
juha
52fc498a76 Formatting and cleanup.
git-svn-id: trunk@55594 -
2017-07-26 10:45:05 +00:00
juha
ec52d9726a LazUtils: In Html2TextRenderer use a diamond glyph belonging to Unicode BMP. All fonts did not support the small diamond.
git-svn-id: trunk@55593 -
2017-07-25 19:38:35 +00:00
ondrej
11c15e3bf0 avglvltree: fix DisposeNode for nil Node. Issue #32189
git-svn-id: trunk@55561 -
2017-07-23 15:10:02 +00:00
ondrej
818462b741 LazUtils: add Laz_AVL_Tree to the package
git-svn-id: trunk@55560 -
2017-07-23 15:02:44 +00:00
maxim
ae97cba986 Translations: Lithuanian translation update by Valdas Jankūnas, bug #32126
git-svn-id: trunk@55502 -
2017-07-13 22:43:07 +00:00
maxim
732c7f90fd Translations: Lithuanian translation update by Valdas Jankūnas, bug #32126
git-svn-id: trunk@55474 -
2017-07-08 12:47:30 +00:00
juha
a06d4212e2 LazUtils: Reset one more variable in THTML2TextRenderer.
git-svn-id: trunk@55338 -
2017-06-12 19:33:31 +00:00
juha
9696a11210 LazUtils: Allow customizing THTML2TextRenderer output by new properties. Issue #31991, patch from AlexeyT.
git-svn-id: trunk@55336 -
2017-06-12 12:19:12 +00:00
juha
9ff73f8e2d LazUtils: Improve THTML2TextRenderer. Add property TitleMark. Don't use Unicode eyes for links, didn't look good.
git-svn-id: trunk@55329 -
2017-06-12 09:37:54 +00:00
juha
1afa4599a9 LazUtils: Improve THTML2TextRenderer class. Add property LineEndMark.
git-svn-id: trunk@55325 -
2017-06-12 07:54:45 +00:00
juha
1b20d91bba Replace function HTMLToCaption with a new THTML2TextRenderer class, placed into LazUtils package. Issue #31991.
git-svn-id: trunk@55319 -
2017-06-11 18:33:28 +00:00
bart
9b0e7b0b35 LazUtils: Fix compilation of utf8process.pp on Darwin with fpc trunk.
git-svn-id: trunk@55241 -
2017-06-05 15:54:24 +00:00
mattias
6e41e1e216 lazutils: fixed UTF8CharacterLengthFast
git-svn-id: trunk@55218 -
2017-06-04 20:18:38 +00:00
juha
e27232d4cc Fix uninitialized variables based on compiler warnings got with dfa (data flow analysis) enabled.
git-svn-id: trunk@55211 -
2017-06-04 15:14:29 +00:00
mattias
e6ce403f3f updates makefiles
git-svn-id: trunk@54969 -
2017-05-18 11:39:53 +00:00
bart
a3a7c54e1e LazUtf8: fix compilation for WinCE. Issue #0031788.
git-svn-id: trunk@54845 -
2017-05-09 19:21:42 +00:00
mattias
2b1fde1cd2 lazutils: fixed lazunicode compile under Delphi
git-svn-id: trunk@54807 -
2017-05-03 11:25:19 +00:00
juha
35f0a84962 LazUtils: Clean LazUnicode.
git-svn-id: trunk@54806 -
2017-05-03 11:19:09 +00:00
mattias
08bd7d6206 IDE: parse project default namespace
git-svn-id: trunk@54767 -
2017-04-28 22:27:06 +00:00
mattias
e87f70b765 lazutils: added MergeWithDelimiter
git-svn-id: trunk@54756 -
2017-04-27 14:33:17 +00:00
mattias
0a891e4ab2 set version to 1.8.0RC1
git-svn-id: trunk@54578 -
2017-04-08 21:53:32 +00:00
mattias
89eaee318a lazutils: TCustomStringMap: disable default node manager by default
git-svn-id: trunk@54557 -
2017-04-07 13:17:22 +00:00
juha
3c525fb548 LazUtils: Add backwards compatibility to TAvgLvlTree. Needed by BGRABitmap and others.
git-svn-id: trunk@54545 -
2017-04-06 17:44:28 +00:00
mattias
5609d691b4 lazutils: avl tree: comment
git-svn-id: trunk@54542 -
2017-04-06 10:42:21 +00:00
mattias
09b6614558 lazutils: avl tree: synced with FPC
git-svn-id: trunk@54541 -
2017-04-06 10:39:27 +00:00
mattias
0c60eb7f18 lazutils: avl tree: disabled debugging
git-svn-id: trunk@54540 -
2017-04-06 10:14:02 +00:00
mattias
9424db5d62 lazutils: fixed TAVLTree using fnodemgr
git-svn-id: trunk@54538 -
2017-04-06 10:08:39 +00:00
mattias
7fa04aed29 lazutils: TAvgLvlTree: made FreeAndDelete virtual safe
git-svn-id: trunk@54537 -
2017-04-06 09:27:12 +00:00
mattias
efd6a6efc5 lazutils: TAvgLvlTree: made FreeAndDelete virtual safe
git-svn-id: trunk@54536 -
2017-04-06 09:23:31 +00:00
mattias
0ddb1e74c5 lazutil: avltree: when using a custom nodeclass do not use the default nodememmanager
git-svn-id: trunk@54534 -
2017-04-06 08:45:56 +00:00
mattias
af03331f08 lazutil: avltree: fixed decreasing freecount and added thread test
git-svn-id: trunk@54533 -
2017-04-06 08:32:05 +00:00
juha
a94885a578 LazUtils: Reveal a bug in AVLTree. TAVLTreeNodeMemManager.FCount goes negative.
git-svn-id: trunk@54532 -
2017-04-05 21:07:46 +00:00
juha
4d07518471 LazUtils: Reintroduce TAvgLvlTree, inherit from TAvlTree. Implement OwnsObjects again.
git-svn-id: trunk@54531 -
2017-04-05 21:07:39 +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
maxim
37f2d73f0a Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #31614
git-svn-id: trunk@54514 -
2017-04-03 23:24:37 +00:00
juha
1e29783c40 More formatting.
git-svn-id: trunk@54377 -
2017-03-08 22:15:56 +00:00
maxim
c74ec53ab7 Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #31463
git-svn-id: trunk@54327 -
2017-03-02 22:17:27 +00:00
maxim
3f057d8f9e Translations: Hungarian translation update by Péter Gábor, bug #31451
git-svn-id: trunk@54315 -
2017-02-28 22:20:15 +00:00
mattias
673bc11392 lcl: gtk2: less hints
git-svn-id: trunk@54270 -
2017-02-25 12:26:50 +00:00
mattias
63b12d5281 lazutf8: under Windows use W function for GetEnvironmentStringUTF8 and GetEnvironmentVariable
git-svn-id: trunk@54269 -
2017-02-25 12:24:25 +00:00
mattias
59445580c3 lazutils: lazutf8: less ifdef cluttering
git-svn-id: trunk@54262 -
2017-02-24 13:13:28 +00:00
maxim
491820a1f4 Translations: French translation update by Gilles Vasseur, bug #31362
git-svn-id: trunk@54119 -
2017-02-07 23:00:04 +00:00
blikblum
bb1a32ecba win32: fix WideChar -> UTF8 conversion in GetLocaleStr with fpc 2.6.4. Issue #31272. Patch by Luca Olivetti
git-svn-id: trunk@54005 -
2017-01-26 01:34:29 +00:00
marcus
d9f917f93e Amiga: ExtractFilenameOnly/ExtractFileRoot for amiga systems
git-svn-id: trunk@53971 -
2017-01-18 19:43:14 +00:00
mattias
6059715450 lazutils: TAvgLvlTree.OwnsObjects
git-svn-id: trunk@53968 -
2017-01-18 11:59:00 +00:00
mattias
9d411abe20 docs: UnicodeToUTF8
git-svn-id: trunk@53964 -
2017-01-17 15:28:04 +00:00
mattias
0d6c0cfb48 lazutils: TAvgLvlTree.Compare inline
git-svn-id: trunk@53924 -
2017-01-11 12:40:38 +00:00
mattias
3df7cd55d3 lazutils: TAvgLvlTree: added const param modifier for proc types
git-svn-id: trunk@53911 -
2017-01-10 16:06:20 +00:00
mattias
d51f16bf41 lazutils: fixed TAvgLvlTree.AddAscendingSequence, when LastAdded gets a right child
git-svn-id: trunk@53910 -
2017-01-10 13:33:05 +00:00
mattias
c0a096e832 lazutils: added TAvgLvlTree.AddAscendingSequence, optimized version of Add
git-svn-id: trunk@53909 -
2017-01-10 12:37:33 +00:00
juha
39fe54c5f6 Make LCL and LazUtils compile for Amiga systems (NoGUI). Issue #31186, patch from Marcus Sackrow.
git-svn-id: trunk@53853 -
2017-01-03 12:01:49 +00:00
maxim
6fa37c1c52 LazUtils: updated Russian translation
git-svn-id: trunk@53754 -
2016-12-21 22:45:41 +00:00
juha
09de77223d LazUtils: Fix the package name in file headers.
git-svn-id: trunk@53753 -
2016-12-21 22:35:14 +00:00
juha
90cf12dacd Move LazLinkedList from LCL to LazUtils.
git-svn-id: trunk@53752 -
2016-12-21 22:35:12 +00:00
juha
d33b9f61a2 Reuse LazLogger.DumpExceptionBackTrace. Cleanup.
git-svn-id: trunk@53742 -
2016-12-20 22:52:02 +00:00
juha
2329f266ed Move Translations unit from LCL to LazUtils.
git-svn-id: trunk@53740 -
2016-12-20 22:32:43 +00:00
juha
3b52a368a2 Move containers from LCL to LazUtils. DynamicArray, DynHashArray, DynQueue, Maps, StringHashList, ExtendedStrings, TextStrings.
git-svn-id: trunk@53737 -
2016-12-20 16:26:27 +00:00
mattias
c458f34d54 IDE: register TProcessUTF8 with LazUtils, not LCL
git-svn-id: trunk@53735 -
2016-12-20 13:25:34 +00:00
bart
545d1bb66f LazUtf8: Fix UnicodeToUtf8 for CodePoint = 0. Issue #0031103.
git-svn-id: trunk@53659 -
2016-12-12 20:55:42 +00:00
mattias
5fe7ed77c1 lazutils: clean up
git-svn-id: trunk@53616 -
2016-12-09 09:14:13 +00:00
mattias
e53ad0a63b lazutils: simplified
git-svn-id: trunk@53403 -
2016-11-21 16:05:02 +00:00
juha
5338a3dfc1 LazUtils: Refactoring for TXMLConfig. Issue #30899, patch from AlexeyT.
git-svn-id: trunk@53385 -
2016-11-18 19:25:05 +00:00
ondrej
37928d1126 LazUtils: lazutf8sysutils: use GetTickCount32 from FPC 3 if available. Issue #30927
git-svn-id: trunk@53364 -
2016-11-14 13:41:54 +00:00
mattias
f96014d35b lazutils: TStringToPointerTree: fixed freeing value on replace
git-svn-id: trunk@53305 -
2016-11-07 11:29:29 +00:00
mattias
eefe2518a1 lazutils: comment
git-svn-id: trunk@53300 -
2016-11-05 14:57:02 +00:00
bart
39750fff57 LazUtf8
- deprecate ValidUTF8String() (confusing name)
- implement Utf8EscapeControlChars()
Resolves Issue #0030821.

git-svn-id: trunk@53297 -
2016-11-04 14:23:20 +00:00
mattias
887269a2be lazutils: ExpandFileNameUTF8: fixed HOME with UTF-8
git-svn-id: trunk@53283 -
2016-11-02 11:13:07 +00:00
mattias
88c8a65391 lazutils: ResolveDots: fixed a/../b
git-svn-id: trunk@53275 -
2016-11-01 19:55:25 +00:00
ondrej
c4a4b773bd LazUtils: FindDefaultExecutablePath refactoring. Issue #30816, patch by AlexeyT
git-svn-id: trunk@53257 -
2016-10-29 06:30:41 +00:00
mattias
3bcde4474b lazutils: FindDefaultExecutablePath: on Windows search in BaseDir as well, bug #30802.
git-svn-id: trunk@53236 -
2016-10-27 10:38:59 +00:00
mattias
281d09864a lcl: added TProcessUTF8.ParseCmdLine
git-svn-id: trunk@53142 -
2016-10-17 13:50:13 +00:00
mattias
ad2a1d0c2d lazutils: less warnings
git-svn-id: trunk@53137 -
2016-10-17 13:33:55 +00:00
juha
0973660a48 LazUtils: Unify formatting between FileIsReadable and FileIsWritable + other formatting.
git-svn-id: trunk@53127 -
2016-10-16 20:06:33 +00:00
joost
dd12fca090 * Re-generated fpmake.pp
git-svn-id: trunk@53117 -
2016-10-14 18:37:23 +00:00
juha
8cfa96523a Packager: formatting
git-svn-id: trunk@53083 -
2016-10-09 13:12:08 +00:00
juha
9ca4db530f LazUtils: Add few more IDE directives to suppress notes about unused Sender parameter. Issue #29704.
git-svn-id: trunk@52990 -
2016-09-18 19:42:55 +00:00
mattias
bc57de6bb9 lazutf8: improved UTF8CharacterLength and UTF8CharacterLengthFast
git-svn-id: trunk@52857 -
2016-08-21 21:14:01 +00:00
juha
413f000fc0 LazUtils: Return 1 also for char #0 in UTF8CharacterLengthFast. Matches the logic in UTF8CharacterLength.
git-svn-id: trunk@52856 -
2016-08-21 19:48:01 +00:00
juha
01c9a4b4d7 LazUtils: Add fast versions of UTF8CharacterLength and UTF8Length. Use them in LazUnicode unit.
git-svn-id: trunk@52853 -
2016-08-21 16:37:02 +00:00
mattias
6e88fded34 lazutils: clean up
git-svn-id: trunk@52770 -
2016-08-01 20:06:41 +00:00
martin
65f56da2d8 LazClasses: TRefCountedObject, added debug helpers
git-svn-id: trunk@52757 -
2016-07-31 14:39:58 +00:00
mattias
c13e223026 lazutils: deprecated note
git-svn-id: trunk@52712 -
2016-07-18 17:40:40 +00:00
mattias
872c45d0f4 lazutils: fixed compilation with FPC 2.6.4
git-svn-id: trunk@52686 -
2016-07-14 09:31:37 +00:00
juha
156ab97c17 LazUtils: Improve function names in LazUnicode. Add comments.
git-svn-id: trunk@52676 -
2016-07-12 17:17:21 +00:00
juha
26220ffce3 LazUnicodeTest: Define UseUTF16 so that it affects LazUtils package, too.
git-svn-id: trunk@52673 -
2016-07-12 13:40:24 +00:00
juha
70535df1b1 LazUtils: a new test program for LazUnicode unit.
git-svn-id: trunk@52672 -
2016-07-12 12:20:38 +00:00
juha
6e8338f0f9 LazUtils: add LazUnicode unit to LazUtils package.
git-svn-id: trunk@52671 -
2016-07-12 12:18:22 +00:00
juha
dc90c9173e LazUtils: New unit LazUnicode for encoding agnostic code. Supports Delphi. LazUTF16 is updated.
git-svn-id: trunk@52670 -
2016-07-12 09:55:21 +00:00
bart
cc2b0f718e LazUtils: fix comments in lazutils_defines.inc.
git-svn-id: trunk@52607 -
2016-07-03 15:15:09 +00:00
wp
40a5dc93a0 lazutils: Avoid laz2_xmlcfg changing DefaultFormatSettings.
git-svn-id: trunk@52584 -
2016-06-29 11:48:44 +00:00
juha
f34ea1f4c7 LazUtils: Match character case of unit name LazUTF16 with LazUTF8.
git-svn-id: trunk@52528 -
2016-06-20 06:34:37 +00:00
juha
920c072f0e LazUtils: Add, fix and unify header comments of many units.
git-svn-id: trunk@52518 -
2016-06-18 16:40:04 +00:00