Commit Graph

1177 Commits

Author SHA1 Message Date
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
Michael Van Canneyt
ed6fdbdfbc * No length for TJSWebAssemblyMemory. 2024-08-23 16:46:51 +02:00
Michael Van Canneyt
9361ce944f * GetStats and DumpLiveObjects calls 2024-08-23 16:45:40 +02:00
Michael Van Canneyt
8770967f35 * Console log changed to error in case of exception 2024-08-20 17:05:51 +02:00
Michael Van Canneyt
c697d58176 * Use text encoder (since we have webassembly support, we can assume textencoder support) 2024-08-19 15:10:00 +02:00
Michael Van Canneyt
767c226db7 * Correct write at 2024-08-19 15:09:20 +02:00
Michael Van Canneyt
c1a482a13e * No double seek, 2024-08-19 15:08:34 +02:00
Michael Van Canneyt
2d7c39d984 * Add resetTransform 2024-08-09 16:24:04 +02:00
Michael Van Canneyt
bdf72760eb * Nicer default images 2024-08-09 16:24:04 +02:00
Michael Van Canneyt
2db04c9e87 * Sizes of Floats 2024-08-09 16:24:04 +02:00
Michael Van Canneyt
af5b1434dc * SetMemoryFromArray 2024-08-09 16:24:04 +02:00
Henrique Gottardi Werlang
22504d1d60 Fix for virtual interface when the class inherited from this class as an interface type in the implementation. 2024-08-07 13:49:08 +00:00
Henrique Gottardi Werlang
596ed58822 Removed not used function QueryInterface function. 2024-08-07 13:47:14 +00:00
Henrique Gottardi Werlang
1c7beb5263 Created the "withResolvers" in the promise class. 2024-08-07 08:20:51 -03:00
Michael Van Canneyt
2bf664778e * Allow to inspect class-valued types 2024-08-06 14:26:18 +02:00
Michaël Van Canneyt
44f8c7e352 * Add event handler for exceptions 2024-08-06 09:09:41 +02:00
Michael Van Canneyt
01a49fbe68 * Some fixes and improvements: refresh tree 2024-08-01 18:10:24 +02:00
Michael Van Canneyt
09a24f2b17 * Improvements to object inspector 2024-07-29 17:17:18 +02:00
Michael Van Canneyt
63a8c9c137 * Do not try to instantiate webassembly if fetch did not result in status 200. 2024-07-29 15:29:33 +02:00
Michaël Van Canneyt
4eebcb7f5f * Demo for wasm debug object inspector 2024-07-29 09:01:29 +02:00
Michaël Van Canneyt
c5da62bd2e * Javascript side of webassembly object inspector 2024-07-27 15:44:43 +02:00
Michaël Van Canneyt
02455161f4 * Add replaceChildren. Fixes issue #39282 2024-07-24 14:11:16 +02:00
Henrique Gottardi Werlang
18a40f92ee When invoke an asynchronous method, the invoke function return the promise created. 2024-06-27 15:31:15 +00:00
Henrique Gottardi Werlang
0e5c9df70b Changed the interface to type info function don't raise compiler error. 2024-06-27 15:29:59 +00:00
Michaël Van Canneyt
14601cabf0 * Object ID can be 0 - we allow nil then. 2024-06-27 17:28:55 +02:00
Henrique Gottardi Werlang
7f49845a7b Parameter cast isn't necessary. 2024-06-27 15:24:38 +00:00
Michael Van Canneyt
511d4cd282 * Introduce InstanceBuffer 2024-06-26 14:18:30 +02:00
Michael Van Canneyt
86ac1eaf30 * Do not free temp objects in callback: webassembly code may save them 2024-06-19 15:44:20 +02:00
Michaël Van Canneyt
462adf9277 * CanvasGradient.AddColorStyp, canvasrenderingcontext.RoundRect 2024-06-17 14:55:19 +02:00
Michael Van Canneyt
1e06d5e814 * Wasi environment 2024-06-17 10:37:41 +02:00
Michael Van Canneyt
e92717f761 * Correct WasiExports after InstanceExports change 2024-06-14 17:45:13 +02:00
Michael Van Canneyt
fa69bdea7d * Introduce instanceexports at the extension level 2024-06-14 17:37:46 +02:00
Henrique Gottardi Werlang
dee43db2a7 IsEmpty functoin in the TList to Delphi compability. 2024-06-12 16:45:34 +00:00
Michaël Van Canneyt
ab7947fb1c * Resolve name clash between new XHR object properties and local args 2024-06-12 17:47:31 +02:00
Michaël Van Canneyt
35650070fc * Make JOBResultLast an alias instead of a numerical value 2024-06-12 17:40:53 +02:00
Michaël Van Canneyt
6530fde036 * Make methodcallback a named method, helps in browser debugger stack view 2024-06-12 17:40:15 +02:00
Henrique Gottardi Werlang
bc9da80549 Fix for invoking the constructor of the class using the RTTI. 2024-06-06 12:47:04 +00:00
Henrique Gottardi Werlang
32a78bc897 Changed invoke implementation to the range check error don't try to check the range of a parameter that is not an array, but one class. 2024-06-06 12:45:19 +00:00
Henrique Gottardi Werlang
af3397e42c Validating the interface type in the virtual interface class. 2024-06-06 12:43:21 +00:00
Henrique Gottardi Werlang
5f5e39c1f6 Fix for virtual interface when the class is inherited from another interface. 2024-06-06 12:43:21 +00:00
Michaël Van Canneyt
7c9edfcac7 * Preload files 2024-06-06 14:41:30 +02:00
Michaël Van Canneyt
b84e5c60bf * Make explicit what arguments are memory locations 2024-06-06 14:40:54 +02:00
Henrique Gottardi Werlang
41fc39d1e9 Fixed a queue rebase function that allowed you to unqueue an item that didn't exist. 2024-06-06 12:36:07 +00:00
Henrique Gottardi Werlang
8df83483e4 IsEmpty function for Queue, to Delphi compatibility. 2024-06-06 12:31:30 +00:00
Henrique Gottardi Werlang
40f5549e77 Mapped new events for the XML request. 2024-06-06 12:19:22 +00:00
Michael Van Canneyt
13742a5375 * Allow to access webassembly memory as Uint8Array 2024-06-05 10:57:24 +02:00
Michael Van Canneyt
b7553d1abf * Buffer is also descendent of TJSObject 2024-06-05 10:56:26 +02:00
Michael Van Canneyt
154565601d * Reget memory when memory is allocated 2024-06-04 15:13:34 +02:00
Michael Van Canneyt
017738ed33 * Allow to read array of byte 2024-05-24 17:28:42 +02:00
Michaël Van Canneyt
b030773e41 * Solution for FPC flush() mid-codepoint. 2024-05-19 16:33:58 +02:00
Michaël Van Canneyt
5d3abdcc5d * Add FindFirst/FindNext support 2024-05-19 15:37:31 +02:00
Michaël Van Canneyt
07f11729cc * Fix typo for namespaced use 2024-05-19 08:28:12 +02:00
Michael Van Canneyt
013f0bbdf5 * WASI Filesystem support, initial implementation 2024-05-18 23:23:45 +02:00
Michael Van Canneyt
a7db8e9f8b * Added BigInt 2024-05-18 23:22:42 +02:00
Michael Van Canneyt
4f1a37293d * Some fixes in stats and writesync 2024-05-18 23:22:26 +02:00
Michael Van Canneyt
bc2102a91d * Some corrections in logging statements 2024-05-16 17:47:10 +02:00
Michael Van Canneyt
ac1c2cd874 * Added ZenFS and demo 2024-05-16 17:47:10 +02:00
Michaël Van Canneyt
374ec5a94d * Shiftstate 2024-05-12 14:02:15 +02:00
Michaël Van Canneyt
5f495b670b * Window descends from globalscope 2024-05-12 14:02:02 +02:00
Michaël Van Canneyt
166a88e929 * Some mediadevices types 2024-05-11 13:01:18 +02:00
Michael Van Canneyt
828d37161c * Fix wrong environment count 2024-05-10 16:52:09 +02:00
Michael Van Canneyt
dcf6b87890 * Allow logging of API calls 2024-05-10 16:34:35 +02:00
Michael Van Canneyt
de892c168d * Declare CSS 2024-04-29 17:08:27 +02:00
Michael Van Canneyt
034bdafe50 * Register CSS global 2024-04-29 16:26:33 +02:00
mattias
7d78964c52 wasi: updated example, some clean up 2024-04-28 15:56:16 +02:00
Michael Van Canneyt
de5144b9cf * Add possibility to create objects directly without global object. Allow factory function for objects 2024-04-26 18:04:02 +02:00
Henrique Gottardi Werlang
5b18d98cd1 Fix for ToString when the object is nil. 2024-04-04 07:54:07 -03:00
Michaël Van Canneyt
6a930c25f6 * Correct notifications object 2024-03-26 17:35:39 +01:00
Michaël Van Canneyt
fbad08559d * Patch from Thierry Gayet, caches is only available in web worker 2024-03-26 17:35:39 +01:00
Henrique Gottardi Werlang
4ad27e7aee Shadow root declaration. 2024-03-19 08:04:04 -03:00
Michaël Van Canneyt
cb0a0d36d3 * Push notifications API 2024-03-16 17:13:09 +01:00
Michaël Van Canneyt
3a38ab46e9 * Firebase API for messaging 2024-03-16 17:13:09 +01:00
Henrique Gottardi Werlang
87adedc1ba ToString function of TValue record implementation to be equal of Delphi declaration. 2024-03-14 09:07:44 -03:00
Ondrej Pokorny
c442924bf6 XML interface extensions: Node, NamedNodeMap, CharacterData 2024-03-09 08:50:09 +01:00
Ondrej Pokorny
fc8cf68e66 remove forgotten Writeln 2024-03-09 08:48:39 +01:00
Henrique Gottardi Werlang
210ae9b76d Fix in invoke to the constructor of the class to return the created instance. 2024-02-29 19:51:33 +00:00
Henrique Gottardi Werlang
6940c94333 Overload to allow a new constructor in the derived class, but allowing to call the base constructor. 2024-02-29 11:12:17 -03:00
Henrique Gottardi Werlang
61bce04d28 More to string types. 2024-02-23 07:36:40 -03:00
Henrique Gottardi Werlang
5042c69e56 New types in the ToString function of TValue record. 2024-02-22 09:50:21 -03:00
Henrique Gottardi Werlang
2d9369e2b6 Fix namespaced declaration. 2024-02-22 08:28:37 -03:00
Michaël Van Canneyt
102a037a46 * Disable range checks, see merge request !51 2024-02-22 11:37:25 +01:00
Henrique Gottardi Werlang
6ff4275792 Now the make function can create records. 2024-02-22 07:30:09 -03:00
mattias
038b896f03 less hints 2024-02-13 16:57:32 +01:00
Michael Van Canneyt
79a6c8b31f * Move some definitions 2024-01-24 19:01:18 +01:00
mattias
89cf871e53 rtl: fixed compielrpath 2024-01-24 18:16:16 +01:00
Michaël Van Canneyt
28bd294bb0 * Fix mathlog10E declaration. Fixes issue #39278 2024-01-17 16:59:09 +01:00
Michaël Van Canneyt
dac320190d * Remove some debug things 2024-01-14 14:48:46 +01:00
Michaël Van Canneyt
0cffa26111 * Better handling of empty dates 2024-01-14 14:48:46 +01:00
Michaël Van Canneyt
f6aa05353b * Set field value on change 2024-01-14 14:48:46 +01:00
Michaël Van Canneyt
cfe1da9cb6 * Correct .Assign for styleclasses 2024-01-14 14:48:46 +01:00
mattias
49f95762ee fcl-base: fixed uses section 2024-01-08 11:27:47 +01:00
mattias
0deacaa0bd less hints 2024-01-08 11:27:47 +01:00
Henrique Gottardi Werlang
5c44b340aa Declared the Number class, marked some string functions as deprecated and append new functions to TJSString class. 2024-01-03 14:59:39 +00:00
Henrique Gottardi Werlang
32580b7e0a Changed the declaration to the types of each function, based in the Mozilla documentation. 2024-01-03 10:45:16 -03:00
Michaël Van Canneyt
dd8c2a15af * Call AfterRender also when using pre-existing element ID 2023-12-30 17:19:26 +01:00
Michaël Van Canneyt
0ea98f71a0 * Allow to create fixed element 2023-12-30 17:19:26 +01:00
Michaël Van Canneyt
54b6dbb3c8 * Use correct properties for OK button, and close on cancel button click 2023-12-30 17:19:26 +01:00
Michaël Van Canneyt
2a0eb561d5 * Fixes to make bulma-styled actions possible 2023-12-30 17:19:26 +01:00
Michaël Van Canneyt
ac76071d00 * Take into beginning begin and end of string in LIKE match 2023-12-28 13:13:51 +01:00
Michaël Van Canneyt
c1e983137d * Test insight 2023-12-26 19:09:12 +01:00
Michaël Van Canneyt
26080b7853 * AbortSignal 2023-12-26 17:38:20 +01:00
Michaël Van Canneyt
5013439753 * Allow LIKE in filters 2023-12-14 09:02:12 +01:00
Michaël Van Canneyt
1f74abd200 * Add T(G|JS)Generator and Proxy classes. Closes !47 2023-12-13 15:38:40 +01:00
Michael Van Canneyt
eb8e63aa30 * Add Symbol 2023-12-13 14:39:23 +01:00
Michaël Van Canneyt
b8127bcc11 * Add RenderTextLayer and updateTextLayer 2023-12-13 14:28:20 +01:00
Michaël Van Canneyt
139781a9c2 * Fix uses clause mixup 2023-12-13 14:28:20 +01:00
Henrique Gottardi Werlang
ed4651fb1a Initialize the result before copy the values to it. 2023-12-12 17:22:15 -03:00
Michaël Van Canneyt
92913bfe69 * Known aliases list for prefixunits tool 2023-12-03 13:17:01 +01:00
Michaël Van Canneyt
3f88cdd20a * Fix inverted IFDEF 2023-12-03 13:17:01 +01:00
Michaël Van Canneyt
b137a91fc6 * Mapping from old to new namespaced filenames 2023-12-02 19:55:12 +01:00
Michaël Van Canneyt
86e45dfb86 * Namespaced Node.JS Apis 2023-12-02 18:00:44 +01:00
Michaël Van Canneyt
1afdbeda6a * Namespaced WASI and JOB APIs 2023-12-02 18:00:44 +01:00
Michaël Van Canneyt
ed15d85e7a * Namespaced HTMLFragment 2023-12-02 18:00:44 +01:00
Michaël Van Canneyt
590b574fbe * Namespaced VSCode API 2023-12-02 18:00:44 +01:00
Michaël Van Canneyt
0226838e9b * Namespaced version of xterm 2023-12-02 18:00:44 +01:00
Michaël Van Canneyt
ad4c5b5a85 * Namespaced tinyeditor API 2023-12-02 18:00:44 +01:00
Michaël Van Canneyt
1e4a6845b9 * Namespaced OpenTok API 2023-12-02 18:00:44 +01:00
Michaël Van Canneyt
3c8da6f10c * Namespaced PushJS API 2023-12-02 18:00:44 +01:00
Michaël Van Canneyt
3742d2d19f * Namespaced Kurento API 2023-12-02 18:00:44 +01:00
Michaël Van Canneyt
0f5cbb613e * Namespaced PDF.Js API 2023-12-02 18:00:44 +01:00
Michaël Van Canneyt
647f7c452e * Namespaced JSPdf Api 2023-12-02 18:00:44 +01:00
Michaël Van Canneyt
83d39de9a2 * Namespaced Jitsi meet API 2023-12-02 18:00:44 +01:00