Commit Graph

65 Commits

Author SHA1 Message Date
Nikolay Nikolov
0d069b160f + added wasip1threads to fpmake.pp 2025-02-28 15:12:20 +02:00
Nikolay Nikolov
4423989868 * renamed wasi -> wasip1 in fpmake.pp files 2025-02-28 15:12:19 +02:00
Michaël Van Canneyt
008397cb49 * Object ID must be controlled by wasm side 2025-02-13 15:54:04 +01:00
Michaël Van Canneyt
637fa74c5c * API to share JOB objects between threads (if browser allows) 2025-02-11 10:41:04 +01:00
Michaël Van Canneyt
f270543bf4 * Assign result in async 2025-02-04 17:57:23 +01:00
Michaël Van Canneyt
d06dd9532c * Fix compilation for unicode 2025-01-31 17:27:57 +01:00
Michaël Van Canneyt
3e6ae3f887 * Add TJSAtomics.waitAsync 2025-01-31 11:36:13 +01:00
Michalis Kamburelis
4c8f718a8b Fix TJSArray._GetStrings: exit once you get correct value, do not fall through to raising error 2024-12-09 22:13:31 +01:00
Michaël Van Canneyt
d775dadced * Atomics 2024-12-04 23:28:56 +01:00
Michaël Van Canneyt
9c4a354d7b * Add SharedMemoryBuffer 2024-11-29 11:58:29 +01:00
Michaël Van Canneyt
5a2b045388 * Simple example for JOB call 2024-11-11 12:10:28 +01:00
Michaël Van Canneyt
368a77d75e * Fix memleak 2024-09-24 18:16:16 +02:00
Michaël Van Canneyt
ae83472a06 DumpLiveObjects call 2024-09-20 10:37:06 +02:00
Michaël Van Canneyt
5ac4fd0b13 * Allow message in ShowAsDebug 2024-09-18 17:32:37 +02:00
Michaël Van Canneyt
1f0c72b6c1 * JOB debugobject call 2024-09-18 17:09:02 +02:00
Michaël Van Canneyt
633f905b79 * Correct export name 2024-09-13 16:09:36 +02:00
Michaël Van Canneyt
3e2b0ac8b9 * CopyFromMemory 2024-09-13 11:35:37 +02:00
Michaël Van Canneyt
aef32d5de9 * Add some utility methods to TJSarray for easier pushing of values 2024-09-03 10:33:54 +02:00
Michaël Van Canneyt
1e6061845e * Make sure reference count is properly managed 2024-08-23 16:07:51 +02:00
Michaël Van Canneyt
ce04ce42ed * Objects passed in callback are ours to free 2024-08-23 11:33:42 +02:00
Michaël Van Canneyt
1210747f1d * Add overloads with offset and length for typed array constructor 2024-08-21 15:49:13 +02:00
Michaël Van Canneyt
594b96e305 * Add CopyToMemory 2024-08-08 17:36:16 +02:00
Michaël Van Canneyt
a81eac2483 * Correct dictionary construction 2024-08-08 09:59:40 +02:00
Michaël Van Canneyt
45ec51dc1f * Install error handler to examine exceptions during callback 2024-08-06 09:00:11 +02:00
Michaël Van Canneyt
951d2f3942 * Set event handler-type properties 2024-07-29 14:20:49 +02:00
Michaël Van Canneyt
b530804eb6 * Use Int32 for index 2024-07-27 15:16:43 +02:00
Michaël Van Canneyt
7fb83161b7 * Correct interface ArrayBufferView 2024-07-25 11:10:49 +02:00
Michaël Van Canneyt
0457690a8b * Redefine (T|I)JSArrayBufferView 2024-07-25 10:53:08 +02:00
Michaël Van Canneyt
89cd72b71c * Implement DataView properties 2024-07-25 10:37:26 +02:00
Michaël Van Canneyt
cb16466757 * Implement DataView 2024-07-25 10:33:06 +02:00
Michaël Van Canneyt
4016e1acca * NativeInt size depends on platform. 2024-07-24 20:38:16 +02:00
Michaël Van Canneyt
73867e47f9 * Add Error.Message 2024-07-24 14:45:51 +02:00
Michaël Van Canneyt
38ec27065b * Add some utility properties 2024-07-05 14:33:43 +02:00
Michaël Van Canneyt
3fac1e7d5b * Correct Cast class functions which were recursively calling themselves instead of JOBCreate 2024-07-05 09:43:58 +02:00
Michaël Van Canneyt
8884c1967d * revert method property 2024-06-28 09:40:13 +02:00
Michaël Van Canneyt
4c3af63fad * Add new constructor for typed array with length 2024-06-28 09:26:55 +02:00
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
0c745fb257 * Implement TJSArrayBuffer 2024-06-26 14:17:52 +02: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
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
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
Michaël Van Canneyt
0187580793 * Promise implementation and demo 2024-06-12 17:45:47 +02:00
Michaël Van Canneyt
dbc3d6b98f * Add constructor to TJSArray that accepts array of const 2024-06-06 09:24:07 +02:00
Michaël Van Canneyt
2daf7f984f * Global memory object 2024-06-05 10:55:05 +02:00
Michaël Van Canneyt
50370ff56d * Add length 2024-06-05 09:32:27 +02:00