Commit Graph

201 Commits

Author SHA1 Message Date
Ron Buckton b1d88282ce Remove transformCompatibleEmit flag and make it the default. 2016-02-29 13:29:03 -08:00
Ron Buckton e5cd8fef21 Added temporary compat flag to control emit output to fix tests 2016-02-23 11:35:26 -08:00
Ron Buckton f52a30be1b Merged some changes from other branches. 2016-02-22 16:11:31 -08:00
Vladimir Matveev adacad326a addressed PR feedback 2016-01-26 21:38:12 -08: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
Zhengbo Li 31f5502f2b set default module to commonjs for jsconfig.json 2016-01-21 16:05:44 -08:00
Zhengbo Li d64b603e4b revert breaking changes 2016-01-20 16:53:15 -08:00
zhengbli b5ed7f3eda Add support for jsconfig.json in language service 2016-01-19 16:30:52 -08:00
vladima 39ad0774ae merge with origin/master 2016-01-11 22:49:19 -08:00
Mohamed Hegazy cc1947b94f Rename jsxNamespace to reactNamespace 2016-01-07 13:59:25 -08:00
Mohamed Hegazy c0b28a3a40 Merge branch 'react-factory-option' of https://github.com/rwyborn/TypeScript into rwyborn-react-factory-option
Conflicts:
	src/compiler/checker.ts
2016-01-07 13:50:03 -08:00
Vladimir Matveev 39a50fa8a3 merge with origin/master 2016-01-04 12:07:26 -08:00
Nathan Shively-Sanders 401a393519 Fix ++/-- lint 2015-12-22 15:45:00 -08:00
Rowan Wyborn b7f60704bb Initial check in - Support other JSX factories Issue #3788
- added jsxNamespace compile option
- when jsx mode is "react", jsxNamespace optionally specifies the emit namespace for React calls, eg "--jsxNamespace MyDOMLib" will emit calls as MyDOMLib.createElement (instead of React.createElement)
- symbol specified by jsxNamespace must be present, else compile error is generated (same handling as is done for React symbol when no jsxNamespace is specified)
2015-12-18 21:56:08 +11:00
Vladimir Matveev 4e3cba1f7c Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution 2015-11-25 21:23:45 -08:00
Wesley Wigham adc3f2bd19 update description 2015-11-25 17:27:07 -08:00
Vladimir Matveev 62370a0d08 addressed PR feedback 2015-11-25 16:41:09 -08:00
Vladimir Matveev 25cc97bb75 addressed PR feedback 2015-11-24 16:41:41 -08:00
Wesley Wigham f28958fe18 Merge branch 'master' into autohoist-default 2015-11-20 13:45:25 -08:00
Vladimir Matveev 6844285782 verbose module resolution 2015-11-19 21:33:33 -08:00
Vladimir Matveev 6bed1ba53a merge with master 2015-11-19 21:11:57 -08:00
Vladimir Matveev d2fd6437d7 initial implementation of path mapping based module resolution 2015-11-18 21:46:45 -08:00
Sheetal Nandi 3bdad8a6b0 When excluding same base name file from compilation, check for all supported javascript extensions instead of just .js 2015-11-12 14:25:46 -08:00
Sheetal Nandi 0b215404d1 Simplified logic of getting files if files werent suppplied in tscconfig.json
Since we dont support arbitary list of extensions to treat as .js,
it becomes easier to simplify code based on the assumptions
2015-11-12 13:23:53 -08:00
Wesley Wigham a32f44f9f4 Add command line flag to allow synthetic default exports 2015-11-09 14:36:00 -08:00
Sheetal Nandi 4c842591f7 Merge branch 'master' into jsFileCompilation 2015-11-06 12:39:42 -08:00
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
Sheetal Nandi b217b8b620 Merge branch 'master' into jsFileCompilation 2015-10-30 09:34:32 -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
Sheetal Nandi 2d3a345fd3 Since there arent any user given extensions, have extensions start with "." like before 2015-10-28 16:24:53 -07:00
Sheetal Nandi a8eb76fde1 Remove the logic for parsing compilation of comma seperated list of strings on command line
Also removed logic to accept multiple values for the option
2015-10-28 15:26:48 -07:00
Sheetal Nandi ba3d34f9df Instead of --jsExtensions support --allowJs with .js and .jsx as supported extensions 2015-10-28 14:02:46 -07: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
Sheetal Nandi 0496bfe278 Merge branch 'master' into tscJsFiles 2015-10-19 12:32:51 -07:00