1600 Commits

Author SHA1 Message Date
Mohamed Hegazy
9e4c9f923f Merge pull request #2570 from Microsoft/versionCacheUnitTest
Version cache unit test
2015-04-02 09:27:44 -07:00
Daniel Rosenwasser
17b790b479 Merge branch 'master' into transitiveExports 2015-04-01 12:00:50 -07:00
Mohamed Hegazy
90e2aa6938 Merge branch 'master' into versionCacheUnitTest 2015-03-31 21:37:15 -07:00
Mohamed Hegazy
f75c1dd7b6 Merge branch 'master' into exportDefaultReference
Conflicts:
	src/compiler/utilities.ts
2015-03-31 21:35:21 -07:00
Mohamed Hegazy
4f78695740 Respond to code review comments 2015-03-31 20:42:45 -07:00
Mohamed Hegazy
4577959246 Merge pull request #2557 from Microsoft/exportEqualsDtsFix
Ensure export= is emitted correctelly in declaration files
2015-03-31 20:39:15 -07:00
Cyrus Najmabadi
3df576d112 Adding a couple of class tests. 2015-03-31 18:11:54 -07:00
Vladimir Matveev
adad7c18d5 Merge pull request #2569 from Microsoft/revertModuleImportFix
revert fix for #2456 'Import namespace exports should be immutable'
2015-03-31 17:55:03 -07:00
Vladimir Matveev
cfda7df900 revert fix for #2456 'Import namespace exports should be immutable' 2015-03-31 17:35:26 -07:00
Mohamed Hegazy
4bf91fd4ce Wire stress tests 2015-03-31 17:30:48 -07:00
Cyrus Najmabadi
ee3ba3bf75 CR feedback. 2015-03-31 17:23:52 -07:00
Cyrus Najmabadi
478ac3d3ef Merge branch 'master' into classExpressions 2015-03-31 14:53:39 -07:00
Vladimir Matveev
f239bbc3b1 Merge pull request #2550 from Microsoft/separateCompilation
Relax import/export elision rules for separate compilation
2015-03-31 14:51:39 -07:00
Mohamed Hegazy
82884e8f26 wire tst tests 2015-03-31 14:43:36 -07:00
Cyrus Najmabadi
b363a459ff Add support for semicolons in class bodies 2015-03-31 14:29:45 -07:00
Cyrus Najmabadi
f7aaf09603 Add support for parsing and emitting class expressions. 2015-03-31 13:54:43 -07:00
Vladimir Matveev
1bdcaa3d43 added tests for import\export elision 2015-03-31 13:54:33 -07:00
Mohamed Hegazy
1f75c03884 Update test names 2015-03-31 13:48:53 -07:00
Mohamed Hegazy
79af91a8e9 Cleanup 2015-03-31 13:45:11 -07:00
Mohamed Hegazy
7f5337701f Consolidate test logic in one helper function 2015-03-31 13:40:17 -07:00
Mohamed Hegazy
cb00b47254 use descript and it to run tests 2015-03-31 13:32:53 -07:00
Mohamed Hegazy
3d4445c645 Add contents for editTest 2015-03-31 12:42:40 -07:00
Cyrus Najmabadi
a1e18fc22b Introduce a new HeritageClauseElment type.
This type represents the expression+type arguments you can get in a class or interface
heritage clause section.  For class-implements clauses, or interface-extends clauses,
these expressions can only be identifiers or dotted names.  For class extends clauses,
these could be any expressions in the future.  However, for now, we only support identifiers
and dotted names.
2015-03-31 12:29:02 -07:00
Mohamed Hegazy
b6d5781c11 Remove commented code 2015-03-31 12:25:44 -07:00
Mohamed Hegazy
bf565c70a4 Use assert 2015-03-31 12:21:11 -07:00
Mohamed Hegazy
d45143815b initial checkin 2015-03-31 12:20:30 -07:00
Vladimir Matveev
1803d730c2 added initial set of unit tests for separate compilation mode 2015-03-30 23:17:45 -07:00
Mohamed Hegazy
757257b9a1 Ensure export= is emitted correctelly in declaration files 2015-03-30 22:18:13 -07:00
Mohamed Hegazy
383f01dbf6 Handel export default declaration completions 2015-03-30 20:28:24 -07:00
Mohamed Hegazy
bea7221174 Ensure we find export default declaration targets if we search for them by name 2015-03-30 16:59:34 -07:00
Yui T
c1d9cfe640 Add test for emit destructuring invariable declaration with omitted expression 2015-03-30 16:45:20 -07:00
Yui T
a26368a7d2 Merge branch 'master' into allowDestructuringInAmbient 2015-03-30 14:44:03 -07:00
Yui T
1f055b95aa Emit ommittedExpression in binding pattern 2015-03-30 13:25:46 -07:00
Cyrus Najmabadi
ceeeb9cd11 Always preserve new lines for array and object literals and additional constructs like blocks. 2015-03-26 13:46:35 -07:00
Daniel Rosenwasser
f70e772acc Merge branch 'master' into transitiveExports
Conflicts:
	src/compiler/checker.ts
