1. 04 4月, 2019 1 次提交
  2. 15 2月, 2019 2 次提交
  3. 29 1月, 2019 1 次提交
  4. 12 1月, 2019 6 次提交
  5. 14 12月, 2018 1 次提交
  6. 16 11月, 2018 1 次提交
  7. 15 11月, 2018 3 次提交
  8. 27 10月, 2018 5 次提交
  9. 18 10月, 2018 1 次提交
  10. 21 9月, 2018 1 次提交
    • M
      Don't treat cancellation as an error · 97c753fa
      Matt Bierner 提交于
      **Problem**
      In the ts server communication, canceling a request currently throws an exception. This is wrong because  cancellation is not an error. It also means that we need to wrap every server call in a generic try catch to handle cancellation. There are no checks in place to distinquish a cancellation from a rea
      97c753fa
  11. 20 9月, 2018 1 次提交
  12. 18 9月, 2018 1 次提交
  13. 14 9月, 2018 1 次提交
    • M
      Refactoring to create TS Server object · dbeeecba
      Matt Bierner 提交于
      Rebase of a number of incremental changes listed below
      
      Move first level dispatchMessage into ForkedTsServerProcess
      
      Goal is to move callbacks and other per-server state into `ForkedTsServerProcess`
      
      Create forked ts server object syncrounously
      
      There is no reason for this to be async anymore. Making this object sync reduces complexity and makes the code easier to reason about
      
      Moving server relate functions into ForkedTSServer object
      
      The goal here is to have a single "server" object that keeps track of all its relevant state. The service client would manage one of these servers at a time, starting new ones if needed and dispatching to old ones
      
      Split server into own file
      
      Use switch case instead of conditionals
      
      Make pendingResponses readonly
      
      Add typings for callback item
      
      Improve naming
      
      - Use more descriptive names
      - Preview private vars with _
      
      Use passed in version for getting command line args
      
      Attach webview click handler to window instead of to document body
      
      Fixes #48926
      
      Change error handling for ts server exit and error
      
      - Don't fire twice on error (once for the `once` and once for the `onError`)
      - Flush callbacks on both exit and error.
      
      Remove cancellationPipeName as state
      
      Remove obsolete comment
      
      Move all env generation into generatePatchedEnv
      
      Extract server spawn into static method
      
      Move spawn from static to be own factory class
      
      Move providers from arguments to state on the spawner
      
      Update js/ts grammar
      
      Remove duplicate error handler
      
      Cleaning up server fork
      
      - Standarize names
      - Extract methods
      - Move some function to be private statics
      - Move logging out of electron and into server.ts
      
      Use undefined instead of null for optional value
      dbeeecba