florian 42d9175fd1 Merge branch 'main' into basemath 1 anno fa
..
Makefile.rtl 1726afada3 Merge branch 'main' into basemath 1 anno fa
aliases.inc 6a902660a5 * patch by Rika: Make more use of fpc_*_array (mainly fpc_addref_array) in rtl/inc/dynarr.inc, resolves #40174 2 anni fa
astrings.inc 3180c985ed * fix naming (no functional change) 1 anno fa
basemath.pp 68b1774f52 o initial work to introduce a basemath unit which does not depend on sysutils 1 anno fa
blockrtl.pp ccfa38c68e * Dotted RTL compiles 2 anni fa
cgeneric.inc 9bb6a32c62 * avoid wrong warning about FillChar not initializing the output parameter in case count <= 0 1 anno fa
cgenmath.inc feeb50be4f * Changed signature of frexp() to match one in Math unit, so eventually a duplicate implementation in Math can be removed. Currently this frexp() remains private to unit System. 9 anni fa
cgenstr.inc d2d3fe6bc3 * Char -> AnsiChar 2 anni fa
charset.pp ccfa38c68e * Dotted RTL compiles 2 anni fa
cmem.pp ccfa38c68e * Dotted RTL compiles 2 anni fa
compproc.inc d729d5a5b1 * arm: Re-enabled "inline" on "fpc_ansistr_decr_ref" and "fpc_ansistr_incr_ref". 1 anno fa
ctypes.pp ccfa38c68e * Dotted RTL compiles 2 anni fa
currh.inc b359080f42 * fixed round(currency) so it takes the rounding mode into account on 4 anni fa
dos.inc 775408b21b * string -> shortstring 2 anni fa
dosh.inc 775408b21b * string -> shortstring 2 anni fa
dynarr.inc 324b77f317 Let fpc_dynarray_concat(_multi) reuse the only nonempty input or append to the destination if possible. 2 anni fa
dynarrh.inc 9f293df425 * export DynArrayAssign, resolves #39897 3 anni fa
dynlib.inc 87a37e70ee * Add EnumModules for Delphi compatibility 1 anno fa
dynlibh.inc 87a37e70ee * Add EnumModules for Delphi compatibility 1 anno fa
dynlibs.pas ccfa38c68e * Dotted RTL compiles 2 anni fa
except.inc c9fcc68ec1 * enable the compiler to optimize away parts of System.PushExceptObject, if System.get_frame is not implemented, i.e. returning nil 5 anni fa
excepth.inc 3cfad8fba8 * renamed FPC_USE_PSEABIEH to FPC_USE_PSABIEH 6 anni fa
exeinfo.pp ccfa38c68e * Dotted RTL compiles 2 anni fa
extpas.pp ccfa38c68e * Dotted RTL compiles 2 anni fa
extres.inc d2d3fe6bc3 * Char -> AnsiChar 2 anni fa
fexpand.inc 057cfc100c * check zero length instead of comparing to empty string 2 anni fa
file.inc d2d3fe6bc3 * Char -> AnsiChar 2 anni fa
filerec.inc f20de5d583 * fixed padding in the filerec to match textrec even on platforms where 4 anni fa
flt_conv.inc e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) 9 anni fa
flt_core.inc 4c529287c6 * string -> shortstring 2 anni fa
flt_pack.inc 6522cd78ee added some float64() casts, based on similar casts in the 32bit code path, which makes ARM to build again 12 anni fa
fpextres.pp ccfa38c68e * Dotted RTL compiles 2 anni fa
fpintres.pp d2d3fe6bc3 * Char -> AnsiChar 2 anni fa
gencurr.inc b359080f42 * fixed round(currency) so it takes the rounding mode into account on 4 anni fa
generic.inc 875e22f7d7 Implement length(PWideChar) with IndexWord. 1 anno fa
genmath.inc 04145589a9 * improved fpc_frac_real 3 anni fa
genmathh.inc adf064cbb4 New: rtl/inc/genmathh.inc source file, to provide a unique position 5 anni fa
genset.inc edaee6f392 * do not copy sets in fpc_varset_(un)set if source and dest are the same 1 anno fa
genstr.inc 8d3a9c3dda * remove unneeded checks in generic string routines, resolves #40816 1 anno fa
genstrs.inc 4d42d013b8 * check zero length instead of comparing to empty string 2 anni fa
getopts.pp 231007ebda * check length of optstring before dereferencing (optstring[1]) it. Fixes #40596 1 anno fa
heap.inc 4e1f854d49 * patch by Rika + test: Don’t explicitly change GetMem(0) to GetMem(1), it works anyway, resolves #40456 1 anno fa
heaph.inc 391512546e + initial FreeRTOS RTL support, largely based on the Embedded target, limited to Xtensa so far 5 anni fa
heaptrc.pp cb6fe28898 Add support for DISABLE_SYSTEMINLINE inside heaptrc unit 1 anno fa
innr.inc 70a836c4a2 * first part of merging parts of Jeppe's intrinsics patch, mainly r31135 5 anni fa
int64.inc ae8d2dc69a * omit first not, helps the reg. allocator to find a workable colouring, resolves #36611 5 anni fa
intres.inc e51fb8020c + introduced constant MaxIntResource, use it in InternalIsIntResource 1 anno fa
iso7185.pp d2d3fe6bc3 * Char -> AnsiChar 2 anni fa
isotmp.inc 4bddf12657 * Fix typo 2 anni fa
lineinfo.pp ab3b7f8f69 * Do not use namespace prefix for lnfodwarf 1 anno fa
llvmintr.inc 49cb7b2564 LLVM: use llvm.dbg.declare instead of llvm.dbg.addr for variable declarations 1 anno fa
lnfodwrf.pp ab3b7f8f69 * Do not use namespace prefix for lnfodwarf 1 anno fa
lstrings.pp ccfa38c68e * Dotted RTL compiles 2 anni fa
macpas.pp 68b1774f52 o initial work to introduce a basemath unit which does not depend on sysutils 1 anno fa
makefile.inc ccfa38c68e * Dotted RTL compiles 2 anni fa
mathh.inc a0cae50af6 * rtl part of #35433 1 anno fa
monitor.inc 569c3fb49f * really all TMonitor shortcuts pass through the results 1 anno fa
nothreads.pp 2c66f30520 * Remove debug statements 1 anno fa
objc.pp ccfa38c68e * Dotted RTL compiles 2 anni fa
objc1.inc d12bc9e9b9 Add FPC_DOTTEDUNITS code 2 anni fa
objcbase.pp ccfa38c68e * Dotted RTL compiles 2 anni fa
objcnf.inc ccfa38c68e * Dotted RTL compiles 2 anni fa
objpas.inc 8b40033964 * Change argument name 1 anno fa
objpash.inc 8b40033964 * Change argument name 1 anno fa
osheap.inc c298c0e0da rtl/osheap: fixed a dumb reversed condition in osheap/SysAllocMem() 3 anni fa
pagemem.pp ccfa38c68e * Dotted RTL compiles 2 anni fa
psabieh.inc 13902c1c7a * fixed compilation for __ARM_EABI_UNWINDER__ with -dexcdebug 6 anni fa
psabiehh.inc d2d3fe6bc3 * Char -> AnsiChar 2 anni fa
readme f9672b53a2 - removed old float-to-string and string-to-float conversion code 5 anni fa
resh.inc d2d3fe6bc3 * Char -> AnsiChar 2 anni fa
rtti.inc d2d3fe6bc3 * Char -> AnsiChar 2 anni fa
rttidecl.inc 45b5e9215c rtl: remove defines for v2.x compiler from the common part of the RTL. It's no longer suppported to build with that 4 anni fa
rttih.inc 50d72bb559 * Define RTTI visibilities 1 anno fa
sfpu128.pp ccfa38c68e * Dotted RTL compiles 2 anni fa
sfpux80.pp ccfa38c68e * Dotted RTL compiles 2 anni fa
softfpu.pp ccfa38c68e * Dotted RTL compiles 2 anni fa
sortbase.pp ccfa38c68e * Dotted RTL compiles 2 anni fa
sstrings.inc fc3d71bba3 Check bounds in SetLength(shortstring). 1 anno fa
strings.pp ccfa38c68e * Dotted RTL compiles 2 anni fa
stringsi.inc d2d3fe6bc3 * Char -> AnsiChar 2 anni fa
sysres.inc d2d3fe6bc3 * Char -> AnsiChar 2 anni fa
system.fpd 86ffe69380 * Better signature for Initialize/Finalize dummies 2 anni fa
system.inc 11942fcf01 Cover more values in the [0; 1) range by “random”. 1 anno fa
systemh.inc a575a5c0fd Move Int128Rec to System; remove i386 and x86_64 CPU unit dependency on SysUtils. 1 anno fa
text.inc 4c529287c6 * string -> shortstring 2 anni fa
textrec.inc 45b5e9215c rtl: remove defines for v2.x compiler from the common part of the RTL. It's no longer suppported to build with that 4 anni fa
thread.inc 88c7954d9f rtl: add two defines toallow disabling the verbose error of the stub unicodestringmanager and threadmanager 1 anno fa
threadh.inc 452ec93f06 * implement waitformultiple for win32 only. 2 anni fa
threadvr.inc d2d3fe6bc3 * Char -> AnsiChar 2 anni fa
tinyheap.inc 9d41a435c2 * tinyheap: Disable inline when FPC_TINYHEAP_HUGE is defined to prevent code bloat. 5 anni fa
tnyheaph.inc a72434e93a Trial to clarify heap for i8086 issues: 9 anni fa
typefile.inc 1671010086 * string -> shortstring, check zero length instead of comparing to empty string 2 anni fa
typshrd.inc 7bd5613954 * fix error on win64 and concerns about pulling math into the windows unit by a local arctan2 copy 2 anni fa
typshrdh.inc 5fb88cef00 * Tpoint.Angle initial version using arctan2 2 anni fa
uachar.pp b2a13077c0 * redefine also PPChar and PPPChar depending on the string type mode, resolves #40491 1 anno fa
ufloat128.pp ccfa38c68e * Dotted RTL compiles 2 anni fa
ufloatx80.pp ccfa38c68e * Dotted RTL compiles 2 anni fa
ustringh.inc b0076a4709 Integers are 16-bit in system, replace with SizeInt. 1 anno fa
ustrings.inc b0076a4709 Integers are 16-bit in system, replace with SizeInt. 1 anno fa
uuchar.pp b2a13077c0 * redefine also PPChar and PPPChar depending on the string type mode, resolves #40491 1 anno fa
varerror.inc 77d20627dc * removed duplicate EVariant class from varutils and incorporated 19 anni fa
variant.inc 3085eac501 * String -> ShortString 2 anni fa
varianth.inc 886f91dee3 + tvardata.vuint32, resolvers #40729 1 anno fa
wstringh.inc d2d3fe6bc3 * Char -> AnsiChar 2 anni fa
wstrings.inc 3aefada11a * check zero length instead of comparing to empty string 2 anni fa

readme

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.
flt_*.inc Routines to convert floating point numbers to strings and vice versa.
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.