1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-24 07:46:59 +03:00
Commit Graph

1118 Commits

Author SHA1 Message Date
Wez Furlong
bb04d91101 remove sync_channel, re-fixes large pastes under glium
The sync_channel was originally added as a brake to avoid swamping
the event loop, but we've subsequently grown a more formal rate
limiting config for this.

The rate limiter is superior because it allows making forward
progress over time, whereas the bounded channel is a hard blocking
limit.

When making a large paste the app on the other end will typically
emit a lot of output.  If our reader is blocked on the sync channel
the output of the pty can be blocked, and that in turn will block
our attempt to write to the pty.

We cannot simply set the pty to non-blocking mode because non-blocking
ptys are not a thing on windows, and in the interest of not silently
breaking windows, I prefer to make the unix side of things match
that architecture.

anyway: TL;DR is that we don't need the bounded channel now that
we have rate control to manage swamping the event loop, so we
can simplify this code.
2019-06-24 07:28:40 -07:00
Wez Furlong
ce4f971cbf nightly build didn't seem to trigger, so tweak config 2019-06-24 07:05:41 -07:00
Wez Furlong
b0f2edd711 checkpoint jekyll TOC weirdness
I'm committing this because it captures a repro for the situation
described across these two issues:

Refs: https://github.com/jekyll/jekyll-archives/issues/28
Refs: https://github.com/jekyll/jekyll/issues/6209

This commit has a workaround in place; to demonstrate the problem,
change this line of `_layouts/default.html`:

```
 {% include toc.html sanitize=true baseurl=p.url html=p_content %}
```

to:

```
 {% include toc.html sanitize=true baseurl=p.url html=p.content %}
```

Then navigate to various pages: the TOC in the LHS inconsistently
shows headers from different pages depending on the current page.
2019-06-23 23:06:33 -07:00
Wez Furlong
05a6e2b3ca tweak the download/install page a bit more 2019-06-23 20:31:20 -07:00
Wez Furlong
196a64405a tweak download/install instructions to use release metadata 2019-06-23 18:12:26 -07:00
Wez Furlong
3b26e7ad35 remove travis badge 2019-06-23 11:04:29 -07:00
Wez Furlong
e63ca622ff RIP: travis CI
It takes ~30 minutes to schedule a release build that takes just
over 50 minutes to run.  Travis kills builds that take 50 minutes,
so this is completely useless.

