356 Commits

Author SHA1 Message Date
Bowden Kelly
e33203a3b0 Reorder host in jakefile so TYPESCRIPT_HOST is checked before localhost 2016-04-12 13:19:04 -07:00
Mohamed Hegazy
2d3e943ae6 JS style changes 2016-04-08 15:37:13 -07:00
Ron Buckton
8b506c7b05 Cleans up a few things and fixes #7868. 2016-04-08 15:31:31 -07:00
Ron Buckton
1aa69921c6 Makes transforms the default 2016-04-07 17:07:12 -07:00
Ron Buckton
3507ed021c Fixes issues that were causing runtests-browser to fail 2016-04-07 16:13:28 -07:00
Yui
11887ccc29 Adjustmodularize lib
* Merge array, function, math, number, object, regexp, string into es2015.core

* Update baselines

* Add node.d.ts; need to fix head of the output

* Update unittests from add node as an option for --lib

* Move interface declaration into NodeJS namespace

* Add console into Node.d.ts

* Add compiler baseline-tests for using --lib node

* Change name from full.es2015 to es6. This is a es6 library file used when no --lib is specified and --target is es6

* Remove add node.d.ts into src/lib

Remove node.d.ts

Revert "Update unittests from add node as an option for --lib"

This reverts commit 51692736803d3f75905af695bed07249d3daf24b.

Revert "Add compiler baseline-tests for using --lib node"

This reverts commit 17e437b4c7afb5046539bc71cc32d9084b6f57a2.
2016-04-04 22:02:12 -07:00
Kanchalai Tanglertsampan
fd5c9bd599 Fix test failure by having correct case for the file-name 2016-03-30 14:03:14 -07:00
Kanchalai Tanglertsampan
4e6cef2965 Addres PR: change lib filenames from es6 to es2015 and es7 to es2016 2016-03-28 14:49:22 -07:00
Kanchalai Tanglertsampan
168118f12b Modularize ES6 and ES7 library files
Separate ES6 library feature-by-feature into smaller files

Break ES6 library

Remove unused ES6

Rename core to es5

Update building library files in JakeFile

separate symbol into its own file

separate well-known symbol into its own file

remove iterable and symbol component from es6.string.d.ts

remove iterable and symbol components from es6.collection.d.ts

remove symbol components from es6.math.d.ts

remove iterable and symbol components from es6.object.d.ts

remove iterable and symbol components from es6.promise.d.ts

remove iterable and symbol component from es6.reflect.d.ts

remove iterable and symbol components from es6.proxy.d.ts

split regexp into its own file

remove unused file

rename es7 array-include d.ts file

Include new lib files into compilation

Move symbol.iterable to symbol.wellknown

Move functions/methods that use propertyKey back to its original interface

Rename dome.es6 to dom.iterable
Take dependency on dom.generated.d.ts

Rename importcore.d.ts to importes5.d.ts

Add es6.d.ts and es7.d.ts that contain /// references to their associated sub-features files

Update library compilation

Fix harness broken from renaming generated library files

Remove intl.d.ts
Remove preset lib files

Use lib.full.es6.d.ts instead of lib.es6.d.ts

Add intl.d.ts to es5.d.ts

Remove unused RegexpConstructor interface

Separate generator into its own file

Update Jakefile

Remove iterable-iterator dependence

Use lower case for lib filename

Include no-default comment

