fpc/rtl/inc
Jonas Maebe 62ee16278b * changed getdir(ansistring):ansistring to
getdir(rawbytestring):rawbytestring so it can accept strings in any
    encoding and cleanly return results in DefaultRTLFileSystemCodePage
  + getdir(unicodestring):unicodestring
  * renamed the getdir implementation of all platforms except for embedded-
    without-ansistring-support to do_getdir(), and depending on the
    FPCRTL_FILESYSTEM_SINGLE_BYTE_API/FPCRTL_FILESYSTEM_TWO_BYTE_API define
    changed its shortstring parameter to ansistring or unicodestring. The
    do_getdir(rawbytestring) routine should just set the code page of the
    return value to DefaultFileSystemCodePage without conversion (not
    DefaultRTLFileSystemCodePage with conversion, that conversion is performed
    in getdir if necessary; this avoids double conversions in case
    getdir(unicodestring) is called)
  + generic getdir(shortstring) for platforms supporting either ansistrings or widestrings
  o platform maintainers:
   o OS/2: adjust code to supports paths > 255 characters if those are supported
   o Wii: adjust used callback to use rawbytestring to support paths > 255 characters and
     avoid shortstring->rawbytestring conversion overhead
   o Windows: GetCurrentDirectoryW is now always used (to prevent data loss)

