367 Commits

Author SHA1 Message Date
Vladimir Matveev
8e77f40ace avoid multiple passes over the program when computing diagnostics for the bundled emit 2016-02-24 14:21:30 -08:00
Asad Saeeduddin
f251768f32 Make declarationDir invalid alongside out or outFile 2016-02-23 17:45:45 -05:00
Asad Saeeduddin
c8aedbf382 Address PR feedback: expand ternary return into if block, add check to ensure proper options usage 2016-02-22 20:45:04 -05:00
Mohamed Hegazy
353998a6bd Rever change to EmitOutput.diagnostics 2016-02-18 12:06:17 -08:00
Mohamed Hegazy
2b52ae1cb7 Fix lint errors 2016-02-16 22:57:27 -08:00
Mohamed Hegazy
eed65a0334 Port #7106 to master 2016-02-16 22:01:28 -08:00
Vladimir Matveev
3820dfa830 Merge pull request #7068 from Microsoft/relativeNamesInClassicResolution
classic resolution: don't perform folder walk if module name is relative
2016-02-16 12:03:09 -08:00
Bill Ticehurst
fe60490c2a Fixed wording and updated tests 2016-02-13 08:12:58 -08:00
Bill Ticehurst
ed7abcc1e9 Set experimentalDecorators warning for JavaScript 2016-02-12 19:19:23 -08:00
Bill Ticehurst
f601e6dd76 Allow decorators in JavaScript files 2016-02-12 18:52:51 -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
Bill Ticehurst
e03a45a824 Fix fallback to classic resolution 2016-02-12 15:40:47 -08:00
Bill Ticehurst
9d008feba3 Added module: none as an option
(cherry picked from commit 195e69c8893a1b67f3a7885619d8df74b911c03a)
2016-02-11 14:09:10 -08:00
Bill Ticehurst
6a8ccd0b56 Dont default to CommonJS modules for ES6 target
(cherry picked from commit 4a67dc5e0823ca934eda4cd62b99bf4e7270a1dd)
2016-02-11 14:08:26 -08:00
Bill Ticehurst
a370103e15 Added back errors for module kind none
(cherry picked from commit 73fa45bd2e118f7186016ea5fc52c19ec2061aaa)
2016-02-11 14:08:24 -08:00
Bill Ticehurst
bb28424b45 Removed errors for missing module specifier
(cherry picked from commit f2e7f9f50f58ebe35d31e04c8f82fb37ae9dbcef)
2016-02-11 14:07:32 -08:00
Josh Soref
284b26f49f spelling fixes for src/compiler
* after
* aggressive
* appear
* asterisks
* candidate
* conflict
* directory
* dollar
* ellipsis
* exports
* failures
* folder
* followed
* highlight
* inferred
* location
* occurred
* output
* propagated
* push
* rather
* remaining
* search
* stabilized
* substitution
* successful
* even though
* will
* with
2016-02-11 16:56:45 +00:00
Vladimir Matveev
fb99a6697d do not error if typings for external library is empty .d.ts file 2016-02-02 11:36:38 -08:00
Vladimir Matveev
555f35e2cd Merge pull request #6803 from Microsoft/noDirExistsCheckInClassic
don't do 'directoryExists' check in classic resolution scheme
2016-02-01 16:49:51 -08:00
Vladimir Matveev
1f1f4d2442 fix linter issues 2016-02-01 15:34:03 -08:00
Vladimir Matveev
4f2cd6c4a2 don't do 'directoryExists' check in classic resolution scheme 2016-02-01 15:19:13 -08:00
Daniel Rosenwasser
bf4b63d3ba Only error on 'export =' declarations. 2016-02-01 14:17:31 -08:00
Vladimir Matveev
b0b0712c73 suppress validation of output paths in transpile scenarios 2016-02-01 10:36:47 -08:00
Noj Vek
f04f93c414 Fix typo in compiler reactNamespace error string 2016-01-30 11:37:02 -08:00
Vladimir Matveev
3661b66be4 add extra argument to 'isRequireCall' to check if argument is string literal 2016-01-28 14:18:23 -08:00
Vladimir Matveev
f23c35f04d Merge pull request #5728 from Microsoft/pathMappingModuleResolution
Path mapping module resolution
2016-01-27 11:38:33 -08:00
Anders Hejlsberg
98603f9f49 Merge pull request #6532 from Microsoft/readonlyMembers
Readonly properties and index signatures
2016-01-27 10:50:26 -08:00
Vladimir Matveev
adacad326a addressed PR feedback 2016-01-26 21:38:12 -08:00
Mohamed Hegazy
add91052bb Update version 2016-01-25 17:08:15 -08:00
Vladimir Matveev
8a8ed0a871 update implementation based on the results of design meeting 2016-01-25 11:49:26 -08:00
Vladimir Matveev
9d828e3916 Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution 2016-01-20 15:32:19 -08:00
Anders Hejlsberg
a499607845 Merge branch 'master' into readonlyMembers
Conflicts:
	src/compiler/parser.ts
	src/compiler/types.ts
2016-01-18 21:03:15 -08:00
Daniel Rosenwasser
26fdf891e9 Fix lint errors. 2016-01-16 14:05:46 -08:00
Vladimir Matveev
3aa92f5611 addressed PR feedback 2016-01-14 10:56:49 -08:00
Anders Hejlsberg
b46efc9b55 Allow modifies on type members + introduce "readonly" modifier 2016-01-13 18:34:38 -08:00
vladima
39ad0774ae merge with origin/master 2016-01-11 22:49:19 -08:00
vladima
0e1c6e3c9a fix linter issues 2016-01-11 22:34:38 -08:00
vladima
7cef1efb4e merge with origin/master 2016-01-11 22:12:03 -08:00
Mohamed Hegazy
ec70105c9d Add check for reactNamespace value 2016-01-07 15:00:50 -08:00
Vladimir Matveev
3d4e2203b8 merge with origin/master 2016-01-06 14:16:56 -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
39a50fa8a3 merge with origin/master 2016-01-04 12:07:26 -08:00
Vladimir Matveev
7f2ebf928a use 'declare global' to define augmentations for the global scope 2015-12-28 12:03:54 -08:00
Nathan Shively-Sanders
abf9961528 Merge branch 'master' into lint-nested-++ 2015-12-22 16:12:07 -08:00
Nathan Shively-Sanders
401a393519 Fix ++/-- lint 2015-12-22 15:45:00 -08:00
Vladimir Matveev
4a963a26c3 initial revision of external module augmentations 2015-12-22 13:56:22 -08:00
Vladimir Matveev
a399208d73 Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution 2015-12-22 11:06:18 -08:00
vladima
39605fe5f8 report pre-emit diagnostics that blocked emit 2015-12-21 21:43:51 -08:00
vladima
6a63c0d52c Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution 2015-12-08 21:41:29 -08:00
yaoyao
e95ae4f100 Improve 'Cannot compile modules unless the '--module' flag is provided.' message 2015-12-08 08:56:41 +08:00