405 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 ef0f6c8fe4f94a7e294cfe42d7025c9dca6535d5, reversing
changes made to 9f087cb62ade7a879e23c229df752fc8f87d679c.

* reuse the fixupParentReferences function

* Fix up error from merging with master
2016-06-03 11:02:35 -07:00
Vladimir Matveev
8e6f36258e Merge remote-tracking branch 'origin/master' into tsserverVS-WIP 2016-06-02 16:14:34 -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 d9102d1e3f28d4f2791b7eb99c737e0004f01463.

* 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
Vladimir Matveev
92177bee91 initial revision of unit test support for project system in tsserver 2016-06-02 00:03:10 -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
Vladimir Matveev
34aa907988 move script version bits into the separate file 2016-05-31 16:51:00 -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
Richard Knoll
50f0033e61 Merge branch 'master' into glob2_merged
Conflicts:
	src/compiler/sys.ts
	src/harness/harnessLanguageService.ts
	tests/cases/unittests/cachingInServerLSHost.ts
	tests/cases/unittests/tsconfigParsing.ts
2016-05-26 10:04:54 -07:00
Ron Buckton
754bdccebe Added parallel support for runtests-file 2016-05-26 01:16:29 -07:00
Richard Knoll
084b94c4c1 Merge branch 'master' into glob2
Conflicts:
	Jakefile.js
	src/compiler/commandLineParser.ts
	src/compiler/core.ts
	src/compiler/sys.ts
	src/harness/harness.ts
	src/server/editorServices.ts
	src/services/shims.ts
	tests/cases/unittests/cachingInServerLSHost.ts
2016-05-25 17:06:50 -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
Yuichi Nukiyama
4e415ebfd0 add SharedArrayBuffer
fix
2016-05-24 00:41:44 +09: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
Ron Buckton
83b4cbb2d8 merge branch 'transforms-fixMoreSourceMaps' into transforms-transformer-es6-generators 2016-05-17 22:09:15 -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