Zhengbo Li
321cfab2d7
CR feedback
2015-05-29 18:03:41 -07:00
Zhengbo Li
c597bd63fc
Add APIs to provide project info for a given file
...
Return the path of the config file and the file name list of the project
(optionally). This is helpful in differentiate the build command
behavior for loose files and configured projects in sublime.
2015-05-29 17:20:41 -07:00
Daniel Rosenwasser
3cf9eca0c0
Added the iterator symbol to 'IArguments'.
2015-05-29 15:06:43 -07:00
Cyrus Najmabadi
302a0da7e7
Add tests for jsdoccomments.
2015-05-28 11:49:11 -07:00
Cyrus Najmabadi
9aab98419b
Parsing support for jsDocComments.
2015-05-28 10:14:18 -07:00
Ben Duffield
538978e3be
fix constructors for DateTimeFormat, NumberFormat
...
they were incorrectly producing a Collator
2015-05-27 18:25:01 +01:00
Vladimir Matveev
f1789acb47
remove space after close bracket only if next token does not start block in function declaration context
2015-05-26 16:25:09 -07:00
Anders Hejlsberg
8918c8af17
Merge pull request #3239 from Microsoft/cyclicTypeInstantiation
...
Detect cycles during type instantiation
2015-05-21 15:13:35 -07:00
Ivo Gabe de Wolff
3bfc5359ad
emitWithStatement should emit a WithStatement
2015-05-21 22:02:02 +02:00
Anders Hejlsberg
ebcdd85ad0
Changing type mapping cache to be a dictionary
2015-05-21 09:18:55 -07:00
Anders Hejlsberg
de8597ca8c
Add cache to instantiateType function to break cycles
2015-05-20 16:30:50 -07:00
Ron Buckton
d080f47003
Fix for #2971 , adds missing logic in checkFunctionExpressionBodies
2015-05-19 16:17:12 -07:00
Yui T
67c27ee766
Remove check for declare modifier on interface
2015-05-18 18:17:55 -07:00
Jason Freeman
5bea6a9762
Merge pull request #3066 from tinganho/newWithSpread
...
New with spread
2015-05-18 10:23:30 -07:00
Tingan Ho
ccd3de33f3
Combining else blocks
2015-05-17 09:27:20 +08:00
Daniel Rosenwasser
0287d2fc80
Merge pull request #3185 from Microsoft/variableStatementComments
...
Don't emit leading/trailing comments for omitted variable statements
2015-05-16 15:50:47 -07:00
Tingan Ho
78a36c0cee
Fixes concat style
2015-05-16 16:42:49 +08:00
Vladimir Matveev
74f1dd61ad
Merge pull request #3183 from Microsoft/marshalling_issue
...
perf: during file update request only changed portion of the text from the …
2015-05-15 17:09:15 -07:00
Vladimir Matveev
66a91c33fb
use textSpanEnd instead of handrolled version
2015-05-15 16:36:58 -07:00
Daniel Rosenwasser
bd2139694a
Added change to omit comments for variable statements when appropriate.
2015-05-15 16:32:11 -07:00
Vladimir Matveev
d3a2dc0c64
addressed PR feedback
2015-05-15 15:28:02 -07:00
Vladimir Matveev
2c4801ea47
during file update request only changed portion of the text from the host
2015-05-15 14:28:02 -07:00
Anders Hejlsberg
e3812ff8f2
Merge pull request #3157 from Microsoft/fixUnionReduction
...
Fix infinite recursion in union type reduction
2015-05-15 11:19:32 -07:00
Anders Hejlsberg
194680f179
Addressing CR feedback
2015-05-15 10:24:24 -07:00
Vladimir Matveev
68a4deed28
Merge pull request #3144 from Microsoft/fixRootPrefix
...
handle triple slashes in url schema 'file' correctly
2015-05-15 08:54:51 -07:00
Vladimir Matveev
8582d80459
addressed PR feedback
2015-05-15 00:42:04 -07:00
Jason Freeman
28c9ff1d84
Merge pull request #3175 from Microsoft/release-1.5
...
Merge release-1.5 into master
2015-05-15 00:07:24 -07:00
Tingan Ho
e9f8a6f701
Renamed alwaysCopy to needsUniqueCopy
2015-05-15 09:18:24 +08:00
Tingan Ho
fb63aead59
Adds alwaysCopy argument
2015-05-15 08:56:24 +08:00
Tingan Ho
b88d5422d2
Adds an always emit of pair of parens in spread syntax in new expression in ES5
2015-05-15 08:38:45 +08:00
Tingan Ho
1be34f191e
Changes to emitCallTarget
2015-05-15 08:38:45 +08:00
Tingan Ho
d13081685b
Adds spread syntax in new expression in ES5
2015-05-15 08:38:44 +08:00
Yui T
af3d67dd92
Merge branch 'master' into useCRLFByDefaultInTest
2015-05-14 15:07:36 -07:00
Yui T
afc0847e8b
Address code review
2015-05-14 15:06:30 -07:00
Jason Freeman
26f73d4dc8
Add a comment in getTypeOfAlias
2015-05-14 13:20:29 -07:00
Daniel Rosenwasser
ce98da3b27
Merge pull request #3085 from tinganho/nonInitExport
...
No emit on non initialized exports
2015-05-13 18:42:21 -07:00
Jason Freeman
8922a09039
Only call getTypeOfSymbol recursively if it's a value
2015-05-13 17:45:09 -07:00
Anders Hejlsberg
ec18bd0816
Removing stack from removeSubtypes method
2015-05-13 16:49:51 -07:00
Anders Hejlsberg
a8732d756a
Merge branch 'master' into fixUnionReduction
...
Conflicts:
tests/baselines/reference/unionTypeWithRecursiveSubtypeReduction2.errors.txt
tests/baselines/reference/unionTypeWithRecursiveSubtypeReduction2.js
tests/cases/compiler/unionTypeWithRecursiveSubtypeReduction2.ts
2015-05-13 16:35:03 -07:00
Paul van Brenk
7dd1f3fc13
Merge pull request #2979 from Microsoft/completionFixes
...
Completion fixes for issues #2882 , #2693 , and #2494
2015-05-13 15:53:31 -07:00
Jason Freeman
d5a9affac4
Merge branch 'release-1.5'
2015-05-13 15:43:27 -07:00
Anders Hejlsberg
99ba94e577
Add circularity check to getReducedTypeOfUnionType
2015-05-13 15:26:25 -07:00
Paul van Brenk
591e882e4d
Added comment for Daniel
2015-05-13 15:15:12 -07:00
Paul van Brenk
35aad18097
alligned comments
2015-05-13 14:48:40 -07:00
Paul van Brenk
03876fff4b
Additional cases added for creating new variables.
2015-05-13 14:43:17 -07:00
Yui T
3bd96e328a
use CRLF by default
2015-05-13 13:47:56 -07:00
Paul van Brenk
fb68321c14
Merge branch 'master' into completionFixes
2015-05-13 13:28:02 -07:00
Vladimir Matveev
71709be6d2
handle triple slashes in url schema 'file' correctly
2015-05-12 22:59:29 -07:00
Vladimir Matveev
57b6f0a846
Merge pull request #3131 from Microsoft/fast_version_check
...
add optional 'getProjectVersion' method to perform fast up-to-date ch…
2015-05-12 21:16:10 -07:00
Tingan Ho
e7fe5d78a3
Adds non emit on non-initialized export
2015-05-13 10:58:12 +08:00