Commit Graph

3711 Commits

Author SHA1 Message Date
Michaël Van Canneyt
4c529287c6 * string -> shortstring 2023-07-22 08:26:22 +00:00
Michaël Van Canneyt
9cfe6e97a0 * add uachar loading for unicode rtl 2023-07-22 08:26:22 +00:00
Michaël Van Canneyt
56006aa002 * Allow widechar sets, reduce to ansichar set 2023-07-22 08:26:22 +00:00
Michaël Van Canneyt
8af6fdefa8 * Better length check 2023-07-17 10:04:46 +02:00
Michaël Van Canneyt
0be4498284 * Add length check 2023-07-17 10:02:15 +02:00
Michaël Van Canneyt
33dba31536 * Add overload to fix issue 40931 in lazarus 2023-07-16 19:06:22 +02:00
Michael VAN CANNEYT
6084bb6d09 * Some forgotten string -> shortstring instances 2023-07-14 20:13:43 +02:00
Michael VAN CANNEYT
4bddf12657 * Fix typo 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
3aefada11a * check zero length instead of comparing to empty string 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
f04577d292 * check zero length instead of comparing to empty string 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
b69c78ccce * String -> ShortString/RTLString 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
3085eac501 * String -> ShortString 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
e98ef65b6f * Restore char/pchar 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
bcaf82f5e7 * String -> ShortString 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
31ef662201 * check zero length instead of comparing to empty string 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
f75f208992 * Add IndexChar for widechar 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
1671010086 * string -> shortstring, check zero length instead of comparing to empty string 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
bec6b8c249 * string -> shortstring, check zero length instead of comparing to empty string 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
62d650d926 * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
01b70479a0 * string -> shortstring, check zero length instead of comparing to empty string 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
4d42d013b8 * check zero length instead of comparing to empty string 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
057cfc100c * check zero length instead of comparing to empty string 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
581dfc6d28 * string -> ansistring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
775408b21b * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
c29d36e369 * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
dafe77b954 * string -> shortstring, check zero length instead of comparing to empty string 2023-07-14 17:26:11 +02:00
Michaël Van Canneyt
f36ec0ed7f * Fix non-unix compilation 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
2339db3b00 * Fix compilation 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
d2d3fe6bc3 * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michaël Van Canneyt
bd03612527 * Typo fixed 2023-07-13 17:24:51 +02:00
Michaël Van Canneyt
6e5c4667cd * Do not compile pointer overloads of atomic operations for MS-DOS/i8086 2023-07-13 16:18:04 +02:00
Michaël Van Canneyt
517d1b017c * Interface thunk class must query owner object interface list 2023-07-11 17:47:03 +02:00
Michaël Van Canneyt
70282826ad * Parent class for hidden TVirtualInterface thunking class 2023-07-11 08:36:57 +00:00
Pierre Muller
032158d943 Fix system compilation for CPU16 2023-07-10 07:04:11 +02:00
Pierre Muller
ba2b29bd2c Fix cpu16 error in AtomicCmpExchange 2023-07-10 06:54:18 +02:00
Michaël Van Canneyt
96921aaba3 * Fix NilValue 2023-07-09 16:48:07 +02:00
Michaël Van Canneyt
2a87366086 * Delphi compatibility aliases for Interlocked* functions 2023-07-09 15:44:55 +02:00
Michaël Van Canneyt
b121045d4a * TPtrWrapper for Delphi compatibility 2023-07-09 15:05:53 +02:00
Jinyang He
6ef31c643a Set STACK_MARGIN_MAX to four times of pagesize on LoongArch64
It fixed a test named tstack. Actually, Linux user get the stacktop is
incorrect in current. The value of stack pointer when enter the procedure
is thought as it is in the highest stack page. But if the parameters is
enough large, lager than 16k, most of arch will also fail this test.
Since the LoongArch default pagesize is 16k, it fail often because
stack-layout-randomization causes the stackpointer underflow to next page.
I had tried fixed it in rtl/linux/[arch]/si_*. But because the codes is
unworthy and hardly the parameters is enough large, just expand
STACK_MARGIN_MAX for simplicity.
2023-06-21 07:27:36 +00:00
Michaël Van Canneyt
b8738944ed * Add TNoRefCountObject (delphi compatibility) 2023-06-05 11:43:07 +02:00
marcoonthegit
452ec93f06 * implement waitformultiple for win32 only.
* Change interface to allow for COM waiting + a basic windows implementation. (only for desktop apps? Use msgwait* for the rest?)
2023-05-20 14:37:26 +02:00
Michaël Van Canneyt
86ffe69380 * Better signature for Initialize/Finalize dummies 2023-03-19 15:22:54 +01:00
Rika Ichinose
98fa292b20 SSE2 Index* and Compare* for i386, chosen at runtime. 2023-03-17 20:42:50 +00:00
florian
f0ac02cb2e * patch by Rika: Remove wrong paranoia (and add correct one (and shorten in general (and fix a bug in))) fpc_dynarray_setlength, resolves #40193 2023-03-12 22:15:55 +01:00
florian
73b528d170 * patch by Rika: Remove dead code in DynArrayIndex, resolves #40194 2023-03-11 11:55:41 +01:00
florian
6a902660a5 * patch by Rika: Make more use of fpc_*_array (mainly fpc_addref_array) in rtl/inc/dynarr.inc, resolves #40174 2023-02-28 21:54:05 +01:00
florian
159fa78514 * patch by Rika: fix for 15f29b8fa0 2023-02-26 10:52:35 +01:00
Rika Ichinose
f0811e448d Improve generic CompareWord. 2023-02-25 22:52:38 +00:00
florian
15f29b8fa0 * patch by Rika: Perform 32-bit random if the bound fits into 32 bits at runtime, resolves #40171 2023-02-25 19:57:50 +01:00
Rika Ichinose
ee5b9e53a9 Improve generic CompareDWord. 2023-02-19 18:07:46 +00:00