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
20d1f73087
Add support for exporting imported symbols
2015-03-22 09:10:10 -07:00
CyrusNajmabadi
fcd1e1f166
Merge pull request #2448 from Microsoft/newlines
...
Treat 0x0085 as whitespace, not as a line terminator. This matches ES5 and ES6.
2015-03-21 22:37:11 -07:00
Anders Hejlsberg
a1525157c7
Emit and use '__export' helper for 'export *' declarations
2015-03-21 15:46:16 -07:00
Anders Hejlsberg
6838d47834
Simplify collection of external module info in emitter
2015-03-21 15:09:54 -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
CyrusNajmabadi
0d2a5bbf7c
Merge pull request #2431 from Microsoft/noEmitOnErrorCompileOnSave
...
No emit should happen if there are declaration errors and noEmitOnErrors is specified.
2015-03-19 21:23:58 -07:00
Cyrus Najmabadi
791a0e4e39
Don't actually emit declarations when we just want the diagnostics for them.
2015-03-19 21:12:25 -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
Jason Freeman
e2db46ecc7
Merge pull request #2419 from Microsoft/instrumenterLibraryTargets
...
Add libraryTargets to prereqs of instrumenter
2015-03-18 17:44:09 -07:00
Jason Freeman
59338ed566
Add libraryTargets to prereqs of instrumenter
2015-03-18 17:23:40 -07:00
Vladimir Matveev
e8b0985753
Merge pull request #2417 from Microsoft/separateDeclEmit_2
...
extract declaration emitter to separate file (part 2)
2015-03-18 16:57:38 -07:00
Vladimir Matveev
49c4b5ac13
extract declaration emitter to separate file
2015-03-18 16:37:52 -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
Daniel Rosenwasser
3b453e68c8
Extended test.
2015-03-18 16:03:33 -07:00
Vladimir Matveev
371f2df90d
Merge pull request #2139 from Microsoft/DtsExports_all
...
Exports + .d.ts emit
2015-03-18 14:45:05 -07:00
Daniel Rosenwasser
acd0fdfba5
Fixed issue where goToDef on a shorthand property of an undefined entity would crash.
2015-03-18 14:43:16 -07:00
Daniel Rosenwasser
773530c699
Fixed test.
2015-03-18 14:43:07 -07:00
Mohamed Hegazy
f96e52c6a6
Merge pull request #2414 from Microsoft/createSourceFile
...
Expose setParentNodes on createCompilerHost
2015-03-18 14:35:04 -07:00
Vladimir Matveev
2ad40c25c9
addressed PR feedback
2015-03-18 14:29:02 -07:00
Daniel Rosenwasser
2902aa2ba3
Added tests.
2015-03-18 14:21:17 -07:00
Mohamed Hegazy
7462915baf
Expose setParentNodes on createCompilerHost
2015-03-18 14:11:50 -07:00
Daniel Rosenwasser
355dcd11c8
Merge pull request #2396 from Microsoft/completionsInIncompleteConstructs
...
Better completions in incomplete constructs
2015-03-18 14:11:05 -07:00
Daniel Rosenwasser
5cbf667d78
Fixed the contextual check for modifiers to check the original modifier instead of the flags of the node.
2015-03-18 14:07:42 -07:00
Daniel Rosenwasser
9a507fa5bf
Fixed test.
2015-03-18 14:06:58 -07:00
Daniel Rosenwasser
ce3a91c186
Added tests for const modifiers.
2015-03-18 13:55:09 -07:00
Daniel Rosenwasser
ee073e19f0
Remove space.
2015-03-18 12:27:28 -07:00
Daniel Rosenwasser
e82ea7df0f
Added test for completions at beginning of file.
2015-03-18 12:12:57 -07:00
Daniel Rosenwasser
ec4278972d
Addressed CR feedback.
2015-03-18 12:08:09 -07:00
CyrusNajmabadi
2f7db61f7c
Merge pull request #2409 from Microsoft/diagnosticCodes
...
Fix diagnostic codes.
2015-03-17 23:16:05 -07:00
steveluc
34e612c9fc
Add handling of hard tabs in server buffers. Change message protocol to
...
pass locations as line/offset pairs instead of line/column pairs, where
offset is a 1-based character offset from the beginning of the line.
Offset will be equal to column if the line contains no tabs. If the
line contains tabs, offset will be less than or equal to column,
depending on how many tabs are before the offset. Also added tab size
and indent size to file open message.
2015-03-17 22:58:12 -07:00
Cyrus Najmabadi
7bcd18fe28
Fix diagnostic codes.
2015-03-17 22:56:45 -07:00
steveluc
afc142c0f5
Merge remote-tracking branch 'origin/master' into serverConfigurationMessage
2015-03-17 22:44:31 -07:00
CyrusNajmabadi
3a75350c42
Merge pull request #2408 from Microsoft/pinnedComments2
...
Simplify comment emit.
2015-03-17 19:30:55 -07:00
Cyrus Najmabadi
035ad42c30
Simplify comment emit.
2015-03-17 19:25:40 -07:00
CyrusNajmabadi
d2ea675d09
Merge pull request #2406 from Microsoft/pinnedComments
...
Simplify code for emitting comments.
2015-03-17 19:18:36 -07:00
Cyrus Najmabadi
63e4420887
Simplify flow control.
2015-03-17 19:13:00 -07:00
Cyrus Najmabadi
9582d7cf28
Add test for pinned comments.
2015-03-17 18:43:39 -07:00
Cyrus Najmabadi
36b99511c6
Simplify code for emitting comments.
...
Also, always emit pinned comments, even when the 'removeComments' compiler
option is provided.
2015-03-17 18:34:42 -07:00
Vladimir Matveev
b82fd590d2
merge with master, accept baselines
2015-03-17 18:23:43 -07:00
Vladimir Matveev
c38e065b6b
do not emit non-exported import declarations that don't have import clause
2015-03-17 18:00:40 -07:00
steveluc
e1d7389f3e
Merge remote-tracking branch 'origin/master' into
...
serverConfigurationMessage.
2015-03-17 17:51:16 -07:00
Vladimir Matveev
17f3e1462d
Merge pull request #2402 from Microsoft/dropInternedStrings
...
drop interned indentation prefixes if format options has changed
2015-03-17 17:17:53 -07:00
Vladimir Matveev
e4f6f167f6
merge with master, accepted baselines
2015-03-17 17:05:30 -07:00
Paul van Brenk
bb37ea99c1
Merge pull request #2400 from Microsoft/toolsversion
...
Add toolsversion to shim so we can read it from VS.
2015-03-17 16:46:48 -07:00
Vladimir Matveev
8afde73e0b
drop interned indentation prefixes if format options has changed
2015-03-17 16:34:13 -07:00