Commit graph

7738 commits

Author SHA1 Message Date
Sheetal Nandi
060dbd24f4 Instead of writing text from source file use text property to write text of synthesized node
Fixes #4364
2015-08-21 13:10:30 -07:00
zhengbli
582b0aa31e parse jsdoc param tag even without a param name 2015-08-21 13:07:41 -07:00
Mohamed Hegazy
2ed9bdbfb8 Merge pull request #4390 from adidahiya/fix-remove-TypeCheckerHost-interface
Make TypeCheckerHost internal
2015-08-21 12:23:40 -07:00
Vladimir Matveev
8cc7953941 use \r\n as default new line in transpile 2015-08-21 11:57:07 -07:00
Mohamed Hegazy
017355c583 Merge pull request #4388 from Microsoft/outFile
--outFile support
2015-08-21 11:47:34 -07:00
Vladimir Matveev
da009b8612 use \r\n as new line in harness 2015-08-21 11:32:53 -07:00
Vladimir Matveev
4f25efbd79 simplify module resolution tests 2015-08-21 10:57:36 -07:00
Vladimir Matveev
dc2c968b08 addressed PR feedback: added comment 2015-08-21 10:37:13 -07:00
Vladimir Matveev
68d6d8c550 use Harness.IO instead of sys in harness 2015-08-21 00:31:25 -07:00
Adi Dahiya
7f52d5054d Make TypeCheckerHost internal
Fixes #4346
2015-08-21 01:43:47 -04:00
Mohamed Hegazy
b395fb9f45 Merge branch 'master' into outFile
Conflicts:
	src/harness/fourslash.ts
2015-08-20 17:46:38 -07:00
Mohamed Hegazy
00cd8ad745 Add --outFile and revert change make --out relative in tsconfig.json 2015-08-20 17:37:56 -07:00
Vladimir Matveev
dde7545d34 address PR feedback 2015-08-20 16:13:49 -07:00
Mohamed Hegazy
cfc164b044 Consolidate option error messages into two 2015-08-20 15:58:57 -07:00
Sheetal Nandi
345de8fca5 Resolve the decorator type as type and check if the symbol has value.
This would make sure we are referencing correct symbol to check if it has value
Fixes #4239
2015-08-20 15:45:51 -07:00
jramsay
425ad026ae Merge pull request #4385 from Microsoft/ToolsVersionUpdate
Updating the internal toolsVersion from 1.5 -> 1.6 in shims.ts
2015-08-20 15:25:41 -07:00
Zhengbo Li
b0868c6ba3 Merge pull request #4023 from zhengbli/addTsConfigWatcher
Add file watcher for tsconfig.json
2015-08-20 15:20:48 -07:00
Jason Ramsay
d1fa571113 replacing let with const 2015-08-20 15:17:04 -07:00
Mohamed Hegazy
2a751abe4e Merge pull request #4371 from Microsoft/emitOutputForTsx
Emit tsx files correctly in getEmitOutput calls
2015-08-20 15:12:22 -07:00
zhengbli
b78e560927 Add message in protocol.d.ts and rename "rebuildProjects" to "reloadProjects" 2015-08-20 14:53:29 -07:00
Jason Ramsay
e6c4019671 Updating the internal toolsVersion from 1.5 -> 1.6 in shims.ts 2015-08-20 14:48:03 -07:00
zhengbli
a4d496c4c6 add command for rebuild all project structure 2015-08-20 14:34:46 -07:00
zhengbli
762e0e8146 Delay creating inferred projects 2015-08-20 13:02:52 -07:00
Ryan Cavanaugh
6eca09b062 Handle non-entities as well 2015-08-20 12:30:12 -07:00
Ryan Cavanaugh
16e72971d9 Add comments 2015-08-20 12:23:27 -07:00
Ryan Cavanaugh
67f81bc53c Convert HTML entities to strings (#4125) 2015-08-20 12:20:28 -07:00
zhengbli
c233d4d487 Merge branch 'addTsConfigWatcher' of https://github.com/zhengbli/TypeScript into addTsConfigWatcher 2015-08-20 12:18:53 -07:00
Ryan Cavanaugh
f659c9098c Fix React whitespace emit #4376 2015-08-20 11:38:03 -07:00
Yui T
bb7a132b0e Address code review 2015-08-20 09:25:02 -07:00
Ryan Cavanaugh
8ad9138828 Merge pull request #4378 from tarikozket/patch-1
Fixed spelling
2015-08-20 09:12:52 -07:00
Tarik
b8f41defd8 Fixed spelling 2015-08-20 14:10:26 +03:00
Mohamed Hegazy
229c470025 Merge pull request #4375 from basarat/fix/shebang-trivia-scan
fix(scanner) try a trivia scan only if pos === 0
2015-08-20 01:29:25 -07:00
Basarat Syed
042e1bbd91 fix(scanner) try a trivia scan only if pos === 0 2015-08-20 17:45:54 +10:00
Daniel Rosenwasser
069d2dc724 Merge pull request #4369 from Microsoft/updateES6DotDDotTsForFinalDraft
Update es6.d.ts for ES6 final draft (Part II)
2015-08-19 22:42:18 -07:00
Mohamed Hegazy
f95fcf9671 Emit tsx files correctelly in getEmitOutput calls 2015-08-19 22:18:32 -07:00
zhengbli
d1253d56ac Added null checks 2015-08-19 20:47:02 -07:00
Daniel Rosenwasser
a55d531677 Fixed newlines, switched 'module' keyword to 'namespace'. 2015-08-19 18:22:40 -07:00
Daniel Rosenwasser
fc39c4aa60 Accepted baselines. 2015-08-19 17:23:14 -07:00
Daniel Rosenwasser
af05e46b28 Added overloads for typed array constructors to take an 'Iterable<number>'. 2015-08-19 17:11:10 -07:00
Daniel Rosenwasser
0efa8599f0 Merge branch 'master' into updateES6DotDDotTsForFinalDraft 2015-08-19 17:04:26 -07:00
Zhengbo Li
bce2d67c51 Merge pull request #4306 from zhengbli/issue4220
Fix ImageData constructor
2015-08-19 17:02:09 -07:00
Vladimir Matveev
5bcb3f0be8 Merge pull request #4368 from Microsoft/noResolveAndExternalModules
Process imports to source files to record module name resolutions
2015-08-19 17:00:36 -07:00
zhengbli
b16536b60d CR feedback 2015-08-19 16:02:36 -07:00
Daniel Rosenwasser
b27ab24343 Updated 'Reflect.construct' to add third 'newTarget' argument. 2015-08-19 15:53:31 -07:00
Daniel Rosenwasser
f36f510411 Fix documentation for methods of the 'String' interface. 2015-08-19 15:46:56 -07:00
Vladimir Matveev
4a829572be added tests 2015-08-19 15:37:37 -07:00
Daniel Rosenwasser
08f37cc2fa Added overload for 'String#split' to take objects with '[Symbol.split]' method. 2015-08-19 15:09:25 -07:00
Daniel Rosenwasser
312df84934 Added overload for 'String#search' to take objects with '[Symbol.search]' method. 2015-08-19 15:06:10 -07:00
Daniel Rosenwasser
25d55b5101 Added overload for 'String#replace' to take objects with '[Symbol.replace]' method. 2015-08-19 15:02:46 -07:00
zhengbli
df3ecab074 Remove duplicated code 2015-08-19 15:02:37 -07:00