Commit graph

544 commits

Author SHA1 Message Date
Ryan Cavanaugh
581d2e8e96 Add default task 2018-06-15 11:45:53 -07:00
Ryan Cavanaugh
cef2a56944 Remove unused thing 2018-06-15 11:44:29 -07:00
Ryan Cavanaugh
e1e2882edf PR fixups 2018-06-15 10:48:46 -07:00
Ryan Cavanaugh
ecc0db7612 Use LKG for g-d 2018-06-13 16:55:09 -07:00
Ryan Cavanaugh
ae0c5d5a41 Use LKG for scripts 2018-06-13 16:09:33 -07:00
Ryan Cavanaugh
c46e45c78d Fix file casing 2018-06-13 15:56:38 -07:00
Ryan Cavanaugh
c184ad7a41 Updates for nightly publish 2018-06-13 15:32:18 -07:00
Ryan Cavanaugh
1d45810df2 Fix insiders publish 2018-06-13 15:17:33 -07:00
Ryan Cavanaugh
5822cacf96 Add publishing tasks 2018-06-13 15:07:48 -07:00
Ryan Cavanaugh
de82c54e6b Remove extra dependency + build smaller tsc.js into lkg 2018-06-13 14:50:01 -07:00
Ryan Cavanaugh
9d3bc1b0a4 Remove -v from compile 2018-06-13 13:59:26 -07:00
Ryan Cavanaugh
512e47c9e5 Proper dependencies for lkg 2018-06-13 11:56:22 -07:00
Ryan Cavanaugh
645f56274b Rewrite jakefile 2018-06-13 10:41:31 -07:00
Ryan Cavanaugh
066b191982 Collapse core/compiler/parser into parser 2018-06-11 17:07:58 -07:00
Ryan Cavanaugh
1e34f920cf Fix regexp operand 2018-06-11 12:26:47 -07:00
Ryan Cavanaugh
a966c41108 Fix for linux 2018-06-11 11:32:27 -07:00
Ryan Cavanaugh
c62d20a685 Undo debug 2018-06-11 11:01:29 -07:00
Ryan Cavanaugh
b72825dedf Debugging linux failure 2018-06-11 10:23:37 -07:00
Ryan Cavanaugh
7a7d04e126 Tests passing and lib loading 2018-06-10 20:05:12 -07:00
Ryan Cavanaugh
ab10b86205 Almost working? 2018-06-10 19:28:38 -07:00
Ryan Cavanaugh
19fe86a8c1 Give up again 2018-06-10 15:20:58 -07:00
Ryan Cavanaugh
fc63eb9b7b Fix runtests async 2018-06-10 15:09:56 -07:00
Ryan Cavanaugh
f8d2857e25 tsserverlibrary 2018-06-10 14:56:48 -07:00
Ryan Cavanaugh
b6d5279333 The baselines are back in town 2018-06-10 13:26:16 -07:00
Ryan Cavanaugh
5804905ca6 Jakefile rewrite WIP 2018-06-10 13:23:16 -07:00
Ryan Cavanaugh
8033f2e1e1 Revert the jakefile 2018-06-10 10:59:03 -07:00
Ryan Cavanaugh
a61a7a2a6e Attempt to rewrite the jakefile and fail 2018-06-10 10:58:16 -07:00
Ryan Cavanaugh
336c37662d Projzilla phase 1 2018-06-09 16:48:08 -07:00
Steven
8b034e6cd8 Modernize syntax by using arrow funcs 2018-06-07 20:58:55 -04:00
Steven
3cd802510c Add getDirSize checks to Jakefile LKG 2018-06-07 20:58:55 -04:00
Wesley Wigham
44da834551
Add fix option to lint task (#24344) 2018-05-22 17:01:45 -07:00
Andy
e53e56cf82
Enable '--strictNullChecks' (#22088)
* Enable '--strictNullChecks'

* Fix API baselines

* Make sys.getEnvironmentVariable non-nullable

* make properties optional instead of using `| undefined` in thier type

* reportDiagnostics should be required

* Declare firstAccessor as non-nullable

* Make `some` a type guard

* Fix `getEnvironmentVariable` definition in tests

* Pretend transformFlags are always defined

* Fix one more use of sys.getEnvironmentVariable

* `requiredResponse` accepts undefined, remove assertions

* Mark optional properties as optional instead of using `| undefined`

* Mark optional properties as optional instead of using ` | undefined`

* Remove unnecessary null assertions

* Put the bang on the declaration instead of every use

* Make `createMapFromTemplate` require a parameter

* Mark `EmitResult.emittedFiles` and `EmitResult.sourceMaps` as optional

* Plumb through undefined in emitLsit and EmitExpressionList

* `ElementAccessExpression.argumentExpression` can not be `undefined`

* Add overloads for `writeTokenText`

* Make `shouldWriteSeparatingLineTerminator` argument non-nullable

* Make `synthesizedNodeStartsOnNewLine` argument required

* `PropertyAssignment.initializer` cannot be undefined

* Use one `!` at declaration site instead of on every use site

* Capture host in a constant and avoid null assertions

* Remove few more unused assertions

* Update baselines

* Use parameter defaults

* Update baselines

* Fix lint

* Make Symbol#valueDeclaration and Symbol#declarations non-optional to reduce assertions

* Make Node#symbol and Type#symbol non-optional to reduce assertions

* Make `flags` non-nullable to reduce assertions

* Convert some asserts to type guards

* Make `isNonLocalAlias` a type guard

* Add overload for `getSymbolOfNode` for `Declaration`

* Some more `getSymbolOfNode` changes

* Push undefined suppression into `typeToTypeNodeHelper`

* `NodeBuilderContext.tracker` is never `undefined`

* use `Debug.assertDefined`

* Remove unnecessary tag

* Mark `LiteralType.freshType` and `LiteralTupe.regularType` as required
2018-05-22 14:46:57 -07:00
Ron Buckton
b5233d322d
Merge pull request #24003 from Microsoft/useEdgeForBrowserTests
Default to 'edge' instead of 'IE' for browser tests
2018-05-09 20:07:56 -07:00
Ron Buckton
d06f9c29b0 Default to 'edge' instead of 'IE' for browser tests 2018-05-09 14:32:49 -07:00
Wesley Wigham
ec9c1556ad
Fix publish nightly on case sensitive FS (#23997) 2018-05-09 14:30:07 -07:00
Andy
835e3250cc
Fix call to 'fail' in jakefile (#23845) 2018-05-04 08:23:06 -07:00
Ron Buckton
56648ad0f1
Merge pull request #20763 from Microsoft/vfs
Update harness to use single robust virtual file system for tests.
2018-05-03 10:25:20 -07:00
Ron Buckton
147aeaba9d Centralize lib management for build 2018-05-02 15:49:52 -07:00
Ron Buckton
d62a11ffc0 Merge branch 'master' into vfs 2018-05-01 18:58:31 -07:00
Derek P Sifford
cc0c82c014 add lib.es2018.intl + fix lib.es2017.intl
closes #23691
2018-04-30 15:17:00 -04:00
Ron Buckton
154f09bee9 Reorganize project structure. 2018-04-17 18:42:59 -07:00
Ron Buckton
1cbe930e06 Merge branch 'master' into vfs 2018-04-17 14:39:20 -07:00
Wesley Wigham
c645f1753f
Update configurePrerelease to not utilize ts internals (#23476)
* update configure nightly to not utilize ts internals

* Nightly -> Prerelease

* Remove alias
2018-04-17 15:42:31 -04:00
Ryan Cavanaugh
f24d57f1ac Update diagnostic tasks in jakefile 2018-04-12 12:20:27 -07:00
Ryan Cavanaugh
034b8eee14 Remove explicit harness file list from Jakefile 2018-04-11 15:39:10 -07:00
Alan Agius
7e482b27fb fix: CompilerHost.getSourceFile is being called for odd filenames besides the one being compiled
Ignore falsy file names from `getDefaultLibraryFileName`

Closes: #13629
2018-04-02 20:58:37 +02:00
Wesley Wigham
6af764c560
Declaration maps and transparent goto definition using them (#22658)
* Add compiler option to enable declaration sourcemaps

* Transparent goto definition for sourcemapped declaration files

* Post-rebase touchups

* Rename API methods

* Fix lints

* Fix typo in name XD

* Log sourcemap decode errors

* Share the cache more, but also invalidate it more

* Remove todo

* Enable mapping on go to implementation as well

* Allow fourslash to test declaration maps mroe easily

* more test

* Handle sourceRoot

* Add tests documenting current behavior with other sourcemapping flags

* Ignore inline options for declaration file maps, simplify dispatch in emitter

* Change program diagnostic

* Fix nit

* Use charCodeAt

* Rename internal methods + veriables

* Avoid filter

* span -> position

* Use character codes

* Dont parse our sourcemap names until we need to start using them

* zero-index parsed positions

* Handle sourceMappingURL comments, including base64 encoded ones

* Unittest b64 decoder, make mroe robust to handle unicode properly

* Fix lint

* declarationMaps -> declarationMap

* Even more feedback

* USE Mroe lenient combined regexp

* only match base64 characters

* Fix nit
2018-03-26 12:15:34 -07:00
Ron Buckton
ea9f999dfc Merge branch 'master' into vfs 2018-03-08 10:46:36 -08:00
Yuichi Nukiyama
25525bc9d6 Change esnext.promise to es2018.promise (#22292)
* change esnest.promise to es2018.promise

* modify unit tests

* resolve conflict

* resolve conflict
2018-03-02 17:08:36 -08:00
Yuichi Nukiyama
c7f65e8725 support groups property (#22176)
* support groups property

* fix option unittests
2018-03-01 12:58:25 -08:00