Commit graph

190 commits

Author SHA1 Message Date
Yui f619282af1 [Transforms] Update transforms with recent master (#8960)
* Remove check narrowing only certain types, add test showing issues with this

* string literal case test

* Reconcile fix with CFA work

* Defaultable -> NotNarrowable to align with use

* Missed a defaultable in comments

* Add test for narrowing to unions of string literals

* Actually merge from master

* Run fixupParentReferences when parsing isolated jsDocComment

* initial revision of unit test support for project system in tsserver

* Add non-widening forms of null and undefined

* Create separate control flows for property declarations with initializers

* Add regression test

* Add tests

* Remove unused variable

* Add null check and CR feedback

* Revert "Merge pull request #7235 from weswigham/narrow-all-types"

This reverts commit ef0f6c8fe4, reversing
changes made to 9f087cb62a.

* reuse the fixupParentReferences function

* Fix up error from merging with master
2016-06-03 11:02:35 -07:00
Yui e35dd79c04 [Transforms] Update baselines from merging with master round 2 (#8926)
* update baselines from merging with master

* Correctly fix#8786

* Fix up linting errors

* Fix spelling error in comment

* Remove usage of null

* Revert "Remove usage of null"

This reverts commit d9102d1e3f.

* Disable using null in unittest as we use null to signal to not generate baselines

* Remove setting disable comment as we already done so in createCommentWriter

* Address linting

* Fix travis failure

* Fix travis failure
2016-06-02 10:57:28 -07:00
Ron Buckton b896aaecee Merge branch 'transforms' into transforms-commentsPerf 2016-06-01 11:43:40 -07:00
Ron Buckton c9ec4e22e7 Fix merge issues 2016-06-01 11:43:23 -07:00
Ron Buckton 66514a2810 Merge branch 'transforms' into transforms-commentsPerf 2016-05-31 18:44:16 -07:00
Ron Buckton a07965aad8 Merge branch 'master' into transforms 2016-05-31 18:43:51 -07:00
Nathan Shively-Sanders e4ca76898f Remove redundant parameter to writeTestConfigFile
It allowed a new parameter to silently succeed, causing runtests-browser
to run zero files.
2016-05-31 10:17:45 -07:00
Vladimir Matveev eab2511989 update signature of finishWorker 2016-05-27 09:51:30 -07:00
Ron Buckton a1518d324f Clean up parallel test runs in runtests-file 2016-05-26 22:12:22 -07:00
Ron Buckton 754bdccebe Added parallel support for runtests-file 2016-05-26 01:16:29 -07:00
Vladimir Matveev 3e3ae7bd90 merge with origin/master, address PR feedback 2016-05-25 16:23:51 -07:00
Ron Buckton ee39c4e8d4 Merge branch 'master' into transforms-merge 2016-05-25 14:14:32 -07:00
Vladimir Matveev aa53b9ee7b Merge pull request #8804 from Microsoft/fixTestRun
do not swallow test execution errors (uncovers recent build break)
2016-05-25 09:50:22 -07:00
Vladimir Matveev c4b517ce45 run linter once after last worker is finished in case if there are no errors 2016-05-25 09:42:59 -07:00
Andy Hanson bd633c828f Lint all servicesSources 2016-05-25 06:45:52 -07:00
Vladimir Matveev 5b4e964ae8 do not swallow test execution errors 2016-05-25 00:06:47 -07:00
Vladimir Matveev 5f7bbbf8fd unconditionnaly use linter for non-parallel run 2016-05-24 14:29:52 -07:00
Nathan Shively-Sanders 975ed9cb17 Avoid linting files twice 2016-05-24 13:57:12 -07:00
Nathan Shively-Sanders 7bbce05d61 Remove duplicate linting of client.ts 2016-05-24 10:41:53 -07:00
Nathan Shively-Sanders 3d841b20a7 Lint unit tests via harnessSources in Jakefile.js 2016-05-24 10:17:16 -07:00
Vladimir Matveev f69ecb5b90 run tests in parallel by equally dividing them between workers 2016-05-23 16:00:56 -07:00
Andy 2aa2738118 Merge pull request #8714 from Microsoft/lint_more
Lint src\harness\instrumenter.ts
2016-05-23 11:38:37 -07:00
Andy Hanson 02d4959dd8 Lint src\server\client.ts 2016-05-23 10:33:47 -07:00
Andy Hanson 15b0a8ec17 Lint src\harness\instrumenter.ts 2016-05-23 06:09:19 -07:00
Mohamed Hegazy 91451b36a3 Add "tsserverlibrary.d.ts" to LKG 2016-05-21 12:36:06 -07:00
Mohamed Hegazy b637d76b49 Merge pull request #8700 from Microsoft/Fix8692
Fix #8692: fix "tsserver as a library" (lssl) build target
2016-05-21 12:24:23 -07:00
Nathan Shively-Sanders 68b5c797ae runtests-parallel does not fail when a single bucket fails 2016-05-20 13:40:34 -07:00
Mohamed Hegazy 1f88cd6f06 Change name of the output file 2016-05-19 13:32:27 -07:00
Mohamed Hegazy f573b1031b lint fixes 2016-05-19 13:31:21 -07:00
Mohamed Hegazy b672487fa9 Add lssl to LKG build 2016-05-19 13:16:24 -07:00
Andy c9ab20c13b Merge pull request #8666 from Microsoft/lint_regex
Add option to lint only specific files
2016-05-19 06:14:11 -07:00
Andy Hanson c39d57eaf9 Add option to lint only specific files 2016-05-18 07:41:37 -07:00
Andy Hanson fffbbffef4 Lint navigationBar.ts 2016-05-18 06:31:51 -07:00
Andy Hanson 4e6bd7190d Add option to turn off linting during jake runtests 2016-05-16 11:53:44 -07:00
Yui b68e93966a Fix 8482: Add Object.values and Object.entries (#8538)
* Add es2017.Object library file

* Add tests and baselines

* Fix unittest

* Add es2017 lib flag

* Update baselines

* Add tests and baselines

* Address PR: add tests

* Address PR: add tests
2016-05-10 14:22:00 -07:00
Yui 24f535ed68 Fix missing iterator in NodeList (#8199) 2016-04-19 16:40:07 -07:00
Nathan Shively-Sanders f8ab1a5ca6 Merge branch 'master' into transforms 2016-04-18 13:27:33 -07:00
Nathan Shively-Sanders 7bb3a5a514 Fix case of mocha TAP -> tap 2016-04-13 16:03:53 -07:00
Ron Buckton f1ec827a3f Merge pull request #7977 from Microsoft/transforms-fix7868
[Transforms] Fix for incorrect namespace qualification.
2016-04-13 10:54:22 -07:00
Daniel Rosenwasser 5b0b09ca62 Merge pull request #8056 from weswigham/remove-custom-no-null-rule
Remove custom no-null rule, use tslint builtin no null rule
2016-04-13 00:28:24 -07:00
Wesley Wigham 37a0e8f502 Remove custom no-null rule, use tslint builtin no null rule 2016-04-13 02:09:14 -04:00
Ron Buckton 446494060d PR feedback 2016-04-12 18:40:39 -07:00
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 5169273680.

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

This reverts commit 17e437b4c7.
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