2015-03-25 17:02:58 -07:00
Daniel Rosenwasser
8610a881c3 Merge pull request #2495 from Microsoft/useAppropriateCompletionEdge
Use adjusted completion position when at end of identifier
2015-03-25 16:59:11 -07:00
Daniel Rosenwasser
a56233f17d Added tests related to completions with keywords. 2015-03-25 16:35:37 -07:00
Daniel Rosenwasser
e33b24d3d0 Merge pull request #2480 from dbaeumer/feature/signatureHelp
Add signature help to Typescript server
2015-03-25 15:07:24 -07:00
Daniel Rosenwasser
5f428fefb0 More tests. 2015-03-25 14:16:12 -07:00
Daniel Rosenwasser
36db7aad2d Added test. 2015-03-25 12:04:21 -07:00
Dirk Baeumer
c66571b273 Integrated pull request feedback 2015-03-25 12:31:59 +01:00
Mohamed Hegazy
fad889283e Merge branch 'master' into exportEqualsMerged
Conflicts:
	src/compiler/checker.ts
	src/compiler/emitter.ts
	src/compiler/types.ts
	tests/baselines/reference/APISample_compile.js
	tests/baselines/reference/APISample_linter.js
	tests/baselines/reference/APISample_transform.js
	tests/baselines/reference/APISample_watcher.js
	tests/baselines/reference/es5ExportDefaultClassDeclaration2.js
	tests/baselines/reference/es5ExportDefaultFunctionDeclaration2.js
	tests/baselines/reference/es6ExportAllInEs5.js
	tests/baselines/reference/es6ExportClauseWithoutModuleSpecifierInEs5.js
2015-03-25 00:06:38 -07:00
Mohamed Hegazy
1c45b77d9e Merge branch 'master' into exportEqualsMerged 2015-03-24 22:28:35 -07:00
Ron Buckton
ea15225a9e Merge pull request #2399 from Microsoft/decorators_min 2015-03-24 19:57:21 -07:00
Daniel Rosenwasser
2de0a974bb Added tests. 2015-03-24 18:30:44 -07:00
CyrusNajmabadi
4f0dc28bdc Merge pull request #2475 from Microsoft/completionEntryDetails
Share code between getCompletionsAtPosition and getCompletionEntryDetails.
2015-03-24 17:05:39 -07:00
Ron Buckton
f531193557 Updates to emit and updated baselines 2015-03-24 17:00:29 -07:00
Vladimir Matveev
20a0ac5f01 Merge pull request #2476 from Microsoft/immutableBindings
Disallow assignments to imported exports
2015-03-24 15:20:55 -07:00
Vladimir Matveev
e5e5ad89fd Merge pull request #2471 from Microsoft/revisedNameGen2
Revised name generation #2, fixes #2449, #2447
2015-03-24 15:20:18 -07:00
Cyrus Najmabadi
614b1066dc Merge branch 'master' into completionEntryDetails 2015-03-24 14:55:34 -07:00