Mohamed Hegazy
01267bc1f1
Merge branch 'master' into LSAPICleanup
...
Conflicts:
src/services/services.ts
2015-01-19 20:18:41 -08:00
Mohamed Hegazy
000206fd8f
Update servicesVersion
2015-01-19 20:03:35 -08:00
Mohamed Hegazy
8d5b65a533
Merge pull request #1654 from csnover/fix-1653
...
Use system line ending in services compiler host
2015-01-19 15:54:27 -08:00
Colin Snover
d736014f35
Expose optional getNewLine for language service hosts
...
Fixes #1653 .
2015-01-19 05:02:36 +00:00
Mohamed Hegazy
c9b1309025
Gracefully handel getChangeRange in Scriptsnapshot.fromString
2015-01-16 21:33:53 -08:00
Mohamed Hegazy
66f8257fc8
Remove isOpen from souceFile and LanugageServiceHost interfaces
2015-01-16 21:23:51 -08:00
Jason Freeman
1e8e65c839
Merge pull request #1699 from Microsoft/instrumenterFix
...
Change sys to ts.sys in instrumenter
2015-01-16 15:57:18 -08:00
Jason Freeman
ca9cd9af2b
Change sys to ts.sys in instrumenter
2015-01-16 15:25:39 -08:00
Daniel Rosenwasser
5bcb52f9b0
Merge pull request #1676 from Microsoft/disallowOptionalBindingParameters
...
Disallow optional destructured parameters in implementation signatures.
2015-01-15 16:55:14 -08:00
Daniel Rosenwasser
2a11222050
'may not' -> 'cannot'
2015-01-15 16:29:50 -08:00
Yui
778c91ef47
Merge pull request #1604 from Microsoft/addTestsForRestAndDefault
...
Add tests for rest and default
2015-01-15 14:32:57 -08:00
Yui T
6d678b7d4f
Merge branch 'master' into addTestsForRestAndDefault
2015-01-15 13:57:25 -08:00
Daniel Rosenwasser
8dd81ea4fc
Merge pull request #1673 from Microsoft/unDestructuringParameterProperties
...
Disallow destructured parameter properties
2015-01-15 13:39:47 -08:00
Yui
713e545fcd
Merge pull request #1675 from Microsoft/fixCurrentDirectoryForRwc
...
Pass information of RWC currentDirectory to the Harness
2015-01-15 10:56:28 -08:00
Yui T
02b78da64b
Merge branch 'master' into fixCurrentDirectoryForRwc
2015-01-15 10:36:45 -08:00
Yui T
ffbdf46f25
Address code review
2015-01-15 09:56:43 -08:00
Daniel Rosenwasser
75a1a8a493
Disallow optional destructured parameters in implementation signatures.
2015-01-14 17:25:46 -08:00
Mohamed Hegazy
93466517ad
Inline the return of createCompilerHost
2015-01-14 17:22:15 -08:00
Mohamed Hegazy
3434aa0bdd
Remove getDefaultLibFilename from the LS host interface as its result is never honored by the LS.
...
The LS operate only on a fixed list of files initialized by the host's getScriptFileNames(), if a file is not in this list, it will not be queried from the host, rather considered a missing file. Thus the result of getDefaultLibFilename()is either in the list, or will be ignored.
2015-01-14 17:20:27 -08:00
Mohamed Hegazy
adee215e6c
Make logger methods optional on the language service host
2015-01-14 17:05:50 -08:00
Daniel Rosenwasser
dafe7c8958
Added tests.
2015-01-14 17:02:31 -08:00
Yui T
6e8957da34
Pass information of rwc's currentDirectory to the compiler host in the Harness
2015-01-14 16:28:10 -08:00
Daniel Rosenwasser
e19ebc6d3e
Disallow binding patterns in parameter properties.
2015-01-14 16:15:00 -08:00
Daniel Rosenwasser
61e2eb6b89
Renamed tests.
2015-01-14 16:13:12 -08:00
Daniel Rosenwasser
f58e6fc4a1
Fixed incorrect tests.
2015-01-14 16:08:29 -08:00
Mohamed Hegazy
3c59b9fe9c
Add getDefaultLibraryFilePath to retrive the default lib file path for node package consumers
2015-01-14 15:52:53 -08:00
Daniel Rosenwasser
bfe63cc4cb
Merge pull request #1648 from Microsoft/contextualTypeParenthesizedExpressions
...
Contextually type parenthesized expressions
2015-01-14 14:52:07 -08:00
Yui
d391a8a148
Merge pull request #1670 from Microsoft/fixTypeGuardWithInstanceOf
...
Fix narrow type for instanceOf and add testcases
2015-01-14 11:50:43 -08:00
Yui T
cf81938ec8
Merge branch 'master' into fixTypeGuardWithInstanceOf
2015-01-14 11:50:11 -08:00
Yui T
fdadd3c18e
Fix narrow type for instanceOf and add testcases
2015-01-14 11:30:58 -08:00
Vladimir Matveev
0518124566
Merge pull request #1666 from Microsoft/noFormattingOnFirstLine
...
do not apply format on enter for the first line
2015-01-14 10:13:14 -08:00
Mohamed Hegazy
c3e47979f3
Merge pull request #1661 from DickvdBrink/fix-perftsc
...
Fix jake perftsc task
2015-01-13 21:32:47 -08:00
Vladimir Matveev
2ce6c5635d
do not apply format on enter for the first line
2015-01-13 19:11:21 -08:00
Jason Freeman
4a1851c7b8
Merge pull request #1562 from csnover/fix-1133
...
Ensure specialized signatures are always at the top when performing call candidate resolution
2015-01-13 17:33:57 -08:00
Daniel Rosenwasser
e20b22c18b
Minor changes.
2015-01-13 16:46:41 -08:00
Dick van den Brink
e9f098bdfd
Fix jake perftsc task
...
Added ts module prefix andd depend on types.ts (for ts.Map<string>)
2015-01-14 01:34:17 +01:00
Daniel Rosenwasser
372b0a4e15
Updated parser lookahead for modifiers to anticipate object literals.
2015-01-13 16:24:23 -08:00
Daniel Rosenwasser
b434ee42a8
Added tests.
2015-01-13 16:06:34 -08:00
Vladimir Matveev
87bcdff9a8
Merge pull request #1660 from Microsoft/saveNumericTokensInScanner
...
save token when scanning binary\octal literals
2015-01-13 15:42:49 -08:00
Vladimir Matveev
a9a994caf6
Merge pull request #1658 from Microsoft/emptyParamList
...
when formatting lists check if end list token still belongs to the paren...
2015-01-13 14:40:33 -08:00
Vladimir Matveev
f2338016df
save token when scanning binary\octal literals
2015-01-13 14:37:55 -08:00
Vladimir Matveev
150720bd70
when formatting lists check if end list token still belongs to the parent node
2015-01-13 14:22:53 -08:00
Anders Hejlsberg
cbecae3cf3
Merge pull request #1657 from Microsoft/unionTypeGuards
...
Improved union type guards
2015-01-13 11:59:54 -08:00
Vladimir Matveev
8256ddf756
Merge pull request #1647 from Microsoft/badPropNamesInConstEnums
...
disallow incorrect literal property names in indexed access for const en...
2015-01-13 11:33:30 -08:00
Mohamed Hegazy
118b7a984a
remove unnecessary call sourceFile.getSourceFile()
2015-01-13 09:51:47 -08:00
Mohamed Hegazy
39355985b1
Update LKG
2015-01-13 09:39:10 -08:00
Mohamed Hegazy
a99b958484
Manual port of fixe for #1593 from release-1.4
2015-01-13 09:30:54 -08:00
Mohamed Hegazy
32d4b4d045
Merge pull request #1650 from DickvdBrink/unused-stuff
...
Remove unused timer.ts file
2015-01-12 15:18:13 -08:00
Anders Hejlsberg
59e266de02
Improved handing of union types in type guards
2015-01-12 14:51:20 -08:00
Dick van den Brink
e4701a6600
Remove unused timer.ts file
2015-01-12 23:34:21 +01:00