Commit Graph

2425 Commits

Author SHA1 Message Date
Vladimir Matveev
c0bcf8f10c release cached tree in compilation settings change 2016-08-03 14:02:37 -07:00
Vladimir Matsveyeu
2cb3122e62 Merge remote-tracking branch 'origin/master' into tsserverVS-WIP 2016-07-28 13:05:32 -07:00
Anders Hejlsberg
0c131fab68 Merge pull request #9407 from Microsoft/literalTypes
Number, enum, and boolean literal types
2016-07-28 12:09:49 -07:00
Wesley Wigham
e12f2d8232 Add assertion whitespace lint rule (#9931)
* Add assertion whitespace lint rule

* Fix typo

* Add the word `Rule` to Jakefile
2016-07-26 13:29:53 -07:00
Anders Hejlsberg
ff0cbb5b29 Merge branch 'master' into literalTypes
# Conflicts:
#	src/compiler/checker.ts
2016-07-24 07:28:11 -07:00
Anders Hejlsberg
178883a617 Fix issue in getTypeDefinitionAtPosition 2016-07-23 09:29:29 -07:00
Anders Hejlsberg
afd39cccaa Enum type is also a union of the literal enum types it declares 2016-07-22 14:27:33 -07:00
Yui
bd25c130ca Port PR 9745 to master (#9881)
* Add completion for quote property name in object literal expression

* Add fourslash tests for completion of quoted property in object literal expression

* Handle object-literal expression as an argument

Undo wip

Undo wip

Conflicts:
	src/services/services.ts

* Add tests and baseline for object literal expression for arguments
2016-07-22 07:15:12 -07:00
Vladimir Matveev
c0f4fdd489 merge with origin/master 2016-07-21 10:38:15 -07:00
Herrington Darkholme
1b07fbb222 Fix #9843. IScriptSnapshot can return undefined 2016-07-21 10:01:12 +08:00
Wesley Wigham
729464dc23 Integrate feedback from @mihailik to performance framework (#9845)
* Integrate feedback from @mihailik

* Rons feedback, explicitly include in new tsconfigs
2016-07-20 15:42:29 -07:00
Anders Hejlsberg
26713c8721 Expand top level of declared type in type alias declaration 2016-07-19 07:18:16 -07:00
Vladimir Matveev
69789928b3 Merge remote-tracking branch 'origin/master' into tsserverVS-WIP 2016-07-18 16:43:08 -07:00
Sheetal Nandi
f16f27661f Merge pull request #9529 from Microsoft/identifierAndTokenConstructor
Create separate constructors for Tokens and Identifiers
2016-07-14 13:35:09 -07:00
Vladimir Matveev
39c948ad34 merge with origin/master 2016-07-13 16:20:08 -07:00
Andy Hanson
8e679b7021 Remove duplicate startsWith and endsWith functions 2016-07-13 10:04:21 -07:00
Andy Hanson
5d37c29dbb Handle JSX bodies in formatter 2016-07-12 09:45:55 -07:00
Sheetal Nandi
78a1ca7d50 Make setting properties explicit instead of using parameter properties 2016-07-11 14:02:23 -07:00
Sheetal Nandi
767da71cc1 Add __tokentag to Token 2016-07-11 11:28:14 -07:00
Sheetal Nandi
0764590691 Make sure the order of setting pos, end, flags, parent, kind is consistent among nodes, tokens and identifiers 2016-07-11 11:03:38 -07:00
Nathan Shively-Sanders
a3d9a85546 Add --pretty to tsconfigs 2016-07-11 11:00:06 -07:00
Vladimir Matveev
8ec02c0e77 merge with origin/master 2016-07-11 10:36:05 -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
Mohamed Hegazy
5c498cdc81 Parse the result of getDirectories call 2016-07-07 16:49:12 -07:00
Anders Hejlsberg
868d5e602f Merge branch 'master' into literalTypes 2016-07-06 19:51:34 -07:00
Sheetal Nandi
08a0137bbe Set default flags on all nodes 2016-07-06 12:17:27 -07:00
Vladimir Matveev
6374a3f055 Merge remote-tracking branch 'origin/master' into tsserverVS-WIP-projectsystem 2016-07-05 16:17:23 -07:00
Mohamed Hegazy
1102fa6bae Merge pull request #9420 from Microsoft/formatting_loc
Do not scan nodes preceding formatted region, just skip over them
2016-07-05 14:40:48 -07:00
Anders Hejlsberg
5225997c8c Merge branch 'master' into literalTypes
# Conflicts:
#	src/compiler/checker.ts
2016-07-05 13:25:15 -07:00
Sheetal Nandi
a2ff4ea0f8 Identifier constructor 2016-07-05 11:37:15 -07:00
Sheetal Nandi
4a77c97ae7 Create tokens using different constructor 2016-07-05 11:37:15 -07:00
Vladimir Matveev
f9a5593f6a fix linter 2016-07-01 20:30:08 -07:00
Vladimir Matveev
f7c4281f6b add new method getEmitOutputObject to return result of the emit as object with properties instead of json string 2016-07-01 17:35:12 -07:00
Andy Hanson
2c40fea9f1 Improve names of whitespace functions 2016-07-01 13:57:20 -07:00
Vladimir Matveev
f6d672eddf Merge remote-tracking branch 'origin/master' into tsserverVS-WIP-projectsystem 2016-06-30 20:26:00 -07:00
Zhengbo Li
494fada879 Merge pull request #9426 from zhengbli/fix9411
Add nullcheck when calculating indentations for implort clause
2016-06-30 14:21:11 -07:00
Andy Hanson
9daa800c6a Respond to PR comments 2016-06-30 09:18:25 -07:00
Andy Hanson
0535d55a97 Show "<unknown>" if the name of a declaration is unavailable 2016-06-30 06:38:18 -07:00
zhengbli
7232513194 Add nullcheck when calculating indentations for implort clause 2016-06-29 12:01:33 -07:00
Andy Hanson
0a61334677 Do not scan nodes preceding formatted region, just skip over them 2016-06-29 08:39:36 -07:00
Vladimir Matveev
cad8049482 merge with origin/master 2016-06-28 21:27:01 -07:00
Mohamed Hegazy
ec020776c2 Merge pull request #9361 from SaschaNaz/noFormatInJsxElement
Fix formatting on JsxElement/JsxExpression
2016-06-28 12:13:10 -07:00
Kagami Sascha Rosylight
6e984eb3a3 new options should be optional for compatibility 2016-06-29 03:28:22 +09:00
Vladimir Matveev
15f825b6b3 merge with origin/master 2016-06-27 14:25:18 -07:00
Kagami Sascha Rosylight
cbfbfe1aa6 make rules optional 2016-06-27 16:04:53 +09:00
Kagami Sascha Rosylight
378c6b5fc7 format jsx expression 2016-06-26 15:17:05 +09:00
Kagami Sascha Rosylight
9dfcb4419c do not format comma/closeparen in jsxelement 2016-06-25 19:23:46 +09:00
Kagami Sascha Rosylight
a8ac0efc1b Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixExportImportFormatting 2016-06-25 17:57:55 +09:00
Kagami Sascha Rosylight
335737973e Merge branch 'master' of https://github.com/SaschaNaz/TypeScript into fixExportImportFormatting 2016-06-25 17:53:46 +09:00
Paul van Brenk
cca7000032 Merge pull request #9342 from Microsoft/typoinbracecompletion
Fix typo
2016-06-24 14:41:10 -07:00