Commit Graph

4491 Commits

Author SHA1 Message Date
Yui T
8771212d58 Remove incorrect check of module declartion 2015-04-09 15:58:56 -07:00
Zhengbo Li
d248387ade sort the old dom files 2015-04-09 15:46:06 -07:00
Cyrus Najmabadi
fc512b284b Use modules with const members. 2015-04-09 15:11:26 -07:00
Yui T
e91ef844ed Address code review; better error recovering 2015-04-09 14:49:47 -07:00
Cyrus Najmabadi
9627746ba9 Add the 'none' kind. 2015-04-09 14:49:00 -07:00
Yui T
4b7d2f2411 Address code review 2015-04-09 14:46:02 -07:00
Cyrus Najmabadi
73121ce451 Distinguish written vs read references. 2015-04-09 14:37:21 -07:00
Mohamed Hegazy
f6eb66b572 Merge branch 'master' into decoratorsLS 2015-04-09 14:31:55 -07:00
Mohamed Hegazy
97a4c24ad9 Expose parseCommandLine 2015-04-09 14:18:59 -07:00
Mohamed Hegazy
e30f0d4ae6 Make version const 2015-04-09 14:18:43 -07:00
Mohamed Hegazy
9fdeffeb08 Fix formatting and parameter names 2015-04-09 14:18:32 -07:00
Mohamed Hegazy
1c91c2c5d0 Mark non-public API surface with the /* @internal */ comment 2015-04-09 14:18:14 -07:00
Daniel Rosenwasser
33028d5199 Replace uses of 'Symbol.isRegExp' with 'Symbol.toPrimitive'. 2015-04-09 14:06:57 -07:00
Daniel Rosenwasser
f75c9a6624 Added 'flags' to RegExp.prototype. 2015-04-09 12:52:31 -07:00
Daniel Rosenwasser
d3dd48f07b Remove 'isRegExp'. 2015-04-09 12:35:11 -07:00
Mohamed Hegazy
94fd67856c Merge branch 'master' into release-1.5 2015-04-09 12:07:00 -07:00
Johannes Rieken
55d6e10687 support URI patterns 2015-04-09 11:58:47 -07:00
Yui T
1246dca703 Add comment 2015-04-08 23:54:42 -07:00
Cyrus Najmabadi
1d1ebd536a Fix up the harness code. 2015-04-08 23:41:22 -07:00
Yui T
3a7384a95e Update error code 2015-04-08 23:39:54 -07:00
Cyrus Najmabadi
020c12c6a6 Merge branch 'master' into GetOccurrencesSingleFile 2015-04-08 23:36:22 -07:00
Cyrus Najmabadi
585c6aaf65 CR feedback. 2015-04-08 23:24:51 -07:00
Cyrus Najmabadi
575ce27119 Allow the host to indicate which files it would like highlighting spans for. 2015-04-08 23:16:16 -07:00
Cyrus Najmabadi
e5d0ffab15 Use the fileName that is in scope. 2015-04-08 22:28:40 -07:00
Cyrus Najmabadi
0d233fdd17 No need to tweak spans in syntactic highlights. 2015-04-08 22:26:34 -07:00
Cyrus Najmabadi
02778b19b4 Get semantic document highlights as well through the new API. 2015-04-08 22:24:59 -07:00
Yui T
111a297584 Check for import, import equal, module 2015-04-08 22:07:12 -07:00
Yui T
fb9009f741 Completely remove check strict mode from parser 2015-04-08 22:07:02 -07:00
Yui T
c93fb35c53 Move strict mode check into TypeChecker 2015-04-08 22:06:51 -07:00
Cyrus Najmabadi
6dee32a703 Extract code for getting syntactic document highlights into its own function. 2015-04-08 21:59:50 -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
0546042df3 Add support for parsing destructuring patterns in arrow function parameter lists 2015-04-08 18:01:21 -07:00
Ron Buckton
609036a2d6 PR feedback and baseline updates 2015-04-08 17:06:00 -07:00
Daniel Rosenwasser
180f17d088 Destructure arguments at dispatched calls. 2015-04-08 17:02:42 -07:00
Ron Buckton
51acda8e1d Changed isExpression logic related to decorators 2015-04-08 16:18:49 -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
927231bdcf Merge pull request #2124 from Microsoft/unrewrite
Revert ES3/ES5 downlevel computed property emit logic to not use tree rewriting
2015-04-08 11:45:37 -07:00
Cyrus Najmabadi
4054eca462 Merge branch 'master' into jsSigHelp
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-08 02:12:53 -07:00
Daniel Rosenwasser
12ccdb63db Apparently our server tests can't handle negative tests. 2015-04-08 01:19:45 -07:00
Daniel Rosenwasser
d8d494d4da *Actually dispatched* on the logic. 2015-04-08 00:41:12 -07:00
Daniel Rosenwasser
93bb224545 Actually implemented the session-side logic. 2015-04-08 00:35:34 -07:00
Mohamed Hegazy
a998abb153 Add inlineSourceMap option 2015-04-08 00:14:23 -07:00
Daniel Rosenwasser
5b6c65ffe0 Added support for getOccurrences to the server. 2015-04-07 23:31:09 -07:00
Mohamed Hegazy
73e22ed9c2 Add convertToBase64 method 2015-04-07 22:54:06 -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
eec39c2fc5 Additional rule for spacing between decorator on same line as its declaration 2015-04-07 17:23:52 -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
Steve Lucco
de2e1455bb Merge pull request #2591 from Microsoft/serverAddExitMessage
Add an exit message for the server.
2015-04-07 16:00:48 -07:00
Mohamed Hegazy
87a02ebb00 Fix find all refs and goto def for decorators 2015-04-07 12:37:05 -07:00