Commit graph

223 commits

Author SHA1 Message Date
Vladimir Matveev
a26d89d7a2 addressed PR feedback 2015-11-16 23:44:07 -08:00
Vladimir Matveev
33fc598a8a clean residual state in binder and emitter, clean test data in version cache test 2015-11-16 23:24:25 -08:00
Vladimir Matveev
078ed3f485 use normalized absolute file names when doing consistency check 2015-11-16 09:49:58 -08:00
Ryan Cavanaugh
e630ce247b Fix merge problems from master 2015-11-09 12:49:36 -08:00
Ryan Cavanaugh
7dd1bf487d Merge branch 'master' into javaScriptModules
# Conflicts:
#	lib/lib.es6.d.ts
#	lib/tsc.js
#	lib/tsserver.js
#	lib/typescript.d.ts
#	lib/typescript.js
#	lib/typescriptServices.d.ts
#	lib/typescriptServices.js
#	src/compiler/binder.ts
#	src/compiler/checker.ts
#	src/compiler/parser.ts
#	src/compiler/program.ts
#	src/harness/fourslash.ts
2015-11-06 16:49:09 -08:00
Ryan Cavanaugh
d880d4f4fb Don't look for .js files when resolving node modules 2015-11-06 14:38:29 -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
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
f5d4aa7d9c addressed PR feedback (change command line flag description), added tests 2015-10-27 13:27:51 -07:00
Ryan Cavanaugh
eda6eca3c7 Merge remote-tracking branch 'upstream/master' into javaScriptModules 2015-10-19 13:53:52 -07:00
Ryan Cavanaugh
61b71008d7 Remove obsolute AMD logic from reference preprocessing in services 2015-10-16 17:35:43 -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
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
Ryan Cavanaugh
1a36fce4c2 JavaScript LS scaffolding + JS module inference 2015-10-14 17:36:03 -07:00
Vladimir Matveev
4ccf630f63 merge with master 2015-10-12 13:45:06 -07:00
Vladimir Matveev
fb1d2cf42c address PR feedback 2015-10-07 15:48:53 -07:00
Vladimir Matveev
75af4f70b6 transpile text as tsx if jsx option is specified 2015-10-07 10:37:28 -07:00
zhengbli
9ed5b4c435 more test fixes 2015-10-06 13:10:03 -07:00
Vladimir Matveev
bfa390e09e Merge pull request #4989 from Microsoft/relativeModuleNamesInImports
record resolution for relative file name if file was found via absolu…
2015-09-29 10:17:43 -07:00
Vladimir Matveev
e53646a0cd harden the implementation of Program.getSourceFile to handle all relative file names correctly 2015-09-27 13:32:13 -07:00
Vladimir Matveev
dae5a626da record resolution for relative file name if file was found via absolute name 2015-09-26 21:29:07 -07:00
Colin Snover
f3969048c5 Put AMD dependency list inline with define call in UMD modules
Fixes #4952.
2015-09-25 23:57:47 +00:00
Vladimir Matveev
d57ceb1d32 extend the list of extensions for module file names in node_modules folder 2015-09-21 16:10:03 -07:00
Daniel Rosenwasser
ad8bcfabdc handeles -> handles 2015-09-15 15:18:24 -07:00
Vladimir Matveev
a880be1f75 resolve merge conflicts, update tests 2015-09-10 21:53:49 -07:00
Vladimir Matveev
98f31635f8 Check if imported file is a proper external module 2015-09-10 21:46:03 -07:00
Vladimir Matveev
4b5c2fe31c reattach file diagnostics for modified files when reusing program structure 2015-09-10 21:29:52 -07:00
Mohamed Hegazy
7e1739604a Fix #4727: prerocess export import declarations correctelly 2015-09-10 13:24:45 -07:00
Vladimir Matveev
e484305c98 allow backslashes in fileName argument of the transpile function 2015-09-03 13:31:57 -07:00
Mohamed Hegazy
ab6fe49d56 Merge branch 'master' into moduleResolutionStrategies
Conflicts:
	src/compiler/diagnosticMessages.json
2015-08-24 15:46:06 -07:00
Sheetal Nandi
2defe94b1f Added test for transpilation with emitting of metadata and decorator 2015-08-24 12:47:39 -07:00
Vladimir Matveev
8cc7953941 use \r\n as default new line in transpile 2015-08-21 11:57:07 -07:00
Vladimir Matveev
4f25efbd79 simplify module resolution tests 2015-08-21 10:57:36 -07:00
Vladimir Matveev
dde7545d34 address PR feedback 2015-08-20 16:13:49 -07:00
Vladimir Matveev
f415097d0d addressed PR feedback 2015-08-18 14:52:21 -07:00
Vladimir Matveev
049a5fba07 added tests 2015-08-18 13:36:08 -07:00
Vladimir Matveev
1cb5280971 Merge branch 'master' into moduleResolutionStrategies 2015-08-17 18:31:53 -07:00
Vladimir Matveev
3b95ea460e initial implementation of module resolution for node/requirejs 2015-08-17 18:31:12 -07:00
Vladimir Matveev
b6b735c0f2 merge with master 2015-08-17 14:38:24 -07:00
Vladimir Matveev
7e8cfa0859 allow transpiler to provide alternative names for dependencies 2015-08-14 13:00:41 -07:00
Vladimir Matveev
a69b04145d delete entry from the cache when referenced file is removed, added tests 2015-08-06 16:23:21 -07:00
Vladimir Matveev
03aaf7cd7c addressed PR feedback 2015-08-04 21:22:37 -07:00
Vladimir Matveev
49ad395de1 resolveModuleName => resolvedModuleNames, added tests 2015-08-04 15:21:16 -07:00
Vladimir Matveev
36043cd88a merge with master 2015-07-29 17:16:58 -07:00
Vladimir Matveev
544a7939f0 return ambient external modules as a results of preprocessing 2015-07-29 16:47:34 -07:00
Vladimir Matveev
e1fa3c5515 Merge pull request #3982 from Microsoft/sourceMapsInTranspile
add transpileModule function that can return emitted source map
2015-07-23 17:25:30 -07:00
Wesley Wigham
ef0a289c77 Remove exit test 2015-07-23 12:50:24 -07:00
Wesley Wigham
90bbb7fb3c More linting from PR 2015-07-23 12:33:34 -07:00