Commit Graph

65598 Commits

Author SHA1 Message Date
magorium
b467de658d AROS: Add structure spinlock for SMP builds
In 2015 ABIv1 introduced support for spinlocks for SMP enabled builds (1) by
use of a special spinlock structure.

This structure was later updated to end up in its current form in 2017 (2)

This commit adds this record structure to both RTL (execd) and unit (exec).

The structure can be "enabled" by defining AROSPLATFORM_SMP during build.

1) b6045c27fd
2) 0ffdbdc48f
2022-06-26 19:03:18 +00:00
magorium
b218393b57 AROS: ABI compatibility update AROSSupportBase (ABI/API/BC break)
These changes break API/Binary Compatibility between ABIv0 and ABIv1.

Field stdOut is replaced by undefined field named _pad for ABIv1 while
(still) being present as stdOut for ABIv0.

Field DebugConfig is completely removed from ABIv1 (still present for ABIv0).

If your code depends on either of these two fields then you need to make
appropriate changes when compiling for ABIv1.

Removing dependency on either of these two mentioned fields is preferred.

Both RTL (execd.inc) and unit (exec.pas) are updated.

See also 194cc5e1c5
2022-06-26 18:38:06 +00:00
magorium
8bc7d5897d AROS: ABI compatibility update structure TETask (ABI/BC break)
These changes break Binary Compatibility between ABIv0 and ABIv1.

Record TETask was not compliant to ABIv1 because field et_Compatibility is
only required for ABIv0 (06538a1790).

Therefor these changes update record TETask for both RTL (execd.inc) and unit
exec (exec.pas) so that field et_Compatibility is only present for ABIv0.

The impact of these changes should be minimal because all relevant fields are
still accessible (some located at another offset) and code should never rely
on the size of this structure.
2022-06-26 18:17:44 +00:00
magorium
08cc81ff60 AROS: Update RTL structure TETask (execd)
Bring RTL (execd.inc) structure TETask up to date to unit exec (exec.pas).

This structure situated in the RTL was (literally) based on the MorphOS
version which is not compliant to AROS.

The original MorphOS TETask structure can still be 'activated' when the flag
AROS_MORPHOS_COMPATIBLE is defined when compiling the RTL and exec unit (as
is also the case in the original AROS repo).
2022-06-26 18:17:44 +00:00
magorium
5a0d76e45a AROS: 32/64-bit fix field alignment for unit conunit
Make sure AROS' record structures are C-packed.
2022-06-26 17:54:31 +00:00
magorium
030fe14bde AROS: 32/64-bit fix field alignment for unit commodities
Make sure AROS' record structures are C-packed.
2022-06-26 17:54:31 +00:00
magorium
9a47cc5c47 AROS: 64-bit fix elf structures for unit amigados
Make sure ELF structures are compliant to 64-bit when target is 64-bit.
2022-06-26 17:54:31 +00:00
magorium
1d1a68761e AROS: 32/64-bit compatibility update for unit agraphics
Make TRastPort compliant to both ABI's by removing redundant ifdef.

Add information about (new) fields.
2022-06-26 17:54:31 +00:00
magorium
3439b220a7 AROS: 32/64-bit compatibility update for unit intuition
Make TDrawInfo compliant to both ABI's by removing redundant ifdef.

Add information about (new) fields.

