Commit Graph

4491 Commits

Author SHA1 Message Date
steveluc
cadd57c10f Change rename response to return the rename info + nested location
information: one array of location information per file.  Add interface
definition for rename response body.
2015-02-17 02:02:59 -08:00
steveluc
d2712dd793 Removed file mapping compression technique due to brittleness of
approach.  As necessary, will substitute grouping or paging approaches.
2015-02-16 23:43:05 -08:00
Cyrus Najmabadi
cdc1b90e42 Fix function name. 2015-02-16 20:10:07 -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
Jason Freeman
59dc7d3a5b Address feedback 2015-02-16 16:50:40 -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
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
7d7d54f6f0 Merge branch 'master' of https://github.com/Microsoft/TypeScript into esSymbols
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2015-02-16 13:44:53 -08:00
Vladimir Matveev
4aff9c357d explicitly initialize let binding in generated code to default value 2015-02-16 13:39:32 -08:00
Jason Freeman
3b967e3489 Move 4000-coded type check errors to 2000s where they belong 2015-02-16 12:45:03 -08:00
Jason Freeman
ac829a8384 Error for naming an interface 'symbol' 2015-02-16 10:44:30 -08:00
Jason Freeman
65d831e8b3 Merge branch 'master' of https://github.com/Microsoft/TypeScript into esSymbols 2015-02-16 10:38:22 -08:00
Ivo Gabe de Wolff
eedcb090e4 Merge master into taggedTemplates 2015-02-16 19:26:27 +01:00
Mohamed Hegazy
54e6756831 Remove unused code and only expose needed types/classes 2015-02-15 20:04:14 -08:00
Mohamed Hegazy
bbcdb61254 remove unused cancellationToken class 2015-02-15 19:55:10 -08:00
Mohamed Hegazy
bdd0bf341b Comment formatting 2015-02-15 19:48:35 -08:00
Mohamed Hegazy
8a9ac8d338 Change ServerProtocol module to ts.server.protocol 2015-02-15 19:14:33 -08:00
Mohamed Hegazy
ca34838535 Remove unused code 2015-02-15 19:13:52 -08:00
Mohamed Hegazy
f5c1bfbca7 renmae protodef.d.ts to protocol.d.ts and protocol.ts to session.ts 2015-02-15 18:49:22 -08:00
Anders Hejlsberg
7cca6519ef Include globals in check for existing identifiers 2015-02-15 18:46:41 -08:00
Vladimir Matveev
5f2588f018 show error if block scoped variable declared in the loop is captured in closure 2015-02-15 18:44:25 -08:00
Mohamed Hegazy
d9d2e99495 Remove debugging statemetns 2015-02-15 18:43:39 -08:00
Mohamed Hegazy
76c7fdf6d1 Add test for completionEntryDetails 2015-02-15 18:24:30 -08:00
Mohamed Hegazy
8944df18d4 use EncodedFile everywhere in responses 2015-02-15 17:37:26 -08:00
Mohamed Hegazy
50ca35a979 Make method names inline with matching LS function names 2015-02-15 16:28:39 -08:00
Mohamed Hegazy
2a02655f72 Add navbar test 2015-02-15 16:23:36 -08:00
Anders Hejlsberg
a8152b6e50 Support for 'export *' declarations 2015-02-15 08:25:24 -08:00
Mohamed Hegazy
40d3cb78d5 Add test for rename 2015-02-14 23:07:20 -08:00
Mohamed Hegazy
178e8f76e6 Add test for quickInfo 2015-02-14 22:28:38 -08:00
Mohamed Hegazy
11e246036b Add test for find references 2015-02-14 21:49:10 -08:00
Mohamed Hegazy
d396ddfa7b Add test for completions 2015-02-14 19:53:23 -08:00
Mohamed Hegazy
89267bcd6f Move fileWatching logic to the server to allow for testing on non-node systems 2015-02-14 19:53:12 -08:00
Mohamed Hegazy
ce828d0cae Get details for member completions as well as completions matching prefix 2015-02-14 17:21:49 -08:00