Commit graph

94 commits

Author SHA1 Message Date
a-kenji
6689f67436
fix(ci): clippy (#1559)
Install `cargo-make` explicitly in the workflow,
even tough it should be cached from the previous steps.

There are some corner cases in which gh messes the caching up
and can't access it.
2022-07-04 20:56:47 +02:00
raphTec
1177fa2ec0 Use 'stty size' in issue template instead of tput
tput just revealed that it sometimes reports values read from the
terminal database instead of the real tty size which is misleading (in
the case where the terminal reports a zero size).
Also stty is in the coreutil instead of tput from ncurses and might be
available better.
Finally, it's just one command instead of two and less to type.
2022-07-01 12:23:12 +02:00
dependabot[bot]
ccbcc5ca83
build(deps): bump DeterminateSystems/update-flake-lock from 9 to 10 (#1543)
Bumps [DeterminateSystems/update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) from 9 to 10.
- [Release notes](https://github.com/DeterminateSystems/update-flake-lock/releases)
- [Commits](https://github.com/DeterminateSystems/update-flake-lock/compare/v9...v10)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-27 09:35:23 +02:00
a-kenji
641c5a34d4
add(ci): check for msrv (#1522) 2022-06-17 12:16:33 +02:00
a-kenji
3ccc1f3946
Add/ci enable clippy (#1509)
* fix(clippy): clippy fixes

* add(ci): enable clippy warnings

* chore(fmt): cargo fmt

* disable: failing clippy action

Add `cargo make clippy` in ci
2022-06-15 15:26:52 +02:00
Jae-Heon Ji
53da135c3f
ci: add checksum for release binary (#1482) 2022-06-11 11:18:29 +09:00
a-kenji
edac2eb5a9
add(ci/makefile): run clippy on all features (#1479)
Run clippy on all exposed features, to minimize the possiblility
of breakage.
2022-06-10 12:21:01 +02:00
a-kenji
a614d11737
ci(nix): retry nix build on spurious failure (#1472) 2022-06-09 19:58:16 +02:00
dependabot[bot]
52123c5c04
build(deps): bump DeterminateSystems/update-flake-lock from 8 to 9 (#1365)
Bumps [DeterminateSystems/update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) from 8 to 9.
- [Release notes](https://github.com/DeterminateSystems/update-flake-lock/releases)
- [Commits](https://github.com/DeterminateSystems/update-flake-lock/compare/v8...v9)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-02 12:44:01 +02:00
dependabot[bot]
0531a13fc5
build(deps): bump cachix/install-nix-action from 16 to 17 (#1310)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 16 to 17.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v16...v17)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 19:19:10 +02:00
dependabot[bot]
618aea12b6
build(deps): bump actions/cache from 2 to 3 (#1277)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 15:05:33 +02:00
a-kenji
4ba3a70f9a fix(ci): disable enabling of flakes in action's 2022-03-25 00:08:20 +01:00
a-kenji
d072e045f3 fix(ci): scope for triggering the workflow 2022-03-25 00:06:28 +01:00
a-kenji
73740a4b3f add(ci): token to update-rust-toolchain
In order to trigger ci from the pr.
2022-03-21 12:14:21 +01:00
a-kenji
5bf8c133d5 add(ci): update token 2022-03-21 11:35:58 +01:00
a-kenji
301c546041
fix(ci): scope nix workflows (#1248) 2022-03-20 22:13:24 +01:00
a-kenji
78eeac7d80 fix(ci): use release version instead of main 2022-03-20 21:07:41 +01:00
a-kenji
f838feed85 fix(ci): semantic error 2022-03-20 15:04:36 +01:00
a-kenji
612746898a
fix: remove obsolete script (#1247) 2022-03-20 15:01:47 +01:00
a-kenji
36471830df fix(ci): add ref 2022-03-20 14:52:37 +01:00
a-kenji
d01df9cb25
add(ci): toolchain (#1245) 2022-03-20 14:50:20 +01:00
a-kenji
8bb46715a9 fix(ci): update-rust-toolchain 2022-03-17 17:24:39 +01:00
a-kenji
3907e2b9f1 fix(ci) update-rust-toolchain 2022-03-17 17:21:50 +01:00
a-kenji
5db634ad51 fix(ci): update-rust-toolchain
Fix a typo
2022-03-17 17:11:32 +01:00
a-kenji
91f24114ee fix(ci) update-rust-toolchain 2022-03-17 17:08:46 +01:00
a-kenji
1612bec8ba fix(ci): update-toolchain 2022-03-17 16:56:15 +01:00
a-kenji
1b3f2236d4 fix(ci): naming 2022-03-17 16:47:14 +01:00
a-kenji
effccbfaa3
Feat/add rust toolchain (#1235)
* feature: update rust-toolchain

* add(ci): action that updates `rust-toolchain`

We purposefully keep our version a little behind the newest releases,
to give people the time to update. Now this is unambigious and we can
use all the features our current toolchain allows.
2022-03-17 16:46:01 +01:00
a-kenji
ccd9a55a9b
add(ci): install cargo-make through nix (#1233)
* add(ci): install `cargo-make` through `nix`

Should speed the e2e tests up by about 2 minutes.

Can easily reverted by `commenting/uncommenting`
the `run` part of the `Install cargo-make` step.

* check if cachix speeds the process up
2022-03-17 14:00:48 +01:00
a-kenji
cc582983ed
fix(ci): update-flake-lock (#1213)
fix a semantic error
2022-03-13 13:26:56 +01:00
a-kenji
86b8b53702
add(ci): add labels to flake update pr (#1211) 2022-03-13 12:56:32 +01:00
a-kenji
c8bc69fea4 ci: improve naming
Improve naming, to make the purpose clearer.
2022-03-10 16:30:51 +01:00
a-kenji
bd849574be
add(nix): treefmt / alejandra (#1201)
* add(nix): treefmt / alejandra

* fmt the nix tree

* add fmt check for nix to ci

* switch `nixpkgs-fmt` -> `alejandra`
2022-03-10 16:27:39 +01:00
a-kenji
87e44ed9a6
fix(ci): give clearer names (#1187) 2022-03-07 12:31:50 +01:00
a-kenji
f5ae10de78
add(nix): add crate2nix (#1181)
* add(nix): add crate2nix

To have a better experience on ci, due to improved caching
of dependencies. Also organize file hierarchy slightly.

* ci(nix): manually check a default system

Is needed because `nix flake check` accidentally tries to build IFD.
2022-03-06 14:28:54 +01:00
a-kenji
43e3cad57c fix: depandabot directory 2022-03-03 17:44:57 +01:00
dependabot[bot]
570e25a4e1
chore(deps): bump actions/checkout from 2 to 3 (#1164)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-03 17:42:54 +01:00
a-kenji
80863b12cf
add: limited set of crates to dependabot (#1163) 2022-03-03 16:56:50 +01:00
a-kenji
e0685f6548
add(nix): add binary cache zellij (#1157)
adds a binary cache called `zellij`, hosted by
https://www.cachix.org/
to the project, users can now use the cache by running:
```
cachix use zellij
```

Step by step:
```
bash <(curl -L https://nixos.org/nix/install)
nix-env -iA cachix -f https://cachix.org/api/v1/install
cachix use zellij
nix-build
```

Documentation: https://docs.cachix.org/installation#
2022-03-02 18:48:42 +01:00
dependabot[bot]
04ce772673
chore(deps): bump DeterminateSystems/update-flake-lock from 6 to 8 (#1147)
Bumps [DeterminateSystems/update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) from 6 to 8.
- [Release notes](https://github.com/DeterminateSystems/update-flake-lock/releases)
- [Commits](https://github.com/DeterminateSystems/update-flake-lock/compare/v6...v8)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 09:17:16 +01:00
Thomas Linford
3765aa3483
fix(tests): ensure e2e tests use updated plugins (#1047)
* launch zellij with --data-dir flag in e2e tests, to avoid using prebuilt
  plugins from assets dir, and instead use the ones from the docker
  mount.
* make the tests use plugins built in release mode to avoid some test
  failures due to timing issues.
* format Makefile.toml.
* set uid 1001 to in e2e action (thanks to https://github.com/francisfuzz/actions-uid-gid)
2022-02-27 22:05:37 +01:00
a-kenji
611ceb0309
Init nix ci (#1141)
* ci(nix): add ci checks for nix

* nix flake metadata

&&

* nix build

* fix: update `Cargo.lock`
2022-02-27 19:21:12 +01:00
a-kenji
0a0ec00d68
ci(add): update flake lock action (#1135)
as discussed in #1131

Add a github action that creating a weekly pr with updated
flake inputs.
2022-02-27 13:13:05 +01:00
Ken Matsui
01f7f4f3d2
fix(ci): use the clippy-check action (#1122) 2022-02-25 20:39:28 +01:00
Aram Drevekenin
796b0bca98
docs(sponsorship): add my Github Sponsors 2022-02-19 10:07:57 +01:00
Aram Drevekenin
821e7cbc5a
feat(ui): add floating panes (#1066)
* basic functionality

* close and reopen scratch terminal working

* embed/float and resize whole tab for floating and static floating panes

* move focus working

* fix focus change in floating panes

* move pane with mouse

* floating z indices

* tests and better resize algorithm

* starting to work on performance

* some performance experimentations

* new render engine

* reverse painters algorithm for floating panes

* fix frame buffering

* improve ux situation

* handle multiple new panes on screen without overlap

* adjust keybindings

* adjust key hints

* fix multiuser frame ui

* fix various floating/multiuser bugs

* remove stuff

* wide characters under floating panes

* fix wide character frame override

* fix non-frame boundaries interactions with floating panes

* fix selection character width

* fix title frame wide char overflow

* fix existing tests

* add tests

* refactor output out of tab

* refactor floating panes out of tab

* refactor tab

* moar refactoring

* refactorings and bring back terminal window title setting

* add frame vte output

* remove more unused stuff

* remove even more unused stuff

* you know the drill

* refactor floating panes and remove more stuffs

* refactor pane grids

* remove unused output caching

* refactor output

* remove unused stuff

* rustfmt

* some formatting

* rustfmt

* reduce clippy to normal

* remove comment

* remove unused

* fix closign pane

* fix tests
2022-02-18 21:10:06 +01:00
dependabot[bot]
1cd21bf899
chore(deps): bump actions/upload-release-asset from 1.0.1 to 1.0.2 (#901)
Bumps [actions/upload-release-asset](https://github.com/actions/upload-release-asset) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/actions/upload-release-asset/releases)
- [Commits](https://github.com/actions/upload-release-asset/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: actions/upload-release-asset
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-25 18:40:15 +01:00
a-kenji
d3505ba52b
feat(update): integrate dependabot for gh actions (#900)
* dependabot will check weekly, if the gh actions have new versions
  available and will open a pr, if necessary
2021-11-25 17:44:18 +01:00
a-kenji
93014f6fd7
fix(typo): e2e test (#867) 2021-11-14 23:01:18 +01:00
Ken Matsui
01749843c8
feat(ci): Support macOS build & test on CI (#846) 2021-11-09 17:32:46 +01:00