Commit graph

309 commits

Author SHA1 Message Date
Mohamed Hegazy 33abdadbeb Fix #8470: use ts.normalizePath before checking filename idenity 2016-05-05 11:22:12 -07:00
Vladimir Matveev 1a85c5f54c fix issue with optionality of CompilerHost 2016-04-10 20:42:22 -07:00
Vladimir Matveev e5e7d47782 merge with origin/master 2016-04-08 14:38:47 -07:00
Nathan Shively-Sanders 3704ad74d1 Merge pull request #6739 from Microsoft/this-function-types
This function types
2016-04-07 10:31:01 -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
Yui 11887ccc29 Adjustmodularize lib
* Merge array, function, math, number, object, regexp, string into es2015.core

* Update baselines

* Add node.d.ts; need to fix head of the output

* Update unittests from add node as an option for --lib

* Move interface declaration into NodeJS namespace

* Add console into Node.d.ts

* Add compiler baseline-tests for using --lib node

* Change name from full.es2015 to es6. This is a es6 library file used when no --lib is specified and --target is es6

* Remove add node.d.ts into src/lib

Remove node.d.ts

Revert "Update unittests from add node as an option for --lib"

This reverts commit 5169273680.

Revert "Add compiler baseline-tests for using --lib node"

This reverts commit 17e437b4c7.
2016-04-04 22:02:12 -07:00
Vladimir Matveev 12d90f3be9 added tests 2016-04-01 12:41:45 -07:00
Nathan Shively-Sanders ce68932475 Merge branch 'master' into this-function-types 2016-03-31 10:46:03 -07:00
Yui 68bdbe04e7 Merge pull request #7715 from Microsoft/6974AddLibImplementation
6974 add lib implementation
2016-03-30 14:22:41 -07:00
Kanchalai Tanglertsampan 7e1470d5d4 Address PR: use getDefaultLibLocation? insteadof getUserDefinedLibFileName 2016-03-28 16:24:16 -07:00
Kanchalai Tanglertsampan 623eef6968 Update unittest for --lib 2016-03-28 14:20:54 -07:00
Kanchalai Tanglertsampan 3fef5ba458 Implement --lib flag in the compiler and harness 2016-03-28 14:20:29 -07:00
Nathan Shively-Sanders 9e5f26048b Merge branch 'master' into this-function-types 2016-03-28 10:12:25 -07:00
Yuichi Nukiyama b16f8e1be4 Throw error when tsconfig.json has excludes without exclude property 2016-03-28 21:23:59 +09:00
Anders Hejlsberg 3853bb86d0 Merge pull request #7140 from Microsoft/strictNullChecks
Non-nullable types
2016-03-21 16:52:43 -07:00
Anders Hejlsberg 413d9a639f Merge branch 'master' into strictNullChecks
Conflicts:
	src/compiler/diagnosticMessages.json
	src/compiler/types.ts
	tests/baselines/reference/typeGuardOfFormTypeOfEqualEqualHasNoEffect.symbols
	tests/baselines/reference/typeGuardOfFormTypeOfNotEqualHasNoEffect.symbols
2016-03-21 16:21:02 -07:00
Vladimir Matveev 497b4c341c revert changes in the signature of 'convertCompilerOptionsFromJson' 2016-03-19 20:59:32 -07:00
Kanchalai Tanglertsampan 9e2df0459e Address PR 2016-03-16 16:35:51 -07:00
Kanchalai Tanglertsampan f7a55fa5a2 Remove --lib 2016-03-16 14:08:49 -07:00
Kanchalai Tanglertsampan 92bee6a533 Unify error message for custom-type compiler option 2016-03-16 13:49:36 -07:00
Kanchalai Tanglertsampan 4d915e59d9 Using ts.filter instead of just .filter 2016-03-15 17:04:18 -07:00
Kanchalai Tanglertsampan 95b43dac29 Handle default compiler-options and typing-options 2016-03-15 16:30:11 -07:00
Kanchalai Tanglertsampan f4e920e2c1 Add unittest for testing convert compiler-options and typing-options 2016-03-15 11:45:21 -07:00
Kanchalai Tanglertsampan 157b8e7456 Add a new unittest for command line parsing for --lib 2016-03-15 11:44:33 -07:00
Anders Hejlsberg b497243f90 Merge branch 'master' into strictNullChecks 2016-03-14 16:31:29 -07:00
Kanchalai Tanglertsampan c7df7770cd Add unittest for parsing --lib in tsconfig 2016-03-14 15:53:57 -07:00
Vladimir Matveev 2b2092b1a2 find module augmentations in preprocessor 2016-03-14 13:30:38 -07:00
Nathan Shively-Sanders fa22250110 Merge branch 'master' into this-function-types 2016-03-09 13:36:42 -08:00
Anders Hejlsberg cf9e08b75c Merge branch 'master' into strictNullChecks
Conflicts:
	src/compiler/checker.ts
2016-03-09 13:00:59 -08:00
Anders Hejlsberg ed958119a1 Fix unit test 2016-03-03 11:18:33 -08:00
Bill Ticehurst cbd7336914 Changed how parserContextFlags are handled in tests
(cherry picked from commit b5da80202f)
2016-03-01 11:08:40 -08:00
Bill Ticehurst 086fb0ee0a Fix failing JSDocParser tests
(cherry picked from commit ae27b89847)
2016-03-01 11:07:08 -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
Nathan Shively-Sanders e7aa7e4958 Merge branch 'master' into this-function-types 2016-02-16 13:57:25 -08:00
Vladimir Matveev 9960064bc3 classic resolution: don't perform folder walk if module name is relative 2016-02-12 16:30:19 -08:00
Vladimir Matveev 7d2ce0f5c1 fix falling tests and linter issues
(cherry picked from commit 7404b901b9)
2016-02-11 14:23:01 -08:00
Bill Ticehurst e4462975c8 Fixed up paths in fourslash tests
(cherry picked from commit ed1eb2b274)
2016-02-11 14:07:35 -08:00
Nathan Shively-Sanders 8032b06f33 Merge branch 'master' into this-function-types 2016-02-02 16:16:46 -08:00
Vladimir Matveev f94c7202d2 update baselines 2016-02-01 15:54:14 -08:00
Vladimir Matveev b0b0712c73 suppress validation of output paths in transpile scenarios 2016-02-01 10:36:47 -08:00
Nathan Shively-Sanders a4f1154377 Fix free function bug in cachingInServerLSHost 2016-01-29 14:51:35 -08:00
guybedford 94fe3e0fb2 set __moduleName from context.id argument 2016-01-29 18:42:23 +02: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
Vladimir Matveev 3d4e2203b8 merge with origin/master 2016-01-06 14:16:56 -08:00
Ryan Cavanaugh 5eb1cc44f6 Merge remote-tracking branch 'upstream/master' into jsDoc2 2016-01-06 13:51:45 -08:00
Ryan Cavanaugh e223b2e53c Clean up unrelated changes 2016-01-06 12:47:26 -08:00
Vladimir Matveev 36af815bba add optional 'directoryExists' method to hosts to reduce amount of disk probings that are known to fail 2016-01-06 12:37:52 -08:00
Vladimir Matveev 73c94d07a5 Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution 2016-01-05 13:34:48 -08:00
Vladimir Matveev dbe8489087 Revert "Merge pull request #6098 from guybedford/master"
This reverts commit 996f16940e, reversing
changes made to 51fd41b0c7.
2016-01-05 10:40:24 -08:00