Commit Graph

182 Commits

Author SHA1 Message Date
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
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
Mohamed Hegazy
68687395b8 handle cases where we have a node with width 0 when reporting grammar errors 2014-09-19 09:44:47 -07:00
Daniel Rosenwasser
fc344eeef9 Merge branch 'master' into navbar
Conflicts:
	tests/baselines/reference/parserEqualsGreaterThanAfterFunction1.errors.txt
	tests/baselines/reference/parserEqualsGreaterThanAfterFunction2.errors.txt
2014-09-18 15:24:52 -07:00
Vladimir Matveev
7188ab69b2 add 'skipTrivia' parameter to scanner 2014-09-17 23:59:53 -07:00
Anders Hejlsberg
08188b0142 Merge branch 'master' into protectedMembers 2014-09-17 17:05:45 -07:00
Daniel Rosenwasser
e69b9e6362 Fixed issue where parser improperly parses a function declaration with no identifier. 2014-09-17 16:20:19 -07:00
Mohamed Hegazy
deaa58b1a0 Merge branch 'master' into completionFixes
Conflicts:
	tests/baselines/reference/enumConflictsWithGlobalIdentifier.errors.txt
	tests/baselines/reference/enumMemberResolution.errors.txt
2014-09-17 14:44:17 -07:00
Jason Freeman
b1f243d814 Merge branch 'release-1.1'
Conflicts:
	src/harness/harness.ts
	tests/baselines/reference/typeName1.errors.txt
2014-09-17 14:10:47 -07:00
Jason Freeman
31eae88b86 Switch to createCompilerDiagnostic for an invalid root file 2014-09-17 10:44:03 -07:00
Anders Hejlsberg
ce6b6234ef Support for protected members in classes 2014-09-17 10:36:32 -07:00
Yui T
9ee63fa21d Merge branch 'master' into getEmitOutput
Conflicts:
	src/services/services.ts
2014-09-16 17:40:38 -07:00
Mohamed Hegazy
85ddc35268 respond to code review comments 2014-09-16 17:05:05 -07:00
Mohamed Hegazy
50a4926eaf Merge branch 'master' into navigateTo
Conflicts:
	src/services/services.ts
2014-09-16 16:54:01 -07:00
Mohamed Hegazy
d8b437724d Merge branch 'master' into completionFixes
Conflicts:
	src/services/services.ts
2014-09-16 14:13:21 -07:00
Vladimir Matveev
08f446ddf7 resolve merge conflicts 2014-09-16 11:27:58 -07:00