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
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
Wesley Wigham
adc3f2bd19
update description
2015-11-25 17:27:07 -08:00
Wesley Wigham
f28958fe18
Merge branch 'master' into autohoist-default
2015-11-20 13:45:25 -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
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
Sheetal Nandi
acf7de7d34
Merge branch 'master' into tscJsFiles
2015-10-15 12:30:55 -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
Sheetal Nandi
2c3c321593
Merge branch 'master' into tscJsFiles
2015-10-08 14:40:40 -07:00
Sheetal Nandi
242eb8bc5c
Taken feedback into account and simplified the getFileNames logic to handle extensions by priority
2015-10-06 15:49:39 -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
Sheetal Nandi
b580c5588e
Merge branch 'master' into tscJsFiles
2015-10-05 16:42:37 -07:00