Commit Graph

70464 Commits

Author SHA1 Message Date
Michaël Van Canneyt
487afd243e * DefineProperties can have dot in name. 2024-08-19 10:54:05 +02:00
Jan Rysavy
aa65847386 OpenSSL: add EVP_CIPHER_CTX_new and EVP_CIPHER_CTX_free 2024-08-19 05:40:37 +00:00
Nikolay Nikolov
200fbf64a1 + WebAssembly threads: set IsMultiThread to true in WasiBeginThread 2024-08-19 08:36:45 +03:00
florian
0f39633acc * generic second_addordinal can handle swapped nodes 2024-08-18 22:03:22 +02:00
Nikolay Nikolov
4527365f0d * WebAssembly threads default maxheapsize constant changed to more readable form - 256*1024*1024 instead of 268435456 2024-08-18 16:30:38 +03:00
Nikolay Nikolov
02867fe918 + WebAssembly threads: initialize the ThreadId threadvar for the main thread 2024-08-18 12:00:06 +03:00
Michaël Van Canneyt
13fbc876e0 * Rename keyword info to avoid confusion 2024-08-18 10:58:03 +02:00
Michaël Van Canneyt
711e412cb7 * Explain how to run full tests 2024-08-18 10:58:03 +02:00
Nikolay Nikolov
a4608bd008 * increased the default max memory for WebAssembly threads to 256 MiB 2024-08-18 11:13:44 +03:00
Nikolay Nikolov
44f58c702f * get rid of WebAssembly constant DefaultMaxMemoryForThreads, because it was
repeated twice. Instead, set maxheapsize correctly with the default value in
  init_parser.
2024-08-18 10:51:40 +03:00
Nikolay Nikolov
2dd610c140 * fixed test tw0882.pp for WebAssembly's memory requirements 2024-08-18 10:17:13 +03:00
florian
8dcf4e62b7 * FCVT.W.D returns only a 32 bit int 2024-08-17 18:24:16 +02:00
Rika Ichinose
88ca756f19 Don’t crash on empty path. 2024-08-17 19:01:40 +03:00
Rika Ichinose
07f9113a7c Support Windows root-relative paths in TPath.Combine. 2024-08-17 18:08:38 +03:00
Michaël Van Canneyt
a65fff24e9 * JSON Schema 2024-08-17 16:21:48 +02:00
Michaël Van Canneyt
de5b2c5192 * Fix compilation under unicode rtl 2024-08-17 16:21:48 +02:00
florian
b499e7593a * corrected alignment for Risc-V on Linux 2024-08-16 19:55:34 +02:00
Pierre Muller
167b5213d1 Rename conditional: INTFPPU => DEBUG_GENERATE_INTERFACE_PPU 2024-08-16 15:33:12 +00:00
Pierre Muller
7ec9d2bf9f Fix compilation with -dDEBUG_PPU 2024-08-16 15:08:19 +00:00
florian
159d97e864 * Risc-V: make use of sext.h instruction if available 2024-08-15 21:53:04 +02:00
Nikolay Nikolov
c54d1d4b89 * WebAssembly internal linker: the PageSize constant, which was repeated twice,
moved to the class level and renamed WasmPageSize. No functional changes.
2024-08-15 04:47:58 +03:00
Nikolay Nikolov
bf78823e60 + WebAssembly internal linker: take into account the min heap size (specified
with the $M directive), when determining FMinMemoryPages
2024-08-15 04:35:13 +03:00
florian
a53eb8b230 + Risc-V: make use of zext.h if available 2024-08-14 22:37:26 +02:00
Michaël Van Canneyt
5186044e81 * TStrings.InsertObject is virtual in Delphi 2024-08-14 15:15:08 +02:00
Michaël Van Canneyt
0533acdc27 * Add RangeIndexError (delphi compatible) 2024-08-14 15:14:24 +02:00
florian
081af9a892 * overleft cosmetics 2024-08-13 22:54:19 +02:00
Michaël Van Canneyt
15ba298bae * Additional check on action. 2024-08-13 10:35:39 +02:00
Michaël Van Canneyt
68acd78640 * Add SMEnuSeparator for Delphi compatibility 2024-08-13 10:32:29 +02:00
Michaël Van Canneyt
2accac30ae * Check if action is assigned before calling update on it 2024-08-13 10:24:36 +02:00
Michaël Van Canneyt
43660084b6 * Fix wrong raise statement. Fixes issue #40889 2024-08-13 09:41:04 +02:00
Yuri Serebrennikov
276618563c For connections list TThreadList changed to safe TFPHashList. 2024-08-12 23:20:12 +03:00
ccrause
10ec49d75b Remap .data with fpc specific information to outside normal memory range. 2024-08-12 20:10:30 +00:00
Rika Ichinose
801e14c33b Faster Insert(ansi/unicodestring). 2024-08-12 20:09:30 +00:00
florian
6ef37d999a + Risc-V: instructions of B extension 2024-08-12 21:51:22 +02:00
Yuri Serebrennikov
73ee25071d Fixed work in ThreadMode := wtmNone mode. 2024-08-12 10:18:36 +00:00
florian
0366df9fbd + Zb* cpu capabilities 2024-08-11 22:47:29 +02:00
Nikolay Nikolov
296a792380 * set MaxIntResource to 1023 for WebAssembly, because that's where the first
data segment starts, after commit 3218f25d13,
  and even before that, when using the external linker
