Commit Graph

157 Commits

Author SHA1 Message Date
Wesley Wigham 8a93b48945 fix lint: prefer const 2015-11-04 14:51:36 -08:00
Daniel Rosenwasser a44a340449 Fix description of '--pretty'. 2015-11-02 16:40:35 -08:00
Daniel Rosenwasser 32b259eb84 Merge branch 'master' into iFeelPrettyErr 2015-11-02 15:31:23 -08:00
Daniel Rosenwasser e5f105367a Merge branch 'master' into iFeelPrettyErr 2015-11-02 15:28:42 -08:00
Vladimir Matveev fb15e9c7c0 Merge pull request #4788 from Microsoft/reachabilityChecks
initial revision of reachability checks
2015-11-02 14:55:19 -08:00
Daniel Rosenwasser 654cbd9779 Just name the option 'pretty' for now. 2015-11-02 13:20:48 -08:00
Sébastien Arod 638e4b758a Use regex for repacing comments content.
Use space for indents
2015-11-01 15:31:16 +01:00
Sébastien Arod 00b389d477 New commit using TS scanner.
This commit uses TS scanner and replaces comments token text
by whitespaces to preserve orginal positions.
2015-10-31 23:17:46 +01:00
Daniel Rosenwasser fa2e614f9f Merge branch 'master' into iFeelPrettyErr 2015-10-30 18:10:05 -07:00
Sébastien Arod 5f81ba12aa Use CharactersCodes and isLineBreak in conditions 2015-10-29 23:02:32 +01:00
Vladimir Matveev 3f11c0b2de merge with master 2015-10-29 09:33:27 -07:00
Sébastien Arod f5e73ab8bf Fix handling of escaped characters in string 2015-10-29 14:55:23 +01:00
Sébastien Arod b60d88fa80 Allow comments in tsconfig.json issue #4987 2015-10-29 12:56:13 +01:00
Vladimir Matveev e811fecda6 Merge pull request #5275 from Microsoft/fixCasingAndPathFormat
use absolute path as key to store files, correctly handle scenarios w…
2015-10-27 14:02:35 -07:00
Vladimir Matveev f5d4aa7d9c addressed PR feedback (change command line flag description), added tests 2015-10-27 13:27:51 -07:00
Vladimir Matveev d2a11b55dc merge with master 2015-10-27 10:41:21 -07:00
Nathan Shively-Sanders 36050cdefd Update diagnostic text to use ES2015, not ES6. 2015-10-22 13:23:12 -07:00
Vladimir Matveev f9eaed7f7b Merge branch 'master' into reachabilityChecks 2015-10-19 15:54:45 -07:00
Vladimir Matveev 9fa268a44a addressed PR feedback 2015-10-19 10:15:59 -07:00
Vladimir Matveev 0bd50ca08c extract 'convertCompilerOptionsFromJson' to separate function 2015-10-17 14:36:12 -07:00
Vladimir Matveev 7b126170d1 Merge branch 'master' into reachabilityChecks 2015-10-16 13:13:51 -07:00
Vladimir Matveev b8a3564d28 use absolute path as key to store files, correctly handle scenarios when file names differ only in casing 2015-10-15 14:43:51 -07:00
Nathan Shively-Sanders 53188d9cb8 Add ES2015 as a synonym to ES6
In ModuleKind, ScriptTarget and associated command line arguments.
2015-10-15 11:35:52 -07:00
Zhengbo Li 8864b06cbf Merge pull request #5127 from zhengbli/newAddDirectoryWatcher
Add directory watcher for tsserver and tsc
2015-10-14 17:43:10 -07:00
zhengbli 002f0c066b CR feedback 2015-10-14 15:10:05 -07:00
Mohamed Hegazy 92f1b48cc8 Remove --experimentalAsyncFunctions 2015-10-12 14:27:33 -07:00
Vladimir Matveev ebfcd2547f merge with master 2015-10-11 12:42:27 -07:00
Daniel Rosenwasser 87554cbc0c Merge branch 'master' into iFeelPrettyErr
Conflicts:
	src/compiler/commandLineParser.ts
2015-10-06 12:54:01 -07:00
Mohamed Hegazy 709274dbf2 Merge pull request #4724 from denvned/patch-1
Account for path options when pointing to the current working directory
2015-10-06 12:32:11 -07:00
Daniel Rosenwasser 7c73a661c5 Merge branch 'master' into iFeelPrettyErr
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/sys.ts
	src/compiler/tsc.ts
2015-10-05 23:08:59 -07:00
Daniel Rosenwasser ac5bed86b2 Added '--diagnosticStyle' compiler argument with options 'simple' and 'pretty'. 2015-10-05 22:59:34 -07:00
Vladimir Matveev f0f5a0d71e updated command line options, accepted baselines 2015-10-03 00:20:15 -07:00
Vladimir Matveev ae175d0f76 merge with master 2015-10-01 14:05:10 -07:00
Wesley Wigham b95e1ff6d8 This is what zero linter errors feels like 2015-09-30 16:10:52 -07:00
Vladimir Matveev 98ac8051af Merge branch 'master' into reachabilityChecks 2015-09-28 21:53:09 -07:00
Wesley Wigham 8ff551ce08 merge with master 2015-09-21 17:38:56 -07:00
Wesley Wigham f2b901a3c7 reverts 60a120f, reexposes es6 option 2015-09-17 13:14:31 -07:00
Vladimir Matveev 69321a031d merge with master 2015-09-16 12:50:07 -07:00
Wesley Wigham 60a120f22a remove es6 as option from command line 2015-09-16 11:08:03 -07:00
Wesley Wigham 48ba708e5e Add es6 module kind, stop using script version to infer it 2015-09-15 15:36:37 -07:00
Vladimir Matveev 9aeb0f8566 merge with master 2015-09-15 13:39:19 -07:00
Daniel Rosenwasser 38b605ea7d Merge branch 'release-1.6'
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/program.ts
	tests/baselines/reference/emptyObjectBindingPatternParameter04.symbols
	tests/baselines/reference/emptyObjectBindingPatternParameter04.types
	tests/baselines/reference/nodeResolution5.errors.txt
	tests/baselines/reference/nodeResolution7.errors.txt
2015-09-15 13:36:08 -07:00
Vladimir Matveev b62ef0d452 initial revision of reachability checks in binder 2015-09-14 13:56:23 -07:00
Daniel Rosenwasser 535efd1b5d Encode the conditional presence of 'error' in the type system. 2015-09-10 14:28:57 -07:00
Daniel Rosenwasser 4b15c5f628 Added error for bad argument, fixed diagnostic for '--help' message. 2015-09-10 14:23:33 -07:00
Daniel Rosenwasser fae7a129eb Assert condition to track root cause of issue. 2015-09-10 13:50:12 -07:00
Denis Nedelyaev 6a9bd1432c Simple fix for #4721
This makes relative outDir and other file path options not ignored when they point to the working directory.
No tests are failed.

Another way to fix this is to use `options.somePathOprtion !== undefined` check everywhere, but it would be a more complex change.
What do you think?
2015-09-10 21:16:16 +03:00
Daniel Rosenwasser 4a85546f94 Merge pull request #4497 from weswigham/patch-4
Add system argument to readConfigFile
2015-09-04 18:10:46 -07:00
Vladimir Matveev cd6152ebe6 remove 'experimental' from 'moduleResolution' command line argument 2015-09-02 10:01:28 -07:00
Vladimir Matveev 3e2be80d8a remove 'experimental' from 'moduleResolution' command line argument 2015-09-01 11:09:41 -07:00