Commit Graph

35940 Commits

Author SHA1 Message Date
Nathan Shively-Sanders 102a890214 Use isLiteralComputedPropertyDeclarationName 2016-06-14 10:27:36 -07:00
Andy 13a0f5905d Merge pull request #9159 from Microsoft/code_completion_escaping
Code completion escaping
2016-06-14 10:21:40 -07:00
Andy Hanson 6b05ecab5b Fix bug: do unescaping in the right place, so that it only affects escaped javascript identifiers 2016-06-14 09:39:48 -07:00
Nathan Shively-Sanders 7bf40c4935 Add more isDefinition tests and fix computed property bug 2016-06-14 09:39:30 -07:00
Anders Hejlsberg 5ff7c29d40 Add tests 2016-06-14 09:33:56 -07:00
Anders Hejlsberg 00376f42d8 Narrow non-union types to ensure consistent results 2016-06-14 09:33:15 -07:00
Nathan Shively-Sanders 792b23edc2 Make isDefinition required.
For the deprecated getOccurrencesAtPosition, isDefinition is always false.
2016-06-14 08:48:26 -07:00
Andy c33df015eb Merge pull request #9156 from Microsoft/decorator_metadata_async
Emit 'Promise' decorator metadata return type for async methods
2016-06-14 08:14:50 -07:00
Andy Hanson 1b4b01eed5 Unescape identifiers used in code completion 2016-06-14 08:13:55 -07:00
Andy Hanson 33e4c7a9a3 Respond to PR comment 2016-06-14 06:50:44 -07:00
Andy Hanson f6cee27af9 Emit 'Promise' decorator metadata return type for async methods 2016-06-14 06:11:00 -07:00
Andy 29b1e796c3 Merge pull request #9140 from Microsoft/navbar_jsdoc
Add test for jsdoc in navigation bar
2016-06-14 05:43:45 -07:00
Andy b92a8f2b53 Merge pull request #9144 from Microsoft/decorator_metadata_rest_parameter
Fix decorator metadata emit for rest arg with no type
2016-06-14 05:43:24 -07:00
Andy 6eaf7fa51e Merge pull request #9146 from Microsoft/runtests_bail_2.0
Add option to bail out of `jake runtests` when one test fails
2016-06-14 05:42:41 -07:00
Wesley Wigham 9d023a83fe Merge pull request #9090 from weswigham/allow-empty-lists-command-line
Allow empty lists on command line
2016-06-14 00:29:15 -07:00
Daniel Rosenwasser e8a7e0c0d4 Accepted baselines. 2016-06-13 23:34:00 -07:00
Daniel Rosenwasser eae289c7b7 Emit 'exports.' if the shorthand is a general export. 2016-06-13 23:33:47 -07:00
Daniel Rosenwasser d54094c6f7 Accepted baselines. 2016-06-13 23:33:36 -07:00
Daniel Rosenwasser 318e957377 Added tests. 2016-06-13 23:33:23 -07:00
Vladimir Matveev 676ba4f5b1 Merge branch 'tsserverVS-WIP' of https://github.com/Microsoft/TypeScript into tsserverVS-WIP 2016-06-13 20:46:33 -07:00
Vladimir Matveev bd646d1142 enable document highlighting" 2016-06-13 16:56:26 -07:00
Ryan Cavanaugh f9923efd09 Merge pull request #9095 from RyanCavanaugh/implicitTypeReferences
Implicit type inclusion changes
2016-06-13 16:33:22 -07:00
Anders Hejlsberg c90b0fe17d No implicit returns following exhaustive switch statements 2016-06-13 16:20:13 -07:00
Vladimir Matveev 70aacef818 added gotodef 2016-06-13 16:18:16 -07:00
Vladimir Matveev 23c6fac592 added sighelp 2016-06-13 15:02:54 -07:00
Ryan Cavanaugh 90b319fc24 lint 2016-06-13 14:52:41 -07:00
Ryan Cavanaugh 236351d4f0 Add unit test 2016-06-13 14:43:19 -07:00
Ryan Cavanaugh 29f5291453 Refactor 2016-06-13 14:37:07 -07:00
Anders Hejlsberg ce156460eb Narrow type in case/default sections in switch on discriminant property 2016-06-13 14:29:04 -07:00
Ryan Cavanaugh b10d93291f Absolute-ify paths in both places 2016-06-13 14:20:31 -07:00
Vladimir Matveev 7b53afa0bf [WIP] completions 2016-06-13 13:49:29 -07:00
Andy Hanson 7d31bcf87b Add option to bail out of jake runtests when one test fails 2016-06-13 13:35:37 -07:00
Nathan Shively-Sanders ac9e617e5e Test isDefinition 2016-06-13 13:23:32 -07:00
Nathan Shively-Sanders 5a7f7469ea Add isDefinition to ReferenceEntry
Clients can now easily tell if the reference is to a definition or a
usage.
2016-06-13 13:21:47 -07:00
Ron Buckton 27931d5f75 Cleanup, fix linter errors, follow hoisted declarations. 2016-06-13 13:17:56 -07:00
Andy Hanson c0c707c37f Fix decorator metadata emit for rest arg with no type 2016-06-13 13:16:13 -07:00
Ron Buckton aa4662ed5d Fixes runtests-parallel not reporting failure for failed tests. 2016-06-13 12:58:59 -07:00
Ron Buckton 3dca09b200 Fixes runtests-parallel not reporting failure for failed tests. 2016-06-13 12:58:21 -07:00
Ron Buckton 4afb8c4393 Fixes an issue with runtests-parallel when global mocha is not installed. 2016-06-13 12:44:49 -07:00
Ron Buckton 3681e3c4f3 Fixed typo 2016-06-13 12:44:24 -07:00
Ron Buckton 819066611b Adds progress indicators to the runtests-parallel build task. 2016-06-13 12:43:57 -07:00
Ron Buckton 0948f73f2a Cleanup, only support generators for async functions, added emit helper. 2016-06-13 12:39:55 -07:00
Andy Hanson 89488f8317 Add test for jsdoc in navigation bar 2016-06-13 12:08:31 -07:00
Ron Buckton e85d3e6c66 Merge branch 'transforms' into transforms-generators 2016-06-13 11:10:26 -07:00
Vladimir Matveev 9a1790e996 added logging to stderr, add command for full quickinfo 2016-06-13 10:54:45 -07:00
Nathan Shively-Sanders 8b093128b3 Merge pull request #9036 from Microsoft/primitive-type-guards-are-order-independent
Primitive type guards are order independent
2016-06-13 10:52:06 -07:00
Mohamed Hegazy 6f63799151 Merge pull request #9129 from plantain-00/minor_fix_add_missing_return_clause
minor fix: add missing return clause
2016-06-13 10:21:17 -07:00
Ryan Cavanaugh 6702e651a3 CR changes 2016-06-13 10:15:29 -07:00
Ryan Cavanaugh e8ac1abbd6 Baseline fix, CR comments, lint 2016-06-13 09:33:49 -07:00
Yui fb050f17f6 Use camel-case instead of snake-case (#9134) 2016-06-13 09:23:37 -07:00