Commit graph

194 commits

Author SHA1 Message Date
Vladimir Matveev
e0c16b4332 Check if imported file is a proper external module 2015-09-10 16:00:44 -07:00
Vladimir Matveev
9a78b66068 allow backslashes in fileName argument of the transpile function 2015-09-03 09:25:43 -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
Wesley Wigham
5fb5b244fb Feedback from PR, lint fixes 2015-07-23 11:14:19 -07:00
Vladimir Matveev
500cadac5c add transpileModule function that can return emitted source map 2015-07-22 11:58:27 -07:00
Wesley Wigham
8884f3b4f6 Fix tslint issues 2015-07-21 16:26:03 -07:00
Wesley Wigham
8e93a49c7b Narrow exported session API, Unit tests for session API 2015-07-21 16:05:03 -07:00
Vladimir Matveev
9332f7e1e3 introduce ModuleResolutionHost interface 2015-07-15 11:40:49 -07:00
Vladimir Matveev
2685d409d5 addressed PR feedback 2015-07-09 14:40:33 -07:00
Vladimir Matveev
c968b3653e addressed PR feedback 2015-06-24 17:40:04 -07:00
Vladimir Matveev
ba3eb0d0cf added Program.structureIsReused property, disallow reuse if target module
kind differs in old and new programs, move setting of resolvedModules
cache to the program, added tests
2015-06-24 12:59:22 -07:00
Jason Freeman
f2044a9011 Merge branch 'master' of https://github.com/Microsoft/TypeScript 2015-06-18 16:03:41 -07:00
Jason Freeman
111fdcb499 Merge branch 'release-1.5'
Conflicts:
	src/compiler/emitter.ts
	src/compiler/parser.ts
	src/compiler/program.ts
	src/services/services.ts
	tests/cases/unittests/transpile.ts
2015-06-18 15:06:03 -07:00
Cyrus Najmabadi
38a54bc0b9 Fix incremental parsing issue.
We were moving a method-declaration called "constructor" into a class.  This is incorrect
as that same code should be parsed as a constructor-declaration now that it is in the
class context.
2015-06-18 14:16:00 -07:00
Mohamed Hegazy
7361d68d25 Merge pull request #3542 from weswigham/jake-lssl
Add build target for packaging tsserver as a library
2015-06-17 23:54:04 -07:00
Cyrus Najmabadi
ec9e461869 Remove 'strict mode' from parsing and checking, and make it purely something purely checked at bind time. 2015-06-15 17:31:15 -07:00
Wesley Wigham
8554791574 Decouple ts.sys from the editorServices where possible 2015-06-15 13:37:19 -07:00
Daniel Rosenwasser
1f4812f9dd Merge branch 'testPerf2' into testPerf
Conflicts:
	src/compiler/program.ts
	src/compiler/types.ts
	src/harness/harness.ts
2015-06-12 16:39:03 -07:00
Daniel Rosenwasser
e1c1da578c Merge branch 'master' into testPerf2
Conflicts:
	Jakefile.js
	src/compiler/program.ts
	src/compiler/types.ts
	src/harness/harness.ts
	src/harness/projectsRunner.ts
	src/harness/runner.ts
2015-06-12 16:16:09 -07:00
Daniel Rosenwasser
b5e57e11e7 Spelling. 2015-06-12 15:50:16 -07:00
Vladimir Matveev
970dc49a2d do not report extra error if file was already found without extension 2015-06-11 14:43:57 -07:00
Daniel Rosenwasser
0b865da685 Spelling. 2015-06-11 12:11:56 -07:00
Daniel Rosenwasser
7b01d036ce Remove BOM. 2015-06-11 12:01:19 -07:00
Jason Freeman
d03fca2326 Merge branch 'master' of https://github.com/Microsoft/TypeScript into parsingModuleElements 2015-06-10 16:54:37 -07:00
Jason Freeman
635a773186 Unite ParsingContext.ModuleElements and ParsingContext.BlockStatements 2015-06-10 16:41:48 -07:00
Daniel Rosenwasser
caf0939d50 Removed more 'debugger' statements from tests. 2015-06-09 16:47:43 -07:00
Vladimir Matveev
3c630aa247 added tests 2015-06-04 22:39:21 -07:00
Vladimir Matveev
00e28ff8a3 added tests 2015-06-04 22:22:25 -07:00
Jason Freeman
abf18c5a11 Merge branch 'release-1.5' 2015-06-03 17:56:53 -07:00
Mohamed Hegazy
6902b050ca Respond to code review comments 2015-06-02 18:04:05 -07:00
Cyrus Najmabadi
9aab98419b Parsing support for jsDocComments. 2015-05-28 10:14:18 -07:00
Mohamed Hegazy
2cbe14e131 Respond to code review comments 2015-05-27 10:20:01 -07:00