332 Commits

Author SHA1 Message Date
Richard Knoll
28239f2e16 Do not exclude outDir if exclude is given 2016-09-01 12:57:23 -07:00
Nathan Shively-Sanders
c0309fa78e Fix crash when checking module exports for export=
Also make maxNodeModuleJsDepth default to 0 so that incorrect tsconfigs
now let the compiler spend less time compiling JS that is found in
node_modules (especially since most people will already have the d.ts
and want ignore the JS anyway). jsconfig still defaults to 2.
2016-08-25 09:21:31 -07:00
Yui
da8fc5d5a9 Fix 10289: correctly generate tsconfig.json with --lib (#10355)
* Separate generate tsconfig into its own function and implement init with --lib

# Conflicts:
#	src/compiler/tsc.ts

* Add tests and baselines; Update function name

Add unittests and baselines
Add unittests and baselines for generating tsconfig

Move unittest into harness folder

Update harness tsconfig.json

USe correct function name

* Use new MapLike interstead. Update unittest

# Conflicts:
#	src/compiler/commandLineParser.ts

* Update JakeFile

* Add tests for incorrect cases

* Address PR : remove explicity write node_modules
2016-08-17 15:23:28 -07:00
Mohamed Hegazy
5843bbbd76 Merge branch 'noErrorTruncation' of https://github.com/gcnew/TypeScript into gcnew-noErrorTruncation
# Conflicts:
#	src/compiler/diagnosticMessages.json
2016-08-17 14:22:01 -07:00
Ron Buckton
889e5ac7ae Clean up/move some Map helper functions. 2016-08-16 11:15:15 -07:00
Ron Buckton
1dc495adf8 Migrate additional MapLikes to Maps. 2016-08-15 16:41:32 -07:00
Ron Buckton
7f0a02ff02 Migrated more MapLikes to Maps 2016-08-15 15:03:55 -07:00
Anders Hejlsberg
65e1293b2e Optimize performance of maps 2016-08-10 16:47:06 -07:00
gcnew
46f5e5fad1 Surface noErrorTruncation option 2016-08-06 01:23:31 +03:00
Wesley Wigham
acb003adce Add lint enforcing line endings (#9942) 2016-07-26 10:28:49 -07:00
Richard Knoll
bd48e55878 Merge remote-tracking branch 'origin/master' into explicitly_included_globs 2016-07-22 12:04:50 -07:00
Wesley Wigham
2a26beb9d8 Add performance framework from transforms branch (#9536)
* Port performance tools from transforms branch

* Use friendlier names, add compiler option to print all recorded measures

* Always print total time

* + -> .getTime
2016-07-19 15:10:29 -07:00
Tingan Ho
d66837bac8 Fixes capitalization (#9736) 2016-07-15 11:52:26 -07:00
Richard Knoll
8325565f0a Add support for including dotted and .min.js files explicitly in include 2016-07-05 13:40:49 -07:00
Richard Knoll
9eba8d751d Handle relative paths in tsconfig exclude and include globs 2016-07-01 10:21:23 -07:00
Bill Ticehurst
8bf3d54524 Merge pull request #7075 from Microsoft/loadJsFromModules
Load JavaScript modules from Node packages
2016-06-27 18:42:12 -07:00
Yui
9cc48c829d Remove unused compiler option (#9381) 2016-06-27 15:58:29 -07:00
zhengbli
d9b8fad728 Fix type of the disableSizeLimit option 2016-06-27 11:46:58 -07:00
Bill Ticehurst
0174bda004 Merge branch 'master' into loadJsFromModules 2016-06-26 23:24:26 -07:00
Sarangan Rajamanickam
a0a96667ed Unused identifiers compiler code (#9200)
* Code changes to update references of the Identifiers

* Added code for handling function, method and coonstructor level local variables and parameters

* Rebased with origin master

* Code changes to handle unused private variables, private methods and typed parameters

* Code changes to handle namespace level elements

* Code changes to handle unimplemented interfaces

* Code to optimize the d.ts check

* Correct Code change to handle the parameters for methods inside interfaces

* Fix for lint error

* Remove Trailing whitespace

* Code changes to handle interface implementations

* Changes to display the error position correctly

* Compiler Test Cases

* Adding condition to ignore constructor parameters

* Removing unnecessary tests

* Additional changes for compiler code

* Additional changes to handle constructor scenario

* Fixing the consolidated case

* Changed logic to search for private instead of public

* Response to PR Comments

* Changed the error code in test cases as result  of merge with master

* Adding the missing file

* Adding the missing file II

* Response to PR comments

* Code changes for checking unused imports

* Test Cases for Unused Imports

* Response to PR comments

* Code change specific to position of Import Declaration

* Code change for handling the position for unused import

* New scenarios for handling parameters in lambda function, type parameters in methods, etc.

* Additional scenarios based on PR comments

* Removing a redundant check

* Added ambient check to imports and typeparatmeter reporting

* Added one more scenario to handle type parameters

* Added new scenario for TypeParameter on Interface

* Refactoring the code

* Added scenario to handle private class elements declared in constructor.

* Minor change to erro reporting
2016-06-24 15:38:39 -07:00
Bill Ticehurst
4d4f679ec4 Merge branch 'master' into loadJsFromModules 2016-06-21 09:03:38 -07:00
Richard Knoll
f817ffaf47 Merge branch 'master' into glob2_merged 2016-06-17 17:55:15 -07:00
Richard Knoll
95072aab82 Responding to PR feedback 2016-06-17 17:32:10 -07:00
Richard Knoll
08ca1c0dff Merge branch 'master' into glob2_merged 2016-06-17 15:34:06 -07:00
zhengbli
335443693f Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixLargeProjectTry2
# Conflicts:
#	src/compiler/program.ts
#	tests/cases/unittests/tsserverProjectSystem.ts
2016-06-15 14:36:45 -07:00
Wesley Wigham
9d023a83fe Merge pull request #9090 from weswigham/allow-empty-lists-command-line
Allow empty lists on command line
2016-06-14 00:29:15 -07:00
Ryan Cavanaugh
e8ac1abbd6 Baseline fix, CR comments, lint 2016-06-13 09:33:49 -07:00
Ryan Cavanaugh
576f09f531 Merge 2016-06-10 15:47:51 -07:00
Ryan Cavanaugh
9827b638b4 Implicit type inclusion changes 2016-06-10 15:44:11 -07:00
Wesley Wigham
d20459607b
Remove single-comma empty array form 2016-06-10 14:35:13 -07:00
Wesley Wigham
a3a1c49739
Allow empty lists on command line 2016-06-10 14:14:32 -07:00
zhengbli
e41b10bbc7 add test and spit commandLineParser changes to another PR 2016-06-10 02:06:31 -07:00
zhengbli
4383f1a15f Refactoring 2016-06-09 16:28:42 -07:00
zhengbli
94d44ad81d Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixLargeProjectTry2
# Conflicts:
#	src/compiler/commandLineParser.ts
#	src/compiler/program.ts
#	src/compiler/sys.ts
#	src/compiler/types.ts
#	src/server/editorServices.ts
#	src/server/session.ts
2016-06-09 14:58:28 -07:00
Andy
75b82938f5 Merge pull request #8988 from Microsoft/transpile_options
Support using string values in enums for CompilerOptions in transpile
2016-06-09 09:04:23 -07:00
Mohamed Hegazy
d36d2b3eaa Merge pull request #8771 from YuichiNukiyama/fix8505
add SharedArrayBuffer
2016-06-08 13:27:09 -07:00
Yui
899f667544 Recognize relative path using in outDir property (#9025)
* Recognize relative path using in outDir property

* Add projects tests

* Add project .json files

* Update baselines
2016-06-08 13:20:47 -07:00
Andy Hanson
d9ec5125be Support using string values in enums for CompilerOptions in transpile methods 2016-06-06 11:31:22 -07:00
Richard Knoll
0415b95fd2 Passing regular expressions to native hosts 2016-05-31 10:11:04 -07:00
Richard Knoll
50f0033e61 Merge branch 'master' into glob2_merged
Conflicts:
	src/compiler/sys.ts
	src/harness/harnessLanguageService.ts
	tests/cases/unittests/cachingInServerLSHost.ts
	tests/cases/unittests/tsconfigParsing.ts
2016-05-26 10:04:54 -07:00
Richard Knoll
c340c88706 Bringing back excludes error and fixing faulty test 2016-05-25 17:08:24 -07:00
Richard Knoll
db856431e8 Fixing linter and test errors 2016-05-25 17:07:36 -07:00
Richard Knoll
084b94c4c1 Merge branch 'master' into glob2
Conflicts:
	Jakefile.js
	src/compiler/commandLineParser.ts
	src/compiler/core.ts
	src/compiler/sys.ts
	src/harness/harness.ts
	src/server/editorServices.ts
	src/services/shims.ts
	tests/cases/unittests/cachingInServerLSHost.ts
2016-05-25 17:06:50 -07:00
Ryan Cavanaugh
28f548a740 Recognize '-?' / '--?' in tsc 2016-05-24 12:12:38 -07:00
Bill Ticehurst
75d84dcf61 Merge remote-tracking branch 'upstream/master' into loadJsFromModules 2016-05-23 17:14:23 -07:00
Bill Ticehurst
c76dc72b40 Merge remote-tracking branch 'upstream/master' into loadJsFromModules 2016-05-23 17:00:10 -07:00
Yuichi Nukiyama
4e415ebfd0 add SharedArrayBuffer
fix
2016-05-24 00:41:44 +09:00
Anders Hejlsberg
db109d1a7f Add --skipLibCheck compiler option 2016-05-21 17:44:37 -07:00
zhengbli
9c92ec3a55 exclude outDir and add more default excludes 2016-05-19 16:10:04 -07:00
Yui
b68e93966a Fix 8482: Add Object.values and Object.entries (#8538)
* Add es2017.Object library file

* Add tests and baselines

* Fix unittest

* Add es2017 lib flag

* Update baselines

* Add tests and baselines

* Address PR: add tests

* Address PR: add tests
2016-05-10 14:22:00 -07:00