jbondc
9ee494a1c9
Perfsys no longer used
2015-02-19 15:20:34 -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
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
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
1a3294a7d2
Parity sweep for for-in & for-of
2015-02-18 11:35:29 -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
Daniel Rosenwasser
5fc2ec701b
Merge branch 'master' into thanksLua
...
Conflicts:
src/compiler/emitter.ts
tests/baselines/reference/FunctionPropertyAssignments5_es6.js
tests/baselines/reference/computedPropertyNames9_ES6.js
tests/baselines/reference/computedPropertyNamesDeclarationEmit3.js
tests/baselines/reference/computedPropertyNamesDeclarationEmit4.js
tests/baselines/reference/parserES5ComputedPropertyName3.js
tests/baselines/reference/parserES5ComputedPropertyName4.js
2015-02-17 17:43:06 -08:00
Vladimir Matveev
b4c82c9401
added tests, accepted baselines
2015-02-17 17:04:31 -08:00
Jason Freeman
47404bccf0
Merge branch 'master' of https://github.com/Microsoft/TypeScript into esSymbols
2015-02-17 17:02:22 -08:00
Vladimir Matveev
e6cfc10acc
added missing files
2015-02-17 16:26:32 -08:00
Vladimir Matveev
83b0ddcd32
merge with master
2015-02-17 16:08:18 -08:00
jramsay
9788acf475
Merge pull request #1990 from Microsoft/isDefaultLibFile
...
Replace endsWith() check with canonical normalized path comparison in getRenameInfo()
2015-02-17 15:17:38 -08:00
Jason Ramsay
975f10c6a1
Adding getCanonicalFileName to ensure case-sensitive systems do not have issues
2015-02-17 14:44:45 -08:00
Jason Freeman
dd6a12911c
Merge branch 'master' of https://github.com/Microsoft/TypeScript into esSymbols
2015-02-17 12:39:08 -08:00
Sheetal Nandi
fc1528f3e5
Dts for export * from "mod" and export { a, b as c,...} [from "mod"]
2015-02-17 09:28:55 -08:00
Sheetal Nandi
5b6a9a8517
Merge branch 'es6Import' into es6ImportDts
2015-02-17 08:29:45 -08:00
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