Commit Graph

959 Commits

Author SHA1 Message Date
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
sekelsenmat
d69c951230 Fixes compilation with FPC 2.6
git-svn-id: trunk@52498 -
2016-06-13 09:28:03 +00:00
bart
2a41a0e2f4 Fix spelling errors. Issue #0030258. Patch by Paul Gevers.
git-svn-id: trunk@52489 -
2016-06-12 16:07:57 +00:00
ondrej
4706ec8505 lazutils: fix compilation with DisableUTF8RTL after r52480 #b13ba1b0b9
git-svn-id: trunk@52488 -
2016-06-12 08:57:25 +00:00
ondrej
47df5bbcc5 lazutils: fix comment from r52480 #b13ba1b0b9
git-svn-id: trunk@52486 -
2016-06-12 08:32:47 +00:00
mattias
824e8f1f9d lazutils: fixed compilation on non windows
git-svn-id: trunk@52481 -
2016-06-12 06:55:16 +00:00
ondrej
b08c38cba0 lazutils: fix GetFormatSettingsUTF8, make it public
git-svn-id: trunk@52479 -
2016-06-12 05:57:58 +00:00
maxim
207c318329 Regenerated translations
git-svn-id: trunk@52455 -
2016-06-08 21:59:41 +00:00
juha
ba872ba5b1 LazUtils: Use cwstring always on unix systems. WideCompare* functions require it.
git-svn-id: trunk@52442 -
2016-06-05 08:26:52 +00:00
wp
9077d7ba0e LazFreeType: FontCollection can add folders recursively now.
git-svn-id: trunk@52430 -
2016-06-03 16:23:05 +00:00
wp
ea3a65ae10 LazFreeType: Fix infinite loop if a font with a non-regular style is added to the FontCollection a second time.
git-svn-id: trunk@52429 -
2016-06-03 16:09:28 +00:00
ondrej
5b81517c26 lazutils: add TMethodList enumerators.
git-svn-id: trunk@52398 -
2016-05-27 15:40:19 +00:00
ondrej
6b94a5fca9 lazutils: less hints
git-svn-id: trunk@52342 -
2016-05-22 10:10:48 +00:00
wp
27e59768b3 LazUtils: Extend xml reader to accept encoding name "UTF8" in addition to "UTF-8"
git-svn-id: trunk@52329 -
2016-05-19 20:59:13 +00:00
ondrej
b7d9f09d50 lazfreetype: fix TFreeTypeFont.CharsPosition for unicode text
git-svn-id: trunk@52283 -
2016-05-05 11:05:49 +00:00
ondrej
b58038b72c lazutils: easylazfreetype: return the actual item in TFreeTypeFontCollection.AddFile and not just boolean.
git-svn-id: trunk@52153 -
2016-04-09 18:41:59 +00:00
juha
2c41ccf609 Formatting, comment.
git-svn-id: trunk@52109 -
2016-04-06 10:19:12 +00:00
bart
9ea2b541f4 LazUtils: PasWString: fix infinite recursion in WideCompareText.
git-svn-id: trunk@52076 -
2016-03-28 10:57:53 +00:00
bart
5d6e5012ea LazFileUtils: fix uninitialized result in ChompPathDelim. Issue #0029866.
git-svn-id: trunk@52004 -
2016-03-20 22:08:06 +00:00
mattias
25f7a697e5 updated makefiles
git-svn-id: trunk@52001 -
2016-03-20 11:19:40 +00:00
mattias
f2e4d7db58 lazutils: comments
git-svn-id: trunk@51998 -
2016-03-20 10:55:55 +00:00
bart
7c9fc905a6 LazUtf8: In UTF8CompareStrCollated only call AnsiCompareStr is ACP_RTL is defined, since in all other cases
AnsiCompareStr = widestringmanager.CompareStrAnsiStringProc = UTF8CompareStr.
If ACP_RTL is not defined call Utf8CompareStr, since this is now does proper collation and is faster than
converting to WideString.

git-svn-id: trunk@51978 -
2016-03-17 12:07:57 +00:00
bart
77e5428b3f LazUtf8: firts attempt to rewrite Utf8CompareStr and Utf8CompareText so that it's results will be more consistent with
AnsiCompareStr/WideCompareStr and AnsiCompareTex/WideCompareText.
(
The old implementation was in effect a copy of CompareStr and, this made the claim about proper collation in
Utf8CompareText (which uses Utf8CompareStr) rather ludicrous.
The new implementaion is slower, mainly becaus of the fact we cannot use CompareMemrange/CompareByte anymore,
and we have to iterate the bytes ourselves. This fact alone contributes much more to the loss in speed than
the fact we use WideCompareStr on the 2 differing codepoints:
- iterating in a for loop: adss a factor of appr. 10 to the time needed
- using the final WideCompareStr adds a factor of about 1.6 to the time meeded.
Because of the slowdown in speed in Utf8CompareStr, Utf8CompareText now calls WideCompareText directly, which is
now appr. the same speed as converting to lowercase and then calling Utf8CompareStr
)