git-svn-id: branches/cpstrrtl@24993 -
2013-06-27 21:37:47 +00:00
..
aliases.inc - disabled RecordRTTI declaration on the JVM target, because that 2013-01-06 15:05:29 +00:00
astrings.inc * synchronised with trunk up to r24912 2013-06-17 20:50:02 +00:00
cgeneric.inc
cgenmath.inc * fixed compilation on Solaris after r20815 2012-04-24 11:08:08 +00:00
cgenstr.inc
charset.pp rtl: possible fix compilation of charset.pp on 64 bit 2013-03-08 13:50:21 +00:00
cmem.pp * fixes cmem.malloc et al. for windows as proposed by Ludo Brands, resolves #15571 2011-08-18 08:47:44 +00:00
compproc.inc * merge i8086 branch by Nikolay Nikolov 2013-04-25 20:23:51 +00:00
crt.inc
crth.inc
ctypes.pp * Define CExtended and clongdouble as double for Android. 2013-01-22 11:16:22 +00:00
currh.inc * function round(c : currency) : int64; requires the availability of an fpu 2012-08-20 20:15:07 +00:00
dos.inc
dosh.inc + implemented dos.GetIntVec and SetIntVec for i8086-msdos 2013-06-01 14:32:03 +00:00
dynarr.inc Replace HandleErrorFrame calls by HandleErrorAddrFrameInd where possible in common code (to allow correct backtrace for mips cpu) 2012-07-12 11:53:59 +00:00
dynarrh.inc * pass the procdef to getintparaloc instead of only the proccalloption, so 2013-01-06 15:05:40 +00:00
dynlibs.pas * Added GetLoadErrorStr function by Mark Morgan Loyd (Bug ID 22321) 2012-07-11 15:31:09 +00:00
except.inc * fpc_PushExceptAddr's parameter Ft changed from LongInt to SmallInt on 16-bit CPUs for better efficiency 2013-03-28 15:44:50 +00:00
exeinfo.pp * assume unicode in case of FPC_OS_UNICODE instead of only for WinCE 2013-06-24 09:39:57 +00:00
extres.inc
fexpand.inc * fix for standalone '~' with HOME=/ on Unix 2013-01-22 23:56:42 +00:00
file.inc
filerec.inc * avr uses a reduced buffer and file name length in textrecs and filerecs 2012-08-20 20:11:13 +00:00
fpextres.pp
fpintres.pp
gencurr.inc * function round(c : currency) : int64; requires the availability of an fpu 2012-08-20 20:15:07 +00:00
generic.inc * the 'len' argument of fpc_shortstr_assign changed to smallint on 16-bit cpus, because getintparaloc allocates 16-bit ints on i8086 2013-04-16 08:25:54 +00:00
genmath.inc o patch by Max Nazholov: 2013-06-11 21:00:23 +00:00
genset.inc * fixed upper bound of several helper array types for set operations 2012-03-29 20:34:56 +00:00
genstr.inc * dereference pchar passed to indexbyte in strecopy (patch by Andrew Haines, 2012-03-08 18:55:49 +00:00
genstrs.inc
getopts.pp
heap.inc - do not initialize the regular heap manager under i8086-msdos, so it can be smartlinked away 2013-05-25 19:22:31 +00:00
heaph.inc * get rid of some feature checks, probably the whole feature stuff is plainly the wrong way, embedded rtl compiles again, resolves #20913 2011-12-29 14:06:30 +00:00
heaptrc.pp * pass the procdef to getintparaloc instead of only the proccalloption, so 2013-01-06 15:05:40 +00:00
innr.inc * first draft to support the popcnt instruction, works so far for x86 with a real popcnt instruction 2012-09-02 20:59:39 +00:00
int64.inc * Applied a counterpart of r22318 to 64-bit mod/div routines. 2013-02-21 19:37:31 +00:00
intres.inc
iso7185.pp * more safe put implementation 2013-04-17 20:15:16 +00:00
keyboard.inc
keybrdh.inc
keyscan.inc
lineinfo.pp * Fix lineinfo problems for BeOS/Haiku 2011-12-05 16:29:43 +00:00
lnfodwrf.pp
lstrings.pp
macpas.pp
makefile.inc
mathh.inc + added 8087 initialization to the msdos rtl (8087 presence detection is still a TODO) 2013-04-03 16:03:45 +00:00
matrix.pp
mmatimp.inc * patch by Petr-K to fix 3*3 matrix inversion, resolves #19828 2011-08-14 21:46:47 +00:00
mouse.inc
mouseh.inc * mousebutton 4 and 5 support (gpm only?) Mantis #13469 2013-04-06 18:58:05 +00:00
mvecimp.inc
objc1.inc
objc.pp
objcbase.pp + add {$packrecords c} to all units importing Objective-C records since 2011-08-06 13:16:03 +00:00
objcnf.inc
objects.pp + enabled compilation of unit objects for i8086-msdos 2013-05-31 09:39:17 +00:00
objpas.inc + also added PCodePointer and PPCodePointer 2013-06-09 17:30:03 +00:00
objpash.inc * DispCallByIDProc changed to CodePointer 2013-06-09 17:32:18 +00:00
pagemem.pp
printer.inc
printerh.inc
readme
real2str.inc * patch by Max Nazhalov to improve real2str performance, resolves #21825 2012-05-05 18:29:32 +00:00
resh.inc Fix compilation of WinCE. Change the fixed UNICODE define of WinCE to FPC_OS_UNICODE, so that it won't be undefined when changing the mode/string type and that the usage of a UNICODE API is independant of the mode. 2013-05-04 11:06:32 +00:00
rtti.inc rtl: fix possible division by zero 2013-05-08 06:00:44 +00:00
sfpu128.pp + Add two new sotfpuu units with x80 or 128 bit support 2012-01-31 15:58:56 +00:00
sfpux80.pp + Add two new sotfpuu units with x80 or 128 bit support 2012-01-31 15:58:56 +00:00
sockets.inc Add unsigned versions of ntohl and htonl 2012-11-16 12:37:07 +00:00
socketsh.inc * mips-linux has SOCK_STREAM and SOCK_DGRAM swapped, compared to other Linux targets. Fixes tbs/tb0524.pp. 2013-03-30 21:46:56 +00:00
sockovl.inc
softfpu.pp * another patch by Max Nazhalov to fix missing exits in the softfpu code 2013-06-13 19:40:17 +00:00
sstrings.inc + added RTL helpers for Val() for longint/dword on 16/8-bit CPUs 2013-03-29 01:19:14 +00:00
stdsock.inc
strings.pp - Cleaned out FPC_STRTOSHORTSTRPROC and FPC_STRTOCHARARRAYPROC defines. Somebody had to do it one day. 2011-12-14 22:40:08 +00:00
stringsi.inc
sysres.inc
system.fpd * more dummy declarations for basetypes. 2013-04-21 19:01:23 +00:00
system.inc * changed getdir(ansistring):ansistring to 2013-06-27 21:37:47 +00:00
systemh.inc * changed getdir(ansistring):ansistring to 2013-06-27 21:37:47 +00:00
text.inc * merge i8086 branch by Nikolay Nikolov 2013-04-25 20:23:51 +00:00
textrec.inc * textrec updated to use codepointer 2013-06-09 18:21:21 +00:00
thread.inc Extend TThread with (class) methods and (class) properties from Delphi 2007 and newer. 2012-12-27 16:16:17 +00:00
threadh.inc Avoid some range check errors for msdos target 2013-05-16 22:06:33 +00:00
threadvr.inc * hack for making threadvr.inc compile on i8086 2013-03-16 13:59:43 +00:00
tinyheap.inc * set the TinyHeapMinBlock const relative to the pointer size 2013-05-16 22:17:05 +00:00
typefile.inc * be able to use feature fileio without feature random 2011-08-27 22:44:37 +00:00
ucomplex.pp + patch by Vojtech Cihak to add csqr function, resolves #23492 2012-12-16 10:15:13 +00:00
ufloat128.pp
ustringh.inc * moved ToSingleByteFileSystemEncodedFileName() to the system unit and 2013-06-24 09:40:00 +00:00
ustrings.inc * small optimisation for ToSingleByteFileSystemEncodedFileName(rawbytestring): 2013-06-24 09:40:06 +00:00
uuchar.pp + paramstr(longint):unicode string function in uuchar 2013-06-24 09:39:54 +00:00
varerror.inc
variant.inc + also specify the parameter def when allocating a parameter via 2012-06-24 15:02:12 +00:00
varianth.inc - Removed outdated VER2_0 defines 2011-10-19 11:39:59 +00:00
variants.pp + VarIsBool function by Alexander Strokach, resolves #23358 2012-11-20 20:30:08 +00:00
video.inc
videoh.inc
wstringh.inc - Removed string conversion helpers that are not actually used by compiler code generation (duplicated pwidechar/punicodechar stuff). 2012-02-05 18:01:04 +00:00
wstrings.inc * made the pascal name of the string range checking helpers match 2013-01-06 15:05:33 +00:00
wustrings.inc

This directory contains only RTL parts independent
of the processor and of the operating system.

The include files contain the following:

astrings.pp     AnsiStrings implementation.
except.inc      Delphi styled exception support.
file.inc        Untyped file support routines.
filerec.inc     Untyped file record definition.
heap.inc        Runtime heap manager .
heaph.inc       Declarations of Heap functions.
innr.inc        Internal function delcarations.
int64.inc       Support for 64-bit integer arithmetic.
lstrings.pp     LongStrings routine implementation.
mathh.inc       Declarations of mathematical functions.
real2str.inc    Routine to convert floating point numbers to strings.
rtti.inc        Delphi like runtime type information
sstrings.inc    ShortStrings (TP/BP pascal like strings) implementation.
system.inc      OS and Processor independent implementation part of system unit.
systemh.inc     Interface part of the system unit.
text.inc        Text file support routines.
textrec.inc     Definition of Textrec record.
typefile.inc    Text file record definition.
generic.inc     Processor independant implementation of assembler procs on i386
                (to allow easy porting to new processors).
genset.inc      Processor independant implementation of set handling
genmath.inc     Processor independant implementation of mathematical routines
genrrti.inc     Processor independant implementation of runtime type information routines

The unit files are:

ucomplex.pp     Complex functions using operator overloading
getopts.pp      Pascal implementation of the GNU Getops
objects.pp      Turbo Pascal like implementation of objects unit
heaptrc.pp      Runtime memory leak tracer and tests for memory integrity.