florian
8dc8647c7b
* WinCE compilation fixed
...
git-svn-id: trunk@44025 -
2020-01-23 20:47:55 +00:00
florian
69956cd97a
* fix compilation on several OSes after r44010
...
git-svn-id: trunk@44013 -
2020-01-21 21:50:37 +00:00
florian
01302bc47d
* subroutines working with an OS dependend time stamp use an int64 now, so the 2038 problem
...
on unixes can be tackled
git-svn-id: trunk@44010 -
2020-01-21 20:59:20 +00:00
svenbarth
c26348a3dd
* follow up to r42457: FreeTerminateProcs needs to be called before DoneExceptions just in case an exception is triggered due to a corrupted list
...
git-svn-id: trunk@42461 -
2019-07-20 08:41:59 +00:00
svenbarth
176a63b67b
* fix for Mantis #35862 : free the list of functions added with AddTerminateProc to avoid memory leaks
...
+ added test
git-svn-id: trunk@42457 -
2019-07-19 15:55:21 +00:00
svenbarth
09e5f463dc
+ add Delphi-compatible FileGetSymLinkTarget functions to all platforms (currently returns False on all platforms); this also includes TSymLinkRec variants for both RawByteString and UnicodeString
...
git-svn-id: trunk@39669 -
2018-08-24 15:33:45 +00:00
svenbarth
92dcdd8b5b
+ add Delphi compatible FollowLink parameter (default is True) to FileExists and DirectoryExists; support for it is up to each target
...
git-svn-id: trunk@39668 -
2018-08-24 15:33:09 +00:00
svenbarth
dfe00a8ed1
Fix for Mantis #30279 . Apply patch by Max Nazhalov to fix compilation of i386-wince and arm-wince (the only modification is that the no longer used AnsiString variants of ExecuteProcess are removed)
...
git-svn-id: trunk@33996 -
2016-06-16 17:03:17 +00:00
michael
e838317177
* Fix bug #0028980
...
git-svn-id: trunk@32277 -
2015-11-08 21:35:12 +00:00
michael
fde42ca8ef
* Type helpers, compatible to Delphi XE 8
...
git-svn-id: trunk@32262 -
2015-11-07 09:40:54 +00:00
Jonas Maebe
2da7c3f05c
* changed declarations in finah.inc and diskh.inc from ansistring to
...
rawbytestring
* DoDirSeparators() and GetDirs() marked as "rtlproc" so they can accept
non-rawbytestring arguments as their var-parameters
git-svn-id: branches/cpstrrtl@25306 -
2013-08-19 22:04:40 +00:00
Jonas Maebe
af3f12f60c
* rawbytestring/unicodestring versions of findfirst/findnext/findclose
...
o these routines are now generic wrappers in filutil.inc, and call
the platform-dependent internalfindfirst/next/close routines
o on unix, the fnmatch routine got proper support for UTF-8 matching
(e.g., it won't match a partial UTF-8 code point to a "?" wildcard)
o for NativeNT, a similar (untested) UTF-16 version has been added
+ test for the above
* rawbytestring/unicodestring versions of fileage
git-svn-id: branches/cpstrrtl@25302 -
2013-08-19 22:04:25 +00:00
Jonas Maebe
155aafc255
* moved SYSUTILS_HAS_ANSISTR/UNICODESTR_FILEUTIL_IMPL define to interface
...
so declarations can also depend on it and similar defines (not yet the
case)
+ added SYSUTILS_HAS_ANSISTR_ENVVAR_IMPL/SYSUTILS_HAS_UNICODESTR_ENVVAR_IMPL
to indicate whether the platform-dependent part of the unit provides
an ansistring/unicodestring interface to get environment variables
+ Windows version of getenvironmentvariable(unicodestring)
+ generic ansistring/unicodestring versions of GetEnvironmentVariable()
in case the platform doesn't provide them
* result of GetEnvironmentString() is ansistring/unicodestring depending
on the state of the FPC_RTL_UNICODE define
git-svn-id: branches/cpstrrtl@25116 -
2013-07-16 14:16:34 +00:00
Jonas Maebe
eeb98a0c0f
- removed platform-specific implementations of GetCurrentDir, SetCurrentDir,
...
CreateDir and RemoveDir, and implemented a generic one (based on the OS/2
version) in the shared sysutils code (so that the filesystem code page
support for the system unit routines can be reused)
* include both ansistring and unicodestring versions of the above routines,
and of ForceDirectories. Exception: GetCurrentDir, which cannot be
overloaded based on function result and whose return type currently
dependends on the FPC_UNICODE_RTL define
git-svn-id: branches/cpstrrtl@25113 -
2013-07-16 14:15:55 +00:00
Jonas Maebe
26b2149ced
* converted the following sysutils routines to unicodestring and
...
rawbytestring: FileExists, DirectoryExists, FileSetDate, FileGetAttr,
FileSetAttr, DeleteFile, RenameFile, FileSearch, ExeSearch,
FileIsReadOnly
git-svn-id: branches/cpstrrtl@25078 -
2013-07-09 19:01:45 +00:00
Jonas Maebe
ab9036ecbf
+ missing unicodestring version of ExpandUNCFileName
...
* make ansistring version of ExpandUNCFileName call the unicodestring version
git-svn-id: branches/cpstrrtl@25045 -
2013-07-04 22:28:24 +00:00
Jonas Maebe
ecd3cba02b
* synchronised with trunk up to r24912
...
o resolved conflict in updated morphos sysutils unit
o moved code that had been added to the now deleted sysunix.inc to the
unix-specific block of the fpwidestring unit's init code
git-svn-id: branches/cpstrrtl@24913 -
2013-06-17 20:50:02 +00:00
marco
96da57ee95
* Applied patch from Victor Campillo that adds GetLocalTimeOffset support
...
similar to win32. Mantis #24253
git-svn-id: trunk@24302 -
2013-04-22 15:58:15 +00:00
svenbarth
c6c67dc182
Set the UnicodeCompare functions in the WideString manager also for WinCE and implement the Wide- and UnicodeCompare functions similar to Win32/64 by calling a common DoCompareString function.
...
git-svn-id: trunk@23574 -
2013-02-05 16:33:42 +00:00
Jonas Maebe
a3c936fe5f
+ rawbytestring/unicodestring overloads for FileCreate and FileOpen.
...
The WinCE implementation converts the rawbytestring arguments to
unicodestring and calls unicode OS APIs, while the others convert
unicodestring arguments to DefaultFileSystemCodePage and call
single byte OS APIs
+ test for the above
git-svn-id: branches/cpstrrtl@22467 -
2012-09-27 07:54:25 +00:00
michael
a201f07420
* Added share mode argument to FileCreate call
...
git-svn-id: trunk@17548 -
2011-05-23 21:11:07 +00:00
sergei
15e1abddf7
* Windows RTL: Simplify SysUtils.GetLocalTime(). TSystemTime type for these targets matches one defined in Windows unit, so WinAPI function result can be used directly. Resolves #18346 .
...
git-svn-id: trunk@16665 -
2010-12-30 20:40:47 +00:00
marco
be98b13554
* fix for 11263, changed fileread and fd_zero to out using $modeswitch.
...
git-svn-id: trunk@14965 -
2010-03-01 22:35:14 +00:00
marco
8e9a7e14ad
* Revised yesterday solution to a more general one. Executeprocess gets
...
another parameter, a set type with flags, default = []
git-svn-id: trunk@14572 -
2010-01-07 20:49:28 +00:00
michael
e2387a5ac5
* Fixed OnBeep
...
git-svn-id: trunk@14271 -
2009-11-25 09:37:04 +00:00
yury
57e49c4bb9
* Fixed AV in SysErrorMessage() when there is no message string corresponding to a error code. Bug #13617 .
...
git-svn-id: trunk@13082 -
2009-05-02 14:15:50 +00:00
Almindor
4a54f15b47
* fix GetAppConfigDir and GetTmpDir for Windows(R)(c)(TM) and WinCE, unify with unix and provide pathdelim at end
...
git-svn-id: trunk@11529 -
2008-08-07 10:22:30 +00:00
yury
10a286532f
* Fixed Wide<->Ansi conversion for wince.
...
git-svn-id: trunk@10725 -
2008-04-19 21:52:12 +00:00
yury
18e663240a
* Fixed AnsiXXX string handling routines.
...
git-svn-id: trunk@10659 -
2008-04-13 20:59:11 +00:00
yury
0109c29e3f
* Fixed bug #10716 .
...
git-svn-id: trunk@10139 -
2008-02-01 19:59:12 +00:00
yury
f040558e1c
* Fixed wince compilation.
...
* Added some constants.
git-svn-id: trunk@10134 -
2008-02-01 17:39:02 +00:00
peter
69363bad5e
* quote parameters with spaces
...
git-svn-id: trunk@10111 -
2008-01-30 00:15:22 +00:00
peter
95d0ce1270
* VendorName function added to allow an extra subdirectory
...
to group multiple products
* OnGetVendorName hook, like OnGetApplicationName
* use COMMON_APPPATH for global config files under windows
git-svn-id: trunk@10072 -
2008-01-27 21:40:55 +00:00
yury
220a37b443
* Do not fill generic upcase and lowcase conversion tables for windows targets, because generic ANSI routines are not used here.
...
git-svn-id: trunk@9049 -
2007-11-01 16:15:29 +00:00
peter
627cf69ae3
* svn props
...
git-svn-id: trunk@8468 -
2007-09-14 07:19:48 +00:00
yury
a768c29b2d
* Implemented GetTempDir for wince. Bug #9348 .
...
git-svn-id: trunk@8326 -
2007-08-28 21:17:49 +00:00
Tomas Hajny
5e1a7997ee
+ FileTruncate allows 64-bit parameter
...
git-svn-id: trunk@6727 -
2007-03-05 23:47:10 +00:00
yury
fef99bf8cb
* Fixed AnsiCompareStr and AnsiCompareText if string(s) contains #0 . It fixes webtbs/tw3170.pp
...
git-svn-id: trunk@5949 -
2007-01-13 17:00:58 +00:00
micha
ce9e589e15
* fix FileSeek implementation to match declaration
...
git-svn-id: trunk@5159 -
2006-11-01 17:47:47 +00:00
Marc Weustink
3232e59810
* fixed compilation on CE
...
- removed declaration of WCHAR since it is defined in systemh
git-svn-id: trunk@5135 -
2006-10-31 22:46:09 +00:00
yury
5a49addb35
* fixed more warnings and notes while compiling RTL.
...
git-svn-id: trunk@4259 -
2006-07-19 19:10:02 +00:00
yury
e1b9814b5d
* fixed some warnings and notes while compiling RTL.
...
git-svn-id: trunk@4256 -
2006-07-19 10:31:15 +00:00
oro06
42bd89095f
*fix fileopen (please OS2,EMX maintainers have a look)
...
git-svn-id: trunk@3858 -
2006-06-13 08:15:35 +00:00
Tomas Hajny
a9b515c0bf
* fexpand defines kept in platform specific sysutils.pp
...
git-svn-id: trunk@3726 -
2006-05-28 21:29:26 +00:00
florian
0bbbfd23e5
* wince has to reuse also TSystemTime from the Windows unit inside the sysutils unit
...
git-svn-id: trunk@3472 -
2006-05-10 20:21:56 +00:00
yury
801650ee95
* wince rtl compilation fixed.
...
git-svn-id: trunk@3168 -
2006-04-08 09:00:14 +00:00
yury
3239011837
* DOS<->Win filetime conversion was fixed.
...
* FileExists fix from Win32 was applied.
git-svn-id: trunk@1405 -
2005-10-16 10:28:10 +00:00
yury
48b75a0608
* compilation for i386-wince was fixed.
...
* some warnings and DirectoryExists were fixed in sysutils
git-svn-id: trunk@1336 -
2005-10-08 14:09:00 +00:00
yury
771743a61c
* varutils,variants,dynlibs units are built now for wince.
...
* added readme.txt
git-svn-id: trunk@1316 -
2005-10-07 16:45:48 +00:00
yury
3b95cb7259
* Resources stuff was fixed.
...
git-svn-id: trunk@1210 -
2005-09-27 18:19:34 +00:00