Commit Graph

40 Commits

Author SHA1 Message Date
Vladimir Matveev 78974efe18 defer updates in project structure after file is edited 2016-07-12 18:02:54 -07:00
Vladimir Matveev ac9717dc3d use Logger directly 2016-07-11 19:44:23 -07:00
Vladimir Matveev 6c775ebf97 move max uncompressed message size out of the session 2016-07-08 16:47:51 -07:00
Vladimir Matveev b330fbf03c report compression time 2016-07-06 17:22:55 -07:00
Vladimir Matveev 1060b1e52e make compressed data wrapper over the real data 2016-07-06 14:10:39 -07:00
Vladimir Matveev e14a7ca0bc initial support for compressing responses 2016-07-06 00:28:24 -07:00
Vladimir Matveev a9cd516119 initialize setImmediate\clearImmediate 2016-06-30 09:58:05 -07:00
Vladimir Matveev 641c2ffd5e introduce ThrottledOperations 2016-06-29 12:23:25 -07:00
Vladimir Matveev 96a867a52e add support for single inferred project 2016-06-27 14:25:43 -07:00
Vladimir Matveev c3b1645868 fix tests issues 2016-06-14 17:51:19 -07:00
Vladimir Matveev adb726643a add cancellation support 2016-06-14 17:30:55 -07:00
Vladimir Matveev 9a1790e996 added logging to stderr, add command for full quickinfo 2016-06-13 10:54:45 -07:00
Mohamed Hegazy c884fee3eb Remove dependncy on NodeJs from editor services 2016-05-19 13:16:20 -07:00
zhengbli a09b001c61 Add env to allow switch to non-polling if really wants to 2016-04-22 11:54:09 -07:00
zhengbli 576e5f8055 So we are back to polling. 2016-04-19 14:25:57 -07:00
Wesley Wigham 37a0e8f502 Remove custom no-null rule, use tslint builtin no null rule 2016-04-13 02:09:14 -04:00
Daniel Rosenwasser 7637f4d2a0 Removed unused declarations in 'server.ts'. 2015-12-17 15:09:39 -08:00
Wesley Wigham 8a93b48945 fix lint: prefer const 2015-11-04 14:51:36 -08:00
Vladimir Matveev 5ce7fd9781 lint server 2015-10-28 15:42:15 -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
zhengbli bf1335b0e6 CR feedback. 2015-10-23 12:39:16 -07:00
zhengbli 172ff54475 Move the changes to sys.write to server.ts 2015-10-21 16:11:14 -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 7361d68d25 Merge pull request #3542 from weswigham/jake-lssl
Add build target for packaging tsserver as a library
2015-06-17 23:54:04 -07:00
Wesley Wigham 7390fe0eab Feedback form pr #3513 2015-06-17 13:21:43 -07:00
Arthur Ozga 1d5dcf0d0c changes that are non-breaking 2015-06-16 15:39:34 -07:00
Wesley Wigham ab1512fb13 Export server & session without any node specifics 2015-06-15 13:37:18 -07:00
Mohamed Hegazy 224e7630ea use namespaces instead of modules in the codebase 2015-06-12 09:01:48 -07:00
steveluc 74e6b6eccc Add an exit message for the server. 2015-04-02 00:13:06 -07:00
steveluc 04320e415e Renames and comments as requested by feedback. 2015-03-09 01:23:03 -07:00
steveluc 360e47880e Addressed comments on code style and organization. 2015-03-07 23:19:58 -08:00
steveluc 9a45160ab6 Changed TypeScript server logging to use an environment variable TSS_LOG
as follows.  If TSS_LOG is not set, no logging will occur.  If TSS_LOG
is set to any value, logging will occur as before this change (log file
will be in directory of tsserver.js with name .logPID where PID is the
process id of the server process; log will contain the pre-change
messages).  If TSS_LOG is set to a string that has the form "-file
fileName", the log file will be in the tsserver.js directory with name
'fileName'.  If TSS_LOG is set to a string that has the form "-level
levelName", then the level of logging will be set to 'levelName'.
Currently the two levels are 'normal' and 'verbose'.  The TSS_LOG string
can contain zero, one or both of its options as in "-file LOG -level
verbose".  At the verbose level, the server will log every request,
response and event, and will also give elapsed time for message processing.
2015-03-07 17:13:52 -08:00
steveluc fa504f6808 Update project structure after change. After each change a
timer is started.  If timer finishes before another change takes place,
project structure will be updated to reflect any changes in reference
comments or import statements.
2015-02-23 23:44:15 -08:00
steveluc f9518b252b Added update of project structure on idle following change (if no
changes in last s seconds (where s is currently 1.5), then check project
structure to account for references that may have changed.  Turned this
off pending fix for getScriptFileNames returning only the root names.
Added event handler for deleted file, so that session can update error
messages upon deletion of a file from a project.
2015-02-22 23:27:45 -08:00
Mohamed Hegazy f5c1bfbca7 renmae protodef.d.ts to protocol.d.ts and protocol.ts to session.ts 2015-02-15 18:49:22 -08:00
Mohamed Hegazy 89267bcd6f Move fileWatching logic to the server to allow for testing on non-node systems 2015-02-14 19:53:12 -08:00
Mohamed Hegazy dfd8a0620d Always default to using JSON and do not format it 2015-02-14 15:50:06 -08:00
Mohamed Hegazy a0b557e1e2 Recover from git corruption 2015-02-14 15:43:38 -08:00
Mohamed Hegazy 17f19b26a0 Initial checkin for server code 2015-02-11 19:42:44 -08:00