-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create the web-sys
crate mechanically from WebIDL
#409
Commits on Jul 6, 2018
-
This will eventually contain all the WebIDL-generated bindings to Web APIs.
Configuration menu - View commit details
-
Copy full SHA for 0b3c2c3 - Browse repository at this point
Copy the full SHA 0b3c2c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 248d233 - Browse repository at this point
Copy the full SHA 248d233View commit details -
Configuration menu - View commit details
-
Copy full SHA for f591478 - Browse repository at this point
Copy the full SHA f591478View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40239d3 - Browse repository at this point
Copy the full SHA 40239d3View commit details -
backend: Add a pass to remove AST items that use undefined imports
This is necessary for the WebIDL frontend, which can't translate many WebIDL constructs into equivalent wasm-bindgen AST things yet. It lets us make incremental progress: we can generate bindings to methods we can support right now even though there might be methods on the same interface that we can't support yet.
Configuration menu - View commit details
-
Copy full SHA for 6d26828 - Browse repository at this point
Copy the full SHA 6d26828View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8005a89 - Browse repository at this point
Copy the full SHA 8005a89View commit details -
It was only `pub` so that we could test it, but we ended up moving towards integration tests rather than unit tests that assert particular ASTs are parsed from WebIDL files.
Configuration menu - View commit details
-
Copy full SHA for c55e1c5 - Browse repository at this point
Copy the full SHA c55e1c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d552a1 - Browse repository at this point
Copy the full SHA 2d552a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d432b5b - Browse repository at this point
Copy the full SHA d432b5bView commit details -
test-project-builder: Detect when webpack-dev-server fails
Instead of going into an infinite loop, detect when webpack-dev-server fails to start up and early exit the test.
Configuration menu - View commit details
-
Copy full SHA for 43a740a - Browse repository at this point
Copy the full SHA 43a740aView commit details -
webidl: Specify version for dev-dependency on wasm-bindgen-backend
Instead of only a relative path.
Configuration menu - View commit details
-
Copy full SHA for af2aa4f - Browse repository at this point
Copy the full SHA af2aa4fView commit details -
test-project-builder: Build projects in "very verbose" mode
This helps for debugging failing WebIDL-related tests.
Configuration menu - View commit details
-
Copy full SHA for 71ec407 - Browse repository at this point
Copy the full SHA 71ec407View commit details -
Configuration menu - View commit details
-
Copy full SHA for efee676 - Browse repository at this point
Copy the full SHA efee676View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13c93c4 - Browse repository at this point
Copy the full SHA 13c93c4View commit details
Commits on Jul 7, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 6c3ed64 - Browse repository at this point
Copy the full SHA 6c3ed64View commit details -
Start out a test's status as incomplete
That way if we don't fill it in the error message doesn't look quite so bizarre
Configuration menu - View commit details
-
Copy full SHA for 5f671f8 - Browse repository at this point
Copy the full SHA 5f671f8View commit details -
Fix onerror function in headless mode
Otherwise we don't see any output!
Configuration menu - View commit details
-
Copy full SHA for 455c102 - Browse repository at this point
Copy the full SHA 455c102View commit details -
Fix package.json/node_modules handling in project generation
Make sure these are looked up in the git project root rather than the crate root
Configuration menu - View commit details
-
Copy full SHA for a79dd3c - Browse repository at this point
Copy the full SHA a79dd3cView commit details -
This was meant for debugging and is otherwise pretty noisy
Configuration menu - View commit details
-
Copy full SHA for 94529ae - Browse repository at this point
Copy the full SHA 94529aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for b4f0fb5 - Browse repository at this point
Copy the full SHA b4f0fb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for cff9559 - Browse repository at this point
Copy the full SHA cff9559View commit details -
Configuration menu - View commit details
-
Copy full SHA for ecf6bdd - Browse repository at this point
Copy the full SHA ecf6bddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 384a983 - Browse repository at this point
Copy the full SHA 384a983View commit details
Commits on Jul 9, 2018
-
Configuration menu - View commit details
-
Copy full SHA for c43d740 - Browse repository at this point
Copy the full SHA c43d740View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3266ced - Browse repository at this point
Copy the full SHA 3266cedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 16ea94c - Browse repository at this point
Copy the full SHA 16ea94cView commit details -
test-project-builder: Print generated WebIDL bindings for debugging p…
…urposes Helps debug bad WebIDL bindings generation inside tests.
Configuration menu - View commit details
-
Copy full SHA for 4040020 - Browse repository at this point
Copy the full SHA 4040020View commit details -
When we can't find a descriptor, say which one can't be found
This helps when debugging things that need to become structural.
Configuration menu - View commit details
-
Copy full SHA for 882183b - Browse repository at this point
Copy the full SHA 882183bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 126207d - Browse repository at this point
Copy the full SHA 126207dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c992343 - Browse repository at this point
Copy the full SHA c992343View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68478c6 - Browse repository at this point
Copy the full SHA 68478c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d7fdea - Browse repository at this point
Copy the full SHA 5d7fdeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bfeab5 - Browse repository at this point
Copy the full SHA 6bfeab5View commit details -
test-project-builder: Don't panic on poisoned headless test mutex
We only use it to serialize headless tests so that we don't try to bind the port concurrently. Its OK to run another headless test if an earlier one panicked.
Configuration menu - View commit details
-
Copy full SHA for bc06137 - Browse repository at this point
Copy the full SHA bc06137View commit details -
JsValue: Add {is,as}_{object,function} methods
Allows dynamically casting values to `js::Object` and `js::Function`.
Configuration menu - View commit details
-
Copy full SHA for f7bb74d - Browse repository at this point
Copy the full SHA f7bb74dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae3b610 - Browse repository at this point
Copy the full SHA ae3b610View commit details -
Allow for dynamic feature detection of methods
If we create bindings to a method that doesn't exist in this implementation, then it shouldn't fail until if/when we actually try and invoke that missing method.
Configuration menu - View commit details
-
Copy full SHA for 05d9eb8 - Browse repository at this point
Copy the full SHA 05d9eb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 834bfad - Browse repository at this point
Copy the full SHA 834bfadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bc01f4 - Browse repository at this point
Copy the full SHA 8bc01f4View commit details -
Add JsValue::{is_string, as_js_string} methods
And document all the cast/convert/check methods for js value.
Configuration menu - View commit details
-
Copy full SHA for 4076f4f - Browse repository at this point
Copy the full SHA 4076f4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for eeebca9 - Browse repository at this point
Copy the full SHA eeebca9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a5a50b - Browse repository at this point
Copy the full SHA 0a5a50bView commit details