Commit Graph

232 Commits

Author SHA1 Message Date
Michaël Van Canneyt
c8bb9083dc * Extend and Correctly handle aliases invoke class and function for aliased classes 2024-06-24 15:09:44 +02:00
Michaël Van Canneyt
558704f91c * Make getters/setter protected, add flag to make them private methods 2024-06-13 15:55:18 +02:00
Michaël Van Canneyt
cc1403e4db * Corrections in used detection : treat partials 2024-06-06 09:24:07 +02:00
Michaël Van Canneyt
38cfab3cbe * Allow to specify used classes 2024-06-03 17:19:52 +02:00
Michaël Van Canneyt
5913c17805 * Allow to create browser API stubs that will work on non-webassembly platforms 2024-05-14 08:44:05 +02:00
Michaël Van Canneyt
cb926961ce * Enable namespaced units, only write namespaces when needed 2024-04-29 16:26:16 +02:00
Michaël Van Canneyt
1ee8f039ff * Explaining comment for GetReadPropertyCall 2024-04-28 22:49:36 +02:00
Michaël Van Canneyt
3605b80f58 * Fixes so job_web.webidl compiles again with new dictionary conversion 2024-04-28 22:46:07 +02:00
Michaël Van Canneyt
f89a2b8432 * Fix code generation for dictionary with parent 2024-04-28 12:32:08 +02:00
Michaël Van Canneyt
4b8808bfb2 * Generate code for JSClassName 2024-04-28 11:25:30 +02:00
Michaël Van Canneyt
7629cdb4a5 * Some fixes and simplifications 2024-04-27 18:31:29 +02:00
Michaël Van Canneyt
3ed000f801 * Handle dictionary better, use actual constructor 2024-04-27 18:31:29 +02:00
Michaël Van Canneyt
20c95f0455 Fix tests 2024-04-26 15:11:28 +02:00
Michaël Van Canneyt
328ff5f0c3 * Fix callback interface treatment 2024-04-24 16:38:26 +02:00
Michaël Van Canneyt
55dee03ad0 * Now able to generate code for all browser APIs 2024-04-23 18:31:35 +02:00
Michaël Van Canneyt
496a86501a * Fix compiler warnings 2024-04-23 18:31:35 +02:00
Michaël Van Canneyt
0a4f5558be * Resolve all identifiers 2024-04-23 18:31:35 +02:00
Michaël Van Canneyt
3f8bbd3b00 * Various small fixes 2024-04-12 21:27:14 +02:00
Michaël Van Canneyt
4cdabbb4c6 * Fix writing of union types 2024-04-12 17:59:16 +02:00
Michaël Van Canneyt
326d92589a * Add some callback types 2024-04-12 16:46:10 +02:00
Michaël Van Canneyt
e044aae4dc * Handle "object" as argument type 2024-04-12 15:02:47 +02:00
Michaël Van Canneyt
51ffa2220e * Better callback and type handling 2024-04-12 13:36:01 +02:00
Michaël Van Canneyt
388a55904a * Handle complex nested types in arguments 2024-04-11 19:15:41 +02:00
Michaël Van Canneyt
dfafb1f777 * Remove some debug statements 2024-04-11 17:07:42 +02:00
Michaël Van Canneyt
90cac5536f * Some corrections in GetInvokeNameFromTypeName 2024-04-11 17:05:19 +02:00
Michaël Van Canneyt
bd08aa6197 * Correct InvokenameFromAlias 2024-04-11 16:16:34 +02:00
Michaël Van Canneyt
ea64142bac * Better support for Alias types 2024-04-11 15:35:01 +02:00
Michaël Van Canneyt
c720e30fac * Add dictionary-typed result support 2024-04-11 12:12:25 +02:00
Michaël Van Canneyt
70b2f29b92 * Do not generate code for types that are used in a ignored definiton 2024-04-11 11:51:48 +02:00
Michaël Van Canneyt
2a9eccec65 * Definitions marked [ChromeOnly] are not available in regular Javascript 2024-04-11 10:45:10 +02:00
Michaël Van Canneyt
dc7130d078 * Sequence result support 2024-04-10 18:54:01 +02:00
Michaël Van Canneyt
05118c077f * Test for sequence result 2024-04-10 17:49:46 +02:00
Michaël Van Canneyt
a08b15831b * Add sequence support 2024-04-10 16:31:35 +02:00
Michaël Van Canneyt
b40c20b53b * Do not generate definition for aliased types 2024-04-10 11:19:18 +02:00
Michaël Van Canneyt
41f2dd9c26 * Support ArrayBuffer(View) 2024-04-10 10:55:46 +02:00
Michaël Van Canneyt
9f72de4276 * Remove some useless warnings 2024-04-10 10:55:46 +02:00
Michaël Van Canneyt
513a461911 * Guard against argument names that are keywords 2024-04-09 18:08:36 +02:00
Michaël Van Canneyt
23bcb38138 * Correctly create constructor definitions 2024-04-09 17:13:43 +02:00
Michaël Van Canneyt
3075a820a1 * Correctly create constructor definitions 2024-04-09 17:04:09 +02:00
Michaël Van Canneyt
38dac868e0 * Fix stringifier 2024-04-09 15:13:05 +02:00
Michaël Van Canneyt
43487dac24 * Support for enum return type 2024-04-09 10:34:15 +02:00
Michaël Van Canneyt
2703d96741 * Handle maplike interface definition 2024-04-08 18:15:57 +02:00
Michaël Van Canneyt
01f9053f3d * Forgot to commit 2024-04-05 22:06:17 +02:00
Michaël Van Canneyt
760484c7a4 * Fix parsing of type with attributes 2024-04-05 18:51:41 +02:00
Michaël Van Canneyt
afa3cc5439 * Parse complete browser api 2024-04-05 18:42:40 +02:00
Michaël Van Canneyt
1933127d41 * Support for namespaces 2024-04-05 15:24:45 +02:00
Michaël Van Canneyt
323adefec5 * Add sequence types (FrozenArray,ObservableArray) 2024-04-05 09:45:23 +02:00
Michaël Van Canneyt
d12d82dab4 * Allow more keywords as argument identifiers 2024-04-04 20:39:33 +02:00
Michaël Van Canneyt
02c4ac974a * Long long with enforcerange 2024-04-04 20:24:58 +02:00
Michaël Van Canneyt
af8f1167f0 * Fix [EnforceRange] long 2024-04-04 18:06:03 +02:00