fpc/rtl/inc
sergei 5c3aca5148 * thread.inc, DoneThread: allow CurrentTM.ReleaseThreadVars to be unassigned and reset ThreadID (in preparation to support Windows native threadvars)
* win/systhrd.inc: added error checking in several places. Fail with code 226 if resources cannot be allocated, as Delphi does.
* win/syswin.inc, Dll_entry: Don't call DoneThread in PROCESS_DETACH callback, it is redundant because the main thread is finalized by FPC_DO_EXIT. SysReleaseThreadVars is still necessary. Also removed redundant assignments to return value.

git-svn-id: trunk@17992 -
2011-07-15 23:57:23 +00:00
..
aliases.inc Rebase to revision 17096 2011-03-09 16:29:47 +00:00
astrings.inc * Added back pre-r17129 configuration of string range check helpers under {$ifdef ver2_4}. Without it, bootstrapping with 2.4.4 and -Cr is broken. 2011-06-11 01:14:01 +00:00
cgeneric.inc * Promoted result type of FPC_PCHAR_LENGTH and FPC_PWIDECHAR_LENGTH to SizeInt. 2011-06-13 04:59:17 +00:00
cgenmath.inc
cgenstr.inc
charset.pp
cmem.pp Rebase to revision 17096 2011-03-09 16:29:47 +00:00
compproc.inc * Promoted result type of FPC_PCHAR_LENGTH and FPC_PWIDECHAR_LENGTH to SizeInt. 2011-06-13 04:59:17 +00:00
crt.inc
crth.inc
ctypes.pp * fixed compilation with Delphi (patch by Sven Barth, mantis #17016) 2010-07-23 15:44:15 +00:00
currh.inc
dos.inc
dosh.inc
dynarr.inc Rebase to revision 17096 2011-03-09 16:29:47 +00:00
dynarrh.inc
dynlibs.pas Rebase to revision 16946 2011-02-20 17:28:51 +00:00
except.inc
exeinfo.pp updated for netware target 2011-03-27 15:11:43 +00:00
extres.inc
fexpand.inc * Fixed spell error revealed by lintian. 2010-10-06 20:33:57 +00:00
file.inc
filerec.inc
fpextres.pp
fpintres.pp
gencurr.inc
generic.inc * fixed fpc_shortstr_concat() in case the max length for the destination is 2011-06-30 15:48:52 +00:00
genmath.inc * fixed real48 to double conversion for 0.0 (patch by "jeng", mantis #16863) 2010-07-10 12:15:13 +00:00
genset.inc
genstr.inc
genstrs.inc
getopts.pp
heap.inc + RelocateHeap: tolerate being called more than once. 2011-06-16 18:57:36 +00:00
heaph.inc * made GetMemory, FreeMemory, ReallocMemory delphi compatible, resolves #17530 2010-10-02 19:15:58 +00:00
heaptrc.pp * heaptrc.pp: In case of early multithreading initialization, initialize all related items (namely, main_relo_todolist), not just the critical section. main_relo_todolist is used later without assigned checks, and it is also used as a flag to destroy the critical section. 2011-07-05 08:49:24 +00:00
innr.inc * implementation of bit scan intrinsics by Richard Vida, resolves #17592 2010-10-16 15:03:30 +00:00
int64.inc
intres.inc
iso7185.pp * fix iso i/o with unix style line feeds 2010-08-03 21:43:36 +00:00
keyboard.inc
keybrdh.inc
keyscan.inc
lineinfo.pp
lnfodwrf.pp - Removed unused variable 2011-07-13 22:14:39 +00:00
lstrings.pp
macpas.pp
makefile.inc + system unit depends on compproc.inc 2010-07-31 20:45:00 +00:00
mathh.inc
matrix.pp * add $mode fpc to matrix unit, mants 17357 2010-09-06 10:58:09 +00:00
mmatimp.inc
mouse.inc
mouseh.inc
mvecimp.inc
objc1.inc * rtl changes part of r15460 2010-06-21 09:26:08 +00:00
objc.pp + i386/iphonesim target for the new iPhoneSimulator in Xcode 3.2.4 and 2010-09-29 21:56:47 +00:00
objcbase.pp Rebase to revision 16888 2011-02-07 20:30:48 +00:00
objcnf.inc * rtl changes part of r15460 2010-06-21 09:26:08 +00:00
objects.pp
objpas.inc * fix integer message dispatch on ppc64-darwin by temporarily setting the correct record alignment 2010-10-31 12:24:38 +00:00
objpash.inc Rebase to revision 16888 2011-02-07 20:30:48 +00:00
pagemem.pp
printer.inc
printerh.inc
readme
real2str.inc * iso conformant writing of floats (using e instead of E) in iso mode 2010-07-31 20:45:55 +00:00
resh.inc * fix for Mantis 16195, Delphi compatibility resource handle types were not 64-bit proof. 2010-04-08 09:03:50 +00:00
rtti.inc * Declared types describing RTTI data of arrays and records, and rewrote main RTTI routines using these types. Shorter by about 60 lines, functionality isn't changed. 2011-03-16 18:53:53 +00:00
sockets.inc
socketsh.inc * deprecated some 1.0.x stuff. 2010-05-16 11:46:30 +00:00
sockovl.inc
softfpu.pp * Define FPC_SYSTEM_HAS_FLOAT32/64 in softfpu unit 2011-06-09 08:21:07 +00:00
sstrings.inc * rebase to trunk@17295 2011-04-10 19:20:48 +00:00
stdsock.inc
strings.pp
stringsi.inc
sysres.inc
system.fpd * Added mem,memw, meml for documentation purposes 2011-04-02 16:11:37 +00:00
system.inc * Partially reverted rev.17798: printing the runtime error message must remain in InternalExit. 2011-07-06 17:40:34 +00:00
systemh.inc + New procedure SysFlushStdIO (code taken from InternalExit). 2011-06-22 16:16:27 +00:00
text.inc + widestringmanager.codepointlengthproc added, which can be used to 2010-12-10 14:10:01 +00:00
textrec.inc
thread.inc * thread.inc, DoneThread: allow CurrentTM.ReleaseThreadVars to be unassigned and reset ThreadID (in preparation to support Windows native threadvars) 2011-07-15 23:57:23 +00:00
threadh.inc * closethread thread manager field/function. Mantis 13160 2010-03-26 23:31:52 +00:00
threadvr.inc * Rewrote those insane {$ifdef FPC_HAS_INDIRECT_MAIN_INFORMATION} into somewhat more readable form. 2011-03-21 21:12:46 +00:00
typefile.inc * use iso reset/rewrite with automatic assignmentin iso mode 2010-07-31 20:44:32 +00:00
ucomplex.pp * patch from Antonio Puente Rodero to fix arctanh and arccosh in unit ucomplex, resolves #18844 2011-04-05 19:37:50 +00:00
ufloat128.pp
ustringh.inc + widestringmanager.codepointlengthproc added, which can be used to 2010-12-10 14:10:01 +00:00
ustrings.inc * Added back pre-r17129 configuration of string range check helpers under {$ifdef ver2_4}. Without it, bootstrapping with 2.4.4 and -Cr is broken. 2011-06-11 01:14:01 +00:00
varerror.inc
variant.inc
varianth.inc * Variant types: renamed varunicodestring to varustring and changed its value to $102 (for Delphi compatibility), introduced varUStrArg=$73, added some description comments. 2010-11-27 16:17:43 +00:00
variants.pp * BCD improvements based on a patch from LacaK 2011-03-23 16:42:18 +00:00
video.inc
videoh.inc * video unit maxwidth increased to 240 (FV editor 2010-04-28 07:46:30 +00:00
wstringh.inc
wstrings.inc * Added back pre-r17129 configuration of string range check helpers under {$ifdef ver2_4}. Without it, bootstrapping with 2.4.4 and -Cr is broken. 2011-06-11 01:14:01 +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.