1162 Commits

Author SHA1 Message Date
zhengbli
9ff02b11e9 Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc
# Conflicts:
#	src/services/services.ts
2016-05-02 15:11:51 -07:00
Mohamed Hegazy
59d1f1f8ab Merge pull request #8284 from Microsoft/Fix8271
Fix #8271: Add `undefined` type to index signatures
2016-04-25 14:17:51 -07:00
Anders Hejlsberg
dc60e68468 Merge pull request #8286 from Microsoft/controlFlowCacheFix
Control flow cache fix
2016-04-25 12:26:30 -07:00
Zhengbo Li
0f18cf8bb7 Merge pull request #8196 from zhengbli/fileWatcherBackToPolling
Change file watching back to polling.
2016-04-25 11:42:26 -07:00
Anders Hejlsberg
b88269bace Cache control flow types only at loop-back junctions 2016-04-25 11:23:56 -07:00
Mohamed Hegazy
743fa3c32d Fix #8271: Add undefined type to index signatures 2016-04-25 10:40:14 -07:00
zhengbli
870fd84233 Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc 2016-04-22 15:04:35 -07:00
zhengbli
15cbb02162 refactor 2016-04-22 14:26:36 -07:00
Anders Hejlsberg
5ed6f30f1f Merge pull request #8010 from Microsoft/controlFlowTypes
Control flow based type analysis
2016-04-22 14:18:56 -07:00
zhengbli
a09b001c61 Add env to allow switch to non-polling if really wants to 2016-04-22 11:54:09 -07:00
Anders Hejlsberg
ab4b03983b Removing unused logic 2016-04-21 13:40:57 -07:00
Sheetal Nandi
dc4871a12a Parenthesize the fn or constructor type with type parameter when writing it in type argument
Fixes #8105
2016-04-18 15:44:40 -07:00
Anders Hejlsberg
2595f0451c Removing unused properties 2016-04-17 13:48:41 -07:00
zhengbli
0dddcf4b84 code clean up 2016-04-14 16:51:22 -07:00
zhengbli
a3d74ad550 Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc
# Conflicts:
#	src/compiler/diagnosticMessages.json
#	src/services/services.ts
2016-04-13 16:57:35 -07:00
zhengbli
2945f64e3b Add tests for renaming and incremental parsing. Changed how the AST was hydrated
with jsdocComment nodes.
2016-04-13 16:45:06 -07:00
Sheetal Nandi
41c1a5b497 Merge pull request #7945 from Microsoft/renameAndFindRef
Fixes rename for destructuring, named imports and default imports
2016-04-13 15:46:43 -07:00
Sheetal Nandi
c492fc6369 Update the entry point to return property symbol of destructuring assignment 2016-04-13 14:50:41 -07:00
Vladimir Matveev
376c493e67 include type reference directives in .d.ts. files 2016-04-11 21:36:07 -07:00
Anders Hejlsberg
b1e9f43d28 Merge branch 'master' into controlFlowTypes
Conflicts:
	src/compiler/checker.ts
	tests/baselines/reference/typeAssertions.errors.txt