git-svn-id: trunk@51977 -
2016-03-17 11:38:56 +00:00
bart
b192fb9760 LazUtf8: Refactor UTF8FindNearestCharStart. Resolves Issue #0029851.
git-svn-id: trunk@51973 -
2016-03-17 10:42:52 +00:00
bart
34be9ae2d0 LazUtf8: implement Utf8TryFindCodepointStart.
git-svn-id: trunk@51972 -
2016-03-17 10:39:52 +00:00
juha
d93952201f LazUtils: Fix compilation on darwin. Issue #29843, patch from lks.
git-svn-id: trunk@51957 -
2016-03-16 07:05:26 +00:00
bart
23f36140b5 LazUtf8: implement Utf8ReverseString and Utf8RPos. Patch by Bernard Marcelly. Issue #0029817.
git-svn-id: trunk@51927 -
2016-03-12 14:01:03 +00:00
mattias
69de6012ba lazfileutils: added windows function SHGetFolderPathUTF8
git-svn-id: trunk@51881 -
2016-03-09 13:15:53 +00:00
bart
9c050f164e LazUtils: disable the wrapper functions in FileUtil by default. The wrapper functions will be removed later on.
git-svn-id: trunk@51834 -
2016-03-06 13:19:23 +00:00
mattias
febbca6c63 components: less hints
git-svn-id: trunk@51785 -
2016-03-01 15:26:12 +00:00
bart
2683bc53a8 LazUtils: Prevent CopyDirTree copying to a subdirectory of source: handle unicode characters.
git-svn-id: trunk@51692 -
2016-02-24 23:07:19 +00:00
bart
f09c665b2a LazUtf8: fix Utf8LowerCase for #$E2#$B1#$AD (LATIN CAPITAL LETTER ALPHA)
git-svn-id: trunk@51688 -
2016-02-24 22:26:58 +00:00
bart
f7005c6649 LazUtils: Revert r51038 #10e166f60e. Fixes bug in CopyDirTree. Issue #0029695.
git-svn-id: trunk@51675 -
2016-02-22 18:13:29 +00:00
bart
f98b2e0ab7 LazUtils: Remove (obsolete) ansi implementations of File*UTF8 functions (Windows).
Part of removing specific Win9x code.

