Commit Graph

959 Commits

Author SHA1 Message Date
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