1. 04 9月, 2020 1 次提交
    • A
      Patch VS Code to wait for storage write (#2049) · 3761f7bd
      Asher 提交于
      VS Code has a short delay before writing storage (probably to queue up
      rapid changes). In the web version of VS Code this happens on the client
      which means if the page is reloaded before the delay expires the write
      never happens.
      
      Storage updates are already promises so this simply returns the promise
      returned by the delayer so it won't resolve until the write actually
      happens.
      
      Fixes #2021.
      3761f7bd
  2. 28 8月, 2020 1 次提交
  3. 27 8月, 2020 1 次提交
  4. 26 8月, 2020 2 次提交
  5. 01 8月, 2020 2 次提交
  6. 31 7月, 2020 2 次提交
  7. 30 7月, 2020 2 次提交
    • A
      Force minimist update · c581bca2
      Asher 提交于
      c581bca2
    • A
      Remove apply portion of update endpoint · 554b6d6f
      Asher 提交于
      It can still be used to check for updates but will not apply them.
      
      For now also remove the update check loop in VS Code since it's
      currently unused (update check is hardcoded off right now) and won't
      work anyway since it also applies the update which now won't work. In
      the future we should integrate the check into the browser update
      service.
      554b6d6f
  8. 22 7月, 2020 2 次提交
  9. 10 7月, 2020 1 次提交
  10. 08 7月, 2020 1 次提交
  11. 01 7月, 2020 1 次提交
    • A
      Fix connections sticking around indefinitely · ebef18d6
      Asher 提交于
      For some reason it only affects the extension host socket (something to
      do with passing it via IPC?) but I changed both just to be sure.
      
      Fixes #1795.
      ebef18d6
  12. 25 6月, 2020 1 次提交
  13. 04 6月, 2020 1 次提交
  14. 19 5月, 2020 2 次提交
  15. 15 5月, 2020 1 次提交
  16. 13 5月, 2020 2 次提交
  17. 08 5月, 2020 1 次提交
  18. 07 5月, 2020 1 次提交
  19. 06 5月, 2020 1 次提交
  20. 02 5月, 2020 1 次提交
  21. 30 4月, 2020 2 次提交
  22. 29 4月, 2020 1 次提交
  23. 28 4月, 2020 1 次提交
    • A
      Fill out some missing browser environment values · 6074ca27
      Asher 提交于
      Pass the user data dir to the browser environment service then derive
      all the paths we can based off that path like the global storage path
      which the vim extension uses to store history (otherwise it gets stored
      in the working directory from when code-server was spawned).
      
      Arguably the better solution is to use the userdata scheme but that
      won't work because the vim extension ignores the VS Code API.
      
      Fixes #1551.
      6074ca27
  24. 22 4月, 2020 1 次提交
  25. 18 4月, 2020 1 次提交
    • A
      Improve request error handling · 27ba64c7
      Asher 提交于
      See #1532 for more context.
      
      - Errored JSON requests will get back the error in JSON instead of using
        the status text. This seems better to me because it seems more correct
        to utilize the response body over hijacking the status text. The
        caller is expecting JSON anyway. Worst of all I never actually set the
        status text like I thought I did so it wasn't working to begin with.
      - Allow the update error to propagate for JSON update requests. It was
        caught to show the error inline instead of an error page when using
        the update page but for JSON requests it meant there was no error and
        no error code so it looked like it succeeded.
      - Make errors for failed requests to GitHub less incomprehensible.
        Previously they would just be the code which is no context at all.
      27ba64c7
  26. 08 4月, 2020 2 次提交
    • A
      Document workspace and folder behavior · 3b394824
      Asher 提交于
      Also fixed a type issue.
      3b394824
    • A
      Fix encoding issues with folder and workspace params · a5c35af8
      Asher 提交于
      The raw value is now passed back to VS Code so it can do the parsing
      with its own URI class rather than trying to parse using Node's url
      module first since that has no guarantee of working the same way. It
      also lets us keep the vscode-remote bit internal to VS Code.
      
      Removed the logic that keeps trying paths until it finds a valid one
      because it seems confusing to open a path and silently get some other
      path instead of an error for the one you tried to open. Now it'll just
      use exactly what you specified or fail trying.
      
      Fixes #1488. The problem here was that url.parse was encoding the spaces
      then the validation failed looking for a literal %20.
      a5c35af8
  27. 07 4月, 2020 1 次提交
  28. 03 4月, 2020 2 次提交
  29. 02 4月, 2020 2 次提交