Commit Graph

384 Commits

Author SHA1 Message Date
Ron Buckton 1aa69921c6 Makes transforms the default 2016-04-07 17:07:12 -07:00
Ron Buckton 3507ed021c Fixes issues that were causing runtests-browser to fail 2016-04-07 16:13:28 -07:00
Ron Buckton 25998ae865 Fixes emit for module/enum and single-line arrow functions. 2016-03-21 15:50:52 -07:00
Ron Buckton 02ebfa5d11 Added environment variable to force experimental transformations. 2016-03-21 11:54:10 -07:00
Ron Buckton 3c344987de Merge branch 'master' into transforms 2016-03-18 17:13:55 -07:00
Chuck Jazdzewski 8bf9da614f Adding sourceFiles to the Program emit callback
This implements #7438
2016-03-15 13:25:18 -07:00
Anil Anar 8e35cdd52c add missing conditional check 2016-03-12 21:16:43 +01:00
Anil Anar cde06b6585 Fix #7397: Remove error checks for noEmit and out* compiler options combined. 2016-03-12 19:20:18 +01:00
Ron Buckton 99e6ad8b63 Removed ModifiersArray 2016-03-10 11:23:17 -08:00
Ron Buckton 5b8cf96028 Moved modifier related flags to separate enum 2016-03-10 11:12:24 -08:00
Ryan Cavanaugh 7d372bf6dc Merge pull request #7264 from RyanCavanaugh/umd
UMD support
2016-03-10 10:59:45 -08:00
Ryan Cavanaugh 44aa7388ea UMD support 2016-03-09 10:08:24 -08:00
Kanchalai Tanglertsampan 70d267419b Concat declaration error so we report them 2016-03-02 17:13:51 -08:00
Vladimir Matveev e0900434c9 address PR feedback: add comments 2016-02-24 14:30:21 -08:00
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
Ron Buckton e5cd8fef21 Added temporary compat flag to control emit output to fix tests 2016-02-23 11:35:26 -08: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
Ron Buckton 6d273366d3 Merged some changes from other branches. 2016-02-22 16:10:32 -08: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 195e69c889)
2016-02-11 14:09:10 -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
Bill Ticehurst a370103e15 Added back errors for module kind none
(cherry picked from commit 73fa45bd2e)
2016-02-11 14:08:24 -08:00
Bill Ticehurst bb28424b45 Removed errors for missing module specifier
(cherry picked from commit f2e7f9f50f)
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
Ron Buckton 8bf176ac3d Cleanup and reorganization of node tests 2016-02-04 16:41:58 -08: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