4682 Commits

Author SHA1 Message Date
CyrusNajmabadi
2f7db61f7c Merge pull request #2409 from Microsoft/diagnosticCodes
Fix diagnostic codes.
2015-03-17 23:16:05 -07:00
steveluc
34e612c9fc Add handling of hard tabs in server buffers. Change message protocol to
pass locations as line/offset pairs instead of line/column pairs, where
offset is a 1-based character offset from the beginning of the line.
Offset will be equal to column if the line contains no tabs.  If the
line contains tabs, offset will be less than or equal to column,
depending on how many tabs are before the offset.  Also added tab size
and indent size to file open message.
2015-03-17 22:58:12 -07:00
Cyrus Najmabadi
7bcd18fe28 Fix diagnostic codes. 2015-03-17 22:56:45 -07:00
steveluc
afc142c0f5 Merge remote-tracking branch 'origin/master' into serverConfigurationMessage 2015-03-17 22:44:31 -07:00
CyrusNajmabadi
3a75350c42 Merge pull request #2408 from Microsoft/pinnedComments2
Simplify comment emit.
2015-03-17 19:30:55 -07:00
Cyrus Najmabadi
035ad42c30 Simplify comment emit. 2015-03-17 19:25:40 -07:00
CyrusNajmabadi
d2ea675d09 Merge pull request #2406 from Microsoft/pinnedComments
Simplify code for emitting comments.
2015-03-17 19:18:36 -07:00
Cyrus Najmabadi
63e4420887 Simplify flow control. 2015-03-17 19:13:00 -07:00
Cyrus Najmabadi
9582d7cf28 Add test for pinned comments. 2015-03-17 18:43:39 -07:00
Cyrus Najmabadi
36b99511c6 Simplify code for emitting comments.
Also, always emit pinned comments, even when the 'removeComments' compiler
option is provided.
2015-03-17 18:34:42 -07:00
steveluc
e1d7389f3e Merge remote-tracking branch 'origin/master' into
serverConfigurationMessage.
2015-03-17 17:51:16 -07:00
Vladimir Matveev
17f3e1462d Merge pull request #2402 from Microsoft/dropInternedStrings
drop interned indentation prefixes if format options has changed
2015-03-17 17:17:53 -07:00
Paul van Brenk
bb37ea99c1 Merge pull request #2400 from Microsoft/toolsversion
Add toolsversion to shim so we can read it from VS.
2015-03-17 16:46:48 -07:00
Vladimir Matveev
8afde73e0b drop interned indentation prefixes if format options has changed 2015-03-17 16:34:13 -07:00
Paul van Brenk
825c301ace We only need the 2 most significant digits. 2015-03-17 16:31:18 -07:00
Paul van Brenk
bf16ab7535 fix typo 2015-03-17 15:52:37 -07:00
Paul van Brenk
667bc03db2 Add toolsversion to shim so we can read it from VS. 2015-03-17 15:26:55 -07:00
Mohamed Hegazy
42a0c34641 Merge pull request #2335 from Microsoft/es6ImportExportEmit
ES6 emit for new import / export syntax
2015-03-17 13:59:30 -07:00
Mohamed Hegazy
a06ce61684 Merge branch 'master' into es6ImportExportEmit 2015-03-17 13:03:17 -07:00
Mohamed Hegazy
766cb68f7c Add comments 2015-03-17 13:03:13 -07:00
Dan Quirk
6155832ce7 Merge pull request #2395 from Microsoft/removeCodeClimateStuff
Remove CodeClimate stuff
2015-03-17 12:35:06 -07:00
Dan Quirk
83d38c46dc Delete extra comma 2015-03-17 12:25:01 -07:00
Dan Quirk
b2b3d8b276 Remove CodeClimate stuff 2015-03-17 12:15:13 -07:00
Dan Quirk
79995f5598 Merge pull request #2394 from Microsoft/repoLanguageClassificationFix
Add .gitattributes to override GitHub Linguist language classification
2015-03-17 12:05:09 -07:00
unknown
87dacb8c91 Add .gitattributes to override GitHub Linguist language classification for the repo 2015-03-17 11:57:40 -07:00
Jason Freeman
2bcf84c73b Merge pull request #2356 from Microsoft/typeParameterFixing
Make sure type parameters stay fixed throughout the inference process
2015-03-17 11:42:21 -07:00
Daniel Rosenwasser
122721005b Merge pull request #2385 from Microsoft/completeIsCompleteNode
More thorough node completed-ness checking
2015-03-17 11:35:26 -07:00
Jason Freeman
3879d0ae9a Merge branch 'master' of https://github.com/Microsoft/TypeScript into typeParameterFixing 2015-03-17 10:45:41 -07:00
Jason Freeman
f14abfefab Add clarifying comment 2015-03-17 10:45:25 -07:00
Vladimir Matveev
a301ee3616 Merge pull request #2382 from Microsoft/mergingConstEnumOnlyModules
correctly merge const enum only and instantiated modules irregardless of order
2015-03-17 10:42:48 -07:00
Anders Hejlsberg
42b711b0f6 Merge pull request #2354 from Microsoft/cleanupDiagnostics
Clean up diagnostics display
2015-03-17 09:28:49 -07:00
Daniel Rosenwasser
857d1e0bb6 Fixed case for index signatures. 2015-03-17 07:42:24 -07:00
Anders Hejlsberg
ad75193528 Merge branch 'master' into cleanupDiagnostics
Conflicts:
	src/compiler/program.ts
