Anthony Ramine
4930479ac8
Update the WebIDL parser
...
Upstream doesn't allow downloading .tar.gz archives so update.sh was changed
to use unzip.
2020-03-14 12:17:48 +01:00
Kagami Sascha Rosylight
2660f35925
Remove [PrimaryGlobal]
2019-10-03 14:25:23 +09:00
Kagami Sascha Rosylight
9ce82ea1ae
Migrate to new constructor operation syntax
2019-10-02 21:45:30 +09:00
Kagami Sascha Rosylight
1806b9ede2
Update WebIDL parser
2019-08-16 23:17:50 +09:00
sreeise
871239a3e3
Change bindings generation to make Exposed annotation aware of members/partial interfaces
2019-07-14 09:24:43 -04:00
Kagami Sascha Rosylight
56f31c85ef
Sync WebIDL.py with gecko
2019-07-12 12:14:06 +09:00
Manish Goregaokar
3c7ceff46d
Improve support for nested dictionaries
2019-06-27 18:13:23 -07:00
Manish Goregaokar
8f5db8a7e1
Update webidl.py from upstream
2019-03-01 16:58:46 +05:30
Anthony Ramine
5a42bb58f9
Implement [Inline] interfaces
...
Inline interfaces just appear as a Rust type and in the TypeId hierarchy.
They are completely invisible on the JS side.
2016-10-06 20:59:08 +02:00
Anthony Ramine
107b92cc62
Update the WebIDL parser
2016-09-26 13:17:12 +02:00
Anthony Ramine
4c084cefa3
Properly keep track of our union typedef support in WebIDL.py
2016-09-26 13:08:17 +02:00
Anthony Ramine
a4f96761b2
Hoist 7fd65affab
as its own patch
2016-08-26 00:55:29 +02:00
Josh Matthews
221bc84693
Support multiple WebIDL interfaces being generated in the same output binding file.
...
Each interface gets its own module named ${Interface}Binding. Structs, enums, and callbacks
continue to use the root module of the binding file. If there is only one interface in the
file, we generate reexports for several public APIs and types so that existing DOM implementations
don't need any modifications. When multiple interfaces exist, the reexported names get the interface
name prepended (eg. FooWrap instead of Wrap).
As part of this work, stop glob-importing all DOM types in every generated binding and start generating
more targeted lists of relevant types based on the methods, members, etc. of WebIDL types that are in use.
2016-08-24 11:25:58 -04:00
Emilio Cobos Álvarez
b5c9e8a58e
webidl: Update the update script now mxr is gone.
2016-07-12 13:57:42 -07:00
Ms2ger
7e7b97e869
Allow [Pref] annotations on worker-exposed interfaces.
...
Servo does not have the same main-thread limitation as Gecko here.
2016-07-12 13:06:47 +02:00
Anthony Ramine
c9af465ae8
Update the WebIDL parser
2016-05-18 11:30:53 +02:00
AgostonSzepessy
d3528ffce4
components/script/dom/bindings/codegen/parser/update.sh now downloads all
...
the latest *.py tests from
https://hg.mozilla.org/mozilla-central/archive/tip.tar.gz/dom/bindings/parser/tests/
2016-03-22 23:13:30 -04:00
Ms2ger
549f2669f0
Stop generating a parser.out file in the source.
2016-03-01 15:02:50 +01:00
Anthony Ramine
c95855c7ea
Implement [LegacyUnenumerableNamedProperties] in the WebIDL parser
...
http://github.com/heycam/webidl/issues/82
2016-02-23 17:06:13 +01:00
Shing Lyu
18b6817755
Add mach test-webidl command
2016-01-29 21:12:21 +08:00
Anthony Ramine
06947965b1
Remove all our local patches to the WebIDL parser
...
All the tweaks we need can just be made through Configuration.py, and
[Abstract] is being submitted upstream by Ms2ger.
2015-12-15 23:06:35 +01:00
Anthony Ramine
c25085f68a
Introduce [Abstract] to mark non-leaf interfaces
...
Some interfaces like Node, CharacterData and HTMLTableCellElement are never
instantiated directly, only their descendant interfaces are. Those are marked
with [Abstract] to set their type_id to None instead of having dummy values
in the TypeId enums.
2015-09-13 19:46:28 +02:00
Jack Moffitt
c6ab60dbfc
Cargoify servo
2014-09-08 20:21:42 -06:00