Vladimir Matveev
0a93768a40
remove unused code
2016-05-05 13:45:14 -07:00
Vladimir Matveev
2b5bbfee60
use CompilerHost.realpath to resolve actual location for symlinks
2016-05-05 13:38:09 -07:00
Mohamed Hegazy
c7f4cb8b3b
Format JOSN in failed error messages
2016-04-23 14:10:52 -07:00
Anders Hejlsberg
5ed6f30f1f
Merge pull request #8010 from Microsoft/controlFlowTypes
...
Control flow based type analysis
2016-04-22 14:18:56 -07:00
Zhengbo Li
3a8ebf109f
Merge pull request #7954 from zhengbli/supportScriptKindOnServer
...
Add API support for LS host to specify script kind of a file to open
2016-04-19 15:41:47 -07:00
zhengbli
cc58e2d7eb
Use string literal type for script kind names
2016-04-19 15:20:05 -07:00
Mohamed Hegazy
445cb7935e
Filter library text from RWC output
2016-04-19 10:53:13 -07:00
Paul van Brenk
96deb553d5
Script side implementation for Brace Completion. ( #7587 )
...
* Script side implementation for Brace Completion.
This needs updated Visual Studio components to work.
* Changed CharacterCodes to number, to keep the API simple
* CR feedback
* CR feedback and more JSX tests
* Swapped 2 comments
* typo
2016-04-15 11:38:42 -07:00
Daniel Rosenwasser
5b0b09ca62
Merge pull request #8056 from weswigham/remove-custom-no-null-rule
...
Remove custom no-null rule, use tslint builtin no null rule
2016-04-13 00:28:24 -07:00
Wesley Wigham
37a0e8f502
Remove custom no-null rule, use tslint builtin no null rule
2016-04-13 02:09:14 -04:00
Anders Hejlsberg
df62fa0ccb
Merge branch 'master' into controlFlowTypes
2016-04-12 09:37:34 -07:00
Sheetal Nandi
2db59d6753
Fix new error in compilerRunner about function declaration in block scope
2016-04-11 12:20:16 -07:00
Anders Hejlsberg
b1e9f43d28
Merge branch 'master' into controlFlowTypes
...
Conflicts:
src/compiler/checker.ts
tests/baselines/reference/typeAssertions.errors.txt
2016-04-10 09:30:30 -07:00
Vladimir Matveev
e5e7d47782
merge with origin/master
2016-04-08 14:38:47 -07:00
zhengbli
a2035a572e
Add API support for LS host to specify script kind of a file to open
2016-04-07 23:01:20 -07:00
Yui
f0a996e6fb
Fix rwc ( #7895 )
...
* Fix RWC
* Fix RWC
* Addres PR
2016-04-07 11:17:43 -07:00
Vladimir Matveev
e2a23fd598
remove compilationRoot parameter, use typesRoot/config file location as a root when computing primary locations
2016-04-05 16:33:11 -07:00
Vladimir Matveev
a4f30ff2a7
removed unused type assertions in harness
2016-04-01 21:26:39 -07:00
Vladimir Matveev
aaaa9c0895
expose type reference resolution for external consumption
2016-04-01 12:41:01 -07:00
Ryan Cavanaugh
05444eaabb
Support reference library directives
2016-04-01 12:19:16 -07:00
Nathan Shively-Sanders
ce68932475
Merge branch 'master' into this-function-types
2016-03-31 10:46:03 -07:00
Kanchalai Tanglertsampan
0ba4a2c9fe
Fix style and whitespace
2016-03-30 11:08:37 -07:00
Kanchalai Tanglertsampan
ade92873bc
Address PR: merge two functions to get-default-library-file
2016-03-30 10:24:11 -07:00
Anders Hejlsberg
c6f4de3607
Remove unnecessary cast
2016-03-29 19:58:43 -07:00
Kanchalai Tanglertsampan
ced3033cef
Address PR: remove debugger statement
2016-03-29 09:27:09 -07:00
Kanchalai Tanglertsampan
99f9efb169
Address PR: give default value for getDefaultLibrarySourceFile and use debug assert
2016-03-28 16:55:00 -07:00
Kanchalai Tanglertsampan
7e1470d5d4
Address PR: use getDefaultLibLocation? insteadof getUserDefinedLibFileName
2016-03-28 16:24:16 -07:00
Kanchalai Tanglertsampan
3fef5ba458
Implement --lib flag in the compiler and harness
2016-03-28 14:20:29 -07:00
Kanchalai Tanglertsampan
168118f12b
Modularize ES6 and ES7 library files
...
Separate ES6 library feature-by-feature into smaller files
Break ES6 library
Remove unused ES6
Rename core to es5
Update building library files in JakeFile
separate symbol into its own file
separate well-known symbol into its own file
remove iterable and symbol component from es6.string.d.ts
remove iterable and symbol components from es6.collection.d.ts
remove symbol components from es6.math.d.ts
remove iterable and symbol components from es6.object.d.ts
remove iterable and symbol components from es6.promise.d.ts
remove iterable and symbol component from es6.reflect.d.ts
remove iterable and symbol components from es6.proxy.d.ts
split regexp into its own file
remove unused file
rename es7 array-include d.ts file
Include new lib files into compilation
Move symbol.iterable to symbol.wellknown
Move functions/methods that use propertyKey back to its original interface
Rename dome.es6 to dom.iterable
Take dependency on dom.generated.d.ts
Rename importcore.d.ts to importes5.d.ts
Add es6.d.ts and es7.d.ts that contain /// references to their associated sub-features files
Update library compilation
Fix harness broken from renaming generated library files
Remove intl.d.ts
Remove preset lib files
Use lib.full.es6.d.ts instead of lib.es6.d.ts
Add intl.d.ts to es5.d.ts
Remove unused RegexpConstructor interface
Separate generator into its own file
Update Jakefile
Remove iterable-iterator dependence
Use lower case for lib filename
Include no-default comment
Remove newline on top of the file
2016-03-28 13:49:46 -07:00
Nathan Shively-Sanders
9e5f26048b
Merge branch 'master' into this-function-types
2016-03-28 10:12:25 -07:00
Vladimir Matveev
200f162bf6
rename LanguageService.getSourceFile to LanguageService.getNonBoundSourceFile and mark it as internal
2016-03-18 11:27:21 -07:00
Mohamed Hegazy
821723b839
RWC runner fixes for reading json files
2016-03-15 12:18:17 -07:00
Nathan Shively-Sanders
fa22250110
Merge branch 'master' into this-function-types
2016-03-09 13:36:42 -08:00
Ryan Cavanaugh
44aa7388ea
UMD support
2016-03-09 10:08:24 -08:00
Josh Soref
bb85817d7d
spelling fixes for src
...
Fixes:
* actual
* algorithm
* analyze
* applies
* collapse
* contrast
* definition
* diagnostic
* different
* displayed
* display
* documentation
* finite
* function
* highlight
* initialize
* intentional
* interface
* invariants
* items
* keystroke
* language
* literal
* original
* output
* position
* receive
* recorder
* response
* sequence
* simplicity
* statement
Changing a \ to a /
2016-02-25 20:08:44 +00:00
Jason Ramsay
2aa8f05e64
Fix to test harness and addressing CR comments
2016-02-16 22:44:43 -08:00
Jason Ramsay
a71fa457bd
Salsa: adding ScriptKind to ensure script blocks (.html, .aspx, .ascx, etc) are processed as JS
2016-02-16 17:37:24 -08:00
Nathan Shively-Sanders
e7aa7e4958
Merge branch 'master' into this-function-types
2016-02-16 13:57:25 -08:00
Kanchalai Tanglertsampan
81b0baeb50
Address PR
2016-02-12 14:12:42 -08:00
Kanchalai Tanglertsampan
6e753f38ed
Fix rwc in including files into compilation
2016-02-12 13:35:12 -08:00
Bill Ticehurst
6a8ccd0b56
Dont default to CommonJS modules for ES6 target
...
(cherry picked from commit 4a67dc5e08 )
2016-02-11 14:08:26 -08:00
Ryan Cavanaugh
25bdc742a9
Merge pull request #7007 from RyanCavanaugh/fix7002
...
Add undefined checks for malformed type tags
2016-02-10 13:16:45 -08:00
Ryan Cavanaugh
259a89e2cf
Move suppress option to appropriate place
2016-02-10 12:51:21 -08:00
Ryan Cavanaugh
d64bbc0bec
❤️ linter
2016-02-10 11:18:02 -08:00
Ryan Cavanaugh
5b1469aece
Add undefined checks for malformed type tags
...
Fixes #7002
2016-02-10 10:41:52 -08:00
vladima
0355d1fdc8
fix source maps for in-browser tests
2016-02-10 00:20:40 -08:00
Nathan Shively-Sanders
8032b06f33
Merge branch 'master' into this-function-types
2016-02-02 16:16:46 -08:00
Nathan Shively-Sanders
f6361cec66
Undo strictThis-clean changes
...
Also fix other lint.
2016-02-02 16:00:52 -08:00
Anders Hejlsberg
4421c52b83
Remove parserContextFlags from Node type
2016-01-31 14:00:54 -08:00
Anders Hejlsberg
83859c0d91
Merge ParserContextFlags into NodeFlags
2016-01-31 08:45:14 -08:00