954 Commits

Author SHA1 Message Date
Ron Buckton
2cb0dfd99d Merge branch 'master' of https://github.com/Microsoft/TypeScript 2015-06-01 17:41:04 -07:00
Ron Buckton
f96cf338d9 Merge branch 'release-1.5' into master 2015-06-01 17:40:35 -07:00
Vladimir Matveev
22e493d0d3 clean hostCache to avoid extending lifetime of script snapshots 2015-06-01 16:08:58 -07:00
Cyrus Najmabadi
9aab98419b Parsing support for jsDocComments. 2015-05-28 10:14:18 -07:00
Mohamed Hegazy
5ea2cea95d Merge pull request #3208 from Microsoft/updateSingleCompilationFlagName
Update singleCompilation flag name to isolatedModules
2015-05-19 13:54:49 -07:00
Vladimir Matveev
91f69d7a02 Merge pull request #3226 from Microsoft/port-3183
Port PR 3183 into release 1.5
2015-05-19 11:53:16 -07:00
Vladimir Matveev
1f35f194d2 use textSpanEnd instead of handrolled version 2015-05-19 11:12:53 -07:00
Vladimir Matveev
845820dfe9 addressed PR feedback 2015-05-19 11:12:42 -07:00
Vladimir Matveev
0b9dd9e239 during file update request only changed portion of the text from the host 2015-05-19 11:12:25 -07:00
Vladimir Matveev
2252e3045c add optional 'getProjectVersion' method to perform fast up-to-date checks 2015-05-19 11:09:45 -07:00
Mohamed Hegazy
1da04ba8f4 Change flag --singleCompilation to --isolatedModules 2015-05-18 21:49:41 -07:00
Vladimir Matveev
66a91c33fb use textSpanEnd instead of handrolled version 2015-05-15 16:36:58 -07:00
Vladimir Matveev
d3a2dc0c64 addressed PR feedback 2015-05-15 15:28:02 -07:00
Vladimir Matveev
2c4801ea47 during file update request only changed portion of the text from the host 2015-05-15 14:28:02 -07:00
Paul van Brenk
591e882e4d Added comment for Daniel 2015-05-13 15:15:12 -07:00
Paul van Brenk
35aad18097 alligned comments 2015-05-13 14:48:40 -07:00
Paul van Brenk
03876fff4b Additional cases added for creating new variables. 2015-05-13 14:43:17 -07:00
Paul van Brenk
fb68321c14 Merge branch 'master' into completionFixes 2015-05-13 13:28:02 -07:00
Vladimir Matveev
af342382ed add optional 'getProjectVersion' method to perform fast up-to-date checks 2015-05-12 10:57:55 -07:00
CyrusNajmabadi
79ec3ec5a3 Merge pull request #3092 from Microsoft/classificationLoop1.5
Prevent infinite loop when classifying.
2015-05-08 13:59:49 -07:00
Cyrus Najmabadi
a8d25c82ac Prevent infinite loop when classifying. 2015-05-08 13:10:17 -07:00
Cyrus Najmabadi
286f0150a6 Prevent infinite loop when classifying. 2015-05-08 10:54:00 -07:00
Vladimir Matveev
a33bb6bb19 use canonical file name when asking the host if file exists 2015-05-06 16:00:50 -07:00
Mohamed Hegazy
7fc6142def Merge branch 'master' into getTypeDefinitionAtPosition
Conflicts:
	src/services/services.ts
2015-05-04 10:02:37 -07:00
Daniel Rosenwasser
d5c9857e60 Whoops. 2015-05-01 18:40:58 -07:00
Daniel Rosenwasser
9460fb580d Use 'lastOrUndefined' where appropriate in the services layer. 2015-05-01 18:34:37 -07:00
Paul van Brenk
c790b91bd5 confused, in typescript a type decl needs the ( ) for a lambda 2015-05-01 16:13:46 -07:00
Mohamed Hegazy
1de5ea802b Respond to code review comments 2015-05-01 14:58:23 -07:00
Paul van Brenk
6fd0a38335 This seems to work today, not sure what I was seeing yesterday. 2015-05-01 12:38:41 -07:00
Cyrus Najmabadi
7769b4cd19 Update names. 2015-04-30 17:48:01 -07:00
Cyrus Najmabadi
b49e07c2fa Fix name. 2015-04-30 17:20:04 -07:00
Paul van Brenk
45591c846c CR feedback 2015-04-30 17:13:26 -07:00
Paul van Brenk
63f3bafed6 Fixes Aggressive completion makes it difficult to type function types. #2494 + test case 2015-04-30 15:41:14 -07:00
Paul van Brenk
fd5a04cb14 this fixes No builder in right-hand side of object binding pattern element #2693 and adds tests 2015-04-30 15:01:37 -07:00
Cyrus Najmabadi
c0c2c4f9a3 Unify more classification code. 2015-04-30 14:57:38 -07:00
Paul van Brenk
8b26423848 Fix for Completion interferes with typeing a "type alias". #2882 + test case 2015-04-30 14:35:48 -07:00
Cyrus Najmabadi
5ad7a593d4 Add a common, dense, format for classification operations to lower cost of processing on the host side.
We now just return an array of triples to represent classified results.  The triple contains:
1) the start of the classification.
2) the length of the classification.
3) the type of the clasification.

We also encode this into a comma separated string when passing over to the managed side
(as opposed to an JSON array).  That way we don't pay such a high JSON parsing cost.
Instead, we can just do a string.split(",") on the encoded triples and process each
element ourselves.
2015-04-30 14:26:46 -07:00
Cyrus Najmabadi
d1607cfc65 Merge branch 'master' into getClassifications2 2015-04-30 13:16:47 -07:00
Mohamed Hegazy
e9f76d0002 Add implementation for getTypeDefinitionAtPosition 2015-04-29 22:54:49 -07:00
Mohamed Hegazy
dda598a8dc Refactor getDefinition code 2015-04-29 22:54:40 -07:00
Paul van Brenk
54ef1bf93d Rename HeritageClauseElement to ExpressionWithTypeArguments + related methods. 2015-04-29 14:49:03 -07:00
Anders Hejlsberg
eecf7ba638 Support 'namespace' declarations for internal modules 2015-04-26 16:12:16 -07:00
Cyrus Najmabadi
25c52bb406 Faster getClassifications 2015-04-23 13:40:34 -07:00
Cyrus Najmabadi
8e757c044e Merge branch 'master' into jsSigHelp
Conflicts:
	src/services/outliningElementsCollector.ts
	src/services/services.ts
2015-04-14 14:22:48 -07:00
Mohamed Hegazy
db492f1c10 Merge pull request #2747 from Microsoft/FixGetOccurances
Fix getOccurances filter check
2015-04-14 10:33:03 -07:00
Mohamed Hegazy
4e42054277 Fix #2725: Add check for parent before using it 2015-04-13 16:28:06 -07:00
Mohamed Hegazy
a72a22edbe Fix getOccurances filter check 2015-04-13 13:19:17 -07:00
Mohamed Hegazy
b416bf2d80 move check outside switch statement 2015-04-13 12:20:25 -07:00
Guillaume Salles
7119165bd0 Fix issue #2677 : Labels should not get quick info 2015-04-12 16:04:32 -04:00
Cyrus Najmabadi
024d653efc Rename type. 2015-04-09 22:27:18 -07:00