2024-08-11 04:19:36 +03:00
Nikolay Nikolov
3218f25d13 * WebAssembly internal linker: reduced exe section alignment to 16 bytes 2024-08-11 03:57:05 +03:00
Nikolay Nikolov
7b05051fc1 * WebAssembly internal linker: add the .tbss section size to the result of GetBssSize 2024-08-11 03:29:39 +03:00
Nikolay Nikolov
8833fabb4b + enable the WebAssembly internal linker with multithreading 2024-08-11 02:58:25 +03:00
Nikolay Nikolov
f81485a9b1 * WebAssembly threads internal linker: use signed LEB when needed in TWasmExeOutput.GenerateCode_InitTls and TWasmExeOutput.GenerateCode_InitSharedMemory 2024-08-11 02:55:15 +03:00
Nikolay Nikolov
2e2281387c * WebAssembly threads internal linker: micro optimization in
TWasmExeOutput.GenerateCode_InitTls - skip generating instructions that add
  zero
2024-08-11 02:44:23 +03:00
Nikolay Nikolov
4adb6b2bee * WebAssembly threads internal linker: use WriteUleb instead of WriteUleb5 in
TWasmExeOutput.GenerateCode_InitTls and TWasmExeOutput.GenerateCode_InitSharedMemory.
  This generates equivalent, but shorter code.
2024-08-11 02:37:18 +03:00
Nikolay Nikolov
dfe60b53d1 * WebAssembly threads internal linker: generate data.drop instructions in
TWasmExeOutput.GenerateCode_InitSharedMemory. This drops the passive memory
  segments, after the memory has been initialized.
2024-08-11 02:30:39 +03:00
Nikolay Nikolov
b985cd0ea5 * WebAssembly threads internal linker: implement memory initialization in TWasmExeOutput.GenerateCode_InitSharedMemory 2024-08-11 02:24:02 +03:00
Nikolay Nikolov
cfa7d6a0c6 * WebAssembly internal linker: moved the DataSections const array from local to
the method writeData to local to the class. No functional changes.
2024-08-11 02:14:13 +03:00
Nikolay Nikolov
4d48e7e4d3 * WebAssembly threads internal linker: generate passive data segments, when multithreading is on 2024-08-11 02:12:31 +03:00
Nikolay Nikolov
8648c0353a + WebAssembly threads internal linker: partial implementation of TWasmExeOutput.GenerateCode_InitSharedMemory 2024-08-11 02:07:50 +03:00
Nikolay Nikolov
914b1feceb * WebAssembly threads internal linker: create a startup function for
initializing shared memory (dummy for now)
2024-08-11 01:37:50 +03:00
Nikolay Nikolov
b6f60e33ca * WebAssembly threads internal linker: use imported and shared memory if multithreading is enabled 2024-08-11 01:18:38 +03:00