Commit graph

372 commits

Author SHA1 Message Date
Anders Hejlsberg
afeabe8100 Merge pull request #365 from Microsoft/extensionlessReferences
Support extensionless <reference> comments.
2014-08-05 15:02:03 -07:00
Anders Hejlsberg
a2a6b8a410 Support extensionless <reference> comments.
Fixes #344.
2014-08-05 14:32:53 -07:00
Mohamed Hegazy
97987b1c3e Merge pull request #359 from Microsoft/cleanup
Wire cleanupSemanticCache
2014-08-04 19:06:18 -07:00
Mohamed Hegazy
0c9510e6f1 Wire cleanupSemanticCache 2014-08-04 17:23:09 -07:00
Mohamed Hegazy
3a0d40a212 Merge pull request #358 from Microsoft/uptodatecheck
Add uptodate checks for program
2014-08-04 16:57:21 -07:00
Mohamed Hegazy
93a48a314e respond to code review comments 2014-08-04 16:56:58 -07:00
Mohamed Hegazy
acfcf40735 Add uptodate checks for program object to avoid recomputation if not needed 2014-08-04 16:09:25 -07:00
Daniel Rosenwasser
40f6ed0b65 Merge pull request #262 from Microsoft/trylessCatchesFinallyParseNicely
Improved errors for 'catch'/'finally' blocks missing 'try' statements
2014-08-04 15:56:20 -07:00
Mohamed Hegazy
21fb3bc675 Update check for syntax tree existance 2014-08-04 15:36:26 -07:00
Mohamed Hegazy
ab05b75297 Merge pull request #326 from Microsoft/getDefinition
Wire getDefinitionAtPosition using the new compiler implementation
2014-08-04 15:11:58 -07:00
Vladimir Matveev
017a76bd85 Merge pull request #357 from Microsoft/specialized_signatures
fixed check for call\construct signatures in interfaces
2014-08-04 15:11:44 -07:00
Mohamed Hegazy
2ae1432644 Merge branch 'master' into getDefinition 2014-08-04 15:08:26 -07:00
Mohamed Hegazy
a48ec090ae add missing semicolons 2014-08-04 15:07:42 -07:00
Vladimir Matveev
3fc10ed809 fix misplaced brackets 2014-08-04 15:05:15 -07:00
Vladimir Matveev
059b57f417 fixed check for call\construct signatures in interfaces 2014-08-04 14:37:24 -07:00
Anders Hejlsberg
7fc1b8c4ec Merge pull request #355 from Microsoft/pullContextualTypes3
Consistently record contextual types in function expressions.
2014-08-04 14:36:43 -07:00
Mohamed Hegazy
3c0fd5324c Merge branch 'master' into getDefinition 2014-08-04 13:43:14 -07:00
Mohamed Hegazy
28f73121d6 Merge pull request #356 from DickvdBrink/missing-semicolon
Code style: Missing semicolons
2014-08-04 13:38:26 -07:00
Mohamed Hegazy
f8228e1544 Change variabel names:
* documentsByName to sourceFilesByName
* getSymbolOfIdentifierLikeNode to getSymbolInfo
2014-08-04 13:37:17 -07:00
Dick van den Brink
c9c8748152 Code style: Missing semicolons 2014-08-04 22:32:32 +02:00
Mohamed Hegazy
c92addf821 Revert "remove documentsByName"
This reverts commit 5d26599811.
2014-08-04 13:20:02 -07:00
Anders Hejlsberg
261ff5b338 Consistently record contextual types in function expressions.
Removing check that would guard against recording contextual type. The NodeFlags.ContextChecked flag already
protects against assigning more than once.
2014-08-04 12:58:33 -07:00
Mohamed Hegazy
5c350e4d3d adapt to changes after merge 2014-08-04 12:56:48 -07:00
Mohamed Hegazy
1667894ec6 Merge branch 'master' into getDefinition 2014-08-04 12:52:27 -07:00
Mohamed Hegazy
a061f99541 undo moving unknownSymbol to global 2014-08-04 12:52:19 -07:00
Mohamed Hegazy
5d26599811 remove documentsByName 2014-08-04 12:26:44 -07:00
Mohamed Hegazy
4da02cbc06 rename values named document to sourceFile 2014-08-04 12:00:47 -07:00
Mohamed Hegazy
aa75de9c70 Consolidate Document and SoruceFile 2014-08-04 12:00:37 -07:00
Anders Hejlsberg
c17a24738c Merge pull request #350 from Microsoft/pullContextualTypes2
Fix duplicate getTypeOfExpression function.
2014-08-04 11:59:58 -07:00
Anders Hejlsberg
6b2a970ff3 Fix duplicate getTypeOfExpression function. 2014-08-04 11:58:32 -07:00
Anders Hejlsberg
9a5324347e Merge pull request #330 from Microsoft/pullContextualTypes
Pull model for contextual types
2014-08-04 11:51:23 -07:00
Anders Hejlsberg
2b26e37976 Addressing CR feedback. 2014-08-04 11:40:56 -07:00
Anders Hejlsberg
93e617ad32 Merge pull request #349 from Microsoft/fixBrokenCScript
Removing trailing comma that breaks cscript.exe.
2014-08-04 11:33:04 -07:00
Anders Hejlsberg
1e586134f7 Removing trailing comma that breaks cscript.exe. 2014-08-04 11:18:00 -07:00
Anders Hejlsberg
116401b2c8 Addressing CR feedback.
checkImplicitAny now returns void.
2014-08-03 15:53:06 -07:00
Anders Hejlsberg
52ca6071c9 Merge pull request #333 from Microsoft/fixContainerList
Properly build container list in binder.
2014-08-03 15:23:10 -07:00
Daniel Rosenwasser
9a89147587 Merge pull request #324 from Microsoft/watcherIardlyKnowEr
Support the '--watch' compiler flag.
2014-08-02 17:52:02 -07:00
Vladimir Matveev
23117a9d97 Merge pull request #335 from Microsoft/export_assignments_on_links
move exportAssignSymbol to symbolLinks
2014-08-02 14:10:56 -07:00
Daniel Rosenwasser
5a8eff848b Minor edits, no longer release 'program'
Edited comments, no longer releasing 'program' as it is potentially confusing and doesn't buy us a heck of a lot anyway.
2014-08-02 12:03:25 -07:00
Daniel Rosenwasser
30509f1ecc Changed messages, got rid of 'oldProgram'. 2014-08-01 18:54:26 -07:00
Mohamed Hegazy
a4f6fa6bb9 Merge pull request #337 from Microsoft/LibFormDataFix
Update lib.d.ts to fix issues #225 and #314
2014-08-01 18:41:36 -07:00
Mohamed Hegazy
0d1ed3f12c Update LKG 2014-08-01 17:52:51 -07:00
Mohamed Hegazy
3a46a1c5e5 Fix #314: SourceBuffer.appendBuffer() is missing overload for ArrayBufferView param in lib.d.ts 2014-08-01 17:51:41 -07:00
Mohamed Hegazy
694dc0e759 Fix #225: Incompatible FormData constructor between W3C specs 2014-08-01 17:50:57 -07:00
Mohamed Hegazy
8956c4947c update test to add true and false values 2014-08-01 17:15:25 -07:00
Mohamed Hegazy
e2b02c6bdd Add new go to def test 2014-08-01 17:12:00 -07:00
Mohamed Hegazy
41b7eb25a3 Make goto def jump to labels across function boundries 2014-08-01 17:11:41 -07:00
Mohamed Hegazy
8606873db6 move identifier-like node handleing (e.g. super, this, string property access etc..) to the checker 2014-08-01 17:11:11 -07:00
Anders Hejlsberg
afe3abde5b Adding test output file. 2014-08-01 15:24:02 -07:00
Anders Hejlsberg
cb038467d6 Adding regression test for #325 2014-08-01 15:20:08 -07:00