Commit Graph

863 Commits

Author SHA1 Message Date
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
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
Nathan Shively-Sanders
ca16209032 Make compiler strictThis clean. 2016-01-29 14:43:50 -08:00
Vladimir Matveev
8a8ed0a871 update implementation based on the results of design meeting 2016-01-25 11:49:26 -08:00
Vladimir Matveev
cb3e93f75b Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution 2016-01-24 19:57:13 -08:00
Ryan Cavanaugh
00398d6c9e Remove unrelated changes 2016-01-22 15:41:00 -08:00
Ryan Cavanaugh
64c2d66ccb Merge branch 'master' into jsDocFinal 2016-01-22 15:10:02 -08:00
vladima
39ad0774ae merge with origin/master 2016-01-11 22:49:19 -08:00
Mohamed Hegazy
869b81162f Merge pull request #6019 from Microsoft/sourceMapDestructuring
Fixes for source map of destructuring downlevel syntax
2016-01-11 14:36:28 -08:00
Ryan Cavanaugh
3c715dd094 Merge remote-tracking branch 'upstream/master' into jsDoc2 2016-01-11 11:39:20 -08:00
Vladimir Matveev
c1b031aa73 fix linter issues 2016-01-08 22:43:21 -08:00
Vladimir Matveev
5c0d1a8afa added jsx classification support to fourslash and tests 2016-01-08 22:30:26 -08:00
Ryan Cavanaugh
8e3daa4b07 Merge remote-tracking branch 'upstream/master' into jsDoc2 2016-01-07 15:57:30 -08:00