163 Commits

Author SHA1 Message Date
Vladimir Matveev
534bb62c59 remove 'path' suffix from FileMap methods 2015-10-29 16:43:12 -07:00
Vladimir Matveev
e1b4f01e77 introduce Path as branded string type, switch FileMap to use Path 2015-10-29 16:24:00 -07:00
Vladimir Matveev
93e942a6de FileMap now internally stores absolute normalized file names 2015-10-29 13:52:43 -07:00
Vladimir Matveev
9c0982051d lint node.d.ts 2015-10-28 16:02:16 -07:00
Vladimir Matveev
5ce7fd9781 lint server 2015-10-28 15:42:15 -07:00
Mohamed Hegazy
0d71ec3120 Fix #5430: Use FileMap instead of a simple Map for storing file list in tsserver 2015-10-28 13:38:39 -07:00
Vladimir Matveev
41697b948f addressed PR feedback 2015-10-26 16:54:33 -07:00
Vladimir Matveev
2fbc7e7751 use process.stdout.write on server 2015-10-26 16:10:23 -07:00
Zhengbo Li
c3c66a40f1 Merge pull request #5354 from zhengbli/fixWriteSync
Change sys.write to async in tsserver
2015-10-24 18:57:14 -04:00
zhengbli
bf1335b0e6 CR feedback. 2015-10-23 12:39:16 -07:00
Zhengbo Li
f431c82296 Merge pull request #5336 from zhengbli/fixWatcherIssue
Issue fix for config file watcher callback
2015-10-23 11:47:54 -07:00
zhengbli
172ff54475 Move the changes to sys.write to server.ts 2015-10-21 16:11:14 -07:00
zhengbli
7ecf90ee2d Fix issue: can't add a file back to a configured project after being deleted once 2015-10-19 22:56:00 -07:00
zhengbli
39254b54ae CR feedback 2015-10-19 21:48:40 -07:00
zhengbli
e7e1fa72ec Add sortBeforeComparison option back to arrayIsEqualTo 2015-10-16 12:00:31 -07:00
zhengbli
ea9bf7313a CR feedback 2015-10-15 13:53:37 -07:00
zhengbli
3e37b3158b Address code review at 5127 2015-10-14 21:36:35 -07:00
zhengbli
b7c93c012f Address CR from 5127 2015-10-14 17:50:29 -07:00
Zhengbo Li
8864b06cbf Merge pull request #5127 from zhengbli/newAddDirectoryWatcher
Add directory watcher for tsserver and tsc
2015-10-14 17:43:10 -07:00
zhengbli
f91bee0324 Re-read file content upon closing 2015-10-14 16:50:31 -07:00
zhengbli
62664fdeda Add timer for batch processing directory changes 2015-10-14 16:09:41 -07:00
zhengbli
def268cccf Fix issues with removing roots 2015-10-14 15:48:25 -07:00
zhengbli
002f0c066b CR feedback 2015-10-14 15:10:05 -07:00
Mohamed Hegazy
5234bf698c Merge pull request #5033 from Microsoft/dirkb/fix_5032
Fixed #5032: tsserver: Format on type broken
2015-10-14 09:49:50 -07:00
Paul van Brenk
573652160c Merge pull request #5197 from Microsoft/supportIndentStyle
Support different indentation styles
2015-10-09 16:51:39 -07:00
zhengbli
17f0cce772 Update comments 2015-10-05 14:31:43 -07:00
zhengbli
7741ec0999 Use fs.watch for all directory watchers and some bug fixes 2015-10-05 14:07:51 -07:00
zhengbli
7fa26adf28 Redesigned directory watchers 2015-10-05 02:58:40 -07:00
Zhengbo Li
98eaeba4f1 temp save 2015-10-02 11:49:30 -07:00
Zhengbo Li
5daa100bf4 unify the node filewatcher in sys.ts and server.ts 2015-10-01 15:40:13 -07:00
Mohamed Hegazy
2b6d2a9f71 Merge branch 'master' of https://github.com/ShyykoSerhiy/TypeScript into ShyykoSerhiy-master
Conflicts:
	src/compiler/sys.ts
	src/compiler/tsc.ts
2015-09-30 16:30:49 -07:00
Dirk Baeumer
2f8e4fa6bd Fixed unnecessay whitespace changes 2015-09-30 09:18:50 +02:00
Dirk Baeumer
9a85ad6a4e Fixed #5032: tsserver: Format on type broken 2015-09-30 09:10:56 +02:00
Vladimir Matveev
e0c16b4332 Check if imported file is a proper external module 2015-09-10 16:00:44 -07:00
Tien Nguyen
2611607159 Reformat some code. 2015-08-28 16:01:04 -07:00
zhengbli
69bc569b2f Fix issue when the newly added files in tsconfig is not opened 2015-08-21 14:33:59 -07:00
zhengbli
b78e560927 Add message in protocol.d.ts and rename "rebuildProjects" to "reloadProjects" 2015-08-20 14:53:29 -07:00
zhengbli
a4d496c4c6 add command for rebuild all project structure 2015-08-20 14:34:46 -07:00
zhengbli
762e0e8146 Delay creating inferred projects 2015-08-20 13:02:52 -07:00
zhengbli
424c6d3b90 Remove extra files 2015-08-19 12:49:10 -07:00
zhengbli
42942a5dc4 Merge branch 'master' into addTsConfigWatcher 2015-08-19 12:44:29 -07:00
zhengbli
58ac077a49 Handle root file removal and addition in configured projects 2015-08-19 12:28:43 -07:00
zhengbli
c81cc9fee3 CR feedback and logic rewrite 2015-08-19 00:48:16 -07:00
zhengbli
d80fb9d0fb Merge branch 'master' of https://github.com/Microsoft/TypeScript into addTsConfigWatcher 2015-07-24 15:01:08 -07:00
zhengbli
9b080fbfe4 Add file watcher for tsconfig.json 2015-07-24 15:00:30 -07:00
Daniel Rosenwasser
3805500e84 Merge pull request #3967 from weswigham/issues/3813
Tests for the Session API
2015-07-23 13:58:07 -07:00
Wesley Wigham
8e93a49c7b Narrow exported session API, Unit tests for session API 2015-07-21 16:05:03 -07:00
Anders Hejlsberg
2913cb023b Merge branch 'master' into strictObjectLiterals
Conflicts:
	tests/baselines/reference/typeGuardFunction.types
2015-07-19 11:45:25 -07:00
Dirk Baeumer
61ca65f22f Fixed #3887 tsserver drops responses 2015-07-16 10:40:06 +02:00
Anders Hejlsberg
11aecee9a6 Switch to assignability check and fix compiler bugs found by check 2015-07-10 19:16:53 -07:00