martin
8412e35e4e
Fixed range check error
...
git-svn-id: trunk@27525 -
2010-09-29 16:58:14 +00:00
mattias
62d9b368ac
LCL: fixed FileIsText to check for #0
...
git-svn-id: trunk@27524 -
2010-09-29 10:04:36 +00:00
mattias
250603ab78
LCL: fixed FileIsText to skip BOMs
...
git-svn-id: trunk@27523 -
2010-09-29 10:01:59 +00:00
dmitry
319db72532
lcl: fileutil initial unix/windows separation. improved support for Windows unicode file operations (bug #15642 )
...
git-svn-id: trunk@27248 -
2010-09-01 20:18:45 +00:00
dmitry
92059229cd
lcl: remove UpChars array from FileUtil replacing them with string comparing functions usage
...
git-svn-id: trunk@27221 -
2010-08-28 14:17:24 +00:00
zeljko
ce3c87f83f
LCL: forgot to back result for mswindows in ConsoleToUTF8.
...
git-svn-id: trunk@26588 -
2010-07-10 20:45:51 +00:00
zeljko
f589a58cfb
LCL: fixed bug in ConsoleToUTF8() introduced in r26586 #a13d9ca23e.
...
git-svn-id: trunk@26587 -
2010-07-10 20:43:39 +00:00
dmitry
a13d9ca23e
lcl: fix GetEnvironmentVariableUTF8 for Windows, returning wrong string for OEM encoded values
...
git-svn-id: trunk@26586 -
2010-07-10 20:31:18 +00:00
mattias
ae9add2dd2
LCL: added CreateAbsolutePath
...
git-svn-id: trunk@26428 -
2010-07-02 20:49:36 +00:00
paul
1f9a50c44a
lcl: use THandle instead of integer for the file handles
...
git-svn-id: trunk@25858 -
2010-06-03 07:09:46 +00:00
paul
ef82b1fefd
lcl: fix FileIsSymLink for win32 (although it is not possible to tell whether it is a symlink or a original file)
...
ide: formatting
git-svn-id: trunk@25836 -
2010-06-02 09:39:24 +00:00
sekelsenmat
eea3b2aca9
Adds support for FPC 2.2.2 for Windows CE
...
git-svn-id: trunk@25089 -
2010-05-01 10:46:11 +00:00
mattias
e6d6601c17
LCL: fixed CreateRelativePath e.g. ideintf/some.pas to ide
...
git-svn-id: trunk@23760 -
2010-02-22 21:49:06 +00:00
mattias
9b0d596224
lcl+codetools: CreateRelativePath: support for double pathdelims
...
git-svn-id: trunk@23666 -
2010-02-09 13:36:20 +00:00
mattias
3221d311f6
LCL: added GetAppConfigFileUTF8
...
git-svn-id: trunk@23594 -
2010-01-29 13:12:18 +00:00
vincents
27c55c7a84
* LCL: fixed ExtractFileNameWithoutExt and test (issue #14470 )
...
git-svn-id: trunk@21564 -
2009-09-04 11:05:31 +00:00
sekelsenmat
deead46265
Fixes FileUtil.FileSize for wince and adds unicode filename support in win32
...
git-svn-id: trunk@21243 -
2009-08-16 12:51:59 +00:00
paul
2e73997680
lcl: don't restrict reading from files which are open for read by another applications (use fmShareDenyWrite or fmShareDenyNone depends on situation)
...
git-svn-id: trunk@19707 -
2009-04-30 14:04:10 +00:00
paul
6af0fb9bc9
lcl: fix asterisk position in the copyright comment
...
git-svn-id: trunk@19477 -
2009-04-18 04:03:13 +00:00
vincents
1b27aa17ef
LCL: ExtractShortPathNameUTF8 is available in all supported fpc versions
...
* convert result to UTF8, non-ascii chars seem to be allowed in some cases (issue #12449 )
git-svn-id: trunk@18575 -
2009-02-05 09:59:48 +00:00
paul
7467771ed0
lcl, codetools: don't request exclusive rights when IDE reads/writes units
...
git-svn-id: trunk@18251 -
2009-01-11 08:30:43 +00:00
mattias
192fccaf68
FindDiskFilename: fixed case when there are three different times the same filename in a directory
...
git-svn-id: trunk@17636 -
2008-11-30 23:29:59 +00:00
mattias
7edb019302
fixed TSaveDialog
...
git-svn-id: trunk@17148 -
2008-10-28 17:08:42 +00:00
mattias
1dcd32648f
darwin: comparing filenames case insensitive by default
...
git-svn-id: trunk@17133 -
2008-10-25 18:28:39 +00:00
paul
a50363f995
wince: fix compilation from Henry Vermaak
...
git-svn-id: trunk@17034 -
2008-10-17 16:45:32 +00:00
paul
60c715d60b
lcl: add UTF8ToConsole function which is needed to convert from UTF8 to console encoding (CP_OEM on windows)
...
ide: fix output of help message
- if console is not available then output through MessageDlg
- if console if available then translate UTF8 text to console encoding
(#0012408 )
git-svn-id: trunk@17029 -
2008-10-17 05:41:55 +00:00
vincents
c0704b1945
LCL: don't try to set the filetime on an opened file (issue #13217 ) + test
...
git-svn-id: trunk@16931 -
2008-10-08 15:15:42 +00:00
vincents
b1927940a7
LCL: FileSize function
...
fixed compilation for wince
fixed handle leak for all windows platforms
git-svn-id: trunk@16768 -
2008-09-27 12:29:45 +00:00
mattias
a9226082e6
LCL: FileSize fixed when file not exists
...
git-svn-id: trunk@16748 -
2008-09-26 09:41:16 +00:00
mattias
c48ce44f60
LCL: FileSize fixed for files bigger than 2GB
...
git-svn-id: trunk@16747 -
2008-09-26 09:36:41 +00:00
vincents
46f03b20ca
LCL: added SysErrorMessageUTF8
...
git-svn-id: trunk@16657 -
2008-09-19 21:14:03 +00:00
mattias
f74132f80f
LCL: CreateRelativePath not relative for complete paths
...
git-svn-id: trunk@16593 -
2008-09-15 12:35:27 +00:00
mattias
60daf2ddd1
fixed comparing filenames under darwin
...
git-svn-id: trunk@16373 -
2008-09-03 01:08:09 +00:00
vincents
5c848be4cb
LCL: fixed compilation with fpc 2.2.0 (issue #12003 )
...
git-svn-id: trunk@16335 -
2008-08-31 17:23:19 +00:00
vincents
9c33a42cce
IDE: fixed rebuilding IDE with a non-ascii primary config path
...
git-svn-id: trunk@16295 -
2008-08-29 11:49:05 +00:00
mattias
3d4746734c
added GetAppConfigDirUTF8
...
git-svn-id: trunk@16286 -
2008-08-28 18:50:04 +00:00
mattias
9032caa4fd
UTF-8: added ExpandFilenameUTF8
...
git-svn-id: trunk@16272 -
2008-08-27 11:25:01 +00:00
vincents
c6d49b3802
fixed UTF8 to Sys conversions for file operations
...
git-svn-id: trunk@16259 -
2008-08-26 19:57:21 +00:00
mattias
69cfe88898
using UTF-8 for file operations and environment variables
...
git-svn-id: trunk@16236 -
2008-08-25 22:32:23 +00:00
paul
e10d1efd80
lcl: fixed compilation
...
git-svn-id: trunk@16229 -
2008-08-25 14:23:05 +00:00
mattias
c7f781d7ab
LCL: fileutil: added more sysutils file functions with UTF-8 encoding
...
git-svn-id: trunk@16225 -
2008-08-25 13:30:14 +00:00
vincents
520a6b0648
LCL: CopyFile: fixed setting file time on *nix (issue #11912 )
...
git-svn-id: trunk@16111 -
2008-08-18 10:40:34 +00:00
mattias
7092ac70e6
FileIsText: skipping end of file chars ( #26 )
...
git-svn-id: trunk@15904 -
2008-07-28 13:17:07 +00:00
mattias
2996a3c332
rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
...
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
paul
2bdf444a61
lcl: skip directories from GetTempFileName (from v-t-l)
...
git-svn-id: trunk@15540 -
2008-06-23 13:54:35 +00:00
mattias
dac6ab0c82
LCL: FileIstText now allows Form Feed #12
...
git-svn-id: trunk@14462 -
2008-03-07 18:25:20 +00:00
mattias
89b48f4f33
openglcontrol: added exception when no visual was found
...
git-svn-id: trunk@14437 -
2008-03-05 22:05:25 +00:00
mattias
12979678e5
IDE: open project: added check if lpi file is symlink, fixing bug #10855
...
git-svn-id: trunk@14197 -
2008-02-20 00:28:11 +00:00
mattias
e25982fd40
LCL: added TFileSearcher.Search AMaskSeparator parameter
...
git-svn-id: trunk@13261 -
2007-12-10 12:14:14 +00:00
tombo
f77f76756c
LCL fileutil: fixed compilation with fpc 2.2.0
...
git-svn-id: trunk@13235 -
2007-12-08 19:19:14 +00:00