Commit Graph

68394 Commits

Author SHA1 Message Date
Nikolay Nikolov
d66a8cb902 + enable compilation of the hermes package for the WASI platform, since WebAssembly now supports goto 2023-10-22 02:12:47 +03:00
Nikolay Nikolov
0bf609f0f0 + enable compilation of the fcl-res package for the WASI platform, since WebAssembly now supports goto 2023-10-22 02:08:09 +03:00
Nikolay Nikolov
fbcdce2c87 + enable compilation of the chm package for the WASI platform, since WebAssembly now supports goto 2023-10-22 02:02:28 +03:00
Nikolay Nikolov
30b745758c + enable compilation of the bzip2 unit for the WASI platform, since WebAssembly now supports goto 2023-10-22 01:58:50 +03:00
Nikolay Nikolov
ee782197a5 Merge branch 'main' into wasm_goto 2023-10-22 01:38:44 +03:00
Nikolay Nikolov
545978b290 * fixed the label resolution for asmlists with WebAssembly native exceptions 2023-10-22 01:29:50 +03:00
Nikolay Nikolov
da37fabc42 * fixed a div by zero error, when compiling a wasi-hosted compiler 2023-10-22 01:11:17 +03:00
Nikolay Nikolov
b3e64d70e7 * temporary workaround for the is_pascal_goto_target check not working properly in a_jmp_always 2023-10-22 01:09:26 +03:00
Nikolay Nikolov
84186db35f * support local.get/set/tee with a const parameter in the wasm internal assembler writer 2023-10-22 00:52:37 +03:00
Nikolay Nikolov
b1cec6de2a + allow jumps to goto targets 2023-10-22 00:35:05 +03:00
Nikolay Nikolov
5e9cf637d3 * fixed branch ordering in resolve_labels_via_state_machine 2023-10-21 23:54:40 +03:00
Nikolay Nikolov
6f942996a5 * fixes to the mangling of the entry and exit code during the state machine label resolution 2023-10-21 23:46:00 +03:00
Nikolay Nikolov
f9ecc12e5b + added label resolution via state machine 2023-10-21 23:33:09 +03:00
Michaël Van Canneyt
237e2686f1 * Patch from Dokkie8844 to ease implementation of certificate verification. Fixes issue #40480 2023-10-21 22:24:23 +02:00
Sven/Sarah Barth
879f48d215 * the unit name has already been uppercased for the search, so no need to uppercase it again for the message output 2023-10-20 19:54:05 +02:00
Sven/Sarah Barth
287ef8e79a * fix #40410: allow specialization of a procdef also inside exception handlers + added test 2023-10-20 19:54:05 +02:00
Sven/Sarah Barth
f88ee7b2d8 * fix #40451: load the assembly symbol into a separate operand so that an offset already contained in oper isn't discarded + added test 2023-10-20 19:54:04 +02:00
Michaël Van Canneyt
b003828d26 * Some fixes for namespaced compilation 2023-10-19 12:19:38 +02:00
Pierre Muller
44e2c05ef7 Set calling convention for fontconfig library import unit 2023-10-19 10:28:17 +02:00
Pierre Muller
3c2fa91c75 Extend support to all BSD systems for libfontconfig and fcl-pdf packages 2023-10-18 21:09:44 +00:00
Pierre Muller
59fe173cc7 Add calls to FcGetVersion, FcConfigGetFilename and FcConfigFilename 2023-10-18 15:24:31 +00:00
Pierre Muller
9070b3647a Add new FcConfigGetFilename function 2023-10-18 15:24:31 +00:00
Pierre Muller
9782b206cf Add namespaced version of libfontconfig and unixtype units in _USES clause 2023-10-18 15:18:00 +00:00
Pierre Muller
b51e5f370f Disable fcl-pdf package for wince target 2023-10-18 15:17:02 +00:00
Michaël Van Canneyt
557a324473 * Add system.actions unit for Delphi compatibility 2023-10-18 17:06:04 +02:00
Michaël Van Canneyt
a88dd9197f * Some delphi compatibility methods/types for actions 2023-10-18 16:49:39 +02:00
Michaël Van Canneyt
db1efd0264 * Fix windows implementation of find. Fixes issue #40473 2023-10-18 16:40:53 +02:00
Michaël Van Canneyt
c120a13af8 * Unprepare on commit/rollback 2023-10-18 08:57:01 +02:00
Nikolay Nikolov
fc9719f5f9 + add the extra allocated locals before inserting the locals list in wasm32 tcpuprocinfo.postprocess_code 2023-10-18 03:54:37 +03:00
Nikolay Nikolov
d50ef3381f * strip block instructions 2023-10-18 03:47:58 +03:00
Nikolay Nikolov
ce742b5b4d * convert loop..end_loop blocks to flat list + branch instruction 2023-10-18 03:45:02 +03:00
Nikolay Nikolov
9584348c40 + added amfrtDeleteAi, support deleting instructions in map_structured_asmlist_inner 2023-10-18 03:31:11 +03:00
Nikolay Nikolov
0f07c966b6 * convert if structured instructions to br_if + labels 2023-10-18 02:31:58 +03:00
Nikolay Nikolov
59128241ad + support mapping of structured instructions also in map_structured_asmlist_inner 2023-10-18 01:59:55 +03:00
Nikolay Nikolov
8b00598cab * set the last=true property of the last tai_local in the locals list in the
beginning of insert_localslist, instead of in the end of prepare_locals
2023-10-18 01:52:44 +03:00
Nikolay Nikolov
5b64e5b957 * insert the wasm locals asm list after resolve_labels_complex, since it will (in the future) be able to allocate more locals, in order to resolve the branches and goto 2023-10-18 01:51:11 +03:00
Nikolay Nikolov
e81cff0408 * moved the insertion of the wasm locals asmlist to a local subroutine 2023-10-18 01:50:31 +03:00
Nikolay Nikolov
0e39e7c12d * moved the preparation of the locals asm list in tcpuprocinfo.postprocess_code to a local subroutine 2023-10-18 01:47:42 +03:00
Nikolay Nikolov
db23f54f8c * Local var templist renamed localslist. No functional changes. 2023-10-18 01:41:25 +03:00
Nikolay Nikolov
edabca1447 + added and implemented tcpuprocinfo.AllocWasmLocal 2023-10-18 00:48:45 +03:00
mattias
985dec61b1 pastojs: do not add rtti for public constructor for class without rtti, related #37752 2023-10-17 15:09:22 +02:00
mattias
bb817db47a pas2js: skip invalid surrogate 2023-10-17 13:11:09 +02:00
mattias
6bb5c3c48c pastojs: added test for utf-16 surrogates 2023-10-17 13:03:12 +02:00
mattias
c7db379a4f pastojs: errors on illegal char const 2023-10-17 13:02:45 +02:00
mattias
f477b94f0f fcl-js: fixed EscapeString for surrogates 2023-10-17 13:02:12 +02:00
mattias
86dde7821c fcl-pdf: gitignore fonts 2023-10-17 13:01:09 +02:00
Michaël Van Canneyt
48348ca7a1 * libfontconfig only on linux/freebsd/darwin 2023-10-17 11:16:41 +02:00
mattias
ddd39227eb fcl-json: clean up 2023-10-17 09:47:00 +02:00
Pierre Muller
9e341da6ed Apply fix submitted by Rika on discussion about issue #39366 2023-10-17 06:49:47 +00:00
Nikolay Nikolov
d911e462b2 + added support for params and results in tai_wasmstruc_if.ConvertToBrIf 2023-10-17 03:00:23 +03:00