1765 Commits

Author SHA1 Message Date
Vladimir Matveev
4a919d4f04 exclude 'default' from star exports 2015-04-29 11:43:23 -07:00
Vladimir Matveev
5f18d9b912 extract emitExportStar in separate function 2015-04-28 20:17:55 -07:00
Vladimir Matveev
c057c0a22a merge with master 2015-04-28 18:00:26 -07:00
Anders Hejlsberg
4c5aeaf0c9 Merge branch 'master' into namespaces
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/program.ts
	tests/baselines/reference/constDeclarations-access5.errors.txt
	tests/baselines/reference/es6-amd.errors.txt
	tests/baselines/reference/es6-declaration-amd.errors.txt
	tests/baselines/reference/es6-sourcemap-amd.errors.txt
	tests/baselines/reference/es6-umd.errors.txt
	tests/baselines/reference/es6-umd2.errors.txt
	tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImport.errors.txt
	tests/baselines/reference/es6ImportNameSpaceImport.errors.txt
	tests/baselines/reference/es6ImportNamedImport.errors.txt
	tests/baselines/reference/es6ImportNamedImportInExportAssignment.errors.txt
	tests/baselines/reference/es6ModuleWithModuleGenTargetAmd.errors.txt
	tests/baselines/reference/es6ModuleWithModuleGenTargetCommonjs.errors.txt
2015-04-28 16:49:23 -07:00
Vladimir Matveev
054b22ebc5 Merge remote-tracking branch 'origin/master' into localStorageForExportedNames 2015-04-28 16:19:13 -07:00
Vladimir Matveev
aa1ad5233e generate local storage for all exported names to avoid overwriting them via star exports 2015-04-28 16:18:33 -07:00
Vladimir Matveev
56bf73aa8b added tests 2015-04-27 16:37:36 -07:00
Mohamed Hegazy
32409f9b9b Merge branch 'master' into inlineSourceMaps 2015-04-27 10:11:43 -07:00
Anders Hejlsberg
8489e521c8 Modify fourslash tests 2015-04-26 16:12:48 -07:00
Vladimir Matveev
b1cc06e44c merge with master 2015-04-23 20:50:35 -07:00
Daniel Rosenwasser
f83efcc7aa Merge pull request #2895 from Microsoft/reservedNamesImportsExports
Allow contextually reserved names in import/export clauses
2015-04-23 14:52:57 -07:00
Ron Buckton
bc5e5a20ea Merge pull request #2892 from Microsoft/lazyGlobalDecoratorTypes
Lazy resolution of global decorator types
2015-04-23 14:47:36 -07:00
Daniel Rosenwasser
938cfde099 Added test. 2015-04-23 14:38:36 -07:00
Daniel Rosenwasser
9abfc3bd1a Added test. 2015-04-23 14:07:01 -07:00
Ron Buckton
ed644ddaa1 Added tests for 1.0 lib and missing decorator type 2015-04-23 12:33:12 -07:00
Mohamed Hegazy
5172c172b7 Add more tests 2015-04-23 10:44:44 -07:00
Mohamed Hegazy
ae4474aa40 Merge branch 'fix-2036' of https://github.com/csnover/TypeScript into csnover-fix-2036 2015-04-23 10:21:11 -07:00
Vladimir Matveev
05b95c30ff fixed formatting for equals token in type aliases 2015-04-22 21:46:10 -07:00
Anders Hejlsberg
4a98c4680a Merge pull request #2804 from Microsoft/unionPropertyAccess
Only public properties accessible through union type
2015-04-22 14:16:30 -07:00
Anders Hejlsberg
3309e754c1 Merge pull request #2851 from Microsoft/circularTypeAlias
Support circular type aliases in signatures
2015-04-22 14:06:52 -07:00
Colin Snover
378b5ffd1a Add support for UMD-like module export format
The new module format enables global-less universal modules,
compatible with both AMD and CJS module loaders.

