fpc/rtl/haiku
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
..
i386 * Updated haiku signal definitions to reflect changes made in Haiku 2012-04-01 08:03:12 +00:00
baseunix.pp * Active out support using $modeswitch under Haiku after r14965 2010-03-07 02:53:33 +00:00
bethreads.pp
classes.pp
errno.inc * Define two more constants in order to compile fppkg under Haiku after r15275 2010-05-19 22:25:59 +00:00
errnostr.inc
Makefile * synchronised with trunk up to r21067 2012-04-26 21:24:20 +00:00
Makefile.fpc * merged trunk up to r20882 2012-04-15 15:54:10 +00:00
osdefs.inc o Haiku patches by Olivier Coursiere 2009-02-01 10:30:55 +00:00
osmacro.inc
ossysc.inc * Haiku patch by Olivier Coursiere 2008-05-31 11:33:02 +00:00
ostypes.inc Fix the build under Haiku : 2009-07-19 01:24:46 +00:00
pthread.inc * TCriticalSection.Tryenter support (Mantis 15928) + short test/demo 2010-03-21 11:34:05 +00:00
ptypes.inc * fix some pthread declarations probably inherited from the BeOS port. 2011-10-21 22:24:03 +00:00
rtldefs.inc + rtldefs.inc file for every target that contains defines shared by multiple 2012-09-27 07:54:06 +00:00
settimeo.inc
signal.inc * Updated haiku signal definitions to reflect changes made in Haiku 2012-04-01 08:03:12 +00:00
suuid.inc
syscall.inc
syscallh.inc
sysconst.inc
sysheap.inc
sysnr.inc
sysos.inc * Implement do_IsDevice without relying on IOCTL_TCGETS (unsupported on Haiku). This enable mouse support in the Freepascal IDE. 2009-07-19 14:19:59 +00:00
sysosh.inc * revert part of r19256. While this declaration seems not consistent with 2011-10-22 23:12:20 +00:00
system.pp rtl: initialize DefaultSystemCodePage on aix,beos,haiku,solaris 2012-09-21 01:45:18 +00:00
termio.pp
termios.inc o Haiku patches by Olivier Coursiere 2009-02-01 10:30:55 +00:00
termiosproc.inc
unixsock.inc
unxconst.inc * Fixed some declarations for Haiku. Some are needed to compile Lazarus. 2010-01-17 01:10:24 +00:00
unxfunc.inc
unxsockh.inc * Fixes all constant declarations according to sys/socket.h and netinet/in.h. 2010-03-31 23:25:10 +00:00