2015-03-17 06:26:24 -07:00
Daniel Rosenwasser
b4811fc8be Fix copy/paste error. 2015-03-16 23:22:15 -07:00
Daniel Rosenwasser
577c12e42e Added accumulated tests. 2015-03-16 23:19:21 -07:00
Daniel Rosenwasser
6a6839a1b3 Always indent on tuple type literals. 2015-03-16 23:10:36 -07:00
Daniel Rosenwasser
686a10085c Moved construct signature down appropriately, fixed logic for function-like constructs. 2015-03-16 23:05:03 -07:00
Daniel Rosenwasser
905e46e20f Account for call signatures properly. 2015-03-16 22:40:58 -07:00
Daniel Rosenwasser
3eea65512c Rename tests. 2015-03-16 22:13:55 -07:00
Daniel Rosenwasser
a7f57cbe41 Indentation within binding patterns.
Fixes #2380.
2015-03-16 22:09:17 -07:00
Mohamed Hegazy
1932f720cb Handel export name bindings in internal modules in ES6 2015-03-16 21:58:57 -07:00
Daniel Rosenwasser
686d1c60de A more complete isCompletedNode. 2015-03-16 21:33:39 -07:00
Mohamed Hegazy
3d802438f1 Export classes defined wihtin internal modules correctelly 2015-03-16 21:18:31 -07:00
Mohamed Hegazy
99108694d5 Do not emit "export" for classes within modules, and do not write the name of an export default class 2015-03-16 20:54:28 -07:00
Mohamed Hegazy
cb012e01fd Merge branch 'master' into es6ImportExportEmit
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2015-03-16 20:47:08 -07:00
Vladimir Matveev
74eb96a5b9 correctly merge const enum only and instantiated modules 2015-03-16 19:51:22 -07:00
Mohamed Hegazy
eb954e1cb5 Respond to code review comments 2015-03-16 19:25:02 -07:00
Jason Freeman
6fc552339f Merge branch 'master' of https://github.com/Microsoft/TypeScript into typeParameterFixing 2015-03-16 17:43:31 -07:00
Yui
c4cb3e3483 Merge pull request #2333 from Microsoft/emitClass
Class emit for ES6
2015-03-16 17:40:03 -07:00
Yui T
9b3fccd5c4 Address code review; Use for..of and use if-statement 2015-03-16 16:24:40 -07:00