1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-27 07:18:13 +03:00
Commit Graph

1157 Commits

Author SHA1 Message Date
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
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