Commit Graph

15940 Commits

Author SHA1 Message Date
Rika Ichinose
73bf0c82bb Disable _Plain versions when compiling RTL for newer CPUs. 2024-07-14 14:36:17 +00:00
florian
569c3fb49f * really all TMonitor shortcuts pass through the results 2024-07-12 19:02:21 +02:00
Michaël Van Canneyt
fa1abfba92 * Shortcuts must pass result on 2024-07-12 09:04:42 +02:00
Michaël Van Canneyt
634e01d525 * Improved ToString for TComponent 2024-07-11 12:08:18 +02:00
Michaël Van Canneyt
cf4fc4e385 * Add property to better simulate Delphi behaviour 2024-07-11 11:46:33 +02:00
Michaël Van Canneyt
0b4d9a6732 * Some utility routines 2024-07-11 11:46:33 +02:00
Nikolay Nikolov
6d79054cff * use an empty TThread implementation in rtl/wasi/tthread.inc, in case
FPC_WASM_THREADS is not defined
2024-07-11 11:20:51 +03:00
Ondrej Pokorny
617d56f23a Move EqualsValue/LessThanValue/GreaterThanValue to unit Types, refer to them in the Math unit 2024-07-10 11:38:42 +02:00
florian
e225b41e3e * properly define esp32 helper unit names in inc/Makefile.rtl 2024-07-09 22:23:19 +02:00
Pierre Muller
b1f0c504cc Fix wince compilation using FPC_HAS_SYSRELOCATETHREADVAR_ASM macro.
Replaces merge request !705
2024-07-09 17:43:58 +02:00
Alligator-1
326073512d const array - reducing unnecessary data copying 2024-07-08 06:26:17 +00:00
Michaël Van Canneyt
680c096ac5 * Delphi compatibility: ListIndexErrorMsg 2024-07-05 15:55:47 +02:00
Michaël Van Canneyt
816e3fc538 * Some routines for list index error, delphi-compatible 2024-07-05 15:35:33 +02:00
Nikolay Nikolov
e51fb8020c + introduced constant MaxIntResource, use it in InternalIsIntResource 2024-07-05 13:20:06 +03:00
florian
f67165ae31 * empty Rect does not extend the rect in UnionRect, based on patch provided by Werner Pamler, resolves #40680 2024-07-04 22:40:42 +02:00
Nikolay Nikolov
c96b0f6ca5 * workaround for WebAssembly resource names possibly residing in memory below 64KB 2024-07-04 07:26:36 +03:00
florian
3180c985ed * fix naming (no functional change) 2024-07-03 18:47:26 +02:00
Michaël Van Canneyt
193f20b697 * Merge request !710 2024-07-03 08:32:17 +02:00
Alligator-1
10dd493057 without copy 2024-07-03 09:05:02 +05:00
florian
9d957cd6b3 * fix TSC support bit as mentioned by Rika 2024-07-01 22:26:03 +02:00
Rika Ichinose
8d12774d3b Don’t cache process ID. 2024-07-01 19:26:01 +00:00
florian
9209f55112 * make GetProcessID inline 2024-07-01 21:25:34 +02:00
Michaël Van Canneyt
8cd3e72b36 * Reflow code for clarity 2024-07-01 08:32:10 +02:00
Alligator-1
c2bca23fd1 Taking advantage of fpc_ansistr_concat_multi 2024-07-01 08:54:32 +05:00
Alligator-1
f60bed0823 Without a copy in most cases 2024-06-30 22:04:42 +05:00
florian
bdef7af09e * corrected rte number after last merge 2024-06-30 15:25:08 +02:00
Rika Ichinose
ea271c1088 Make int64 division helpers “nostackframe”. 2024-06-30 12:51:40 +00:00
Rika Ichinose
c68788e03e Low-level optimistic implementations of SysRelocateThreadvar that directly read TEB. 2024-06-30 12:27:29 +00:00
Rika Ichinose
0ca608243c SSE4.1 IndexQWord for i386 and x86-64. 2024-06-29 20:37:55 +00:00
florian
567187d4ba + TSCSupport 2024-06-29 22:32:36 +02:00
Nikolay Nikolov
824658874d * in the WASI system unit initialization, call InitSystemThreads even if
FPC_WASM_THREADS is not defined (but FPC_HAS_FEATURE_THREADING is defined),
  to initialize the nothread manager. This fixes various regressions when WASI
  threading is disabled, caused by calls to nil pointer functions.
2024-06-27 22:45:01 +03:00
florian
14f2d8ab08 * patch by Bart B to make SetValue delete keys with empty values as SetValueFromIndex, resolves #38214 2024-06-24 22:45:07 +02:00
Rika Ichinose
c261d5fdee Fix reading past the end of the string in Unix.FSearch. 2024-06-20 01:02:40 +03:00
Michaël Van Canneyt
e80ce5f61f * Allow to disable monitor 2024-06-18 14:51:34 +02:00
florian
8d3a9c3dda * remove unneeded checks in generic string routines, resolves #40816 2024-06-12 20:41:08 +02:00
Michaël Van Canneyt
2c66f30520 * Remove debug statements 2024-06-12 17:45:47 +02:00
Rika Ichinose
ff9fe851fb Let “Trim”s return string uncopied. 2024-06-09 19:35:22 +00:00
marcoonthegit
60d81ed79b * fix also gprt0 2024-06-03 09:50:46 +02:00
Rika Ichinose
11942fcf01 Cover more values in the [0; 1) range by “random”. 2024-06-01 16:55:36 +00:00
ccrause
ceb4d6fe8f Add esp32c3 units to namespaced. 2024-05-25 17:26:15 +00:00
ccrause
424d3606d4 Simplify required link libraries and move libc, libm and libgcc to end. 2024-05-25 17:26:15 +00:00
ccrause
8e717f4142 Add support for esp-idf v4.4 2024-05-25 17:26:15 +00:00
ccrause
c42bf9cdf5 Extend riscv32-freertos functionality for esp32c3 2024-05-25 17:26:15 +00:00
marcoonthegit
7957c34940 * change tthreadid to thandle, as the used functions for threadid in systhrd all use HANDLE. 2024-05-25 17:51:56 +02:00
marcoonthegit
492893a935 * add some NUMA information functions mentioned in forum 2024-05-25 13:40:08 +02:00
Ondrej Pokorny
ee9c54d51a implement TProxyAggregateStream (Delphi compatibility) 2024-05-23 15:03:12 +00:00
Rika Ichinose
875e22f7d7 Implement length(PWideChar) with IndexWord. 2024-05-22 20:15:12 +00:00
J. Gareth "Curious Kit" Moreton
d729d5a5b1 * arm: Re-enabled "inline" on "fpc_ansistr_decr_ref" and "fpc_ansistr_incr_ref". 2024-05-22 01:52:01 +01:00
J. Gareth "Curious Kit" Moreton
2519f42854 * arm: Disabled "inline" on "fpc_ansistr_decr_ref" and "..._incr_ref" until arm compiler bug is resolved 2024-05-22 00:29:20 +01:00
Rika Ichinose
4383aab15a Fix off-by-one error in syswin.inc:setup_arguments. 2024-05-21 17:57:56 +00:00