Commit Graph

69961 Commits

Author SHA1 Message Date
Michaël Van Canneyt
9cc08d9124 * Define JSJSON to as to use static methods 2024-06-27 16:08:57 +02:00
Michaël Van Canneyt
f8559610e0 * Restool example 2024-06-27 16:08:57 +02:00
Nikolay Nikolov
0e0c98f564 + wasm resource writer: implemented AddEmptySections 2024-06-27 10:23:40 +03:00
Nikolay Nikolov
729840ca6f + wasm resource writer: implemented WriteRawData 2024-06-27 10:15:55 +03:00
Nikolay Nikolov
2e553ab0e8 + wasm resource writer: implemented TWasmResourceWriter.WriteResStringTable 2024-06-27 10:01:47 +03:00
Nikolay Nikolov
f17e847e5b + wasm resource writer: implemented TWasmResourceWriter.WriteNodeInfos 2024-06-27 09:56:41 +03:00
Nikolay Nikolov
f2717b8dc0 + wasm resource writer: add the file data segment offset when writing relocations 2024-06-27 09:39:56 +03:00
Nikolay Nikolov
1073729336 + wasm resource writer: actually write the data relocation table
+ add symbols for the data segments
+ use R_WASM_MEMORY_ADDR_I32 relocations instead of R_WASM_MEMORY_ADDR_I32 in
  R_WASM_MEMORY_ADDR_I32
2024-06-27 09:27:49 +03:00
Nikolay Nikolov
8b356c7f60 + wasm resource writer: create a list of relocation entries (not written to
file, yet). Add relocations to the list in TWasmResourceWriter.WriteResHeader
2024-06-27 09:03:53 +03:00
Nikolay Nikolov
63f6df2fbc + wasm resource writer: added FPC_RESSYMBOL to the symbol table 2024-06-27 08:08:53 +03:00
Nikolay Nikolov
49c1416409 + wasm resource writer: create a symbol table (empty for now) 2024-06-27 07:59:27 +03:00
Nikolay Nikolov
c771d772c4 + wasm resource writer: create the WASM_SEGMENT_INFO subsection of the linking custom section 2024-06-27 07:38:37 +03:00
Nikolay Nikolov
866f3ffa2a + wasm resource writer: write the linking custom section 2024-06-27 07:22:48 +03:00
Nikolay Nikolov
b28d49ced7 + wasm resource writer: start writing the data segments, also the import section 2024-06-27 06:39:06 +03:00
Nikolay Nikolov
868d5f29c9 + implement TWasmResourceWriter.PrescanResourceTree, based on the ELF
implementation. Call this on Write() to prepare resource stuff for writing.
2024-06-27 05:45:20 +03:00
Nikolay Nikolov
73462ff8fe + WASM resource writer: write the Data and DataCount sections (with 0 data segments for now) 2024-06-27 05:01:35 +03:00
Nikolay Nikolov
55e55cf247 + added units wasmconsts and wasmtypes 2024-06-27 04:16:37 +03:00
Nikolay Nikolov
c491856533 * changed the resource object extension for the WASI platform to .or (similar to Linux) 2024-06-27 04:15:44 +03:00
Nikolay Nikolov
025282ccb9 + write the WebAssembly header in the WASM resource writer 2024-06-27 04:15:44 +03:00
Nikolay Nikolov
142c851b58 + added wasmwriter to namespaces.lst 2024-06-27 04:15:44 +03:00
Nikolay Nikolov
8a34224782 + added the wasm object format and the wasm32 arch to the fpcres help screen 2024-06-27 04:15:44 +03:00
Nikolay Nikolov
60017c1034 + started working on a WebAssembly resource writer for fcl-res and the fpcres tool 2024-06-27 04:15:44 +03:00
Michaël Van Canneyt
0c745fb257 * Implement TJSArrayBuffer 2024-06-26 14:17:52 +02:00
Nikolay Nikolov
440a635bce + initial compiler support for WebAssembly resources. Requires WebAssembly
support in the fpcres utility, which is not implemented, yet.
2024-06-25 03:07:55 +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
J. Gareth "Curious Kit" Moreton
fb66369a3b * x86: CheckJumpMovTransferOpt now also copies over register deallocations to allow better optimisations 2024-06-24 20:05:39 +00:00
Michaël Van Canneyt
a49c0f6e0c * Fetch example, demo how to reconstruct object response 2024-06-24 17:18:43 +02:00
Michaël Van Canneyt
d0a5b61b80 * Corrections from samples 2024-06-24 17:18:43 +02:00
marcoonthegit
1c02529199 * closes 40829
* add pointer to return value type of libusb_get_version
2024-06-24 15:42:06 +02:00
Michaël Van Canneyt
c8bb9083dc * Extend and Correctly handle aliases invoke class and function for aliased classes 2024-06-24 15:09:44 +02:00
florian
abcced55af * (lsighly, added safety check) patch by Евгений Савин, resolves #40784 2024-06-23 22:07:51 +02:00
marcoonthegit
4300e2cfcc * add filename before eparsererror and reraise closes 0040958 2024-06-23 13:30:05 +02:00
florian
9ea7aa74b5 * get rid of unneeded -dGDB 2024-06-20 20:57:44 +02:00
Michaël Van Canneyt
9e8f09b93f * Properly reset state when (re)compiling, by Artem Izmaylov. Fixes issue #40825 2024-06-20 11:52:02 +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
ec21c75e05 * Hosting example for webassembly module 2024-06-19 17:52:09 +02:00
Michaël Van Canneyt
0e11fe0fc5 * Forgot to commit last version: allow to use thisid from function 2024-06-19 15:40:37 +02:00
Michaël Van Canneyt
7dcd89ede1 * Corrections for Float64 2024-06-19 09:42:44 +02:00
Michaël Van Canneyt
94912ab274 * Getters & Setters for typed arrays 2024-06-19 09:21:50 +02:00
florian
54ee1d6824 * patch by Awkward, resolves #40822 2024-06-18 22:50:21 +02:00
Michaël Van Canneyt
e80ce5f61f * Allow to disable monitor 2024-06-18 14:51:34 +02:00
Michaël Van Canneyt
ec2e645719 * Allow to cache reject/resolve 2024-06-18 09:12:51 +02:00
Michaël Van Canneyt
3df063ad92 * Make methods protected, so one can override 2024-06-18 09:12:51 +02:00
florian
6c50c02f7c * bail out early in tcgaarch64.make_simple_ref if possible 2024-06-17 22:54:06 +02:00
Sven/Sarah Barth
b98df20b4e * regenerate Makefile 2024-06-16 21:40:58 +02:00
Sven/Sarah Barth
4936ca80d1 * look for sub directories of utils that contain Makefile instead of Makefile.fpc just like the one in packages does 2024-06-16 21:40:58 +02:00
Sven/Sarah Barth
bd9ea37453 + add a distclean target for sim_pasc 2024-06-16 21:40:57 +02:00
Sven/Sarah Barth
6a983e533a - remove file that's generated again by the Makefile 2024-06-16 21:40:54 +02:00
florian
13de117b8e * give better error message for #40821 2024-06-16 10:51:45 +02:00
florian
ebf39d6109 * patch by alligator: avoid unncessary calls to CalcTotalSize 2024-06-15 22:34:09 +02:00