Commit Graph

12366 Commits

Author SHA1 Message Date
Nathan Shively-Sanders
fabf5d8d53 findAncestor:single callback returns boolean|"quit"
Previously there was a 'found' callback and a 'quit' callback.
2017-04-18 11:17:07 -07:00
Nathan Shively-Sanders
3739216c79 Merge branch 'master' into typeof-can-refer-class-before-declaration 2017-04-17 15:30:16 -07:00
Nathan Shively-Sanders
03b12e88af Type query can refer to block-scoped vars before declaration 2017-04-17 15:19:57 -07:00
Matt Bierner
6fd8653847 Fix globalPlugins TSServer Flag
**Bug**
globalPlugins flag not being threaded through IOSession object properly

**Fix**
Pass these flags to superclass in IOSession
2017-04-17 14:05:49 -07:00
Nathan Shively-Sanders
f071928a9e Merge branch 'master' of https://github.com/Microsoft/TypeScript 2017-04-17 14:01:56 -07:00
Nathan Shively-Sanders
0292f5867c Merge branch 'allow-export-specifier-reference' of https://github.com/Kovensky/TypeScript into Kovensky-allow-export-specifier-reference 2017-04-17 13:59:58 -07:00
Mohamed Hegazy
4e29b1883d Merge pull request #15051 from Microsoft/at_types
Support @types module resolution from scoped packages
2017-04-17 10:08:15 -07:00
Nathan Shively-Sanders
e5416b5dcc Merge pull request #15075 from Microsoft/fix-exponential-expanding-array-assignment
Evolving array element type ignores contextual type
2017-04-17 08:26:06 -07:00
Andy
af64ef8b67 Merge pull request #15141 from Microsoft/getOwnKeys
Remove unnecessary use of getOwnKeys
2017-04-14 11:47:54 -07:00
Andy
dbb1252e6a Merge pull request #15140 from Microsoft/configuration-extension-tests
configurationExtension tests: Use objects instead of strings for readability
2017-04-14 11:47:38 -07:00
Mohamed Hegazy
8324244147 Merge pull request #14823 from Microsoft/fix14620
Fix #14620: Lookup names in exports as well as locals when binding special properties
2017-04-14 10:46:22 -07:00
Mohamed Hegazy
76c547d736 Merge remote-tracking branch 'origin/master' into fix14620 2017-04-14 10:18:56 -07:00
Andy
72feaad893 Merge pull request #14001 from Microsoft/refactor_findallrefs
Refactor findAllReferences. Now supports renamed exports and imports.
2017-04-14 09:57:54 -07:00
Mohamed Hegazy
ecd772d620 Merge pull request #15186 from Microsoft/fix15184
Fix #15184: Use `void` and not `undefined` for `this` parameter types in the library
2017-04-14 09:57:36 -07:00
Nathan Shively-Sanders
aa6c0c6135 Merge pull request #15194 from Microsoft/serializeTypeNode-handles-object
serializeTypeNode handles `object`
2017-04-14 09:55:27 -07:00
Ryan Cavanaugh
b5f37a17e2 Merge pull request #15060 from RyanCavanaugh/fixPluginLoading
Only load plugins from correct folders
2017-04-14 09:47:10 -07:00
Mohamed Hegazy
2ddf4992ee Merge remote-tracking branch 'origin/master' into fix15184 2017-04-14 09:30:47 -07:00
Nathan Shively-Sanders
959187607d serializeTypeNode handles object
This was just overlooked earlier.
2017-04-14 09:28:31 -07:00
Ron Buckton
28c0eedcc6 Merge pull request #15124 from falsandtru/lib.d.ts/object
Use `object` type
2017-04-14 09:03:55 -07:00
Nathan Shively-Sanders
7d1966bdb2 Merge pull request #15176 from HerringtonDarkholme/namespace-error
fix #15155: improve namespace module error message
2017-04-14 08:23:59 -07:00
Herrington Darkholme
e9fd2bcf0f address code review feedback 2017-04-14 10:36:49 +08:00
Ryan Cavanaugh
92eaf5dc9b Lint 2017-04-13 16:39:07 -07:00
Mohamed Hegazy
a9c015a56a Fix #15184: Use void and not undefined for this parameter types in the library 2017-04-13 16:25:48 -07:00
Ryan Cavanaugh
d31364c09c Load global plugins even if no local ones exist 2017-04-13 16:17:35 -07:00
Ryan Cavanaugh
19ddc1e94a Avoid loading duplicate local+global plugins 2017-04-13 16:17:34 -07:00
Ryan Cavanaugh
3cc379c3c0 Fix merge 2017-04-13 16:16:57 -07:00
Mohamed Hegazy
d129199f41 Merge pull request #15183 from Microsoft/PortLibChanges-4-13-2017
Port generated lib files
2017-04-13 15:16:17 -07:00
Nathan Shively-Sanders
d53b3ac43c Merge pull request #15032 from Microsoft/fix-anon-class-this-reference-caching
Do not walk up control flow containers for `this`
2017-04-13 15:10:01 -07:00
Mohamed Hegazy
ea9670de43 Port generated lib files 2017-04-13 14:57:25 -07:00
Nathan Shively-Sanders
8a599f662f Merge pull request #14090 from Microsoft/es5-emit-param-initialiser-before-object-rest
ES5:Emit parameter initialiser before object rest destructuring
2017-04-13 13:43:13 -07:00
Nathan Shively-Sanders
58a6c92c29 Rename addPrologueDirectives->addStandardPrologue 2017-04-13 13:21:56 -07:00
Nathan Shively-Sanders
5496096ee3 Split addPrologue into string + custom directives
The original function is now named addPrologue.
There are then three places than need to call the two split functions
separately.
2017-04-13 10:29:32 -07:00
Herrington Darkholme
7b1cbf0994 fix #15155: improve namespaceModule error message 2017-04-13 21:30:17 +08:00
Anders Hejlsberg
014845a637 Merge pull request #15057 from Microsoft/fixExcessPropertyCheck
Fix excess property check
2017-04-12 15:54:32 -10:00
Nathan Shively-Sanders
11f715c724 Merge pull request #15036 from Microsoft/remove-readonly-from-spread-properties
Remove readonly from spread properties
2017-04-12 16:32:16 -07:00
Yui
ee52477798 Merge pull request #15037 from Microsoft/master-14401
[Master] Include dom into default library files
2017-04-12 13:42:40 -07:00
Nathan Shively-Sanders
24852b6be4 Merge branch 'master' into es5-emit-param-initialiser-before-object-rest 2017-04-12 12:59:10 -07:00
Nathan Shively-Sanders
28cdaf24e9 Address PR:fix find-all-refs and slim down code
Also add readonly to find-all-ref test
2017-04-12 11:31:52 -07:00
Andy Hanson
c7d51a3053 Merge branch 'master' into refactor_findallrefs 2017-04-12 11:27:58 -07:00
Ron Buckton
6c4a24eb11 Fix down-level emit for captured loop variable in async function 2017-04-11 17:30:53 -07:00
Andy
12df0324ee Merge pull request #15142 from Microsoft/newLine
Don't access `sys.newLine` inside unit tests
2017-04-11 14:40:09 -07:00
Zhengbo Li
11ac006d60 Fix issue that randomly closes configured projects (#15080)
* Fix issue that randomly closes configured projects

* Correct the default project selection
2017-04-11 14:25:32 -07:00
Andy Hanson
893e3242fb Don't access sys.newLine inside unit tests 2017-04-11 14:24:32 -07:00
Andy Hanson
4ae8df635a Remove unnecessary use of getOwnKeys
Also, fix a typo.
2017-04-11 14:19:11 -07:00
Andy Hanson
fe007ccb84 configurationExtension tests: Use objects instead of strings for readability 2017-04-11 14:14:48 -07:00
Andy
1798e8f58b Merge pull request #15131 from Microsoft/boolean-trivia-spacing
boolean-trivia lint rule: Enforce space between comment and argument
2017-04-11 14:10:17 -07:00
Ryan Cavanaugh
34e3f5fe4a Merge pull request #15111 from RyanCavanaugh/typesMap2
Add tests, comments, and min.js exclusion
2017-04-11 11:08:14 -07:00
Andy Hanson
ed5eca2b7b boolean-trivia lint rule: Enforce space between comment and argument 2017-04-11 09:44:58 -07:00
Andy
c38d2a188a Merge pull request #15077 from Microsoft/null-trivia
boolean-trivia lint rule: Lint for null/undefined too
2017-04-11 08:43:41 -07:00
falsandtru
8a851f3702 Use object type 2017-04-11 21:39:51 +09:00