Commit Graph

749 Commits

Author SHA1 Message Date
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
bart
8f7215b840 LazFileUtils: FileIsReadable on Windows should only return True if the file actually exists.
git-svn-id: trunk@49543 -
2015-07-14 10:25:53 +00:00
juha
af6fb723af LazUtils: Use LookupStringList in LazUtils package. Remove old DictionaryStringList files.
git-svn-id: trunk@49506 -
2015-07-07 12:10:35 +00:00
juha
810d20ce56 LazUtils: Rename DictionaryStringList -> LookupStringList. Add the renamed files as new.
git-svn-id: trunk@49505 -
2015-07-07 12:05:03 +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
4285b7380f LazUtils: Use SetCodePage() from FPC 3.x for UTF8ToXXX() functions in lconvencoding.
git-svn-id: trunk@49503 -
2015-07-07 11:43:23 +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
2d401fe45a IDE: Support UTF-8 in editor UpperCase/LowerCase Selection commands. Issue #28361, patch from Ondrej Pokorny.
git-svn-id: trunk@49481 -
2015-07-01 09:22:46 +00:00
juha
6cf8c56cfc LazUtils: Improve UTF8WrapText. Issue #28259, patch from Antônio Galvão.
git-svn-id: trunk@49300 -
2015-06-09 07:56:02 +00:00
bart
5383338553 LazUtils: Don't raise exceptions in CopyFile function by default. Added a parameter to control this behaviour. Issue #0028236.
git-svn-id: trunk@49284 -
2015-06-07 09:21:24 +00:00
juha
9c161101bc LazUtils: Add missing ISO-8859-15 entry to LConvEncoding. Issue #28209, patch from Alexey Torgashin.
git-svn-id: trunk@49232 -
2015-05-31 13:45:25 +00:00