fpc/rtl/unix
Jonas Maebe 598d2feeb6 + rtldefs.inc file for every target that contains defines shared by multiple
RTL units. Comes with a FPCRTL_FILESYSTEM_UTF8 define that can be
    activated for targets whose single byte filesystem interface enforces
    UTF-8; included in inc/systemh.inc and unix/cwstring.pp until now
  + DefaultFileSystemCodePage variable that holds the code page used for
    communicating with the OS single byte file system APIs, and for the
    strings returned by those same APIs. Initialized with
   o the result of GetACP in the system unit of Windows platforms, except for
     WinCE which uses UTF-8 since its file system OS API calls already use
     the UTF-16 versions
   o CP_UTF8 on Unix platforms with FPCRTL_FILESYSTEM_UTF8 defined, and with
     DefaultSystemCodePage on other Unix platforms
   o DefaultSystemCodePage on Java/Android JVM targets
  + DefaultRTLFileSystemCodePage variable that holds the code page used to
    encode strings returned by RTL routines that return filenames obtained
    from OS API calls. By default the same as DefaultFileSystemCodePage on
    all platforms. Separate from DefaultFileSystemCodePage for clarity on
    platforms that may use either utf-16 or single byte OS API calls to
    send/receive file names (such as most Windows platforms)
  + new scpFileSystemSingleByte enum that can be passed to
    GetStandardCodePage() to get the default code page for OS single byte file
    system APIs, with implementations for Unix and Windows
  + SetMultiByteFileSystemCodePage() procedure to override the value of
    DefaultFileSystemCodePage

  In principle, in the long run unchanged programs only using generic
  ansistrings and unicodestrings should (mostly) behave the same as in
  FPC 2.6.0 as far as RTL-level file system APIs are concerned if
  they set DefaultFileSystemCodePage and DefaultRTLFileSystemCodePage
  to DefaultSystemCodePage at the start of their execution

git-svn-id: branches/cpstrrtl@22466 -
2012-09-27 07:54:06 +00:00
..
scripts * Use gsed if present and temp directory to avoid system recompilation 2012-08-22 09:43:34 +00:00
aliasctp.inc
aliasptp.inc
baseunix.pp
bunxh.inc * move fpgetenv(pchar) to unit system for syscall based *nix rtls. 2012-09-10 09:21:56 +00:00
bunxovl.inc
bunxovlh.inc * deprecated old shortstring getenv func. 2012-09-10 09:01:24 +00:00
classes.pp
clocale.pp + RTL for AIX 2012-04-11 17:59:49 +00:00
convert.inc
crt.pp * send full x/y ansi position information in case of an X-coordinate 2012-07-17 18:03:23 +00:00
cthreads.pp + RTL for AIX 2012-04-11 17:59:49 +00:00
ctypes.inc
cwstraix.inc + AIX support for cwstring 2012-04-11 18:06:22 +00:00
cwstring.pp + rtldefs.inc file for every target that contains defines shared by multiple 2012-09-27 07:54:06 +00:00
dl.pp + RTL for AIX 2012-04-11 17:59:49 +00:00
dos.pp * add platform modifiers to all locally defined functions in unix' dos unit. 2012-08-13 10:14:07 +00:00
dynlibs.inc * Added GetLoadErrorStr function by Mark Morgan Loyd (Bug ID 22321) 2012-07-11 15:31:09 +00:00
errors.pp
fpmake.inc
genfdset.inc
genfunch.inc
genfuncs.inc * move fpgetenv(pchar) to unit system for syscall based *nix rtls. 2012-09-10 09:21:56 +00:00
gensigset.inc
initc.pp + RTL for AIX 2012-04-11 17:59:49 +00:00
ipc.pp - Removed level 2 comments and control characters in comments. 2012-06-27 20:04:39 +00:00
ipccdecl.inc
keyboard.pp
lnfogdb.pp + lnfogdb unit that can use gdb to symbolicate backtraces on unix targets 2012-04-11 18:05:56 +00:00
mouse.pp
oscdecl.inc
oscdeclh.inc * link libbsd for AIX, because several UNIX routines are part of its BSD 2012-04-11 18:00:08 +00:00
ports.pp
printer.pp
serial.pp
settimeo.inc
sockets.pp
syscall.pp
syscgen.inc * move fpgetenv(pchar) to unit system for syscall based *nix rtls. 2012-09-10 09:21:56 +00:00
sysdir.inc
sysfile.inc
sysheap.inc
sysunix.inc + rtldefs.inc file for every target that contains defines shared by multiple 2012-09-27 07:54:06 +00:00
sysunixh.inc + FileNameCasePreserving added - see #18066 in Mantis 2012-04-15 20:56:13 +00:00
sysutils.pp * Added GetLocalTimeOffset function 2012-07-11 09:56:34 +00:00
terminfo.pp
termiosh.inc + RTL for AIX 2012-04-11 17:59:49 +00:00
timezone.inc + RTL for AIX 2012-04-11 17:59:49 +00:00
tthread.inc
ttyname.inc
unix.pp * sleeper vfork code copied from deleted parts so it is not lost, made 2012-05-19 14:03:20 +00:00
unixsockets.pas
unixtype.pp
unixutil.pp * more removal of deprecated functions (deprecated before 2.4.0) 2012-05-22 08:04:24 +00:00
unxdeclh.inc + RTL for AIX 2012-04-11 17:59:49 +00:00
unxovl.inc * removed an empty overloaded version of statfs that could be called recursively 2012-05-19 12:09:39 +00:00
unxovlh.inc * removed an empty overloaded version of statfs that could be called recursively 2012-05-19 12:09:39 +00:00
varutils.pp
video.pp Set local variable s to empty string at entry of transform_cp437_to_UTF8 function 2012-04-09 21:54:19 +00:00
winiconv.inc * fixed the conversion of 'UTF-8' to the corresponding code page number 2012-08-26 08:58:42 +00:00
x86.pp Return -1 for fpIOPL and set errno to ESysENoSys for non-linux systems 2012-04-09 21:55:18 +00:00