3852 Commits

Author SHA1 Message Date
Cyrus Najmabadi
990bbb2dce CR feedback to use template strings. 2015-02-19 15:52:37 -08:00
Cyrus Najmabadi
cdc1b90e42 Fix function name. 2015-02-16 20:10:07 -08:00
Cyrus Najmabadi
a83534a72c Fix up API samples. 2015-02-16 19:55:32 -08:00
Cyrus Najmabadi
124a77cc3a Remove 'ZeroBased' from all APIs, now that all APIs are zero based. 2015-02-16 19:35:45 -08:00
Cyrus Najmabadi
8ba9180730 Remove the one based APIs. 2015-02-16 19:16:16 -08:00
Cyrus Najmabadi
041b646004 Move typewriter over to using zero based math. 2015-02-16 19:06:47 -08:00
Cyrus Najmabadi
e723d4cee0 Use the zero based methods in the harness. 2015-02-16 19:01:32 -08:00
Cyrus Najmabadi
873e4e3e8a Move formating over to zero based math. 2015-02-16 18:57:10 -08:00
Cyrus Najmabadi
dd90c22406 Use zero based math in hte services layer. 2015-02-16 18:37:38 -08:00
Cyrus Najmabadi
261c8b5bd3 Stop using one based math in fourslash. 2015-02-16 18:23:58 -08:00
Cyrus Najmabadi
572c550a33 Remove usages of computeOneBasedLineAndCharacterOfPosition 2015-02-16 18:11:45 -08:00
Cyrus Najmabadi
f06dddcf1e Simplify helper function. 2015-02-16 18:05:29 -08:00
Cyrus Najmabadi
f4da5d724f Move the smart indenter over to zero based math. 2015-02-16 18:00:43 -08:00
Cyrus Najmabadi
edbedc7d5d Make code more clearly state that it is one based. 2015-02-16 17:47:32 -08:00
Cyrus Najmabadi
1098e80f4b Remove one-based helper function. 2015-02-16 17:41:07 -08:00
Cyrus Najmabadi
8ef4df8acb Move the emitter over to using zero based indexing. 2015-02-16 17:34:11 -08:00
Cyrus Najmabadi
ab7d36d526 Move the emitter over to use zero based indexing. 2015-02-16 16:28:26 -08:00
Cyrus Najmabadi
b3366ec8b4 name more line/char functions more clearly. Use zero based indexing in breakpoints. 2015-02-16 16:18:53 -08:00
Cyrus Najmabadi
afb083ae5a Make method more clearly indicate that it is one based. 2015-02-16 15:39:49 -08:00
Cyrus Najmabadi
11a9df2cc9 Expose zero-based helpers that code will be able to call. 2015-02-16 15:30:21 -08:00
Cyrus Najmabadi
78cfbb6e50 Update baselines. 2015-02-16 15:20:40 -08:00
Cyrus Najmabadi
35b489d7d1 Rename our one-based methods to more clearly indicate that that's what base they use. 2015-02-16 15:20:05 -08:00
Daniel Rosenwasser
cbeea38a55 Merge branch 'master' of https://github.com/Microsoft/TypeScript 2015-02-16 14:59:35 -08:00
Daniel Rosenwasser
fee50a6dbc Made the actual implementation of the lexical classifier be non-optional. 2015-02-16 14:59:22 -08:00
Jason Freeman
52b08089b4 Merge pull request #2052 from Microsoft/moveErrors
Move type check errors from 4000 to 2000
2015-02-16 13:35:16 -08:00
Daniel Rosenwasser
0314083af6 Merge pull request #2051 from Microsoft/absenceNonOptional
Make 'syntacticClassifierAbsent' non-optional.
2015-02-16 12:46:08 -08:00
Jason Freeman
87ea37f2e8 Accept baselines 2015-02-16 12:45:13 -08:00
Jason Freeman
3b967e3489 Move 4000-coded type check errors to 2000s where they belong 2015-02-16 12:45:03 -08:00
Daniel Rosenwasser
67638cbc00 Make 'syntacticClassifierAbsent' non-optional. 2015-02-16 12:21:16 -08:00
Vladimir Matveev
9f7c252ee0 Merge pull request #2027 from Microsoft/redefinedLetConst
Disallow let\const declarations in the same scope with var declarations.
2015-02-13 15:14:09 -08:00
CyrusNajmabadi
5047d2da70 Merge pull request #2028 from Microsoft/rwcInvariants
Don't check invariants when running RWC tests. It adds too much running ...
2015-02-13 14:43:44 -08:00
Yui
cb3bc8519f Merge pull request #2033 from Microsoft/fixTimeMeasurement
Fix time measurement
2015-02-13 14:12:21 -08:00
Daniel Rosenwasser
efed5f0362 Merge pull request #2026 from Microsoft/lexicalTemplateStringsOnMaster
Lexical colorization/classification for template strings.
2015-02-13 14:07:55 -08:00
Yui T
cfb9cf0c7d Merge branch 'master' into fixTimeMeasurement 2015-02-13 13:46:11 -08:00
Yui T
91a39dd000 Fix time measurement 2015-02-13 13:42:17 -08:00
Daniel Rosenwasser
a1b90f0e32 Added baselines. 2015-02-13 13:33:12 -08:00
Vladimir Matveev
941728de07 pass missing argument to error message 2015-02-13 13:14:47 -08:00
Vladimir Matveev
3d26fbc4d4 adjust error message text based on PR feedback 2015-02-13 13:12:51 -08:00
Daniel Rosenwasser
1dca5620f5 Addressed CR feedback. 2015-02-13 12:56:21 -08:00
Vladimir Matveev
e5d80db72c addressed PR feedback 2015-02-13 10:04:44 -08:00
Bill Ticehurst
b1dc910b4a Added script to easily enable VS dev mode 2015-02-12 18:39:59 -08:00
Cyrus Najmabadi
be40cac7fd Don't check invariants when running RWC tests. It adds too much running time. 2015-02-12 17:25:57 -08:00
Daniel Rosenwasser
65e23b1e60 Added API baseline changes. 2015-02-12 16:46:25 -08:00
Vladimir Matveev
07dbd30ba1 update comment text 2015-02-12 16:40:06 -08:00
Vladimir Matveev
a9df539b7e added check that var and let\const cannot share scope, added check that var is not shadowed by the let\const from the inner scope 2015-02-12 16:37:07 -08:00
Daniel Rosenwasser
15b333e102 Added comment for 'syntacticClassifierAbsent'. 2015-02-12 16:29:03 -08:00
Daniel Rosenwasser
1838800b6c Fixed assertion 2015-02-12 16:29:01 -08:00
Daniel Rosenwasser
ab79faef85 Added tests, fixed order of emptying templateStack, unconditionally perform template classification. 2015-02-12 16:28:45 -08:00
Daniel Rosenwasser
3fea0aefbe classifyKeywordsInGenerics -> syntacticClassifierAbsent 2015-02-12 15:48:32 -08:00
Daniel Rosenwasser
f1f085eda6 Addressed CR feedback. 2015-02-12 15:48:30 -08:00