Jason Freeman
7a44b9ed57
Make elaborateErrors persist throughout type relation checks
2015-03-25 19:23:44 -07:00
Daniel Rosenwasser
8610a881c3
Merge pull request #2495 from Microsoft/useAppropriateCompletionEdge
...
Use adjusted completion position when at end of identifier
2015-03-25 16:59:11 -07:00
Daniel Rosenwasser
a56233f17d
Added tests related to completions with keywords.
2015-03-25 16:35:37 -07:00
Daniel Rosenwasser
e33b24d3d0
Merge pull request #2480 from dbaeumer/feature/signatureHelp
...
Add signature help to Typescript server
2015-03-25 15:07:24 -07:00
Daniel Rosenwasser
5f428fefb0
More tests.
2015-03-25 14:16:12 -07:00
Daniel Rosenwasser
36db7aad2d
Added test.
2015-03-25 12:04:21 -07:00
Dirk Baeumer
c66571b273
Integrated pull request feedback
2015-03-25 12:31:59 +01:00
Mohamed Hegazy
fad889283e
Merge branch 'master' into exportEqualsMerged
...
Conflicts:
src/compiler/checker.ts
src/compiler/emitter.ts
src/compiler/types.ts
tests/baselines/reference/APISample_compile.js
tests/baselines/reference/APISample_linter.js
tests/baselines/reference/APISample_transform.js
tests/baselines/reference/APISample_watcher.js
tests/baselines/reference/es5ExportDefaultClassDeclaration2.js
tests/baselines/reference/es5ExportDefaultFunctionDeclaration2.js
tests/baselines/reference/es6ExportAllInEs5.js
tests/baselines/reference/es6ExportClauseWithoutModuleSpecifierInEs5.js
2015-03-25 00:06:38 -07:00
Mohamed Hegazy
1c45b77d9e
Merge branch 'master' into exportEqualsMerged
2015-03-24 22:28:35 -07:00
Mohamed Hegazy
bc51dd1e77
In ES6 use "export var x" for internal modules and enums instead of an after the fact "export {x};"
2015-03-24 21:54:36 -07:00
Mohamed Hegazy
ab5c09a9a6
Make isReferencedAliasDeclaration check children
2015-03-24 21:43:03 -07:00
Mohamed Hegazy
6c40c95313
Disallow export declarations in internal modules
2015-03-24 21:17:11 -07:00
Mohamed Hegazy
27c5d6fa50
use the correct check for import and export specifiers
2015-03-24 20:50:42 -07:00
Mohamed Hegazy
4361e6ea56
Merge branch 'exportEquals' into exportEqualsMerged
2015-03-24 20:32:36 -07:00
Ron Buckton
a60d5912a9
Cleanup of duplicate code due to merge
2015-03-24 20:30:03 -07:00
Ron Buckton
ea15225a9e
Merge pull request #2399 from Microsoft/decorators_min
2015-03-24 19:57:21 -07:00
CyrusNajmabadi
4f0dc28bdc
Merge pull request #2475 from Microsoft/completionEntryDetails
...
Share code between getCompletionsAtPosition and getCompletionEntryDetails.
2015-03-24 17:05:39 -07:00
Ron Buckton
f531193557
Updates to emit and updated baselines
2015-03-24 17:00:29 -07:00
Cyrus Najmabadi
63278ca037
Don't bother with a predicate. It doesn't provide enough of a perf savings.
2015-03-24 15:30:32 -07:00
Vladimir Matveev
20a0ac5f01
Merge pull request #2476 from Microsoft/immutableBindings
...
Disallow assignments to imported exports
2015-03-24 15:20:55 -07:00
Vladimir Matveev
e5e5ad89fd
Merge pull request #2471 from Microsoft/revisedNameGen2
...
Revised name generation #2 , fixes #2449 , #2447
2015-03-24 15:20:18 -07:00
Cyrus Najmabadi
614b1066dc
Merge branch 'master' into completionEntryDetails
2015-03-24 14:55:34 -07:00
Steve Lucco
baac6d8a60
Merge pull request #2450 from Microsoft/tsconfigServer
...
Add support to TypeScript server for tsconfig.json files.
2015-03-24 14:38:26 -07:00
Cyrus Najmabadi
927e60d592
Merge branch 'master' into findReferences
2015-03-24 14:11:20 -07:00
steveluc
48482071f6
Moved findConfigFile to program.ts. Addressed pull request comments.
2015-03-24 14:03:21 -07:00
Vladimir Matveev
f0cbcd6782
addressed PR feedback
2015-03-24 12:28:05 -07:00
Vladimir Matveev
0fdb2071ce
addressed PR feedback
2015-03-24 10:09:33 -07:00
Cyrus Najmabadi
eed6f0deca
Use an output format for quickinfo that more closely matches the original source.
...
i.e. use "var v: string" instead of "(var) v: string".
The parens case should only be used when we're using an english description instead of
an actual language construct.
2015-03-24 00:16:49 -07:00
Vladimir Matveev
c6f11f39e2
disallow assignments to imported exports
2015-03-23 23:01:27 -07:00
Cyrus Najmabadi
66b3fae09a
Remove the active completion session.
2015-03-23 21:44:27 -07:00
Cyrus Najmabadi
7388120386
Fix issue where getSemanticDiagnostics was returning undefined on a .d.ts file.
2015-03-23 19:02:46 -07:00
Anders Hejlsberg
73567756fa
Accepting new baselines
2015-03-23 17:03:54 -07:00
Vladimir Matveev
141c96b8f3
revised name generation
2015-03-23 16:16:29 -07:00
Ron Buckton
8dd9b9f2cb
Updated check and emit, updated baselines
2015-03-23 14:47:07 -07:00
Mohamed Hegazy
d2ead15767
Accept baseline changes
2015-03-23 12:47:39 -07:00
Mohamed Hegazy
d47445b175
Merge branch 'exportEquals' of https://github.com/Microsoft/TypeScript into exportEquals
2015-03-23 12:37:41 -07:00
Mohamed Hegazy
b9e503d891
Ellide uninstantiated exports in ES6
2015-03-23 12:37:22 -07:00
Mohamed Hegazy
86d561d2be
Check for instantiation on export default in ES6
2015-03-23 11:17:40 -07:00
Mohamed Hegazy
f90253f73e
Merge branch 'master' into exportEquals
...
Conflicts:
src/compiler/checker.ts
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/emitter.ts
tests/baselines/reference/es6ImportDefaultBinding.errors.txt
tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImport.errors.txt
tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImportInEs5.errors.txt
tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBinding.errors.txt
tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5.errors.txt
tests/baselines/reference/es6ImportDefaultBindingInEs5.errors.txt
2015-03-23 11:06:44 -07:00
Anders Hejlsberg
df03c686c4
Accepting new baselines
2015-03-22 12:19:38 -07:00
Anders Hejlsberg
e63854b40e
Adding basic tests
2015-03-22 12:18:56 -07:00
Anders Hejlsberg
f3fb85fa46
Accepting new baselines
2015-03-21 13:18:11 -07:00
Anders Hejlsberg
57a9fc54c8
Separate 'export default' and 'export ='
2015-03-21 13:12:39 -07:00
Cyrus Najmabadi
9ae0815e21
Treat 0x0085 as whitespace, not as a line terminator. This matches ES5 and ES6.
2015-03-20 16:53:47 -07:00
Cyrus Najmabadi
cbeeb519b1
Add a new findReferences API that buckets results with the definition they matched against.
2015-03-20 14:31:36 -07:00
Ron Buckton
0fb624a58b
PR feedback
2015-03-19 22:57:03 -07:00
Cyrus Najmabadi
85d71b2883
No emit should happen if there are declaration errors and noEmitOnErrors is specified.
2015-03-19 16:55:07 -07:00
Vladimir Matveev
79272d7cef
Merge pull request #2199 from Microsoft/enumCleanup
...
Fixes #2183 , #1797
2015-03-19 11:27:11 -07:00
Daniel Rosenwasser
3e7e9f43ca
Merge pull request #2415 from Microsoft/shorthandsOnNonExistentProperty
...
Fixed crash on goToDef when a shorthand property refers to an undefined entity
2015-03-18 18:31:54 -07:00
Daniel Rosenwasser
d06f71ef9c
Merge pull request #2413 from Microsoft/constAntlyAPainForUs
...
Fix getOccurrences for 'const' modifier with exported & ambient declarations
2015-03-18 16:08:34 -07:00