Commit graph

8899 commits

Author SHA1 Message Date
Wesley Wigham
6b27ce4907 Merge pull request #5665 from weswigham/so-many-lint-fixes
fix many lints
2015-11-13 17:49:03 -08:00
Wesley Wigham
e41bfd1ccc fix many lints 2015-11-13 17:43:53 -08:00
Wesley Wigham
117da7f162 Merge pull request #5622 from weswigham/tslint@next
Use tslint@next for linting
2015-11-13 17:18:27 -08:00
Vladimir Matveev
d2d2213584 Merge pull request #5655 from Microsoft/harnessCleanup
cleanup test harness code
2015-11-13 15:30:01 -08:00
Vladimir Matveev
50aab7a05f fix typo 2015-11-13 15:10:16 -08:00
Vladimir Matveev
531e0969da Merge pull request #5662 from Microsoft/overloadsAndMergedDeclarations
do not crash if overloads cannot be merged under one symbol
2015-11-13 14:55:18 -08:00
Wesley Wigham
b144b5b52c Merge pull request #5660 from weswigham/undefined-type-guards
Ignore typeof x === "undefined" type guards when narrowing
2015-11-13 14:45:47 -08:00
Vladimir Matveev
07626cbe89 do not crash if overloads cannot be merged under one symbol 2015-11-13 14:26:48 -08:00
Wesley Wigham
d7ddcc4756 accept baselines for new test 2015-11-13 14:09:13 -08:00
Wesley Wigham
16d80ebe71 ignore undefined type guards 2015-11-13 14:08:26 -08:00
Wesley Wigham
581f52a7ea exhaustive tests 2015-11-13 13:33:54 -08:00
Zhengbo Li
bd39847d6c Merge pull request #5593 from zhengbli/i5530
Add file content as a parameter for the tsserver open command
2015-11-13 11:30:11 -08:00
Vladimir Matveev
b93feb87be cleanup test harness code 2015-11-13 11:14:51 -08:00
Wesley Wigham
346253a0d5 test, first pass at a fix 2015-11-13 11:13:10 -08:00
Nathan Shively-Sanders
7743d20910 Merge pull request #5193 from Microsoft/namespace-before-ambient-derived-class-finds-heritage
Namespace before ambient derived class finds heritage
2015-11-13 08:50:10 -08:00
Sheetal Nandi
3d6312a1da Merge pull request #5643 from Microsoft/lambdaSourceMap
Fix sourcemap emit for the labda expression that is on another line
2015-11-12 16:09:45 -08:00
Ryan Cavanaugh
e3a845aa64 Merge pull request #5641 from RyanCavanaugh/fix5634
Quote only names that need to be quoted, not the reverse
2015-11-12 15:05:33 -08:00
Sheetal Nandi
127a30e151 Fix the sourcemap emit of lambda expression without return on another line
Handles #5122
2015-11-12 14:15:33 -08:00
Sheetal Nandi
986d884502 Test case for multiline spanning without return statement 2015-11-12 14:13:35 -08:00
Mohamed Hegazy
63ff012398 Merge pull request #5636 from bootstraponline/patch-1
Use https for badges
2015-11-12 13:55:28 -08:00
Ryan Cavanaugh
f90ef92e7c Simplify regex a bit 2015-11-12 13:37:03 -08:00
Vladimir Matveev
4dbae54af5 Merge pull request #5639 from Microsoft/typecheckStatementsInCaseClause
always check statements in case clause
2015-11-12 13:11:57 -08:00
zhengbli
fe9d73eb5b Remove debugger statement from test 2015-11-12 11:42:21 -08:00
Sheetal Nandi
b3c4733a90 Merge pull request #5620 from Microsoft/inlineSourceMap
Fixes use of combination of options sourceRoot and mapRoot with inlineSourceMap and inlineSources
2015-11-12 11:39:04 -08:00
zhengbli
a0549fa316 Fix lint compliant 2015-11-12 11:33:44 -08:00
zhengbli
278b35b354 Adding test and comments. Override file content even if already opened. 2015-11-12 11:16:11 -08:00
bootstraponline
3d9978f677 Use https for badges 2015-11-12 14:15:59 -05:00
Ryan Cavanaugh
ea29793acd Quote only names that need to be quoted, not the reverse 2015-11-12 11:02:19 -08:00
Vladimir Matveev
ebd1b873f1 always check statements in case clause 2015-11-12 10:17:47 -08:00
Mohamed Hegazy
f256da9436 Merge pull request #5633 from mihailik/patch-4
Encoding bug
2015-11-12 09:19:30 -08:00
mihailik
f4929e7b18 Encoding bug 2015-11-12 12:28:37 +00:00
Mohamed Hegazy
40e0ffaff7 Update authors for release 1.7 2015-11-11 23:22:12 -08:00
Vladimir Matveev
ef02bf0915 Merge pull request #5628 from Microsoft/checkOnMissingFile
added missing check if file is specified
2015-11-11 17:13:24 -08:00
Vladimir Matveev
4720c3592d added missing check if file is specified 2015-11-11 16:51:29 -08:00
Wesley Wigham
ee10ea1baa this should work better than dedupe 2015-11-11 13:58:09 -08:00
Wesley Wigham
77f8d89883 because it needs to work with npm 2 as well 2015-11-11 13:42:46 -08:00
Wesley Wigham
15f505e6aa use tslint@next 2015-11-11 13:30:26 -08:00
Daniel Rosenwasser
f8489afe7f Merge pull request #5618 from Microsoft/LKG-11-11-2015
Updated LKG
2015-11-11 13:09:14 -08:00
Sheetal Nandi
1659300ddb Fix the --sourceRoot and --mapRoot option handling 2015-11-11 12:59:03 -08:00
Sheetal Nandi
8020bf90d6 Test cases to verify --inlineSourceMap with --sourcemap --mapRoot and --sourceRoot
Note that --sourceRoot fails with crash
2015-11-11 12:58:58 -08:00
Sheetal Nandi
593ba66af1 Test cases for --sourceMap --inlineSources option 2015-11-11 12:58:54 -08:00
Wesley Wigham
b3f0a71082 Merge pull request #5442 from weswigham/empty-set
Improve type guard consistiency
2015-11-11 12:52:37 -08:00
Daniel Rosenwasser
beb998b988 Merge pull request #5615 from Microsoft/getContextualTypeServices
Do not get the apparent type for 'getContextualType' in the services layer
2015-11-11 12:42:44 -08:00
Daniel Rosenwasser
d3f338cb8b Updated LKG. 2015-11-11 12:24:40 -08:00
Daniel Rosenwasser
df1dd00f35 Added test. 2015-11-11 12:19:47 -08:00
Mohamed Hegazy
0c96d7b241 Merge pull request #5583 from basarat/ls/jsxSemantic
tsx : support tags in language service semantic tokenizer
2015-11-11 12:10:03 -08:00
Mohamed Hegazy
00aa3c8a38 Merge pull request #5569 from mihailik/patch-2
Use ts.indexOf instead of Array.prototype.indexOf
2015-11-11 11:46:46 -08:00
Nathan Shively-Sanders
c1ea85fa72 Merge pull request #5588 from Microsoft/reexport-default-export
Reexport default export
2015-11-11 11:29:31 -08:00
Daniel Rosenwasser
87230bcc1b Use 'getContextualType' for 'getContextualType'. 2015-11-11 10:55:33 -08:00
Nathan Shively-Sanders
9472c0be99 Remove now-unused function
`doesNameResolveToLocalSymbolForExportDefault` is no longer used, so
delete it.
2015-11-11 10:53:24 -08:00