Commit graph

25014 commits

Author SHA1 Message Date
Mohamed Hegazy
6ca9a1a6d8 Move updated code to the ts namespace 2014-07-29 12:15:02 -07:00
Mohamed Hegazy
7d5da6c8ab remove the I prefix from interface name 2014-07-29 12:14:52 -07:00
Mohamed Hegazy
4afbcf7b18 Add Logger definition to services.ts 2014-07-29 12:14:42 -07:00
Mohamed Hegazy
70b8a569d9 move logInternalError to where it is used 2014-07-29 12:14:32 -07:00
Mohamed Hegazy
f1ef966442 Switch classes to interfaces 2014-07-29 12:14:22 -07:00
Mohamed Hegazy
792f9c9ac8 reorganize definitions 2014-07-29 12:14:11 -07:00
Mohamed Hegazy
bfdf2ac69a remove some more unused files 2014-07-29 12:14:01 -07:00
Mohamed Hegazy
2dfd63eb5f consolidate all services in one file: services.ts 2014-07-29 12:13:50 -07:00
Mohamed Hegazy
4a4c74958d clean up coreServices 2014-07-29 12:13:39 -07:00
Mohamed Hegazy
6ed29c2367 Switch classifer to a function 2014-07-29 12:13:29 -07:00
Mohamed Hegazy
742197077b remove unused diagnostics interfaces 2014-07-29 12:13:19 -07:00
Mohamed Hegazy
41826986ac Clean up code and types in typeScriptServices.ts 2014-07-29 12:13:09 -07:00
Mohamed Hegazy
247504924b remove the 'I' prefix from interface names 2014-07-29 12:12:59 -07:00
Mohamed Hegazy
944195e34e only expose needed types 2014-07-29 12:12:49 -07:00
Mohamed Hegazy
02fa159d7c move TypeScriptServicesFactory to shims.ts 2014-07-29 12:12:39 -07:00
Mohamed Hegazy
580eaebad3 some more cleanup 2014-07-29 12:12:28 -07:00
Mohamed Hegazy
cb3f8c1d74 switch some more classes to interfaces 2014-07-29 12:12:18 -07:00
Mohamed Hegazy
410a657b1c Remove the "I" prefix from interface names 2014-07-29 12:12:07 -07:00
Mohamed Hegazy
52688af148 Switch LanguageService from a class to a function 2014-07-29 12:11:57 -07:00
Mohamed Hegazy
b4d5b984ed Remove unused type 2014-07-29 12:11:46 -07:00
Mohamed Hegazy
38771693c6 Delete unused files 2014-07-29 12:11:35 -07:00
Mohamed Hegazy
87763db409 Move ByteOrderMark to services 2014-07-29 12:11:25 -07:00
Mohamed Hegazy
5777320d27 remove unused files 2014-07-29 12:11:13 -07:00
Mohamed Hegazy
e23ff87f5a use Map instead of IIndexable 2014-07-29 12:11:03 -07:00
Mohamed Hegazy
e5d810384c remove dependency on settings 2014-07-29 12:10:52 -07:00
Mohamed Hegazy
3bfc294123 Switch some more classes to interfaces 2014-07-29 12:10:42 -07:00
Mohamed Hegazy
212c184602 use Map instead of StringHashTable 2014-07-29 12:10:31 -07:00
Mohamed Hegazy
346809ba2b wire in getCompletions 2014-07-29 12:10:21 -07:00
Mohamed Hegazy
8eda35afa0 Ensure SimpleArrowFunctionExpression has a NodeArray as its paramter as ForEachChild expexts that 2014-07-29 12:07:47 -07:00
Mohamed Hegazy
f8767a5617 wire quick info 2014-07-29 12:07:36 -07:00
Mohamed Hegazy
05eeba5bc9 Do not use noResolve with the LS 2014-07-29 12:07:26 -07:00
Mohamed Hegazy
9395eeaedb add module to defaults, and cleanup document management 2014-07-29 12:07:15 -07:00
Mohamed Hegazy
5819fd4fd4 Change classes into interfaces 2014-07-29 12:07:04 -07:00
Mohamed Hegazy
33433b8fca cleanup 2014-07-29 12:06:53 -07:00
Mohamed Hegazy
2ed3de1c28 push newline to compilerhost instead of using sys directelly. This allows the language service to set it, as sys is not defined in language service scenarios 2014-07-29 12:06:43 -07:00
Mohamed Hegazy
253273820d initial change 2014-07-29 12:04:50 -07:00
Daniel Rosenwasser
fce3bdd171 Merge pull request #256 from Microsoft/ambientAccessorErrors
Gracefully handle accessor declarations in ambient classes.
2014-07-29 11:46:32 -07:00
Dan Quirk
574a082a52 Update LKG 2014-07-29 11:16:52 -07:00
Daniel Rosenwasser
fe4c738b01 No longer emit trailing comma on object literals.
This was done because trailing commas in object literals are not accepted by ES3.

Fixes #271.
2014-07-28 11:37:36 -07:00
Vladimir Matveev
df3567c7db Merge pull request #197 from Microsoft/locals_exports
Alternative proposal for grouping exported and local declarations
2014-07-28 11:26:08 -07:00
Anders Hejlsberg
fc0004749f Merge pull request #264 from Microsoft/errorOnHiddenModuleImport
Error when importing shadowed internal module.
2014-07-27 18:09:04 -07:00
Mohamed Hegazy
1f2920226d Merge pull request #253 from huerlisi/patch-1
Typo fixed in CONTRIBUTION.
2014-07-27 10:38:02 -07:00
Daniel Rosenwasser
79735b4431 Simplified error recovery by just using 'parseTryStatement'. 2014-07-26 21:23:50 -07:00
Anders Hejlsberg
3da5f1ef6f Error when importing shadowed internal module.
Fixes #73.
2014-07-26 08:13:52 -07:00
Daniel Rosenwasser
0939f77d77 Added tests for missing 'try' parsing 2014-07-25 18:25:43 -07:00
Daniel Rosenwasser
efb6db8757 Gracefully handle 'catch' and 'finally' blocks without a preceding 'try' block.
Fixes #216.

As a note of this fix, when a 'catch' block is followed by a 'finally' block, only the 'catch' keyword gets an error reported on it.
2014-07-25 18:10:27 -07:00
Vladimir Matveev
e4256d827d Merge pull request #252 from Microsoft/array_symbol_links
Use symbol links to access global array type
2014-07-25 17:12:14 -07:00
Jason Freeman
9e039f53b5 Merge pull request #259 from Microsoft/canParseSemicolon
Remove isSemicolon
2014-07-25 17:09:08 -07:00
Vladimir Matveev
a2210184be comments updated 2014-07-25 17:08:35 -07:00
Jason Freeman
db53b9bc30 Merge pull request #260 from Microsoft/exportAsgnModifiers
Disallow modifiers on export assignments
2014-07-25 17:07:51 -07:00