fpc/rtl/unix
Jonas Maebe df6a2dce00 + unicodestring support for assign/erase/rename
+ codepage support for textrec/filerec and the above routines
  * textrec/filerec now store the filename by default using widechar. It is
    possible to switch back to ansichars using the FPC_ANSI_TEXTFILEREC define.
    In that case, from now on the filename will always be stored in
    DefaultFileSystemEncoding
  * fixed potential buffer overflows and non-null-terminated file names in
    textrec/filerec
  + dodirseparators(pwidechar), changed the dodirseparators(pchar/pwidechar)
    parameters into var-parameters and gave those routines an extra parameter
    that indicates whether the p(wide)char can be changed in place if
    necessary or whether a copy must be made first (avoids us having to make
    all strings always unique everywhere, because they might be changed on
    some platforms via a pchar)
  * do_open/do_erase/do_rename got extra boolean parameters indicating whether
    the passed pchars point to data that can be freely changed (to pass on to
    dodirseparators() if applicable)
  * objects.pp: force assign(pchar) to be called, because
    assign(array[0..255]) cannot choose between pchar and rawbytestring
    versions (and removing the pchar version means that assign(pchar) will
    be mapped to assign(shortstring) in {$h-})
  * fixed up some routines in other units that depend on the format of
    the textrec/filerec.name field

git-svn-id: branches/cpstrrtl@25137 -
2013-07-19 16:30:51 +00:00
..
scripts
aliasctp.inc
aliasptp.inc
baseunix.pp
bunxh.inc
bunxovl.inc * made the ansistring parameters of the fp*() overloads constant, changed 2013-07-19 16:28:49 +00:00
bunxovlh.inc * made the ansistring parameters of the fp*() overloads constant, changed 2013-07-19 16:28:49 +00:00
classes.pp
clocale.pp + Use __setlocale_mb_len_max_32 for netbsd as suggested by linker warning 2013-03-05 11:40:24 +00:00
convert.inc
crt.pp
cthreads.pp * Sync with trunk r23404. 2013-01-16 13:21:51 +00:00
ctypes.inc
cwstraix.inc
cwstring.pp * synchronised with trunk up to r24912 2013-06-17 20:50:02 +00:00
dl.pp * correct dlopen flag values for Darwin (patch by lks, mantis #23979) 2013-03-10 10:22:43 +00:00
dos.pp + unicodestring support for assign/erase/rename 2013-07-19 16:30:51 +00:00
dynlibs.inc
errors.pp
fpmake.inc
genfdset.inc
genfunch.inc
genfuncs.inc
gensigset.inc
initc.pp
ipc.pp
ipccdecl.inc
keyboard.pp * mousebutton 4 and 5 support (gpm only?) Mantis #13469 2013-04-06 18:58:05 +00:00
lnfogdb.pp
mouse.pp
oscdecl.inc
oscdeclh.inc
ports.pp
printer.pp + unicodestring support for assign/erase/rename 2013-07-19 16:30:51 +00:00
serial.pp
settimeo.inc
sockets.pp
syscall.pp
syscgen.inc
sysdir.inc + added mkdir/chdir/rmdir(rawbytestring) and (unicodestring) to the system unit 2013-07-04 22:28:37 +00:00
sysfile.inc + unicodestring support for assign/erase/rename 2013-07-19 16:30:51 +00:00
sysheap.inc
sysunixh.inc
sysutils.pp * moved SYSUTILS_HAS_ANSISTR/UNICODESTR_FILEUTIL_IMPL define to interface 2013-07-16 14:16:34 +00:00
terminfo.pp
termiosh.inc
timezone.inc
tthread.inc Extend TThread with (class) methods and (class) properties from Delphi 2007 and newer. 2012-12-27 16:16:17 +00:00
ttyname.inc
unix.pp + unicodestring support for POpen(), and DefaultFileSystemCodePage support 2013-07-19 16:29:13 +00:00
unixcp.pp * Use UTF-8 as fallback code page on linux and ASCII on other unix systems. 2013-03-02 09:51:05 +00:00
unixsockets.pas
unixtype.pp
unixutil.pp * fill in purpose of the unit in comment, updated copyright 2013-03-08 09:18:26 +00:00
unxdeclh.inc
unxovl.inc
unxovlh.inc
varutils.pp
video.pp
x86.pp