Fixes #2036.
2015-04-22 14:21:33 -05:00
Vladimir Matveev
afc3dd3c62 addressed PR feedback 2015-04-21 22:27:42 -07:00
Cyrus Najmabadi
92756e135b Blocks with locals should be added to the container chain so we can detect name collisions in them. 2015-04-21 17:03:15 -07:00
Anders Hejlsberg
8182b7132e Adding tests 2015-04-21 11:20:43 -07:00
Vladimir Matveev
3f7e64661d do not hoist non-top level block scoped variables 2015-04-21 08:41:54 -07:00
Mohamed Hegazy
658bba9eaf Add --inlineSources option 2015-04-20 20:33:31 -07:00
Mohamed Hegazy
ed2e105f17 Merge branch 'master' into rootDir 2015-04-20 14:23:40 -07:00
Vladimir Matveev
6e5082658d skip 'import ...' nodes when creating variable statement for imports 2015-04-20 14:17:38 -07:00
Vladimir Matveev
dcb4c24b43 merge with master 2015-04-20 13:40:13 -07:00
Mohamed Hegazy
c940b1651a Merge branch 'master' into inlineSourceMaps 2015-04-19 13:33:50 -07:00
Mohamed Hegazy
021f309151 Merge branch 'master' into rootDir 2015-04-19 13:25:03 -07:00
Jason Freeman
ccf4104779 Change TypeMapper to only take a type parameter, and fix combineTypeMappers to comply with that rule 2015-04-17 18:28:38 -07:00
Anders Hejlsberg
cae274d0d8 Merge branch 'master' into unionPropertyAccess 2015-04-17 17:19:21 -07:00
Daniel Rosenwasser
62036758a8 Merge pull request #2809 from Microsoft/noReservedWordsInBindingPatterns
Disallow reserved words for object binding pattern names
2015-04-17 17:06:50 -07:00
Mohamed Hegazy
c68f837052 Merge branch 'amd-es3' of https://github.com/Smarp/TypeScript into Smarp-amd-es3 2015-04-17 15:39:23 -07:00
Jason Freeman
8ca7805adb Merge branch 'master' of https://github.com/Microsoft/TypeScript into lazyBaseTypes 2015-04-17 12:52:17 -07:00
TruongSinh Tran-Nguyen
d55dcc61cc exports.default in ES5 vs exports["default"] in ES3 2015-04-17 20:29:05 +03:00
Jason Freeman
8bf012b566 Add tests for not depending on base types 2015-04-16 18:15:03 -07:00
Mohamed Hegazy
9cda1df18c Merge branch 'master' into moduleFixes 2015-04-16 17:37:11 -07:00
Mohamed Hegazy
8964b8e5b6 Merge branch 'master' into rootDir
Conflicts:
	tests/baselines/reference/APISample_compile.types
	tests/baselines/reference/APISample_linter.types
	tests/baselines/reference/APISample_transform.types
	tests/baselines/reference/APISample_watcher.types
2015-04-16 16:52:51 -07:00
Daniel Rosenwasser
a634e6770a Added tests. 2015-04-16 15:26:59 -07:00
Daniel Rosenwasser
c1c608eb1d Added tests. 2015-04-16 15:23:11 -07:00
Mohamed Hegazy
55af7b36c7 Fix #2801: Sort module names for AMD preamble 2015-04-16 14:56:22 -07:00
Mohamed Hegazy
39d9720dd1 wire module lookcups for default import in ambient module declarations 2015-04-16 14:54:47 -07:00
unknown
b94679c723 Merge branch 'master' into unionPropertyAccess 2015-04-16 14:42:44 -07:00
unknown
0e0cac8ce0 Adding test 2015-04-16 14:41:33 -07:00
Daniel Rosenwasser
fc7be363f1 Added tests from 'captureArguments' branch. 2015-04-16 12:29:49 -07:00
Ron Buckton
3b74503898 Merge pull request #2750 from Microsoft/fixES6Clodule
Elide var when emitting a module merged with an ES6 class
2015-04-16 11:53:24 -07:00
Jason Freeman
edf1ae6d36 Merge branch 'master' of https://github.com/Microsoft/TypeScript into destructuringFixes
Conflicts:
	src/compiler/utilities.ts
2015-04-15 17:23:12 -07:00
Jason Freeman
1cda3dc45d Fix parenthesizeForAccess to always parenthesize NewExpressions and NumberLiterals 2015-04-15 17:22:19 -07:00