Commit Graph

26317 Commits

Author SHA1 Message Date
Vladimir Matveev 121b04ee36 (lshost): run second module resolution pass if first pass yielded non-ts file (#10959)
* (lshost): run second module resolution pass if first pass yielded non-ts file

* use length check
2016-09-16 15:49:20 -07:00
Kanchalai Tanglertsampan b193426c7b Address PR: Update comment 2016-09-16 15:17:52 -07:00
Paul van Brenk 682f81257d PR feedback 2016-09-16 14:52:33 -07:00
Kanchalai Tanglertsampan 58976ffd38 Merge branch 'master' into emitTypeAliasInDeclarationFile 2016-09-16 14:29:54 -07:00
Paul van Brenk 3df79d5238 Merge branch 'master' into pvb/codeaction/api
# Conflicts:
#	src/compiler/diagnosticMessages.json
#	src/services/services.ts
2016-09-16 14:09:58 -07:00
Kanchalai Tanglertsampan f137c92deb Address PR 2016-09-16 14:08:03 -07:00
Yui fcdc07ef12 Merge pull request #10760 from Microsoft/fix10731_commentDecoratedClass
Fix10731: Correctly emit comment for decorated class declaration
2016-09-16 09:28:48 -07:00
Yui 2ac86d7a64 Merge pull request #10767 from Microsoft/fix10739_commentEnumDeclaration
Fix 10739: Only emit comment once for export enum declaration
2016-09-16 09:28:02 -07:00
Kanchalai Tanglertsampan e8810812e0 Serialize type alias when type alias symbol is not accessible 2016-09-16 09:16:55 -07:00
Vladimir Matveev 5c604f92d7 correctly update external project if config file is added or removed 2016-09-15 15:39:16 -07:00
Richard Knoll 50d243e469 Merge pull request #10482 from Microsoft/go_to_implementation_pr
Go to Implementation
2016-09-15 14:09:18 -07:00
Ryan Cavanaugh 98a3fc55d8 Merge pull request #10929 from RyanCavanaugh/fix10638
Allow type and NS references to UMD globals from modules
2016-09-15 14:00:51 -07:00
Nathan Shively-Sanders 955f2f2fc0 Merge pull request #10671 from Microsoft/new-jsdoc-parser
Remove service's jsdoc parser and enhance parser's jsdoc parser
2016-09-15 12:27:43 -07:00
Richard Knoll 29d85cd7be Merge remote-tracking branch 'origin/master' into go_to_implementation_pr 2016-09-15 12:10:52 -07:00
Nathan Shively-Sanders f8f244f68a Merge branch 'master' into new-jsdoc-parser 2016-09-15 11:53:04 -07:00
Mohamed Hegazy 9d8d2b6cf7 Merge pull request #10921 from gmoothart/readonly-collections
Add readonly typings for Set and Map
2016-09-15 11:26:29 -07:00
Gabe Moothart a9d4b3016a indenting 2016-09-15 10:47:19 -07:00
Gabe Moothart e2ee3c5c15 Removed constructor typings which can't be used
Also corrected some parameter names.
2016-09-15 10:33:06 -07:00
Mohamed Hegazy 10b3d73324 Merge pull request #10917 from Salasar/Fix10843
Fix 10843: Change Array.prototype.findIndex method definition according to ES6 spec
2016-09-15 09:18:16 -07:00
Rostislav Galimsky df5e176e17 update findIndex for es5 typed arrays 2016-09-15 08:39:45 +03:00
Richard Knoll 4eef417f4c Merge remote-tracking branch 'origin/master' into go_to_implementation_pr 2016-09-14 18:21:23 -07:00
Richard Knoll fd936999b1 Fixing formatting 2016-09-14 18:20:47 -07:00
Mohamed Hegazy 0ad494cedb Remove require name collision check for ES6 modules and later 2016-09-14 18:01:54 -07:00
Anders Hejlsberg bbf80a733c Merge pull request #10920 from Microsoft/fixLiteralUnionInference
Fix literal union type inference
2016-09-14 17:48:17 -07:00
Richard Knoll ea3752aa18 Merge remote-tracking branch 'origin/master' into go_to_implementation_pr
Refactored goToImplementation out of services
2016-09-14 17:25:56 -07:00
Ron Buckton 21c2c893b9 Merge pull request #10926 from Microsoft/fix10862
Fix super in down-level async method
2016-09-14 17:15:51 -07:00
Kanchalai Tanglertsampan 7fd5699511 Merge branch 'release-2.0' into release-2.0.5 2016-09-14 16:57:59 -07:00
Nathan Shively-Sanders e2ff42f453 Add comment explaining a magic constant in parser 2016-09-14 16:25:17 -07:00
Ryan Cavanaugh d37391fcfc Allow type and NS references to UMD globals from modules
Fixes #10638
2016-09-14 16:11:23 -07:00
Ryan Cavanaugh 9e6116851f Allow type and NS references to UMD globals from modules
Fixes #10638
2016-09-14 15:56:43 -07:00
Anders Hejlsberg 832295d8b0 Address CR feedback 2016-09-14 14:58:39 -07:00
Paul van Brenk e9178a5975 Merge pull request #10885 from Microsoft/navtosinglefile
Implement NavigateTo for single files, instead of the project.
2016-09-14 14:28:36 -07:00
Andy 42515c717d Merge pull request #10510 from Microsoft/import_directory
An import ending in "/" is always an import of a directory.
2016-09-14 14:07:11 -07:00
Richard Knoll b6f7dd7981 More PR feedback 2016-09-14 13:57:17 -07:00
Mohamed Hegazy 9cabffe5db Merge branch 'release-2.0' into release-2.0_fix10625 2016-09-14 13:36:07 -07:00
Ron Buckton e50105bd9e Fix super in down-level async method 2016-09-14 13:33:06 -07:00
Yui T 14b59b23e7 Address PR 2016-09-14 13:30:15 -07:00
Mohamed Hegazy b6aeaab019 Update version 2016-09-14 13:13:34 -07:00
Ron Buckton ad6782a806 Fix test issues due to an out of order merge 2016-09-14 12:48:59 -07:00
Ron Buckton 3e1da93d6e Merge pull request #10448 from Microsoft/improvePromiseType
Improve Promise type definition
2016-09-14 11:58:25 -07:00
Yui T 332b3165c3 Emit declaration file which inferred type alias with its value 2016-09-14 11:54:17 -07:00
Ryan Cavanaugh 4e46b9711e Merge pull request #10877 from RyanCavanaugh/disallowBadCommas
Disallow bad comma left operands
2016-09-14 11:18:56 -07:00
Gabe Moothart 2468d440d9 Add readonly typings for Set and Map
Similar to ReadonlyArray, these typings remove the mutation methods from Set and Map so that they can only be initialized by the constructor.
2016-09-14 11:06:28 -07:00
Anders Hejlsberg e9ad5daddc Match number and string literal types to number and string in inference 2016-09-14 10:29:51 -07:00
Mohamed Hegazy 5e3e0d6188 Merge pull request #10900 from Microsoft/quick_info_tests
Simplify quick-info tests
2016-09-14 10:05:36 -07:00
Rostislav Galimsky 9ff425b574 Fix issue 10843 2016-09-14 20:05:12 +03:00
Ryan Cavanaugh 6a899721ba Lint 2016-09-14 10:02:00 -07:00
Ryan Cavanaugh a399e8dc6d Fix merge conflict 2016-09-14 09:51:56 -07:00
Nathan Shively-Sanders ab98dcf6e8 Merge pull request #10899 from Microsoft/two-small-gulp-fixes
Add stackTraceLimit; update harness/tsconfig.json
2016-09-14 08:07:49 -07:00
Andy f00d3fcede Merge pull request #9897 from Microsoft/umd_export
Clarify code checking for UMD exports...
2016-09-14 06:25:49 -07:00