Commit Graph

1030 Commits

Author SHA1 Message Date
Kanchalai Tanglertsampan 1cfce12001 Merge branch 'release-1.8' into checksuperbeforethislexically 2016-02-08 10:43:41 -08:00
Mohamed Hegazy 622f469029 change flag name 2016-02-06 12:15:14 -08:00
Mohamed Hegazy e58ba40d12 Rename flag 2016-02-05 17:00:06 -08:00
Mohamed Hegazy 16fffb454e Add flag to emit modules in loose mode 2016-02-05 16:58:31 -08:00
Vladimir Matveev a2774c10d5 port PR #6898 2016-02-04 14:03:39 -08:00
Kanchalai Tanglertsampan aff6775a36 Add a flag so we don't repeatedly finding super call 2016-02-03 14:47:39 -08:00
Kanchalai Tanglertsampan 7e1088bb50 Address PR 2016-02-03 11:51:29 -08:00
Kanchalai Tanglertsampan ed0962883b Check using "super" before "this" lexically instead of using the
NodeCheckFlags

Remove "type-checking" way of checking if super is used before this.
Instead check using whether super occurs before this syntactically

Refactor the code

Dive down to get super call
2016-02-02 16:53:44 -08:00
Vladimir Matveev f55f28f82f Merge pull request #6789 from Microsoft/transpileJs
suppress validation of output paths in transpile scenarios
2016-02-01 11:29:04 -08:00
Ron Buckton 463d1f52e6 Creates a class body scoped alias to the class to avoid class name double binding.
Fixes #5386.
2016-01-29 18:05:04 -08:00
Yui T 32ae0b08d1 Address comments 2016-01-28 17:02:43 -08:00
Yui T 40ba1be0a9 Address PR feedback
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/types.ts
2016-01-28 17:00:59 -08:00
Vladimir Matveev 16d4039a12 Merge pull request #6553 from Microsoft/handleNestedBlockScopedName
handle block scoped binding in nested blocks
2016-01-27 11:30:25 -08:00
Ron Buckton 05803f5285 Added comments for new flags in types.ts 2016-01-26 12:55:03 -08:00
Ron Buckton da6aadbea8 Merge branch 'master' into alternateFixSuperInAsyncMethod 2016-01-26 11:49:30 -08:00
Ryan Cavanaugh 64c2d66ccb Merge branch 'master' into jsDocFinal 2016-01-22 15:10:02 -08:00
Ron Buckton 6084dec8b9 Merge branch 'master' into alternateFixSuperInAsyncMethod 2016-01-21 16:52:45 -08:00
Ron Buckton 6e5948f622 Merge branch 'master' into moveEmitFlagsToBinder 2016-01-19 16:13:38 -08:00
Ron Buckton 5943f043ea Merge branch 'master' into alternateFixSuperInAsyncMethod 2016-01-15 12:51:30 -08:00
Ron Buckton fb1ad3231c Move emit helper flags to binder. Fixes #6113 2016-01-14 17:51:34 -08:00
Vladimir Matveev a69dcd16fa Merge remote-tracking branch 'origin/master' into moduleAugmentations 2016-01-14 11:13:48 -08:00
Mohamed Hegazy 31d85155b9 Merge branch 'master' into fixFindReferencesOnExports 2016-01-13 15:35:03 -08:00
Ryan Cavanaugh 120fa190d2 Remove duplicated functions 2016-01-12 15:30:19 -08:00
vladima 7cef1efb4e merge with origin/master 2016-01-11 22:12:03 -08:00
Ryan Cavanaugh 3c715dd094 Merge remote-tracking branch 'upstream/master' into jsDoc2 2016-01-11 11:39:20 -08:00
Yui T 81f760c406 Merge branch 'master' into fix5953_crashJSX 2016-01-10 05:46:54 -08:00
Ryan Cavanaugh 8e3daa4b07 Merge remote-tracking branch 'upstream/master' into jsDoc2 2016-01-07 15:57:30 -08:00
Mohamed Hegazy cc1947b94f Rename jsxNamespace to reactNamespace 2016-01-07 13:59:25 -08:00
Mohamed Hegazy c0b28a3a40 Merge branch 'react-factory-option' of https://github.com/rwyborn/TypeScript into rwyborn-react-factory-option
Conflicts:
	src/compiler/checker.ts
2016-01-07 13:50:03 -08:00
Mohamed Hegazy cefb741d9d Merge branch 'master' into fixFindReferencesOnExports 2016-01-07 13:31:22 -08:00
Ryan Cavanaugh 5eb1cc44f6 Merge remote-tracking branch 'upstream/master' into jsDoc2 2016-01-06 13:51:45 -08:00
Ryan Cavanaugh e223b2e53c Clean up unrelated changes 2016-01-06 12:47:26 -08:00
Vladimir Matveev 36af815bba add optional 'directoryExists' method to hosts to reduce amount of disk probings that are known to fail 2016-01-06 12:37:52 -08:00
Mohamed Hegazy 7d31b5c8a3 Fix find all refs in shorthand properties for imports and exports 2016-01-06 10:27:31 -08:00
Vladimir Matveev 7f2ebf928a use 'declare global' to define augmentations for the global scope 2015-12-28 12:03:54 -08:00
Vladimir Matveev 4a963a26c3 initial revision of external module augmentations 2015-12-22 13:56:22 -08:00
Daniel Rosenwasser cc5334eb89 Made 'expression' non-optional in 'CaseClause'. 2015-12-18 14:06:08 -08:00
Yui T 4a47dfb061 Merge branch 'master' into fix5953_crashJSX
Conflicts:
	src/services/services.ts
2015-12-18 11:39:43 -08:00
Rowan Wyborn 2395890268 fix trailing whitespace 2015-12-18 22:25:23 +11:00
Rowan Wyborn b7f60704bb Initial check in - Support other JSX factories Issue #3788
- added jsxNamespace compile option
- when jsx mode is "react", jsxNamespace optionally specifies the emit namespace for React calls, eg "--jsxNamespace MyDOMLib" will emit calls as MyDOMLib.createElement (instead of React.createElement)
- symbol specified by jsxNamespace must be present, else compile error is generated (same handling as is done for React symbol when no jsxNamespace is specified)
2015-12-18 21:56:08 +11:00
Yui T 73911a327d Merge branch 'master' into fix4686_fixrename 2015-12-17 18:35:08 -08:00
Yui T 07c6fe6280 Merge branch 'master' into fix5953_crashJSX 2015-12-14 15:04:31 -08:00
Ryan Cavanaugh 2f447ee005 Merge pull request #5876 from RyanCavanaugh/javaScriptPrototypes
JavaScript prototype class inference
2015-12-14 11:42:18 -08:00
Yui T 7e71686b1a Fix broken tests 2015-12-14 10:14:35 -08:00
Yui T 0f3eb0a058 Initial fix for rename for parameter property declaration 2015-12-11 19:27:24 -08:00
Yui T 9e6c196c36 Remove includeGlobalSymbol boolean 2015-12-10 18:09:02 -08:00
Anders Hejlsberg ff784770be Merge pull request #5949 from Microsoft/typeParametersAsConstraints
Type parameters as constraints
2015-12-10 16:53:59 -08:00
Yui T 03c8d2f293 Rename parameter 2015-12-10 11:42:20 -08:00
Wesley Wigham 028484664d most pr feedback 2015-12-09 15:53:39 -08:00
Ryan Cavanaugh 50892acfd8 Address CR feedback 2015-12-09 11:16:57 -08:00