Update dri_version to v3.
2022-06-26 17:54:31 +00:00
magorium
e07185bc11 AROS: 32/64-bit compatibility update for unit workbench
Make TAppMessage compliant to both ABI's as well as 32/64-bit by
changing field am_ID to be of type IPTR for all targets..
2022-06-26 17:54:31 +00:00
marcoonthegit
576ef5a33d * make infinite a default param 2022-06-26 19:21:03 +02:00
mattias
8d42a9df83 webidl: wasm-job: function Cast 2022-06-26 14:15:57 +02:00
mattias
97f4399936 fcl-web: fixed compile 2022-06-26 14:11:16 +02:00
mattias
1c1475957f webidl: wasmjob: interface guid 2022-06-26 13:06:54 +02:00
mattias
63b9a6bda8 webidl: wasmjob: use interface 2022-06-26 12:26:19 +02:00
mattias
66099b0402 webidl: wasmjob: started pascal interface 2022-06-26 12:17:47 +02:00
florian
95dfccbb5e * do not optimize away +0.0 if no fastmath is passed as -0.0+(+0.0)=+0.0 2022-06-25 21:39:57 +02:00
Michaël Van Canneyt
df8a3ab009 * Fix from bart removing extra constants. Fix issue #39812 2022-06-25 17:15:59 +02:00
marcoonthegit
05c2bd85d3 * THandleObjectArray added 2022-06-25 15:49:48 +02:00
Michaël Van Canneyt
ecb4a0abca * Restore display of exception type. fix issue #39811 2022-06-25 14:49:44 +02:00
Michaël Van Canneyt
b2ad1d3efd * Patch from Bart. Fix for issue #39797 2022-06-25 14:33:33 +02:00
Michaël Van Canneyt
53623d7184 * Fix test regressions 2022-06-25 12:48:10 +02:00
Michaël Van Canneyt
e6d0b9510b * Patch from Bart, fixes issue #39801 2022-06-25 01:38:02 +02:00
Nikolay Nikolov
65d8c3d7eb * refactored duplicated code for epoch to datetime and vice versa conversion
between the dos and sysutils units for the WASI platform
2022-06-25 00:40:25 +03:00
florian
3ef7fedfec + forgotten test file added 2022-06-24 22:34:02 +02:00
mattias
06ef8fba46 webidl: fpmake 2022-06-24 20:56:56 +02:00
mattias
947eda3964 webidl: headers 2022-06-24 20:55:26 +02:00
mattias
0ac7e38797 webidl: wasmjob: split unit 2022-06-24 19:51:32 +02:00
mattias
1173a6b2e9 webidl: wasmjob: setter for JSValue 2022-06-24 19:46:04 +02:00
mattias
a64f44e579 webidl: wasmjob: setter for primitive types 2022-06-24 10:41:28 +02:00
mattias
e0baf898b1 webidl: wasmjob: getter for base types 2022-06-24 10:16:51 +02:00
mattias
bb68aa7e16 webidl: wasmjob: prepend classprefix to all external types 2022-06-24 08:33:41 +02:00
florian
8eb2cea349 * do not throw an internal error if slice is used on dyn. array paramters, resolves #39806 2022-06-23 23:11:18 +02:00
J. Gareth "Curious Kit" Moreton
2d8b10a5d8 * Improved TESTALL.BAT file for JVM tests 2022-06-23 19:12:14 +00:00
mattias
ec6f328822 fcl-base: fixed range check error 2022-06-23 17:38:19 +02:00
mattias
8d79dcc0d0 webidl: exitcode 1 on exception, wasmjob: units 2022-06-23 17:18:28 +02:00
mattias
bf52952b86 fcl-base: pascodegen: do not write empty line for default section 2022-06-23 17:07:53 +02:00
mattias
943272b6f2 webidl: dynarray: do not prepend duplicate T 2022-06-23 16:30:40 +02:00
mattias
a9ec4b3767 webidl: added -f 2022-06-23 16:24:16 +02:00
mattias
832bbe9cab webidl: TWebIDLToPasWasmJob clean up 2022-06-23 16:19:51 +02:00
florian
160c5a3d39 * patch by Bart B: Fix for TryStrToConvUnit in ConvUtils unit, resolves #39797 2022-06-22 22:18:02 +02:00
Sven/Sarah Barth
b2a5334a75 * fix #39795: when extracting make_prettystring it was forgotten to also append the const part of the name to the specialize name 2022-06-22 09:44:21 +02:00
Nikolay Nikolov
45415f0645 + enabled compilation of package fcl-js for wasm32-wasi 2022-06-22 03:58:57 +03:00
Nikolay Nikolov
e7dc8ba535 + enabled compilation of package fcl-mustache for wasm32-wasi 2022-06-22 03:57:36 +03:00
Nikolay Nikolov
8471879cd9 + enabled compilation of package fcl-passrc for wasm32-wasi 2022-06-22 03:55:43 +03:00
Nikolay Nikolov
283b1daca8 + enabled compilation of package fcl-sdo for wasm32-wasi 2022-06-22 03:53:38 +03:00
Nikolay Nikolov
b923613ead + make use of the unsigned remainder instructions in WebAssembly (i32.rem_s, i64.rem_u) 2022-06-22 03:37:36 +03:00
Nikolay Nikolov
9b16fafc52 + generate exception checks after calls to fpc_overflow class in WebAssembly
branchful exceptions mode, because fpc_overflow can raise an exception in case
  unit SysUtils is included.
2022-06-22 03:21:21 +03:00
Nikolay Nikolov
b2350d90ea * fixed typo in comment 2022-06-22 02:09:05 +03:00
Nikolay Nikolov
09b4925365 + enabled compilation of package fcl-db for wasm32-wasi 2022-06-22 02:03:05 +03:00