Commit Graph

1198 Commits

Author SHA1 Message Date
Michaël Van Canneyt
f57bc79de7 * Callback type 2025-02-01 11:43:59 +01:00
Michaël Van Canneyt
18407e5fbc * Add status call 2025-02-01 11:43:59 +01:00
mattias
729b61c87e rtl: added rttit StrictVsibility 2025-01-31 22:41:15 +01:00
Michael Van Canneyt
55a3898b8c * Threaded websockets worker handler 2025-01-30 15:51:22 +01:00
Michael Van Canneyt
d4b9976da8 * Worker-based websocket api for use in threads 2025-01-30 15:19:04 +01:00
Michael Van Canneyt
755e5ffc1e * Conditional logging 2025-01-30 14:56:26 +01:00
Michael Van Canneyt
22746ebdc3 * Use import object logging 2025-01-30 14:55:13 +01:00
Michael Van Canneyt
22ab77a42c * Local threadsupport variable must be set 2025-01-30 14:46:12 +01:00
Michael Van Canneyt
1178011253 * Commands must be lowercase 2025-01-30 14:45:41 +01:00
Michael Van Canneyt
0b6ae88cb3 * Centralized logging, add sending message to all workers 2025-01-30 14:45:23 +01:00
Michael Van Canneyt
a2b7d84ddf * Centralize logging for APIs 2025-01-30 14:44:54 +01:00
Michael Van Canneyt
c622a245f2 * Performance 2025-01-30 14:15:40 +01:00
Michael Van Canneyt
488e3b02b5 * Add overloads for third option in AddEventListener 2025-01-24 17:50:27 +01:00
Michael Van Canneyt
16cdffe064 * Fix some compiler warnings 2025-01-23 11:43:14 +01:00
Michael Van Canneyt
8275bfe7c7 * Remove some unused variables 2025-01-23 11:43:14 +01:00
Michael Van Canneyt
6bba60ec8a * Async websocket 2025-01-23 11:43:14 +01:00
Michael Van Canneyt
0e60c9464f * Fix compiler warnings/hints 2025-01-23 11:43:14 +01:00
Michael Van Canneyt
73ac60a015 * Fix compiler warnings/hints 2025-01-23 11:43:14 +01:00
Michael Van Canneyt
11092a2fd4 * Fix compiler warnings/hints 2025-01-23 11:43:14 +01:00
Michael Van Canneyt
9f1aea6094 * Fix compiler warnings/hints 2025-01-23 11:43:14 +01:00
Michael Van Canneyt
4095882662 * Fix compiler warnings/hints 2025-01-23 11:43:14 +01:00
Michael Van Canneyt
a162e116d6 * shared mem in constructor, add missing waitAsync() 2025-01-23 11:43:12 +01:00
Michael Van Canneyt
66b4f8d4fe * Remove some unused variables 2025-01-23 11:42:25 +01:00
Henrique Gottardi Werlang
addc99923d New functions for the blob class. 2025-01-20 18:24:10 -03:00
mattias
c6833bc17f fpcunit: compile on nodejs 2025-01-20 15:11:19 +01:00
mattias
e53d3bc4a6 rtl: less hints 2025-01-20 15:11:19 +01:00
Michaël Van Canneyt
506fa4497a * More completions for compatibility with FPC 2025-01-17 22:04:52 +01:00
Michaël Van Canneyt
7aa8dcaf8b * TSize/TPoint methods. 2025-01-17 21:38:20 +01:00
Michaël Van Canneyt
8a0ab88be4 * Add some structured types methods 2025-01-17 20:43:12 +01:00
Michael Van Canneyt
2995efa920 * Remove debug statement 2025-01-15 17:00:42 +01:00
Michael Van Canneyt
24ace49589 * Correct JS identifier for sharedarraybuffer 2025-01-13 18:00:06 +01:00
Michael Van Canneyt
2be256b78b TJSSharedArrayBuffer may not be defined 2025-01-13 14:17:04 +01:00
Michael Van Canneyt
24ad3b1326 * Declare external variables really as external 2025-01-10 11:08:45 +01:00
Michael Van Canneyt
7d4d5afb64 * Add JSClassName 2025-01-10 11:08:23 +01:00
Michael Van Canneyt
83f4749dcf * Stack now always in error 2025-01-09 10:49:45 +01:00
mattias
46d2e67eca rtl: rtti member visibility 2025-01-07 14:39:54 +01:00
mattias
e81044ae8f rtl: added TTypeMember.Visibility comment 2025-01-07 14:05:19 +01:00
mattias
d65a4d6fd0 rtl: added TTypeMember.Visibility 2025-01-07 14:04:23 +01:00
Ondrej Pokorny
e852fabe71 TJSElement.scroll and .scrollBy 2024-12-11 14:45:08 +01:00
Henrique Gottardi Werlang
e7e9f1c359 Fix for the make function from TValue don't change the value from the record prototype. 2024-12-09 21:11:41 +00:00
Ondrej Pokorny
5b1e486aba Exception stack trace support also for normal JS and not only NodeJS 2024-12-09 15:42:29 +01:00
Michael Van Canneyt
8bd9ed19c2 * Register self 2024-12-05 17:44:01 +01:00
Michaël Van Canneyt
d1e1a5103f Remove unused variables 2024-12-04 22:59:01 +01:00
Michaël Van Canneyt
7e9be798c2 * ResizeObserver 2024-12-04 22:59:01 +01:00
Michaël Van Canneyt
28d68c938b * Set placeholder before refresh should also set it 2024-12-04 22:59:01 +01:00
Michael Van Canneyt
4a99eea17d * Atomics 2024-12-04 22:17:05 +01:00
Michael Van Canneyt
3de2b72867 * Correct poll_oneoff (for sleep) 2024-12-04 22:16:25 +01:00
Michael Van Canneyt
203dbd0b43 * Add Atomics 2024-12-04 22:15:41 +01:00
Michael Van Canneyt
3c3644e254 * Atomics 2024-12-04 18:31:13 +01:00
Michael Van Canneyt
7d47b73170 * Retrieve/send text bodies as string 2024-12-04 18:31:13 +01:00
Michael Van Canneyt
ee136fca55 * Names must be unique 2024-12-02 21:28:52 +01:00
Michael Van Canneyt
6ff92cb813 * Correct names - must be unique 2024-12-02 21:28:31 +01:00
Michael Van Canneyt
69c85d74e0 * Allow to work in worker 2024-12-02 21:28:10 +01:00
Michael Van Canneyt
a6f4d0f1ce * Allow to function in web worker 2024-12-02 21:27:50 +01:00
Michael Van Canneyt
d43a547461 * TextDecoder cannot handle shared memory, need to copy to local buffer first 2024-12-02 21:27:29 +01:00
Michael Van Canneyt
4d0e769b41 * Fix some comments 2024-12-02 21:26:51 +01:00
Michael Van Canneyt
e8d35f29fd * Define webassemblyexception 2024-12-02 21:25:50 +01:00
Michael Van Canneyt
3055de55dd * Send correct message in case of unhandled message 2024-11-27 11:49:56 +01:00
Michael Van Canneyt
7cd8b6e74d * Cosmetic change 2024-11-25 21:44:53 +01:00
Michael Van Canneyt
80293fc588 * Allow to override thread support for worker thread app 2024-11-25 21:30:07 +01:00
Michael Van Canneyt
8e48a6903c * Make HandleCustomCommand virtual protected... 2024-11-25 21:17:39 +01:00
Michael Van Canneyt
f238a62ba6 * Give application a chance to look at the message before handing it over to tthread support 2024-11-25 21:09:18 +01:00
Michael Van Canneyt
356f975902 * Correctly retrieve headers 2024-11-25 20:47:36 +01:00
Michael Van Canneyt
3b3ddc7fca * Allow to compile in mode nodejs (workers) 2024-11-08 16:14:35 +01:00
Michael Van Canneyt
bd36c15d6a * Allow specify worker 2024-11-08 16:14:17 +01:00
Michael Van Canneyt
b12abb26a6 * Publish Self_ 2024-11-08 09:18:51 +01:00
Michael Van Canneyt
5876e535a2 * Allow execution of functions in libraries through a JSON-RPC mechanism 2024-11-07 17:52:54 +01:00
Michael Van Canneyt
2d0fc5940a * Allow to compile for worker 2024-11-07 15:08:10 +01:00
Michael Van Canneyt
028405d67f * Add Host 2024-11-07 15:07:52 +01:00
Michael Van Canneyt
de31826647 * Refactor so we can start threaded wasm application in a webworker 2024-11-06 00:00:48 +01:00
Michael Van Canneyt
afb8872fcb * Remove some unused variables 2024-11-05 23:57:26 +01:00
Michael Van Canneyt
b3c3e36b75 * Execute command 2024-11-05 23:57:04 +01:00
Michael Van Canneyt
f98aa26b63 * BroadcastChannel 2024-11-05 23:55:55 +01:00
Michael Van Canneyt
9f2392d4fd * Fix threading, in accordance with new specs 2024-11-04 16:11:12 +01:00
Michael Van Canneyt
8ea570af56 * define TJSSharedArrayBuffer 2024-11-04 16:11:12 +01:00
Michael Van Canneyt
da93fd1eb0 * Write string into memory using approach that also works in threads 2024-11-04 16:11:12 +01:00
Ondrej Pokorny
6999d7ef68 SysUtils: NowUTC 2024-10-27 11:11:07 +01:00
mattias
eefc736a93 clean up 2024-10-15 11:22:14 +02:00
Michael Van Canneyt
1efaac6c8d * Allow to call DebugLiveObjects using object id -1 2024-09-20 10:23:31 +02:00
Michael Van Canneyt
53569c9ee9 * Timer implementation, javascript side 2024-09-18 17:41:44 +02:00
Michael Van Canneyt
193eeb8483 * DebugObject call 2024-09-18 17:41:00 +02:00
Michael Van Canneyt
9f374e3d23 * SetLastIndex 2024-09-17 10:44:47 +02:00
Michael Van Canneyt
d0b339ff89 * Allow to set size when 2024-09-17 10:44:47 +02:00
Henrique Gottardi Werlang
a88f985230 Create the TRttiDataMember to Delphi compatibility. 2024-09-16 14:25:11 -03:00
Michaël Van Canneyt
87631018bc * Add license header 2024-09-08 10:58:01 +02:00
Michaël Van Canneyt
9043affe45 * Fix names (see bug 40915 in FPC) 2024-09-08 10:48:15 +02:00
Michaël Van Canneyt
9a0555cacd * Prefix and add const 2024-09-08 10:31:39 +02:00
Michaël Van Canneyt
44a0bdb82e * needed here as well to compile host 2024-09-07 23:36:59 +02:00
Michaël Van Canneyt
cc6810e6e6 * Regexp support 2024-09-07 23:36:41 +02:00
Michael Van Canneyt
a7f2e4e743 * WebSocket close event 2024-09-07 17:38:39 +02:00
Michael Van Canneyt
77490ff695 * Headers default on headers object 2024-09-07 17:38:39 +02:00
Michael Van Canneyt
368b3ecf71 GetMemInfo calls 2024-09-07 17:38:39 +02:00
Michaël Van Canneyt
d83b17f4fd * Improvements to RegExp 2024-09-07 17:36:11 +02:00
Michaël Van Canneyt
b05c3cb55e * Websocket API 2024-09-07 17:35:46 +02:00
Michaël Van Canneyt
05d527bd9c * More examples, add examples to install 2024-08-30 23:16:43 +02:00
Michaël Van Canneyt
dc418b3fea * Add content to download anchor 2024-08-28 22:43:05 +02:00
Michaël Van Canneyt
8802cf610b * Some cleanup 2024-08-28 22:31:26 +02:00
Michaël Van Canneyt
4dda20fc64 * Remove some fetch duplicate overloads 2024-08-28 22:13:41 +02:00
Michaël Van Canneyt
bbd489c313 * ZenFS filesystem utils and demo 2024-08-28 22:13:41 +02:00
Michaël Van Canneyt
7d37ef3f4e * Add placeholder 2024-08-28 22:13:41 +02:00