Commit Graph

32703 Commits

Author SHA1 Message Date
Daniel Rosenwasser
78425d6e0f Removed unused text-concatenating emit. 2015-02-20 14:17:26 -08:00
Daniel Rosenwasser
51129a704d Rewrite the tree instead of hacking text together for downlevel object literals with computed properties. 2015-02-20 14:16:09 -08:00
Cyrus Najmabadi
128295dea9 CR feedback. 2015-02-20 13:55:45 -08:00
Jason Freeman
e7435b12f8 Merge branch 'master' into iterators 2015-02-20 12:30:54 -08:00
Jason Freeman
791e91351c Merge pull request #2086 from Microsoft/ofKeywordClassification
Of keyword classification
2015-02-20 12:29:41 -08:00
Jason Freeman
580d0a6331 More tests 2015-02-20 12:15:37 -08:00
Jason Freeman
566e4fb2dd Formatting around 'of' keyword 2015-02-20 11:58:50 -08:00
Cyrus Najmabadi
49c78968a3 CR feedback. 2015-02-20 11:25:42 -08:00
Cyrus Najmabadi
33e1e5d905 Add a PatternMatcher API (similar to the one in Roslyn) for more advanced matching with features like NavigateTo. 2015-02-20 00:22:41 -08:00
Vladimir Matveev
de967ac191 Merge pull request #2092 from Microsoft/formattingMultilineTemplateLiterals_regressionTest
regression test for formatting multiline template literals
2015-02-19 23:53:35 -08:00
Vladimir Matveev
14d0810fdf added regression test for formatting multiline template literals 2015-02-19 22:37:06 -08:00
Jason Freeman
bf436543b9 Add a test 2015-02-19 17:17:04 -08:00
Daniel Rosenwasser
0fd783f3ef Don't emit accessors multiple times. 2015-02-19 17:04:32 -08:00
Jason Freeman
2928449bbe Accept baselines 2015-02-19 16:43:45 -08:00
Jason Freeman
0d09dd5948 Make LastToken point to OfKeyword 2015-02-19 16:43:28 -08:00
Cyrus Najmabadi
990bbb2dce CR feedback to use template strings. 2015-02-19 15:52:37 -08:00
Cyrus Najmabadi
8d7791c579 Merge branch 'master' into limitNavigateTo 2015-02-19 15:34:05 -08:00
jbondc
cb6852af73 Code review 2015-02-19 18:31:55 -05:00
Jason Freeman
f86f05d914 Split Iterator into Iterator and IterableIterator in es6.d.ts 2015-02-19 15:21:03 -08:00
Cyrus Najmabadi
2b64e50489 Add support for limiting the number of NavigateTo results that you get back. 2015-02-19 15:13:03 -08:00
Yui
fa85b22962 Merge pull request #2079 from Microsoft/increaseRWCTimeout
Increase RWC timeout
2015-02-19 14:30:04 -08:00
Yui T
c6b50cde27 Merge branch 'master' into increaseRWCTimeout 2015-02-19 14:29:44 -08:00
Yui T
246ff09986 Increase RWC timeout 2015-02-19 13:52:50 -08:00
Daniel Rosenwasser
ce85b14589 Made the initial object literal properties indented. 2015-02-19 13:11:59 -08:00
Steve Lucco
6d7045ec5a Merge pull request #2041 from Microsoft/TSServer
TS Server
2015-02-19 13:10:21 -08:00
jbondc
3f97fe875f Wrap all commands in exec() 2015-02-19 16:06:46 -05:00
steveluc
d364f6110e Style fixes. 2015-02-19 12:56:53 -08:00
jbondc
dd8ea1536d If there's a callback, make it its responsibility to call complete() 2015-02-19 15:43:09 -05:00
jbondc
9ee494a1c9 Perfsys no longer used 2015-02-19 15:20:34 -05:00
jbondc
bf3f498688 Tabs to spaces. 2015-02-19 09:49:03 -05:00
jbondc
97ffcc3520 Run jake in interactive mode so output isn't lost.
Fix jake perftsc.
2015-02-19 09:43:44 -05:00
Jason Freeman
d2c992c2de Merge pull request #2066 from Microsoft/forOf
Parsing for for...of statements
2015-02-18 18:41:41 -08:00
steveluc
4b590836e7 Split completions req/response pair into two messages "completions" and
"completionEntryDetails".   This mirrors the function of the LS API and
increases performance of completion in large projects.
2015-02-18 15:12:35 -08:00
Jason Freeman
5596993351 Merge branch 'master' into forOf
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	tests/baselines/reference/APISample_compile.js
	tests/baselines/reference/APISample_compile.types
	tests/baselines/reference/APISample_linter.js
	tests/baselines/reference/APISample_linter.types
	tests/baselines/reference/APISample_transform.js
	tests/baselines/reference/APISample_transform.types
	tests/baselines/reference/APISample_watcher.js
	tests/baselines/reference/APISample_watcher.types
2015-02-18 14:49:10 -08:00
Jason Freeman
6c32a6aca8 Address feedback 2015-02-18 14:39:07 -08:00
Jason Freeman
aa13a97bf9 Merge pull request #1978 from Microsoft/esSymbols
Support ES6 built-in symbols
2015-02-18 13:19:49 -08:00
Daniel Rosenwasser
a6c5505881 Created a combined 'createAndRecordTempVariable' function. 2015-02-18 12:10:00 -08:00
Daniel Rosenwasser
826ed0545b Addressed CR feedback. 2015-02-18 12:01:24 -08:00
Jason Freeman
8558d642f3 Temporarily disallow for-of statements 2015-02-18 11:39:37 -08:00
Jason Freeman
7cb2a64350 Disallow type annotation on a for-of variable 2015-02-18 11:35:52 -08:00
Jason Freeman
147cc204b8 Disallow initializers in for-in and for-of loops 2015-02-18 11:35:46 -08:00
Jason Freeman
f7a6354470 More resilient error recovery when declaration in for-of is empty 2015-02-18 11:35:43 -08:00
Jason Freeman
cc81a670ac Fork grammar message into two messages 2015-02-18 11:35:40 -08:00
Jason Freeman
8d0829594c Accept baselines for added tests 2015-02-18 11:35:36 -08:00
Jason Freeman
7fe286061d Add tests for for-of 2015-02-18 11:35:33 -08:00
Jason Freeman
1a3294a7d2 Parity sweep for for-in & for-of 2015-02-18 11:35:29 -08:00
Jason Freeman
2c4244d749 Accept API baseline changes 2015-02-18 11:35:26 -08:00
Vladimir Matveev
7947590ee5 added ForOfStatement to forEachChild 2015-02-18 11:30:03 -08:00
Vladimir Matveev
1dfd1b470e initial version of parsing 'for-of'
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2015-02-18 11:30:00 -08:00
steveluc
3868fb5a6b Removed deleteLen from change request; added endLine, endCol that mark
the end of the deleted Range (inclusive).  DeleteLen was not always
accurate because editors normalize \r\n to \n in some cases, affecting
the length of ranges.  In Diagnostic response items, changed len field
to end to address the same range length issue.  Flattened
MessageDiagnosticChains in diagnostic message text, since clients expect
string there.  Renamed ts.server.protocol to simply protocol in
session.ts and client.ts since module name prefix is clear.

Based on protocol feedback: Changed LineCol to Location.  Changed
CodeLocation interface name prefix to FileLocation.  Changed DiagEvent
to DiagnosticEvent.  Removed anonymous types.
2015-02-18 00:14:52 -08:00