git-svn-id: trunk@51308 -
2016-01-17 15:38:02 +00:00
juha
5ff026ab94 IDE: Support dotted unit names in FilenameIsPascalSource. Issue #29363.
git-svn-id: trunk@51261 -
2016-01-12 17:00:28 +00:00
joost
c65c09f800 * Added TLazThreadedQueue.PopItemTimeout to be able to specify different timeout then the default
git-svn-id: trunk@51236 -
2016-01-10 15:45:53 +00:00
juha
800d968b77 LazUtils: Suppress some hints when compiling LazUtils. Issue #27961.
git-svn-id: trunk@51053 -
2015-12-27 15:04:41 +00:00
bart
35b30db335 LazUtils: CopyDirTree: better readable Boolean expression.
git-svn-id: trunk@51041 -
2015-12-26 16:43:20 +00:00
bart
b8d42c3a62 LazUtils: Fix r51038 #10e166f60e for Issue #28841.
git-svn-id: trunk@51039 -
2015-12-26 13:50:01 +00:00
bart
10e166f60e LazUtils: Better fix "Prevent CopyDirTree copying to a subdirectory of source." Issue #28841.
git-svn-id: trunk@51038 -
2015-12-26 13:14:11 +00:00
juha
d10faafb1a LazUtils: Use trimmed paths for comparing sub-dir in CopyDirTree. Fix return value. Issue #28841.
git-svn-id: trunk@51034 -
2015-12-25 19:14:04 +00:00
juha
6faa4e893c LazUtils: Prevent CopyDirTree copying to a subdirectory of source. Issue #28841.
git-svn-id: trunk@51033 -
2015-12-25 18:39:32 +00:00
bart
39da734bec LazUtils: fix compilation for WinCE.
git-svn-id: trunk@51026 -
2015-12-24 18:08:42 +00:00
bart
894c125543 LazUtils: Second attempt to implement Utf8Delete() for parameters of type Utf8String.
git-svn-id: trunk@50910 -
2015-12-18 17:59:39 +00:00
mattias
7896da19ae IDE: fixed searching in PATH on Windows
git-svn-id: trunk@50865 -
2015-12-17 14:34:53 +00:00
bart
b3035175ac LazUtils: implement Utf8Delete() and Utf8Insert() for parameters of type Utf8String. (Only needed for these, since they use var parameters).
git-svn-id: trunk@50850 -
2015-12-16 17:07:58 +00:00
bart
eef2f8f590 LazUtils: implement Utf16StringReplace.
git-svn-id: trunk@50849 -
2015-12-16 16:55:05 +00:00
ondrej
3a6697bc77 codetools, lazutils, win32: less hints
git-svn-id: trunk@50822 -
2015-12-15 16:27:39 +00:00
mattias
9a471bcd00 lazutils: fixed compilation under Windows
git-svn-id: trunk@50729 -
2015-12-09 23:35:07 +00:00
mattias
b48a3ea89e lazutils: UTF8ToWinCP for Unix
git-svn-id: trunk@50723 -
2015-12-09 22:58:30 +00:00
juha
67bbb06ba6 LazUtils: Finalize FreeTypeFont instance only when needed. Issue #29151, patch from Andrey Zubarev.
git-svn-id: trunk@50712 -
2015-12-08 19:56:21 +00:00
mattias
eeeb237080 lazutils: fixed TProcessUTF8 ancestor
git-svn-id: trunk@50655 -
2015-12-05 18:51:23 +00:00
mattias
82b946cccb lazutils: fixed dangling pointer
git-svn-id: trunk@50646 -
2015-12-05 14:08:46 +00:00
mattias
55619096fd lazutils: fixed compilation FC 2.6.4
git-svn-id: trunk@50627 -
2015-12-05 00:13:53 +00:00
mattias
9e8df5c8ed lazutils: fixed ConsoleToUTF8 on Windows
git-svn-id: trunk@50624 -
2015-12-04 23:04:44 +00:00
mattias
93a809284f lazutils: TProcessUTF8: using CreateProcessW on MSWindows, using alias otherwise
git-svn-id: trunk@50603 -
2015-12-04 16:06:35 +00:00
mattias
d0dace2bf5 lazutils: TProcessUTF8: experimental on mswindows override Execute using CreateProcessW, other platforms: use alias, bug #28991
git-svn-id: trunk@50595 -
2015-12-04 15:27:16 +00:00
mattias
fff60a4076 lazutils: undo TProcessUTF8 change, not stable
git-svn-id: trunk@50588 -
2015-12-03 15:05:22 +00:00
mattias
eeed3eae79 lazutils: TProcessUTF8: on mswindows override Execute using CreateProcessW, other platforms: use alias, bug #28991
git-svn-id: trunk@50586 -
2015-12-03 14:50:36 +00:00
bart
1f91afe602 LazUtils: fix issue with implicit codepage conversion in ParamStrUtf8. Issue #0028815.
git-svn-id: trunk@50569 -
2015-12-02 13:33:56 +00:00
bart
a121cb2acc LazUtils: Fix implicit codepage ceversion issue for FindFirstUtf8/FindNextUtf8 (Windows). Patch by Michl. Issue #0028406.
git-svn-id: trunk@50567 -
2015-12-02 12:43:29 +00:00
bart
2a47550bba LazUtils: fix crash in ExpandFilenameUtf8 (Issue #0029098).
git-svn-id: trunk@50519 -
2015-11-28 15:48:40 +00:00
bart
efc3ca18be LazUtf8: Fix Utf8ToConsole. Patch by ChrisF, modified by me. Issue #0028371.
git-svn-id: trunk@50514 -
2015-11-27 10:39:35 +00:00
bart
b2fa28caad LazUtils: add lazutils_defines.inc, forgotten in r50498 #0c8df133dd.
git-svn-id: trunk@50499 -
2015-11-24 16:24:54 +00:00
bart
0c8df133dd LazUtils:
- An attempt to unify the defines for the different scenario's in the use of (not) codepage aware ansistrings
  and the use of the "Utf8 in RTL" feature.
  It makes for better separation of code and thus better readability and ease of maintainance (and in a later
  stadium it makes it easier to remove code that deals with non codepage aware ansistrings (fpc < 3.0)).
- Also replace (FPC_FULLVERSION >= xxxx) with FPC_HAS_CPSTRING where appropriate.
- Replace the custom HasCP define with built in FPC_HAS_CPSTRING define.

git-svn-id: trunk@50498 -
2015-11-24 16:23:18 +00:00
bart
0493a91c19 LazUtils: Less hints.
git-svn-id: trunk@50497 -
2015-11-24 14:24:12 +00:00
bart
094b14ce22 LazUtils: remove legacy code for the 2.6.0 compiler.
git-svn-id: trunk@50496 -
2015-11-24 14:06:50 +00:00
bart
984edab996 LazUtils: fix compilation of LazUtf8 for fpc <= 3.0.0 after r50470 #22750460e4.
git-svn-id: trunk@50475 -
2015-11-22 23:32:54 +00:00
bart
22750460e4 LazUtils: fix compilation of LazUtf8 for WinCE. Issue #0029059.
git-svn-id: trunk@50470 -
2015-11-22 12:33:32 +00:00
mattias
da9c319b92 lazutils: LoadFromCSVStream: fixed reading UTF16
git-svn-id: trunk@50319 -
2015-11-12 14:30:42 +00:00
mattias
a1e2f1e248 lazutils: LoadFromCSVStream: fixed reading UTF16
git-svn-id: trunk@50232 -
2015-11-06 12:05:15 +00:00
mattias
fb15809cef lazutils: DirectoryIsWritable: check if directory exists
git-svn-id: trunk@50170 -
2015-10-26 09:26:44 +00:00
mattias
c8e7c3acb5 lazutils: lconvencoding: fixed using tables for lossless conversion back and forth
git-svn-id: trunk@50157 -
2015-10-24 21:46:16 +00:00
mattias
fcafecec98 LCL: LoadFromCSVStream: fixed converting UTF16
git-svn-id: trunk@50146 -
2015-10-22 21:34:53 +00:00
mattias
9eae75a03b LCL: LoadFromCSVStream: fixed reading quote not closed
git-svn-id: trunk@50144 -
2015-10-22 19:37:40 +00:00
juha
5fc7132693 Use the new UTF-8 system by default. Can be disabled by define DisableUTF8RTL. EnableUTF8RTL is removed.
git-svn-id: trunk@50129 -
2015-10-20 17:20:11 +00:00
juha
c831f9ecd9 LazUtils: Less notes from compiler about Asian codepages.
git-svn-id: trunk@50088 -
2015-10-16 21:48:15 +00:00
mattias
2c46e6e468 IDE+lazbuild+makefiles: on darwin use -gw instead of -g
git-svn-id: trunk@49906 -
2015-10-01 18:40:54 +00:00
juha
5642758bf1 LazUtils: Fix TFileSearcher encoding when -dEnableUTF8RTL is not used. Issue #28406, patch from Michl.
git-svn-id: trunk@49888 -
2015-09-28 19:57:52 +00:00
mattias
43bbbdf2d0 lazutils: fixed compialtion EnableUTF8RTL
git-svn-id: trunk@49866 -
2015-09-21 18:18:12 +00:00
mattias
9c680beb48 lazutils: lconvencoding: using system conversion only if available, extened ConvertEncodingFromUTF8 with parameter SetTargetCodePage, default is false for compatibility with code using 1.4 and below, bug #28485
git-svn-id: trunk@49859 -
2015-09-21 10:50:54 +00:00
juha
50bc37338d IDE, AnchorDocking: Support desktops also with docked IDE. Move configuration to environment options. By Ondrej Pokorny.
git-svn-id: trunk@49778 -
2015-09-07 22:01:22 +00:00
jesus
0ca49a5f21 LCL, fix CSV import into StringGrid omits first line, from wp, issue #28582
git-svn-id: trunk@49735 -
2015-09-01 19:20:51 +00:00
bart
da24388dc4 LazUtils: Prevent "Abstract method called" for TXMLObjectWriter / TXMLObjectReader also with FPC 3.0.0. Issue #27817.
git-svn-id: trunk@49712 -
2015-08-26 09:29:52 +00:00
mattias
dcfae18d9a lazutils: comments
git-svn-id: trunk@49664 -
2015-08-13 10:13:05 +00:00
mattias
ccdf8a27f9 lazutils: clean up
git-svn-id: trunk@49648 -
2015-08-11 12:47:25 +00:00
juha
08c9621520 Change order of used units so that "deprecated" warnings are not triggered.
git-svn-id: trunk@49612 -
2015-08-07 17:20:40 +00:00
sekelsenmat
1c98cc10e6 lazutf16: Adds functions to check for valid utf-16
git-svn-id: trunk@49596 -
2015-08-05 14:22:46 +00:00