Commit Graph

469 Commits

Author SHA1 Message Date
Andy Hanson c90897ccdd Treat "." and ".." as relative module names 2016-07-13 06:51:00 -07:00
Yui 48ab0ce07f Change version to 2.1.0 (#9615) 2016-07-11 20:53:12 -07:00
Nathan Shively-Sanders f19844fbe9 Merge pull request #9580 from Microsoft/compile-with-noImplicitThis
Compile with --noImplicitThis
2016-07-11 15:25:44 -07:00
Nathan Shively-Sanders 6414a5721c Remove another use of this, in program.ts 2016-07-11 13:49:36 -07:00
Bill Ticehurst 21bf801c6c Removed duplicate logic 2016-07-10 23:07:45 -07:00
Bill Ticehurst 2ab1143f1c Fixed the node tracking and a harness bug 2016-07-10 20:54:07 -07:00
Bill Ticehurst ca874bdd17 Fix module tracking 2016-07-10 16:12:42 -07:00
Nathan Shively-Sanders b543074861 Compile with --noImplicitThis
1. Add to various tsconfig.json
2. Add to Jakefile
3. Add annotations where needed.
4. Add workaround to shims.ts, which uses toplevel `this`.
2016-07-08 15:13:32 -07:00
Bill Ticehurst d8047b607f Renamed API 2016-06-29 17:05:55 -07:00
Bill Ticehurst 5a45c44eb7 Dont load JavaScript if types packages are present 2016-06-29 17:04:42 -07:00
Bill Ticehurst 5f8cf1af3e Don't emit source files found under node_modules 2016-06-29 08:44:06 -07:00
zhengbli d5cad239e8 Add nullchecks for typeRoots, remove getCurrentDirectory from ServerHost as it is always the installation location 2016-06-28 12:10:26 -07:00
zhengbli 6ff91b84ab Add getCurrentDirectory to ServerHost 2016-06-28 11:53:30 -07:00
Bill Ticehurst 8bf3d54524 Merge pull request #7075 from Microsoft/loadJsFromModules
Load JavaScript modules from Node packages
2016-06-27 18:42:12 -07:00
Bill Ticehurst d8e3bd99e8 Added emitHost method to return source from node modules 2016-06-27 16:32:29 -07:00
Mohamed Hegazy f67f1f7db7 Update version to 2.0.0 2016-06-27 13:43:07 -07:00
Bill Ticehurst 1b43bd8e83 Removed old TODO comment 2016-06-26 23:33:46 -07:00
Bill Ticehurst e9a0c56d3c Fixed bugs and linting 2016-06-26 20:48:22 -07:00
Bill Ticehurst 8ff2c1ad4f Fixed linting error 2016-06-21 14:00:42 -07:00
Bill Ticehurst 07bfbab6ff Changed implementation to use closure 2016-06-21 13:47:17 -07:00
Bill Ticehurst 4d4f679ec4 Merge branch 'master' into loadJsFromModules 2016-06-21 09:03:38 -07:00
Daniel Rosenwasser e9226af3f6 Array#map -> ts.map. 2016-06-17 17:18:16 -07:00
Andy Hanson dd0411a2f3 Allow property declarations in .js files 2016-06-15 09:42:52 -07:00
Ryan Cavanaugh 29f5291453 Refactor 2016-06-13 14:37:07 -07:00
Ryan Cavanaugh b10d93291f Absolute-ify paths in both places 2016-06-13 14:20:31 -07:00
Ryan Cavanaugh 6702e651a3 CR changes 2016-06-13 10:15:29 -07:00
Ryan Cavanaugh e8ac1abbd6 Baseline fix, CR comments, lint 2016-06-13 09:33:49 -07:00
Ryan Cavanaugh 576f09f531 Merge 2016-06-10 15:47:51 -07:00
Ryan Cavanaugh 9827b638b4 Implicit type inclusion changes 2016-06-10 15:44:11 -07:00
Mohamed Hegazy 97d7aa5fb5 Merge pull request #9042 from Microsoft/ES6ModulesES5Target
Fix #6319: Add support for `--t: es5` and  `--m es6`
2016-06-10 10:23:39 -07:00
Andy Hanson d973f4d701 Merge branch 'master' into shorthand_ambient_module 2016-06-10 06:08:16 -07:00
Andy Hanson ff6e025e8a Merge branch 'master' into shorthand_ambient_module 2016-06-10 06:03:54 -07:00
Sheetal Nandi a4991b9e98 Merge pull request #9057 from Microsoft/sourceRootWithInlineSources
Allow --sourceRoot with --inlineSources option
2016-06-09 15:38:21 -07:00
Andy 9ffd00d6ff Merge pull request #8939 from Microsoft/pattern_ambient_modules
Allow wildcard ("*") patterns in ambient module declarations
2016-06-09 13:08:02 -07:00
Sheetal Nandi b521fd55a4 Allow --sourceRoot with --inlineSources option
Fixes #8445
2016-06-09 11:51:53 -07:00
Andy Hanson 75c1d77606 Merge branch 'master' into shorthand_ambient_module 2016-06-09 11:43:18 -07:00
Andy 512c6719ae Merge pull request #8895 from Microsoft/strip_extension
Allow an import of "foo.js" to be matched by a file "foo.ts"
2016-06-09 11:38:26 -07:00
Vladimir Matveev d941177547 check if moduleResolution when verifying that program can be reused 2016-06-07 15:08:46 -07:00
Andy Hanson a918730df0 factor out isJsxOrTsxExtension 2016-06-06 12:17:11 -07:00
Mohamed Hegazy 18a875807c Remove restriction on --target es5 and --module es6 2016-06-05 15:37:20 -07:00
Andy Hanson 094f97e366 Respond to PR comments 2016-06-03 06:22:34 -07:00
Andy Hanson 7e9cb46a1a Support shorthand ambient module declarations 2016-06-02 12:55:48 -07:00
Andy Hanson 3b19825890 Allow wildcard ("*") patterns in ambient module declarations 2016-06-02 05:44:49 -07:00
Andy Hanson 9575b3c3ca Revert to old tryLoad implementation 2016-06-01 11:44:12 -07:00
Andy Hanson d4b8889984 Respond to more PR comments 2016-05-31 12:58:05 -07:00
Andy Hanson f4d6b67cb0 Respond to PR comments 2016-05-31 11:39:11 -07:00
Andy Hanson a0546a9310 Improve loadModuleFromFile code 2016-05-31 10:41:46 -07:00
Andy Hanson fa16a99514 Allow an import of "foo.js" to be matched by a file "foo.ts" 2016-05-31 09:26:21 -07:00
Ryan Cavanaugh 7173fa8d02 Merge pull request #8670 from RyanCavanaugh/fix8275
Automatically consume @types/ folders
2016-05-24 15:23:06 -07:00
Bill Ticehurst 75d84dcf61 Merge remote-tracking branch 'upstream/master' into loadJsFromModules 2016-05-23 17:14:23 -07:00