Commit Graph

26317 Commits

Author SHA1 Message Date
Vladimir Matveev 04916c8683 renames, introduce projectKind 2016-06-03 15:18:48 -07:00
Ron Buckton 877e3c4815 Merge pull request #8929 from Microsoft/transforms-extractFromPrinter
[Transforms] Extract transformFiles call from printFile
2016-06-03 11:52:52 -07:00
Ron Buckton ef436a189f PR Feedback 2016-06-03 11:50:35 -07:00
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
Andy 3aaa4ea833 Merge pull request #8957 from Microsoft/navbar_indent
Include indent in navigation bar protocol
2016-06-03 10:57:29 -07:00
Andy Hanson e412f52b33 Include indent in navigation bar protocol
Previously navbar01 test had indents when run in the browser but not when run from node. Now they run the same.
2016-06-03 10:04:03 -07:00
Andy Hanson 2bed32d308 Fix mistake 2016-06-03 09:42:16 -07:00
Andy Hanson c8ced6703a Use a function stringify to simplify calls to JSON.stringify(xyz, undefined, 2) 2016-06-03 08:43:48 -07:00
Andy Hanson ed6bfcdb08 Add merging tests 2016-06-03 06:45:00 -07:00
Andy Hanson 1541ebe781 Respond to PR comments 2016-06-03 06:34:33 -07:00
Andy Hanson 094f97e366 Respond to PR comments 2016-06-03 06:22:34 -07:00
Vladimir Matveev 23bbbf9819 added close method 2016-06-03 00:06:30 -07:00
Vladimir Matveev 2605fdf276 move root file to a map, release documents on project close 2016-06-02 18:11:22 -07:00
Anders Hejlsberg bcc9220451 Improve typing of && operator with --strictNullChecks 2016-06-02 17:37:14 -07:00
Vladimir Matveev 8e6f36258e Merge remote-tracking branch 'origin/master' into tsserverVS-WIP 2016-06-02 16:14:34 -07:00
Vladimir Matveev 0b7227dce6 remove project options from project 2016-06-02 16:14:26 -07:00
Anders Hejlsberg 3853555b49 Merge pull request #8944 from Microsoft/reviseWidening
No widening in strict null checking mode
2016-06-02 15:18:33 -07:00
Zhengbo Li 131f759c5c Merge pull request #8930 from zhengbli/i8676
Run fixupParentReferences when parsing isolated jsDocComment
2016-06-02 14:15:14 -07:00
Ron Buckton 47ae027d47 Merge branch 'transforms' into transforms-extractFromPrinter 2016-06-02 14:06:40 -07:00
zhengbli e2a1a78dd3 reuse the fixupParentReferences function 2016-06-02 13:26:15 -07:00
Ron Buckton d4ed1ba4b2 Merge branch 'transforms' into transforms-removeExcludeFlags 2016-06-02 13:05:24 -07:00
Nathan Shively-Sanders fc3e040c51 Revert "Merge pull request #7235 from weswigham/narrow-all-types"
This reverts commit ef0f6c8fe4, reversing
changes made to 9f087cb62a.
2016-06-02 12:57:24 -07:00
Andy Hanson 7e9cb46a1a Support shorthand ambient module declarations 2016-06-02 12:55:48 -07:00
Ron Buckton 849bea99c0 Merge branch 'transforms' into transforms-extractFromPrinter 2016-06-02 12:36:45 -07:00
zhengbli d41ac8aa9a Add null check and CR feedback 2016-06-02 11:12:38 -07:00
Vladimir Matveev 7e00d7e595 Merge pull request #8931 from Microsoft/tsserver-projectsystem-tests
initial revision of unit test support for project system in tsserver
2016-06-02 11:07:08 -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
Anders Hejlsberg fb2df77a59 Remove unused variable 2016-06-02 10:47:47 -07:00
Nathan Shively-Sanders ef0f6c8fe4 Merge pull request #7235 from weswigham/narrow-all-types
Fix #7224, #7441 - Replace TypeFlags.Narrowable
2016-06-02 10:01:32 -07:00
Andy Hanson 4281bf5752 Allow trailing commas in function parameter and argument lists 2016-06-02 08:18:21 -07:00
Anders Hejlsberg 5f3f2d302f Create separate control flows for property declarations with initializers 2016-06-02 06:47:37 -07:00
Anders Hejlsberg 2517238269 Add non-widening forms of null and undefined 2016-06-02 06:32:14 -07:00
Andy Hanson 3b19825890 Allow wildcard ("*") patterns in ambient module declarations 2016-06-02 05:44:49 -07:00
Vladimir Matveev 92177bee91 initial revision of unit test support for project system in tsserver 2016-06-02 00:03:10 -07:00
zhengbli 0e96c5eaf1 Run fixupParentReferences when parsing isolated jsDocComment 2016-06-01 22:57:25 -07:00
Ron Buckton e1eb24d1f0 Merge branch 'transforms' into transforms-extractFromPrinter 2016-06-01 21:31:23 -07:00
Ron Buckton 7be0db184e Removes the excludeTransformFlags property from Node 2016-06-01 19:03:13 -07:00
Ron Buckton bf9d2c4beb Updated comments for iterateCommentRanges 2016-06-01 15:10:00 -07:00
Andy Hanson 9575b3c3ca Revert to old tryLoad implementation 2016-06-01 11:44:12 -07:00
Ron Buckton ff331efd5e Merge branch 'transforms-commentsPerf' into transforms-extractFromPrinter 2016-06-01 11:44: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
Nathan Shively-Sanders 9a620bf616 Actually merge from master 2016-06-01 11:39:22 -07:00
Nathan Shively-Sanders d111a0f733 Merge branch 'master' into narrow-all-types 2016-06-01 11:27:50 -07:00
Ron Buckton 826f103ab5 Merge branch 'transforms-commentsPerf' into transforms-extractFromPrinter 2016-06-01 10:39:01 -07:00
Vladimir Matveev fbdee841a6 delete redundant fields 2016-05-31 23:47:07 -07:00
Vladimir Matveev e22e7cc09a drop Timestamped, create separate classes for different project types 2016-05-31 21:10:06 -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 b66991dc63 annotate class fields 2016-05-31 17:03:12 -07:00