Meanwhile: azure is able to build and deploy all platforms within
the first 15-20 minutes.
2019-06-23 11:01:35 -07:00
Wez Furlong
6999f15204 really fix ' issue, schedule a nightly pre-release 2019-06-23 09:20:40 -07:00
Wez Furlong
fa10be37c6 more yaml tweakage 2019-06-23 08:38:42 -07:00
Wez Furlong
dea7b1a8a3 windows was adding ' to the tag name 2019-06-23 08:36:56 -07:00
Wez Furlong
c2a4ea163d adjust how the tag name is set for the packager 2019-06-23 07:53:11 -07:00
Wez Furlong
0c86c2d23a use different connection name 2019-06-23 07:43:31 -07:00
Wez Furlong
7b1fed2814 refine asset syntax 2019-06-23 07:36:46 -07:00
Wez Furlong
98bc43a9cb maybe also do releases 2019-06-23 07:33:43 -07:00
Wez Furlong
919f6206fb only build master on azure 2019-06-23 07:12:12 -07:00
Wez Furlong
09f0e29434 tweaking azure 2019-06-23 07:01:26 -07:00
Wez Furlong
ee898dfce6 refactor azure bits into jobs 2019-06-23 06:47:35 -07:00
Wez Furlong
7168450896 add rustfmt and packaging steps to azure pipeline 2019-06-22 23:45:58 -07:00
Wez Furlong
59a42c3dd3 more azure adjustments 2019-06-22 23:25:09 -07:00
Wez Furlong
26e8635076 more azure tweakage 2019-06-22 23:06:45 -07:00
Wez Furlong
97aa4986c8 adjust azure pipeline config 2019-06-22 22:47:17 -07:00
Wez Furlong
3534af6034 Set up CI with Azure Pipelines
[skip ci]
2019-06-22 22:36:32 -07:00
Wez Furlong
579b6d9305 clarify wsl instructions 2019-06-22 22:07:43 -07:00
Wez Furlong
08259bb9bf refresh screenshots and add some videos 2019-06-22 21:53:08 -07:00
Wez Furlong
4023a0fb07 moved most of the readme to the web site 2019-06-22 19:05:19 -07:00
Wez Furlong
23f8c9d7e8 add another link to multiplexing docs 2019-06-22 18:23:03 -07:00
Wez Furlong
cd18212064 add some docs on multiplexing 2019-06-22 18:19:13 -07:00
Wez Furlong
452a0cdab4 more docs stuff 2019-06-22 17:27:56 -07:00
Wez Furlong
82f70a2579 another doc tweak 2019-06-22 15:36:52 -07:00
Wez Furlong
1ceb300298 rename index 2019-06-22 15:33:04 -07:00
Wez Furlong
9447277166 prep for putting docs under the docs dir 2019-06-22 15:28:20 -07:00
Wez Furlong
a01915cabd Set theme jekyll-theme-cayman 2019-06-22 15:20:46 -07:00
Wez Furlong
0bf83d26aa Set theme jekyll-theme-hacker 2019-06-22 15:14:46 -07:00
Wez Furlong
2c7138cc6e use consistent version of filedescriptor crate 2019-06-22 14:31:19 -07:00
Wez Furlong
472b2d38f7 try harder to get openssl vendoring right 2019-06-22 14:28:52 -07:00
Wez Furlong
3ba62a8a1c vendor in openssl on macos 2019-06-22 14:15:44 -07:00
Wez Furlong
4c6768fd2b fixup windows build 2019-06-22 13:40:41 -07:00
Wez Furlong
be345853cd allow spawning the server automatically when connecting via unix domain 2019-06-22 13:22:28 -07:00
Wez Furlong
7751a85826 fix subtraction underflow 2019-06-22 13:14:08 -07:00
Wez Furlong
4c877d493f add --daemonize flag 2019-06-22 12:44:22 -07:00
Wez Furlong
33f17eaf3f remove WEZTERM_SKIP_MUX_SOCK_PERMISSIONS_CHECK env var in favor of config value 2019-06-22 11:01:17 -07:00
Wez Furlong
2e63989c6e add option to avoid connecting to multiplexers on startup 2019-06-22 10:24:45 -07:00
Wez Furlong
83a72d505a clippy 2019-06-22 10:18:23 -07:00
Wez Furlong
6c8d296c44 respect the connect_automatically configuration
For unix and tls clients, if connect_automatically is set
and we're not running the server, then instantiate and connect
to those domains when we start the app.

As part of this I realized that we weren't mapping the remote
tab to the local tab for unilateral pushes, so add some stuff
to support that.
2019-06-22 10:13:02 -07:00
Wez Furlong
9054343e51 factor out tls client configuration
We can now also specify multiple tls clients
2019-06-22 09:08:31 -07:00
Wez Furlong
86251f1787 factor out tls server configuration
Can now specify multiple servers if desired.
2019-06-22 08:44:14 -07:00
Wez Furlong
712089a5de refactor unix domain configuration
It is now possible to specify multiple domains with varying
configuration.
2019-06-22 08:21:25 -07:00
Wez Furlong
fcc2b1ab7d rejigger tab spawning hotkeys
cmd-t now spawns in the same domain as the active tab,
cmd-shift-t spawns in the default domain.

It is possible to define bindings to spawn in an arbitrary domain.
2019-06-22 07:46:49 -07:00
Wez Furlong
2e84714c97 clippy 2019-06-22 07:06:41 -07:00
Wez Furlong
cb4fa1ac21 get_dirty_lines now uses Cow<Line>
This avoids some extra allocations in the local tab case.
2019-06-22 06:57:35 -07:00