Commit Graph

736 Commits

Author SHA1 Message Date
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
juha
db9994a7e8 LazUtils: Support Arial and Helvetica font families better on all platforms. Issue #28165, patch from Johann.
git-svn-id: trunk@49158 -
2015-05-24 22:05:14 +00:00
juha
1568077381 LazUtils: Clean UTF8WrapText function in LazUTF8.
git-svn-id: trunk@49148 -
2015-05-23 14:13:04 +00:00
juha
f88dc97367 LazUtils: Improve DictionaryStringList and its example project. Issue #28159, patch from Antônio Galvão.
git-svn-id: trunk@49147 -
2015-05-23 14:12:58 +00:00
juha
824f9ac5d9 LazUtils: Call LazFreeType.CheckInstance in GetCharIndex and make it public. Issue #28163, patch from Johann.
git-svn-id: trunk@49146 -
2015-05-23 12:44:54 +00:00
juha
0fe92eae95 LazUtils: Remove ambiguity from font item listeners. Issue #28137, patch from Johann.
git-svn-id: trunk@49136 -
2015-05-22 20:20:39 +00:00
zeljko
42e04b941f lconvencoding: added missing chars in utf8tocp437 for translation from croatian utf8 to cp437.
git-svn-id: trunk@49116 -
2015-05-20 08:40:01 +00:00
mattias
48512f8dc4 lazutils: less notes
git-svn-id: trunk@49111 -
2015-05-19 21:04:15 +00:00
juha
3f8b158c87 LazUtils: Add unit LazFreeTypeFPImageDrawer to the actual package.
git-svn-id: trunk@49107 -
2015-05-19 16:17:11 +00:00
juha
09eff40893 LazUtils, EasyLazFreetype: Drawing symbol fonts and individual glyphs with their index. Issue #28078, patch from Johann.
git-svn-id: trunk@49105 -
2015-05-19 16:13:36 +00:00
juha
7bf388fe91 LazUtils: New LazFreeType drawer for TFPCustomImage. Issue #28020, patch from Johann.
git-svn-id: trunk@49104 -
2015-05-19 16:11:36 +00:00
mattias
2c26f71ea9 lazutils: fixed compilation with stabs
git-svn-id: trunk@49085 -
2015-05-18 19:40:19 +00:00
mattias
3de4e18d3f lazutils: lazlistclasses: sorted unit
git-svn-id: trunk@49083 -
2015-05-18 16:25:44 +00:00
martin
85f0a2993f LazUtils: force dwarf for fpc 2.*
git-svn-id: trunk@49082 -
2015-05-18 12:49:48 +00:00