Commit Graph
562 Commits
Author SHA1 Message Date
Adam Freidin 22dc3574c1 spelling: Collistion -> Collision 2014-09-24 13:07:23 -07:00
Vladimir Matveev dae98be062 Merge pull request #737 from Microsoft/instanceof_cascading_errors
do not report cascading errors in instanceof operator
2014-09-24 11:09:21 -07:00
Jason Freeman 7bd7d4605e Merge pull request #726 from Microsoft/sigHelp
Signature help in the new compiler
2014-09-24 10:58:50 -07:00
Vladimir Matveev 9f23f74fc3 Merge pull request #736 from Microsoft/unary_operators_strict_mode
use operator token when checking unary expressions in strict mode
2014-09-24 10:56:10 -07:00
Vladimir Matveev d52a93d58d Fix typo in comments 2014-09-24 10:53:55 -07:00
Jason Freeman 22e989795d Merge branch 'master' into sigHelp
Conflicts:
	src/compiler/checker.ts
	src/compiler/types.ts
	src/services/services.ts
2014-09-24 10:47:41 -07:00
Daniel Rosenwasser dc9c3e168b Merge pull request #731 from Microsoft/acknowledgeTrivia
Use the 'skipTrivia' scanner flag for lexical classification
2014-09-24 13:39:50 -04:00
Jason Freeman 3dc686028a Address PR feedback for trailing commas 2014-09-24 10:36:44 -07:00
Vladimir Matveev 649f5c01a4 do not report cascading errors in instanceof operator 2014-09-24 09:10:40 -07:00
Vladimir Matveev ef6a87cdfb use operator token when checking unary expressions in strict mode 2014-09-24 08:52:02 -07:00
Jason Freeman de2ac51924 Change NodeArray to have a hasTrailingComma property instead of an OmittedExpression 2014-09-23 19:40:25 -07:00
Cyrus Najmabadi d6fc3fc2da Code review feedback. 2014-09-23 15:41:04 -07:00
Jason Freeman 8f602804a3 Respond to PR comments 2014-09-23 15:34:42 -07:00
Cyrus Najmabadi 352cc0ef13 Merge branch 'master' into classifiedQuickInfo 2014-09-23 13:55:18 -07:00
Cyrus Najmabadi 3c68252e08 Simplify writing code. 2014-09-23 13:51:42 -07:00
Cyrus Najmabadi 7a4fb64233 Code review feedback. 2014-09-23 13:32:32 -07:00
Daniel Rosenwasser 292cfc8721 Use the 'skipTrivia' scanner flag for lexical classification. 2014-09-23 12:30:23 -07:00
Jason Freeman fd43211d6a Replace native division with integer division 2014-09-22 15:05:31 -07:00
Jason Freeman 2fa24a7e7a Throw when cancellation is requested 2014-09-22 15:05:29 -07:00
Jason Freeman ff24963a80 Initial draft of getSignatureHelpCurrentArgumentState 2014-09-22 15:05:18 -07:00
Jason Freeman 2486aa92c6 Refactor collectCandidates and add type parameters to signature display 2014-09-22 15:05:12 -07:00
Jason Freeman 7367053313 Fix name printing in signature help 2014-09-22 15:05:10 -07:00
Jason Freeman 1bfd7159e8 Further changes to parser for OmittedExpressions, and make checker resilient to them 2014-09-22 15:05:06 -07:00
Jason Freeman 9973b9c075 Add an OmittedExpression for trailing commas in calls 2014-09-22 15:05:03 -07:00
Jason Freeman 9e81c5c09d Revert to old behavior for forEach 2014-09-22 15:04:57 -07:00
Jason Freeman 711d10aada Remove TrailingCommaBehavior in favor of two boolean parameters 2014-09-22 15:04:55 -07:00
Jason Freeman 67516a1f61 Extract findListItem from smart indenter 2014-09-22 15:04:51 -07:00
Jason Freeman 49ae281059 Start testing signature counts and adjust some syntactic computations 2014-09-22 15:04:47 -07:00
Jason Freeman 8a765d7680 Semantic filtering of candidate signatures 2014-09-22 15:04:45 -07:00
Mohamed Hegazy 95394220b4 Merge branch 'release-1.1'
Conflicts:
	Jakefile
	src/compiler/tsc.ts
2014-09-22 14:55:28 -07:00
Yui T 8947757d09 Merge branch 'master' into returnExitCode 2014-09-22 14:05:55 -07:00
Mohamed Hegazy 09d6e4aaa6 Condition the custom serialization on the existance of JSON 2014-09-22 13:17:21 -07:00
Mohamed Hegazy 7e6bb85be4 Merge pull request #710 from Microsoft/JSONInEmitter
Add explict serialization logic for source maps to avoid using JSON
2014-09-22 12:47:48 -07:00
Mohamed Hegazy 4465fe1890 respond to code review comments 2014-09-22 12:47:26 -07:00
Mohamed Hegazy 804a3a5a57 Properly escape strings when serializing source maps 2014-09-22 11:50:31 -07:00
Yui T 94e788c737 Address code review 2014-09-22 09:43:47 -07:00
Cyrus Najmabadi f4cdbfab18 Add support for getting the doc comment from a symbol. 2014-09-22 00:05:39 -07:00
Cyrus Najmabadi e3609e20af Rename Comment->CommentRange. 2014-09-21 14:52:51 -07:00
Cyrus Najmabadi fae7a3560e Provide capability to ask the checker what the constant value of an enum member is. 2014-09-21 13:58:15 -07:00
Cyrus Najmabadi 89eff5608d Merge branch 'master' into classifiedQuickInfo 2014-09-20 14:43:30 -07:00
Cyrus Najmabadi b43c123b53 More quick info work. 2014-09-19 16:49:58 -07:00
Yui T 76656f2460 Address code reviews 2014-09-19 16:18:16 -07:00
Cyrus Najmabadi 4d1a43a905 Update names. 2014-09-19 16:02:58 -07:00
Mohamed Hegazy 218bcd8c1e condition the use of locale on the exitance of JSON 2014-09-19 15:55:26 -07:00
Yui T eaa4daaee5 Return exit code 2014-09-19 15:17:19 -07:00
Mohamed Hegazy c0b507ad08 remove commented out code 2014-09-19 15:17:11 -07:00
Mohamed Hegazy b15304fc9e add explict serialization logic for source maps to avoid using JSON 2014-09-19 15:09:04 -07:00
Cyrus Najmabadi 778799669e Support getting symbolDisplayParts for types as well as symbols. 2014-09-19 15:06:27 -07:00
Anders Hejlsberg 7cc6bbb4d1 Merge pull request #688 from Microsoft/protectedMembers
Support for protected members in classes
2014-09-19 14:43:53 -07:00
Cyrus Najmabadi 1cb5e2813e Place symbolToString above symbolToDisplayParts. 2014-09-19 13:14:40 -07:00