1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-21 12:21:32 +03:00
Commit Graph

1214 Commits

Author SHA1 Message Date
Wez Furlong
919c4d96e8 update filedescriptor crate
Pick up this fix to avoid hanging when closing out a mux'd tab:
bd4df51948
2019-07-16 00:30:53 -07:00
Wez Furlong
8cc5f33600 fix unix domain mux on windows
WSAPoll really doesn't like it if you pass in POLLERR, so don't do that.
2019-07-16 00:29:34 -07:00
Wez Furlong
9370a2d07b improve error logging when failing to daemonize 2019-07-09 09:12:15 -07:00
Wez Furlong
df20277d85 clippy 2019-07-06 08:18:59 -07:00
Wez Furlong
d18383416e termwiz: update version
This pulls in the new vtparse crate and publishes Mark's new
API in the termwiz parser.
2019-06-29 19:20:11 -07:00
Wez Furlong
ed5dcd71da vtparse: document things 2019-06-29 19:13:45 -07:00
Wez Furlong
d67d4aab57 avoid marking a tab as dead when we might reconnect it 2019-06-29 16:31:13 -07:00
Wez Furlong
4fc6914602 reduce the amount of RefCell is in server/tab.rs 2019-06-29 16:31:13 -07:00
Wez Furlong
5440cbe521 replace vte with our own vtparse crate
This enables using large OSC buffers in a form that we can publish
to crates.io without blocking on an external crate.  Large OSC
buffers are important both for some tunnelling use cases and for
eg: iTerm2 image protocol handling.
2019-06-29 16:28:39 -07:00
Wez Furlong
192eaeb3ff vtparse: Add utf-8 support 2019-06-29 16:15:15 -07:00
Wez Furlong
2361d88c2a initial take on a low level vt parser
This is based on the state machine described by
https://vt100.net/emu/dec_ansi_parser

and the public domain C implementation:
https://github.com/haberman/vtparse
2019-06-29 15:21:09 -07:00
Wez Furlong
4feeac91d5 nightly back to nightly 2019-06-27 07:24:03 -07:00
Wez Furlong
51ead397f6 avoid use of a fork of structopt just for vergen compat
This is much simpler!
Clean up some of the attributes while I'm in here.

refs: https://github.com/TeXitoi/structopt/issues/209
2019-06-27 07:21:59 -07:00
Wez Furlong
2ad7f7084d tweak nightly build
I want to avoid creating/updating so many git tags for nightly builds,
so let's try restructuring things a bit.
2019-06-27 07:03:37 -07:00
Wez Furlong
086e9e9b64 pin structopt more precisely so that the vergen patch stays working
Upstream bumped versions and this is causing warnings in CI
2019-06-26 21:07:39 -07:00
Wez Furlong
9a7edb7147 nightly back to nightly 2019-06-26 18:04:02 -07:00
Wez Furlong
7e2e335949 sort releases so we link to the right ones(!) 2019-06-26 17:56:34 -07:00
Wez Furlong
7f715b9ab7 fix yaml 2019-06-26 17:23:57 -07:00
Wez Furlong
e0377d0ec8 request github page rebuild after creating/updating releases
This is desirable since the page uses release metadata and we want
it to reflect the latest version of that.
2019-06-26 17:20:54 -07:00
Wez Furlong
cc019ce5bc don't build nightly-nightly builds 2019-06-26 16:27:06 -07:00
Wez Furlong
4627b2e798 try to avoid a loop when doing nightlys, fixup linux nightly 2019-06-26 16:05:24 -07:00
Wez Furlong
e695ff4360 simplify download page logic and include prerelease buttons 2019-06-26 15:58:39 -07:00
Wez Furlong
a7df010d1f remove appveyor config 2019-06-26 15:58:17 -07:00
Wez Furlong
285136169e reconnect tls connections automatically 2019-06-26 15:04:53 -07:00
Wez Furlong
96c61fcd53 refactor client to prepare for reconnecting 2019-06-26 15:04:53 -07:00
Wez Furlong
abfd98b7c6 advise the mux when a domain has detached; remove its tabs 2019-06-26 15:04:53 -07:00
Wez Furlong
5c6f44d47f ClientDomain: treat as detached if connection is closed
We detect this when the client thread falls out of its processing
loop.
2019-06-26 15:04:53 -07:00
Wez Furlong
c9489d391b Allow deferred attach of domains
This adds some plumbing so that a domain can indicate whether it is
attached or not, but is not yet smart enough to detect a closed
connection and mark itself as detached.
2019-06-26 15:04:53 -07:00
Wez Furlong
b5266078a9
azure: now that schedules are working, nightly builds are nightly 2019-06-26 15:00:01 -07:00
Wez Furlong
ee89347df5
azure: Build.Reason in both places 2019-06-26 14:14:58 -07:00
Wez Furlong
135624bfa8
Update azure-pipelines.yml
the build reason variable is Build.Reason
2019-06-26 13:36:09 -07:00
Wez Furlong
8d111e4c03
Update azure-pipelines.yml
check every 20 minutes to see if we should run a build
2019-06-26 13:09:43 -07:00
Wez Furlong
0e8ee75537
Update README.md
really fix the azure badge
2019-06-26 13:09:07 -07:00
Wez Furlong
54fa85ce8f
Update README.md
revise azure org url
2019-06-26 13:06:16 -07:00
Wez Furlong
de8e191734 Update azure-pipelines.yml for Azure Pipelines 2019-06-26 12:54:50 -07:00
Wez Furlong
2aaf723f09
Update README.md
whitespace only change to see what azure does
2019-06-26 08:17:12 -07:00
Wez Furlong
f64754c7f9 Update azure-pipelines.yml for Azure Pipelines
kick azure again
2019-06-26 07:49:38 -07:00
Wez Furlong
b9a85d3862
Update azure-pipelines.yml
apparently azure only likes single quotes for this portion of the yaml?
2019-06-25 23:58:37 -07:00
Wez Furlong
ffa7b48c45 more azure troubleshooting
[skip ci]
2019-06-25 22:07:34 -07:00
Wez Furlong
3007258d31
Update azure-pipelines.yml
I hate yaml :-p
2019-06-25 08:16:08 -07:00
Wez Furlong
ef3ddfc153
Update azure-pipelines.yml
let's try hourly and see if anything triggers
2019-06-25 08:09:29 -07:00
Wez Furlong
b068cae1f9
Update azure-pipelines.yml 2019-06-25 08:05:05 -07:00
Wez Furlong
15d8248611
Update azure-pipelines.yml 2019-06-25 08:03:56 -07:00
Wez Furlong
3f68fd6a7f
Update azure-pipelines.yml 2019-06-25 07:45:56 -07:00
Mark Thomas
dbb0bd565e add parse_first_as_vec
Add a convenience function to the escape parser that, like `parse_first`,
matches only the first escape sequence, but instead collects all matching
actions.
2019-06-25 06:44:30 -07:00
Wez Furlong
c6a14a131e maybe fixup links in the toc 2019-06-24 07:50:25 -07:00
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