Commit Graph

2327 Commits

Author SHA1 Message Date
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
Michalis Kamburelis
61d004122d Fix WasiFetch1.lpr to compile
1. adjust to new dotted unit names (Job.Shared, Job.JS)

2. and do not export JOBCallback (not necessary anymore, see analogous commit to other examples in 80f9f00aa3 and talk in https://gitlab.com/freepascal.org/fpc/pas2js/-/issues/39288 )
2024-12-03 13:08:22 +01:00
Michalis Kamburelis
eb745094b0 Fix WasiDomTest1 to compile - mistakenly, it used NoThreads 2x in the uses clause 2024-12-03 13:06:21 +01:00
Michalis Kamburelis
635d2f57a0 Fix wasienv examples to use InstanceExports, not WasiExports
As indicated by @mvancanneyt in https://gitlab.com/freepascal.org/fpc/pas2js/-/issues/39289#note_2237702957 , the InstanceExports is correct.
2024-12-03 13:05:50 +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
80f9f00aa3 * JOBCallback exists in job.js.pas 2024-12-02 21:25:20 +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