300 Commits

Author SHA1 Message Date
Wesley Wigham
269b828538 Fix lssl task (#9967) 2016-08-05 14:16:29 -07:00
Andy Hanson
cb1ea7be5d Provide realpath for module resolution in LSHost 2016-08-01 09:47:52 -07:00
Wesley Wigham
fb20df0568
Have tsconfig for harness 2016-07-11 16:36:20 -07:00
Nathan Shively-Sanders
a138e6307f Avoid using this in object literals where possible 2016-07-11 11:30:22 -07:00
Nathan Shively-Sanders
a3d9a85546 Add --pretty to tsconfigs 2016-07-11 11:00:06 -07:00
Nathan Shively-Sanders
b543074861 Compile with --noImplicitThis
1. Add to various tsconfig.json
2. Add to Jakefile
3. Add annotations where needed.
4. Add workaround to shims.ts, which uses toplevel `this`.
2016-07-08 15:13:32 -07:00
Sheetal Nandi
635826ff13 Remove the unused text buffer from ScriptInfo 2016-07-06 11:44:51 -07:00
Kagami Sascha Rosylight
cbfbfe1aa6 make rules optional 2016-06-27 16:04:53 +09:00
Paul van Brenk
cca7000032 Merge pull request #9342 from Microsoft/typoinbracecompletion
Fix typo
2016-06-24 14:41:10 -07:00
jramsay
8312168e91 Merge pull request #9236 from Microsoft/BaseIndentationSupport
[Salsa] Adding base indentation for script block formatting and smart indent
2016-06-24 14:22:58 -07:00
zhengbli
83335f59a7 Add new APIs to protocol 2016-06-24 00:50:15 -07:00
Zhengbo Li
69e2f0e459 Merge pull request #9306 from zhengbli/syncGetErrAPIs
Port the sync diagnostics API from tsserverVS-WIP branch to 2.0
2016-06-23 21:59:29 -07:00
Paul van Brenk
6346fc1168 Fix typo 2016-06-23 17:36:59 -07:00
zhengbli
9f9deceeef Correct the api string name 2016-06-23 16:25:30 -07:00
Wesley Wigham
9cd1f786c3 Merge pull request #9332 from Microsoft/object-whitespace-rule
Object whitespace rule
2016-06-23 14:02:36 -07:00
Nathan Shively-Sanders
c9511b736e 1. pass subshell args 2. fix build order in services
1. /bin/sh requires its arguments joined into a single string unlike
cmd.
2. services/ depends on a couple of files from server/ but the order was
implicit, and changed from jakefile. Now the order is explicit in the
tsconfig.
2016-06-23 13:08:27 -07:00
Wesley Wigham
59ae2ff8ef
Fix object whitespace lints 2016-06-23 12:39:20 -07:00
Wesley Wigham
d008da5888
Make use of module compiler option explicit, add strip internal to tsconfigs 2016-06-22 13:05:58 -07:00
zhengbli
35c50bfb1f Port the sync version diagnostics API from tsserverVS-WIP branch to 2.0 2016-06-21 17:13:21 -07:00
Wesley Wigham
b103857b23
Merge branch 'master' into remove-jake 2016-06-20 16:33:01 -07:00
Wesley Wigham
0e5b741d42
Use merge2, gulp-if, gulp-newer, and more projects 2016-06-20 15:30:38 -07:00
Richard Knoll
b49acd527a Merge branch 'master' into glob2_merged 2016-06-20 14:10:55 -07:00
Richard Knoll
f817ffaf47 Merge branch 'master' into glob2_merged 2016-06-17 17:55:15 -07:00
Richard Knoll
08ca1c0dff Merge branch 'master' into glob2_merged 2016-06-17 15:34:06 -07:00
Jason Ramsay
218a5ba0bb Adding base indentation for script block formatting and smart indent 2016-06-17 13:02:15 -07:00
Andy Hanson
166bc49f0c Refactor navigation bar 2016-06-17 07:42:26 -07:00
zhengbli
550d91249b Refactor code to make if statements cheaper 2016-06-15 16:52:07 -07:00
zhengbli
335443693f Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixLargeProjectTry2
# Conflicts:
#	src/compiler/program.ts
#	tests/cases/unittests/tsserverProjectSystem.ts
2016-06-15 14:36:45 -07:00
Zhengbo Li
8c38cbfb4b Merge pull request #9073 from zhengbli/i8523
Increase project reference count even when the opened file is referenced by it but not its root
2016-06-15 12:42:14 -07:00
Nathan Shively-Sanders
57f66b8efa Merge pull request #9148 from Microsoft/add-isDefinition-to-references
Add isDefinition to references
2016-06-14 11:12:53 -07:00
Nathan Shively-Sanders
792b23edc2 Make isDefinition required.
For the deprecated getOccurrencesAtPosition, isDefinition is always false.
2016-06-14 08:48:26 -07:00
Nathan Shively-Sanders
5a7f7469ea Add isDefinition to ReferenceEntry
Clients can now easily tell if the reference is to a definition or a
usage.
2016-06-13 13:21:47 -07:00
Ryan Cavanaugh
e8ac1abbd6 Baseline fix, CR comments, lint 2016-06-13 09:33:49 -07:00
Ryan Cavanaugh
576f09f531 Merge 2016-06-10 15:47:51 -07:00
Ryan Cavanaugh
9827b638b4 Implicit type inclusion changes 2016-06-10 15:44:11 -07:00
zhengbli
1e7790df06 Fix #8523 2016-06-10 03:44:44 -07:00
zhengbli
e41b10bbc7 add test and spit commandLineParser changes to another PR 2016-06-10 02:06:31 -07:00
zhengbli
4383f1a15f Refactoring 2016-06-09 16:28:42 -07:00
zhengbli
d387050aaa Fix merging issues and multiple project scenario 2016-06-09 15:30:55 -07:00
zhengbli
94d44ad81d Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixLargeProjectTry2
# Conflicts:
#	src/compiler/commandLineParser.ts
#	src/compiler/program.ts
#	src/compiler/sys.ts
#	src/compiler/types.ts
#	src/server/editorServices.ts
#	src/server/session.ts
2016-06-09 14:58:28 -07:00
Zhengbo Li
de8ddd6e14 Return trace when exception happens 2016-06-08 14:42:53 -07:00
Zhengbo Li
cdf4cded15 Merge pull request #9002 from zhengbli/moreTsserverTests
Add tests for tsserver project system
2016-06-07 21:56:09 -07:00
Zhengbo Li
37949a3d65 more tests for module resolution change and exclude 2016-06-07 15:52:34 -07:00
Andy Hanson
e412f52b33 Include indent in navigation bar protocol
Previously navbar01 test had indents when run in the browser but not when run from node. Now they run the same.
2016-06-03 10:04:03 -07:00
Vladimir Matveev
92177bee91 initial revision of unit test support for project system in tsserver 2016-06-02 00:03:10 -07:00
Richard Knoll
50f0033e61 Merge branch 'master' into glob2_merged
Conflicts:
	src/compiler/sys.ts
	src/harness/harnessLanguageService.ts
	tests/cases/unittests/cachingInServerLSHost.ts
	tests/cases/unittests/tsconfigParsing.ts
2016-05-26 10:04:54 -07:00
Richard Knoll
084b94c4c1 Merge branch 'master' into glob2
Conflicts:
	Jakefile.js
	src/compiler/commandLineParser.ts
	src/compiler/core.ts
	src/compiler/sys.ts
	src/harness/harness.ts
	src/server/editorServices.ts
	src/services/shims.ts
	tests/cases/unittests/cachingInServerLSHost.ts
2016-05-25 17:06:50 -07:00
Andy Hanson
02d4959dd8 Lint src\server\client.ts 2016-05-23 10:33:47 -07:00
Mohamed Hegazy
b637d76b49 Merge pull request #8700 from Microsoft/Fix8692
Fix #8692: fix "tsserver as a library" (lssl) build target
2016-05-21 12:24:23 -07:00
zhengbli
2252b17f28 avoid using sys in editorServices.ts 2016-05-19 16:39:48 -07:00