mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-18 05:01:42 +02:00
![]() 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 - |
||
---|---|---|
.. | ||
aliases.inc | ||
astrings.inc | ||
cgeneric.inc | ||
cgenmath.inc | ||
cgenstr.inc | ||
charset.pp | ||
cmem.pp | ||
compproc.inc | ||
crt.inc | ||
crth.inc | ||
ctypes.pp | ||
currh.inc | ||
dos.inc | ||
dosh.inc | ||
dynarr.inc | ||
dynarrh.inc | ||
dynlibs.pas | ||
except.inc | ||
exeinfo.pp | ||
extres.inc | ||
fexpand.inc | ||
file.inc | ||
filerec.inc | ||
fpextres.pp | ||
fpintres.pp | ||
gencurr.inc | ||
generic.inc | ||
genmath.inc | ||
genset.inc | ||
genstr.inc | ||
genstrs.inc | ||
getopts.pp | ||
heap.inc | ||
heaph.inc | ||
heaptrc.pp | ||
innr.inc | ||
int64.inc | ||
intres.inc | ||
iso7185.pp | ||
keyboard.inc | ||
keybrdh.inc | ||
keyscan.inc | ||
lineinfo.pp | ||
lnfodwrf.pp | ||
lstrings.pp | ||
macpas.pp | ||
makefile.inc | ||
mathh.inc | ||
matrix.pp | ||
mmatimp.inc | ||
mouse.inc | ||
mouseh.inc | ||
mvecimp.inc | ||
objc1.inc | ||
objc.pp | ||
objcbase.pp | ||
objcnf.inc | ||
objects.pp | ||
objpas.inc | ||
objpash.inc | ||
pagemem.pp | ||
printer.inc | ||
printerh.inc | ||
readme | ||
real2str.inc | ||
resh.inc | ||
rtti.inc | ||
sfpu128.pp | ||
sfpux80.pp | ||
sockets.inc | ||
socketsh.inc | ||
sockovl.inc | ||
softfpu.pp | ||
sstrings.inc | ||
stdsock.inc | ||
strings.pp | ||
stringsi.inc | ||
sysres.inc | ||
system.fpd | ||
system.inc | ||
systemh.inc | ||
text.inc | ||
textrec.inc | ||
thread.inc | ||
threadh.inc | ||
threadvr.inc | ||
tinyheap.inc | ||
typefile.inc | ||
ucomplex.pp | ||
ufloat128.pp | ||
ustringh.inc | ||
ustrings.inc | ||
uuchar.pp | ||
varerror.inc | ||
variant.inc | ||
varianth.inc | ||
variants.pp | ||
video.inc | ||
videoh.inc | ||
wstringh.inc | ||
wstrings.inc | ||
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.