2016-04-10 09:30:30 -07:00
Vladimir Matveev
e5e7d47782 merge with origin/master 2016-04-08 14:38:47 -07:00
Daniel Rosenwasser
a7bf6902ff Merge pull request #7952 from Microsoft/objectAssignPoly
Use an emit helper (or Object.assign) for JsxSpreadAttributes
2016-04-08 13:24:12 -07:00
Anders Hejlsberg
5179dd6ada Flow analysis of &&, ||, and destructuring assignments 2016-04-08 09:13:47 -07:00
Daniel Rosenwasser
bb0ec3bbd4 Use an emit helper for JSX Spread Attributes. 2016-04-07 18:30:26 -07:00
Paul van Brenk
58efc2ee05 Merge pull request #7883 from Microsoft/listEmittedFiles2
Add option to list the emitted files as part of the compiler output.
2016-04-07 17:50:26 -07:00
Sheetal Nandi
a405f285ec Merge branch 'master' into renameAndFindRef 2016-04-07 15:48:46 -07:00
Sheetal Nandi
ad916ab05d Handles when property is renamed and is also part of destructuring assignment
Handles destructuring assignment part of #6312
2016-04-07 15:41:42 -07:00
Vladimir Matveev
46d28f16cc added supports for 'types' compiler option 2016-04-06 13:49:25 -07:00
Paul van Brenk
5363b2d7ad Add option to list the emitted as part of the compiler output.
This is useful for incremental build scenarios.
2016-04-06 13:25:29 -07:00
Zhengbo Li
23bca4eda6 Support the case with @property and @type 2016-04-05 16:34:48 -07:00
Vladimir Matveev
e2a23fd598 remove compilationRoot parameter, use typesRoot/config file location as a root when computing primary locations 2016-04-05 16:33:11 -07:00
Vladimir Matveev
25e9226d25 addressed PR feedback 2016-04-04 18:03:36 -07:00
zhengbli
df91ef0b38 Simple case and scoping 2016-04-03 11:52:04 -07:00
Vladimir Matveev
aaaa9c0895 expose type reference resolution for external consumption 2016-04-01 12:41:01 -07:00
Ryan Cavanaugh
05444eaabb Support reference library directives 2016-04-01 12:19:16 -07:00
Nathan Shively-Sanders
ce68932475 Merge branch 'master' into this-function-types 2016-03-31 10:46:03 -07:00
Kanchalai Tanglertsampan
7e1470d5d4 Address PR: use getDefaultLibLocation? insteadof getUserDefinedLibFileName 2016-03-28 16:24:16 -07:00
Kanchalai Tanglertsampan
3fef5ba458 Implement --lib flag in the compiler and harness 2016-03-28 14:20:29 -07:00
Nathan Shively-Sanders
9e5f26048b Merge branch 'master' into this-function-types 2016-03-28 10:12:25 -07:00
Nathan Shively-Sanders
a91cdccfc5 Add --noImplicitThis flag
It's basically another --noImplicitAny error, but one that would break
large amount of JavaScript-style code.
2016-03-25 16:37:28 -07:00
Nathan Shively-Sanders
c9f5f3d67e Remove --strictThisChecks 2016-03-25 15:41:37 -07:00
Anders Hejlsberg
33985b24b7 Adding a few optimizations 2016-03-24 06:50:01 -07:00
Anders Hejlsberg
e67d15a1ce Initial implementation of control flow based type analysis 2016-03-22 10:20:43 -07:00
Anders Hejlsberg
413d9a639f Merge branch 'master' into strictNullChecks
Conflicts:
	src/compiler/diagnosticMessages.json
	src/compiler/types.ts
	tests/baselines/reference/typeGuardOfFormTypeOfEqualEqualHasNoEffect.symbols
	tests/baselines/reference/typeGuardOfFormTypeOfNotEqualHasNoEffect.symbols
2016-03-21 16:21:02 -07:00
Yui
b5f418ffcc Merge pull request #7522 from Microsoft/parseCompilerFlagsWithListOptions
Parsing compiler flags which takes options in form of list
2016-03-16 17:13:43 -07:00
Kanchalai Tanglertsampan
9e2df0459e Address PR 2016-03-16 16:35:51 -07:00
Kanchalai Tanglertsampan
92bee6a533 Unify error message for custom-type compiler option 2016-03-16 13:49:36 -07:00
Chuck Jazdzewski
8bf9da614f Adding sourceFiles to the Program emit callback
This implements #7438
2016-03-15 13:25:18 -07:00
Kanchalai Tanglertsampan
157b8e7456 Add a new unittest for command line parsing for --lib 2016-03-15 11:44:33 -07:00
Anders Hejlsberg
b497243f90 Merge branch 'master' into strictNullChecks 2016-03-14 16:31:29 -07:00