Commit Graph

196 Commits

Author SHA1 Message Date
Sheetal Nandi
0cb2e983aa Breakpoints in expressions 2014-10-20 23:05:44 -07:00
Jason Freeman
d5709edbc7 Merge branch 'master' into sigHelp 2014-10-20 11:52:31 -07:00
Jason Freeman
1b8814cdcd Address PR feedback 2014-10-20 11:51:45 -07:00
Jason Freeman
628fa4c7b2 Remove OmittedType 2014-10-17 16:55:16 -07:00
Jason Freeman
08f9a0148a Parser changes to parse omitted types correctly 2014-10-17 16:55:11 -07:00
Anders Hejlsberg
766010e531 Parentheses in type literals 2014-10-17 13:45:13 -07:00
Anders Hejlsberg
fc842b177e Merge branch 'master' into unionTypes
Conflicts:
	src/compiler/checker.ts
	src/compiler/types.ts
	src/services/services.ts
	tests/baselines/reference/assignmentCompatBetweenTupleAndArray.errors.txt
	tests/baselines/reference/bestCommonTypeOfTuple.types
	tests/baselines/reference/bestCommonTypeOfTuple2.types
	tests/baselines/reference/castingTuple.errors.txt
	tests/baselines/reference/contextualTypeWithTuple.errors.txt
	tests/baselines/reference/genericCallWithTupleType.errors.txt
	tests/baselines/reference/indexerWithTuple.types
	tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations.errors.txt
2014-10-13 12:37:34 -07:00
Yui T
00c30a3ed7 Merge branch 'master' into fixThrowExceptionOnEmitFile 2014-10-09 14:36:48 -07:00
Yui T
3cb6c9cf45 Add isDeclarationFile and update similar all usage 2014-10-09 14:19:36 -07:00
Daniel Rosenwasser
400f6eb654 Merge pull request #859 from Microsoft/useProperMeaningAtLocation
Use proper meanings when requesting information about a node
2014-10-08 17:59:29 -07:00
Anders Hejlsberg
ea4cbbee4e Merge branch 'master' into unionTypes 2014-10-08 15:23:37 -07:00
Jason Freeman
8346b48e6d Add assserts to help diagnose signature help crash #832 2014-10-07 13:37:57 -07:00
Daniel Rosenwasser
eb5d378d55 Reverted code back to original location since these functions no longer need to be exported. 2014-10-06 15:03:50 -07:00
Cyrus Najmabadi
7222963923 Tweak how we populate NavBarItems.
Now we will always place child items of a node in the right bar, even if we're
also placing it on the 'top level nodes' list on the left.  This makes things
clearer for users by making it clear that any time you have a node selected on
the left, you can always find its children on the right.  And, it still preserves
the behavior we want where the left list acts as a high level 'table of contents'
for the file.
2014-10-05 21:17:13 -07:00
Anders Hejlsberg
e836fe1729 Initial implementation of Union Types 2014-10-04 09:19:47 -07:00
Daniel Rosenwasser
c1d15c792b Merge branch 'master' into navbar
Also fixed getSourceText and renamed it to getTextOfNode
2014-10-03 17:44:52 -07:00
Daniel Rosenwasser
7d9bf5093b Replaced 'getModuleNameFromFilename' with 'removeFileExtension'. 2014-10-03 16:21:15 -07:00
Cyrus Najmabadi
2a8b9ef21f Support rename in comments and strings. 2014-10-03 14:53:50 -07:00
Cyrus Najmabadi
183bed1bb8 Specify which outlining spans should auto-collapse if the user choose "collapse to definitions". 2014-10-02 17:35:48 -07:00
Daniel Rosenwasser
ffef437320 Merge pull request #799 from Microsoft/stopBlindlyColoring
Values sharing names with interfaces no longer classified as interfaces
2014-10-01 17:42:15 -07:00
Mohamed Hegazy
0434635b94 handle absolute path in /// references 2014-10-01 16:12:16 -07:00
Mohamed Hegazy
a37106d4da Merge pull request #748 from chrisbubernak/selfReferencingFileError
Fix issue #568 (no error for file self reference)
2014-10-01 13:44:47 -07:00
Daniel Rosenwasser
a6e991a3db Fixed bug where value-space identifiers got classified as interfaces when sharing the same name as an interface. 2014-10-01 12:44:17 -07:00
Jason Freeman
23843ffa92 Parse OmittedExpression for missing arguments followed by commas 2014-09-30 17:13:55 -07:00
Jason Freeman
a79a1d2248 Record trailing comma even for incorrectly terminated lists 2014-09-30 17:13:49 -07:00
Daniel Rosenwasser
5851752e32 Merge branch 'master' into navbar
Conflicts:
	Jakefile
	src/services/getScriptLexicalStructureWalker.ts
	src/services/services.ts
2014-09-30 14:20:58 -07:00
ChrisBubernak
3751b25dd2 Fixed indentation 2014-09-29 10:23:01 -07:00
ChrisBubernak
ba61c63a1a Moved logic to another location where host was in scope so we could call
getCanonicalFileName
2014-09-29 10:20:31 -07:00
ChrisBubernak
36b46291f2 still trying to get the indenting correct 2014-09-26 09:54:32 -07:00
Daniel Rosenwasser
4ed6a80c9c Limited identifying identifiers after dots to keywords. 2014-09-26 09:46:14 -07:00
ChrisBubernak
93db897778 Fixed some of the baselines, made file comparisons handle different
casing, put diagnostic message in correct order
2014-09-26 07:47:44 -07:00
ChrisBubernak
a12c35b69b fixing formatting again... 2014-09-25 13:07:14 -07:00
ChrisBubernak
e11ee0f6cf Fixed a few of the code review suggestions 2014-09-25 13:02:37 -07:00
ChrisBubernak
16a8b3c59f Merge branch 'selfReferencingFileError' of https://github.com/chrisbubernak/TypeScript into selfReferencingFileError
Conflicts:
	src/compiler/parser.ts
2014-09-25 09:49:20 -07:00
ChrisBubernak
ae17c35728 Added error checking for references that reference the same file along
with 3 tests,
2014-09-25 09:12:31 -07:00
Chris Bubernak
75e04f21e8 fixed some tabbing issues 2014-09-25 08:59:58 -07:00
unknown
cafa481843 Added error checking for references that reference the same file along
with 3 tests,
2014-09-25 08:44:46 -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
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
3457d87aea Merge branch 'master' into navbar
Conflicts:
	src/services/services.ts
2014-09-24 10:40:59 -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
352cc0ef13 Merge branch 'master' into classifiedQuickInfo 2014-09-23 13:55:18 -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
711d10aada Remove TrailingCommaBehavior in favor of two boolean parameters 2014-09-22 15:04:55 -07:00
Mohamed Hegazy
95394220b4 Merge branch 'release-1.1'
Conflicts:
	Jakefile
	src/compiler/tsc.ts
2014-09-22 14:55:28 -07:00
Cyrus Najmabadi
e3609e20af Rename Comment->CommentRange. 2014-09-21 14:52:51 -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
Daniel Rosenwasser
01d93b22ba External module items now display their base file name in quotes. 2014-09-19 13:54:41 -07:00