Remove newline on top of the file
2016-03-28 13:49:46 -07:00
Ron Buckton
46e4c632ff Fix remaining debug failures. 2016-03-25 18:49:50 -07:00
Ron Buckton
734f161cdc Changed emit for decorator metadata 2016-03-25 14:29:22 -07:00
Ron Buckton
6ba1961ce8 Fixes elision of import declarations in ES6 modules. 2016-03-24 17:48:31 -07:00
Ron Buckton
e50469948f Fix async method with super 2016-03-24 17:03:49 -07:00
Ron Buckton
975e8212d8 Fixes the various TypeErrors coming from some transforms. 2016-03-24 13:32:41 -07:00
Ron Buckton
02ebfa5d11 Added environment variable to force experimental transformations. 2016-03-21 11:54:10 -07:00
Ron Buckton
3c344987de Merge branch 'master' into transforms 2016-03-18 17:13:55 -07:00
Kanchalai Tanglertsampan
120c6eba25 Remove trailing whitespace 2016-03-16 14:09:45 -07:00
Kanchalai Tanglertsampan
f4e920e2c1 Add unittest for testing convert compiler-options and typing-options 2016-03-15 11:45:21 -07:00
Kanchalai Tanglertsampan
157b8e7456 Add a new unittest for command line parsing for --lib 2016-03-15 11:44:33 -07:00
Nathan Shively-Sanders
8a01a973bb Always run lint, even for runtests-parallel
The first runner runs lint, not the first to complete.
2016-03-09 12:40:53 -08:00
Ron Buckton
88b38f8b40 Merge branch 'transforms-transformer-module' into transforms-transformer-es6-generators 2016-03-02 12:49:58 -08:00
Ron Buckton
8e5e5f8813 Merge branch 'transforms-printer' into transforms-transformer-ts 2016-02-29 13:29:32 -08:00
Ron Buckton
b1d88282ce Remove transformCompatibleEmit flag and make it the default. 2016-02-29 13:29:03 -08:00
Ron Buckton
d506e92e84 Early support for generators. 2016-02-29 11:04:56 -08:00
Ron Buckton
ad314b05f0 Merge branch 'transforms-printer' into transforms-transformer-ts 2016-02-23 13:15:52 -08:00
Ron Buckton
e5cd8fef21 Added temporary compat flag to control emit output to fix tests 2016-02-23 11:35:26 -08:00
Ron Buckton
0a325ee04c Merge branch 'transforms-printer' into transforms-transformer-ts 2016-02-22 16:35:57 -08:00
Ron Buckton
6d273366d3 Merged some changes from other branches. 2016-02-22 16:10:32 -08:00
Jason Ramsay
284d9f527c Salsa: JS support for discovering and acquiring d.ts files
(Mostly isolating VS host changes from PR#6448)
2016-02-21 21:35:02 -08:00
Ron Buckton
f948b14185 Adds the TypeScript transformer 2016-02-12 10:49:09 -08:00
vladima
0355d1fdc8 fix source maps for in-browser tests 2016-02-10 00:20:40 -08:00
Ron Buckton
6b381ecdbd Added printer 2016-02-09 13:43:40 -08:00
Ron Buckton
0f2bbb181f Moved LexicalEnvironment to types.ts, minor fixes 2016-02-09 12:39:46 -08:00
Ron Buckton
c3faf0f34e Added visitor API 2016-02-03 18:11:32 -08:00
YuichiNukiyama
1eda3efbed Add Array.prototype.includes
Add Array.prototype.includes method. method of comments  I've quoted
from
[MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes).
And change Jakefiles.js to build lib.es7.d.ts.
2016-01-22 12:08:28 +00:00
Daniel Rosenwasser
94eb1079fd Print the names of files being linted. 2016-01-14 10:14:25 -08:00
Vladimir Matveev
dd58228861 add no-default-lib tag to core libraries 2016-01-11 21:34:52 -08:00
Daniel Rosenwasser
1bdf7edee2 Enable linting on 'shims.ts'. 2016-01-07 23:13:41 -05:00
Ron Buckton
cde12efec5 Merge branch 'master' into glob2 2016-01-04 12:24:44 -08:00
Nathan Shively-Sanders
ec4c6fea2d Merge branch 'master' into lint-nested-++ 2016-01-04 08:56:05 -08:00
Daniel Rosenwasser
2032c6d18a Lint 'patternMatcher.ts'. 2015-12-28 17:21:03 -05:00
Daniel Rosenwasser
f9eb330b19 Lint 'navigateTo.ts'. 2015-12-28 16:58:27 -05:00
Daniel Rosenwasser
9b9abf8674 Lint 'outliningElementsCollector.ts'. 2015-12-28 16:50:58 -05:00
Nathan Shively-Sanders
abf9961528 Merge branch 'master' into lint-nested-++ 2015-12-22 16:12:07 -08:00
Yui T
2ec97a2d2e Address PR feed back 2015-12-17 18:00:53 -08:00
Ron Buckton
d23df3430e Detailed comments for regular expressions and renamed some files. 2015-12-16 15:49:31 -08:00
Yui T
ec95f9955a Fix linting issue 2015-12-15 10:04:30 -08:00
Ron Buckton
247657ffb5 Merge branch 'master' into glob2 2015-12-14 18:13:56 -08:00
Ron Buckton
d8572508ee Heavily revised implementation that relies on an updated 'readDirectory' API. 2015-12-14 15:21:12 -08:00
Mohamed Hegazy
378e5c3941 Add full path to spec md file in generate-spec target 2015-12-08 13:55:59 -08:00