1659 Commits

Author SHA1 Message Date
Daniel Rosenwasser
ad477c7fc9 Merge pull request #2691 from Microsoft/isRegExpWeHardlyKnewYe
Remove 'Symbol.isRegExp' and introduce 'RegExp.prototype.flags'
2015-04-10 01:51:59 -07:00
Ron Buckton
f318515f70 Merge pull request #2664 from Microsoft/fixDecoratorFormatting
Fixes some formatting for decorators
2015-04-09 17:42:56 -07:00
ahmad-farid
01d945b18b Merge pull request #2612 from ahmad-farid/OCNoTest2
Adding outlining for comments to allow collapsing in VS #698
2015-04-09 17:35:25 -07:00
Daniel Rosenwasser
6493980f64 Merge pull request #2701 from Microsoft/superAnnoyingEmitInEs6Classes
Don't emit '_this' when encountering 'super' in ES6 emit
2015-04-09 17:24:40 -07:00
Ahmad Farid
86e5773c65 Merging 2015-04-09 17:06:25 -07:00
Daniel Rosenwasser
63bb38157b Ragga fragga newlines. 2015-04-09 17:00:22 -07:00
Daniel Rosenwasser
c25170558e Added test for super method calls in ES6 classes. 2015-04-09 16:06:26 -07:00
Ahmad Farid
a34801f30b merging with master 2015-04-09 16:05:06 -07:00
Mohamed Hegazy
f6eb66b572 Merge branch 'master' into decoratorsLS 2015-04-09 14:31:55 -07:00
Daniel Rosenwasser
8aeff70e48 Fix a test so that we don't get duplicate declaration errors. 2015-04-09 14:14:55 -07:00
Daniel Rosenwasser
33028d5199 Replace uses of 'Symbol.isRegExp' with 'Symbol.toPrimitive'. 2015-04-09 14:06:57 -07:00
Daniel Rosenwasser
4eb8c738ee Merge pull request #2666 from Microsoft/occurrencesOnServer
Support getOccurrences on the TS Server
2015-04-08 18:11:50 -07:00
Ron Buckton
609036a2d6 PR feedback and baseline updates 2015-04-08 17:06:00 -07:00
Jason Freeman
d459c59028 Merge branch 'master' of https://github.com/Microsoft/TypeScript into iteratorSpreadDestructure 2015-04-08 16:14:24 -07:00
Ron Buckton
3702568916 Fix for #2619 2015-04-08 15:27:41 -07:00
Daniel Rosenwasser
12ccdb63db Apparently our server tests can't handle negative tests. 2015-04-08 01:19:45 -07:00
Daniel Rosenwasser
81d62cf57d Fixed 'isWriteAccess' check. 2015-04-08 01:09:54 -07:00
Daniel Rosenwasser
a6788d22ef Added occurrences tests. 2015-04-07 23:53:47 -07:00
Daniel Rosenwasser
de0347fa0f Rename tests. 2015-04-07 23:50:26 -07:00
Daniel Rosenwasser
6b997487ee Fixed /// <reference 2015-04-07 23:34:45 -07:00
Ron Buckton
68b38b3e6a Merge pull request #2658 from Microsoft/fixDecoratorBindingForSuperThis
Fixes #2601, incorrect resolution of this/super
2015-04-07 19:10:03 -07:00
Ron Buckton
e9911a5e17 Tests and baselines 2015-04-07 17:43:10 -07:00
Ron Buckton
1a1bb34864 Added rules for spacing around decorators, computing the undecorated start line of a node 2015-04-07 16:15:02 -07:00
Mohamed Hegazy
0258a648f9 Add tests 2015-04-07 15:41:21 -07:00
Mohamed Hegazy
87a02ebb00 Fix find all refs and goto def for decorators 2015-04-07 12:37:05 -07:00
Mohamed Hegazy
863f0b6180 Merge pull request #2643 from Microsoft/checkForOmittedExpression
Check for omitted expressions when checking const and let declaration names
2015-04-06 16:42:51 -07:00
Mohamed Hegazy
238a33daa0 Rename test case 2015-04-06 16:24:55 -07:00
Mohamed Hegazy
d71632aa38 Check for omitted expressions when checking const and let declaration names 2015-04-06 15:32:22 -07:00
Mohamed Hegazy
3ca76ca53b Add null check when querying for exports from a module 2015-04-06 14:54:22 -07:00
Ahmad Farid
de01f5da89 Addressing PR comments and adding unit tests (removing extra new lines and debugging statements) 2015-04-06 14:50:08 -07:00
Ahmad Farid
049b8fb2d0 Addressing PR comments and adding unit tests 2015-04-06 14:42:43 -07:00
Mohamed Hegazy
29fe9f560f Merge branch 'master' into APISamples
Conflicts:
	tests/baselines/reference/APISample_compile.js
	tests/baselines/reference/APISample_compile.types
	tests/baselines/reference/APISample_linter.js
	tests/baselines/reference/APISample_linter.types
	tests/baselines/reference/APISample_transform.js
	tests/baselines/reference/APISample_transform.types
	tests/baselines/reference/APISample_watcher.js
	tests/baselines/reference/APISample_watcher.types
2015-04-06 13:38:16 -07:00
Ahmad Farid
7fcbb8c9a0 adding unit tests fot block comments outlining 2015-04-03 19:21:27 -07:00
Yui T
742f65c80b Merge branch 'master' into parseClassInStrictMode
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2015-04-03 17:23:02 -07:00
Cyrus Najmabadi
8537232d32 Add decorator test for a decorator on a class expression. 2015-04-03 13:04:56 -07:00
Cyrus Najmabadi
be26d417a3 Add additional tests. 2015-04-02 17:50:11 -07:00
Cyrus Najmabadi
7562a34ae8 Add support for emitting static properties in class expressions in ES6. 2015-04-02 17:43:41 -07:00
Mohamed Hegazy
facbe843d1 Merge branch 'master' into APISamples
Conflicts:
	tests/baselines/reference/APISample_compile.js
	tests/baselines/reference/APISample_compile.types
	tests/baselines/reference/APISample_linter.js
	tests/baselines/reference/APISample_linter.types
	tests/baselines/reference/APISample_linter.types.pull
	tests/baselines/reference/APISample_transform.js
	tests/baselines/reference/APISample_transform.types
	tests/baselines/reference/APISample_watcher.js
	tests/baselines/reference/APISample_watcher.types
2015-04-02 16:45:44 -07:00
Mohamed Hegazy
8ceebaa985 Update APISample tests for 1.5-alpha release 2015-04-02 15:45:52 -07:00
Cyrus Najmabadi
0f079632b9 PR feedback. 2015-04-02 14:58:43 -07:00
Cyrus Najmabadi
6f250703ff Merge branch 'master' into JSLS
Conflicts:
	src/services/services.ts
2015-04-02 14:22:16 -07:00
CyrusNajmabadi
35d8536c75 Merge pull request #2588 from Microsoft/classExpr
Class declarations should be block scoped.
2015-04-02 14:13:25 -07:00
Yui T
696e6a30fc Update test and baseliens from parsing classLikeDeclaration in strict mode 2015-04-02 13:41:07 -07:00
Mohamed Hegazy
9e4c9f923f Merge pull request #2570 from Microsoft/versionCacheUnitTest
Version cache unit test
2015-04-02 09:27:44 -07:00
unknown
ba8be9eef4 Support classes without names in our AST. Report any issues with this at 'check' time. 2015-04-01 17:20:20 -07:00
unknown
22a87fb9ca Class declarations should be block scoped. 2015-04-01 16:24:51 -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