Commit Graph

195 Commits

Author SHA1 Message Date
Asher 2f0878d9b7
Revert remote scheme change
It doesn't show in the explorer anymore so there's no point. Also remove
the local scheme transform which is no longer required with the latest
client-side extension implementation.
2019-10-29 11:26:50 -05:00
Asher 197d0b6ca9
Strip internal env vars when spawning the shell
This should fix all those reports of code-server dropping straight to
Node and things like #1121.
2019-10-28 16:08:32 -05:00
Asher 168ccb0dfc
Prevent cache changes when patch updates 2019-10-25 13:12:04 -05:00
Asher 58f7f5b769
Properly fix blank --cert flag
See #1109.
2019-10-25 12:04:43 -05:00
Asher 91f49e1efd
Set SHELL to /bin/bash in Docker
Fixes #1081, fixes #918.
2019-10-23 13:34:00 -05:00
Asher eea9c1618c
Move client-side extension code out of patch 2019-10-23 13:12:11 -05:00
Asher 7f07b8f66c
Push Docker using Linux build
Instead of doing a separate redundant build. The main problem was that
the files weren't being cached. There is probably a better way of
solving this but this seems to be the simplest for now.
2019-10-22 18:43:21 -05:00
Asher a6e4f96737
Fix webview html being excluded
Also skip the workbench html since we have our own.
2019-10-22 16:09:27 -05:00
Asher cc7585bbc2
Port onigasm fix for PHP 2019-10-22 11:39:00 -05:00
Asher 14a0cd3ffd
Remove build files in source
They aren't used in subsequent files and just slow down CI since it has
to extract from the cache and then package the changes.
2019-10-22 11:26:46 -05:00
Asher 3ff83eda45
Ensure VS Code dependencies and built-in extensions exist
Fixes #1087.
2019-10-22 10:49:00 -05:00
Asher f133b00851
Fix darwin detection 2019-10-21 16:51:01 -05:00
Asher ece840834d
Move login page to browser directory
Fixes it not being included in the optimized build as well as making it
more consistent.
2019-10-21 15:02:41 -05:00
Asher 76f6ff4145
Fix alpine check 2019-10-21 14:09:04 -05:00
Asher 82e2b8a169
Move source to its own directory
This matches how the rest of the build is organized but also hopefully
solves an issue where the VS Code directory is empty because we try to
cache it directly and Travis might be creating it.
2019-10-21 11:16:47 -05:00
Asher 4cd2f2cd52
Simplify build and development steps 2019-10-18 19:10:55 -05:00
Asher bdd11f741b
Update to 1.39.2
Also too the opportunity to rewrite the build script since there was a
change in the build steps (mainly how the product JSON is inserted) and
to get the build changes out of the patch. It also no longer relies on
external caching (we'll want to do this within CI instead).
2019-10-18 18:20:02 -05:00
Asher 1c50b5285e
Resolve bundling issues with node-browser 2019-10-10 15:36:56 -05:00
Adam Vernon e1e3f32643 Add missing PWA icon (#1060)
- Copy old icon back into repository
- Update path to icon from manifest file
- Add link metadata tag for iOS PWA icon to workbench.html
- Add link metadata tag for iOS PWA icon to login page
2019-10-07 12:55:02 -05:00
Asher 548d095611
Add support for running extensions in the browser 2019-10-04 18:14:19 -05:00
Asher 6135630fc0
Fix not being able to change language while code-server is running
See #948. Only applies if code-server already tried to load a
language.
2019-09-23 16:57:46 -05:00
Asher bb46e80d44
Fix extensions that try to load from node_modules.asar
Should allow manual installation of bracket pair colorizer 2: #544.
2019-09-13 13:07:50 -05:00
Asher 1bd5eca73d
Don't terminate extension host on a timeout
We will clean it up on our end if necessary. This allows reconnections
after any length of time.
2019-09-13 11:24:15 -05:00
Asher 48a97abe1d
Fix Firefox scrolling
Fixes #976.
2019-09-13 10:42:59 -05:00
Asher ae1126d43f
Target VS Code 1.38.1 2019-09-12 12:49:28 -05:00
Asher 0e1fed3c24
Make CI script work independently from your cwd 2019-09-10 11:29:48 -05:00
Asher e9fce801a0
Make extension host reconnect 2019-09-09 18:44:17 -05:00
Asher 12e608468b
Add caching 2019-09-06 17:46:32 -05:00
Asher da7d8b04a8
Update VS Code 2019-09-03 17:24:14 -05:00
Asher 12bc26b6b4
Implement status bar API 2019-09-03 16:38:53 -05:00
Asher 976a326f47
Update nbin 2019-08-30 17:45:11 -05:00
Asher b901043bfc
Target a recent commit for VS Code
This is so we can try out the web worker extension host.
2019-08-29 19:11:11 -05:00
Asher d33b2d2af9
Fix web view sometimes not loading correctly
Fixes #929.
2019-08-27 14:03:27 -05:00
Asher 830ccfe245
Fix toggling and hiding the menu bar 2019-08-23 14:54:39 -05:00
Asher c4fd725875
Fix built-in Typescript when bundled
Fixes #641.
2019-08-22 16:30:22 -05:00
Asher 4800ec6392
Fix playground when behind a proxy with a sub-path
It gets the web URL for the file yet uses the file service to load it,
so having a sub-path causes it not to be found on disk (the sub-path
obviously only means anything for the web server and isn't on disk).
2019-08-22 12:15:23 -05:00
Asher 3e2d12a224
Fix scrolling on Firefox 2019-08-22 11:33:58 -05:00
Asher 950dad9489
Simplify getting the absolute path during build 2019-08-21 14:13:26 -05:00
Asher c19223b7fe
Fix error when building without first running yarn 2019-08-21 12:45:10 -05:00
Asher 80050d0d9d
Detect target automatically
This removes the potential for a bad build because the native Node
modules currently can only be built on the target system, so specifying
a target for something other than the system your are building on will
not work.
2019-08-21 12:45:09 -05:00
Asher c2be0ec71b
Fix Firefox when using extensions that insert styles 2019-08-21 10:29:37 -05:00
Asher ccc4f87ada
Don't package for release if we don't need to 2019-08-20 19:46:39 -05:00
Asher 534600c1ff
Don't error when scanning nonexistent extension dir 2019-08-20 19:16:44 -05:00
Asher b9fc40409a
Forward minify environment variable to Docker build 2019-08-19 17:17:38 -05:00
Asher e53d6bce68
Forward GitHub token to docker build if it exists 2019-08-19 17:02:02 -05:00
Asher ce3b7dfb1e
Use readlink -f if realpath isn't available 2019-08-19 16:59:36 -05:00
Asher b4e1a62cb4
Fix tasks
Fixes #898.
2019-08-16 15:06:59 -05:00
Asher 6737384d27
Handle existing query when opening folder 2019-08-15 17:28:02 -05:00
Asher d1662d7658
Ensure service workers are supported before use
Fixes #909.
2019-08-15 15:41:04 -05:00
Asher 72fe124e30
Fix loading resources in webviews
Fixes #901.
2019-08-15 15:40:02 -05:00