-
Notifications
You must be signed in to change notification settings - Fork 425
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
Convert generation script to TS, and update the source webidl #383
Merged
Merged
Changes from 75 commits
Commits
Show all changes
94 commits
Select commit
Hold shift + click to select a range
63022de
Convert input files to json
mhegazy 317c27a
Add schema for input
mhegazy e80f384
Add config files
mhegazy b0bdc00
Convert script to TS
mhegazy 5ffa5fe
Normalize input files
mhegazy 751571f
Fix some conversion mistakes
mhegazy e7aba4c
Make some arrays maps
mhegazy 2f0d977
Add support for loading comments
mhegazy 0426bda
Add some types to merge
mhegazy 63e0a7e
Move source files to a diffrent directory
mhegazy a82b8cb
revert changes to comments
mhegazy 6ddee3e
normalize addedTypes.json and support overrides
mhegazy 0c0e158
Add support for removign items
mhegazy c3f0346
Add support of overriding definitons
mhegazy 8125a3e
Add .js to gitignore
mhegazy 0131cf2
Clean up some remaining diffs
mhegazy 294a92d
Rremove unused declarations
mhegazy 0b9c8a3
Cleanup
mhegazy bdb44dd
Use new input file
mhegazy 6e865bc
Update types
mhegazy 2e4133b
Refactor
mhegazy 80018bb
Add support for overrides
mhegazy bf4d9da
Add list of known types for workers
mhegazy a2a308b
Remove unused function
mhegazy 4dca898
Better handeling for unknown types
mhegazy 0480b7c
Remove unused comments
mhegazy 5f10d60
make event handelers nullable
mhegazy a255454
Add deprecated comments
mhegazy 1106259
Refactor
mhegazy e47cdf6
Remove index signature on Window
mhegazy b6a01cd
Remove unused files
mhegazy baa3af7
Move files around
mhegazy 3cec779
Update readme
mhegazy 5b21243
Remove function
mhegazy 624201b
Change filtering logic
mhegazy b92083b
Use camel case
mhegazy a0af64d
Add test script
mhegazy cba9e48
Add some build scripts
mhegazy 9fc1683
Accept baselines
mhegazy fde91ea
Add missing types
mhegazy 196f5a3
Add missing property
mhegazy 9791e4c
Add missing overloads
mhegazy a390b2e
Fix querySelector signatures
mhegazy bd003ed
Update XMLHttpRequest.send signature
mhegazy a6d64c1
Add missing typedef
mhegazy 336ac4b
Change type for FileReader.result
mhegazy 4644914
Hide Window.browser on the global scope
mhegazy fa29c34
Fix MediaList.mediaText type
mhegazy ac985b8
Add NodeSelector interface
mhegazy 7c495cf
Add missing typedef
mhegazy c66d24e
Make indexers non-nullable
mhegazy 1d73253
Use the right tsc in tests
mhegazy 131d645
Port https://github.com/Microsoft/TSJS-lib-generator/pull/371
mhegazy c54015b
Port https://github.com/Microsoft/TSJS-lib-generator/pull/380
mhegazy 9ddd9e5
Refactor override-type
mhegazy 3417a19
Consolidate handeling of override-signatures
mhegazy 5dc147a
Consolidate the use of override-signature
mhegazy a8d4b4b
Some cleanup
mhegazy 3a5f64e
Make es6 iterators non-nullable just like indexers
mhegazy 4a7505d
Remove some MS-specific types from the library
mhegazy 743fb96
Extract helpers to a new file
mhegazy 799d043
Move filtering to a preprocesing pass
mhegazy c6685ff
Update readme
mhegazy 054bb6b
Port https://github.com/Microsoft/TSJS-lib-generator/pull/381
mhegazy 68bac2a
Remove some more types
mhegazy 57ba32a
Add new webidl file
mhegazy e72c4c1
Update travis file
mhegazy a856a10
some cleanup
mhegazy 4d9e7f7
Merge remote-tracking branch 'origin/master' into convertToTS
mhegazy c5dfac3
update gitIgnore
mhegazy dbabfdb
Build before testing in npm test
mhegazy 401ef78
Use a separate build script
mhegazy 14bb7e2
Revert "Use a separate build script"
mhegazy aa02c79
Run tasks sequentially
mhegazy 8d0ab24
Normalize line ending before comparing baselines to output
mhegazy 98f7901
Make `DataTransferItem.webkitGetAsEntry` return `any`
mhegazy 4990238
Add deprecated property `KeyboardEvent.char`
mhegazy a9a2b36
Add previouslly present typedefs for back compat
mhegazy 4696164
Remove space after this types
mhegazy 97eecc7
Use camelCase consistentlly
mhegazy 959ffb1
Fix URL constructor
mhegazy 8f529c3
Make unknown Window types in Worker environment `object` instead of `…
mhegazy 22e1fa5
Make `EventTarget.addEventListener` second argument required
mhegazy 12c83d5
Use `[]` instead of `Array` all the time
mhegazy e897757
Remove `Window.browser` property
mhegazy 3c9471d
Rename `ClientType` to `ClientTypes` to avoid conflicts with exisitin…
mhegazy 3e5afdb
Use cpx to copy
mhegazy 64d4cca
Remove iife's
mhegazy 5d59e97
Code review comments
mhegazy bb7a313
Refator emit function to a diffrent file
mhegazy 967d7e4
Extract helpers outside the main function
mhegazy 0920382
cleanup gitignore
mhegazy 99305e7
Set private: true
mhegazy 6d46a8b
more code review comments
mhegazy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
language: csharp | ||
mono: | ||
- latest | ||
language: node_js | ||
|
||
script: | ||
- ./build.sh | ||
node_js: | ||
- 'stable' | ||
|
||
sudo: false | ||
|
||
install: | ||
- npm uninstall typescript --no-save | ||
- npm install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like all the js is in
lib
so this is redundant?