Commit graph

90 commits

Author SHA1 Message Date
Yoann Lecuyer
bf5cd9f9f0 Fix: race condition for pause/unpause state 2025-11-30 00:27:04 +01:00
Sebastiaan van Stijn
77a4de4819
go.mod: github.com/docker/docker, docker/cli v27.0.3
Update to v27.0, and remove uses of deprecated types.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-15 11:44:09 +02:00
Jesse Duffield
968b09e6c4 Bump gocui 2024-05-26 14:00:53 +10:00
Jesse Duffield
630ea7d324 Fix issue where logs were buggy after returning from subprocess
Turns out that upon switching to a subprocess we were cancelling ALL
periodic tasks, which includes re-rendering the main view ever 30ms.
This completely broke our log rendering and meant that it only updated
when an event occurred
2024-05-26 13:02:54 +10:00
Jesse Duffield
bca15cf6b1 Get container details immediately after getting containers
Previously we separately obtained container details every second,
meaning there was a second of not knowing whether a given container was
using a TTY or not, and that meant we were using the wrong streaming
method for logs, which led to a black screen.
2024-05-26 12:19:17 +10:00
Rdkang
07f26c1e91
Allow setting default screenMode (#421) 2023-07-21 18:08:21 +10:00
Tony-Sol
ce95ddea2a
Add networks panel 2023-03-06 01:25:23 +03:00
Jesse Duffield
3e2a3e608a update cheatsheet 2022-11-10 20:13:41 +11:00
Jesse Duffield
b7fea7a44d separate quit and close options 2022-11-10 19:45:32 +11:00
Jesse Duffield
52040d1d99 better way of rendering to the main view 2022-11-10 19:14:12 +11:00
Jesse Duffield
a87b698761 move things into presentation package 2022-11-09 21:21:36 +11:00
Jesse Duffield
fc592b5806 more refactoring of list panels 2022-11-09 21:21:36 +11:00
Jesse Duffield
5d498c796a move context stuff into its own struct 2022-11-09 21:21:36 +11:00
Jesse Duffield
82516385c0 use lazycore stuff 2022-11-09 21:21:36 +11:00
Jesse Duffield
b453ce8940 cleaning things up 2022-11-09 21:21:36 +11:00
Jesse Duffield
d964c59df0 dont store cyclable views in state 2022-11-09 21:21:36 +11:00
Jesse Duffield
751dbef42e refactor some more 2022-11-09 21:21:35 +11:00
Jesse Duffield
aab8bcfbcc add deadlock detection for debug mode 2022-11-09 21:21:35 +11:00
Jesse Duffield
9b58b8188a remove redundant function 2022-11-09 21:21:35 +11:00
Jesse Duffield
f7beb6e83f stop support menu filtering for simplicity 2022-11-09 21:21:35 +11:00
Jesse Duffield
e6d4a97545 better search logic 2022-11-09 21:21:35 +11:00
Jesse Duffield
702361559f allow searching in any list view 2022-11-09 21:21:35 +11:00
Jesse Duffield
60df208924 convert menu panel to use new struct 2022-11-09 21:21:35 +11:00
Jesse Duffield
158ef68372 convert project panel to use new struct 2022-11-09 21:21:35 +11:00
Jesse Duffield
5aea90c08b convert containers panel to use new struct 2022-11-09 21:21:35 +11:00
Jesse Duffield
a4b4fee868 convert volumes panel to use new struct 2022-11-09 21:21:35 +11:00
Jesse Duffield
79a58c8d48 convert services panel to use new struct 2022-11-09 21:21:35 +11:00
Jesse Duffield
b80c8edcd0 convert images panel to use new struct 2022-11-09 21:21:35 +11:00
Jesse Duffield
e46b908006 support filtered list panel without dependency on gui package 2022-11-09 21:21:35 +11:00
Jesse Duffield
cb38e48add create filtered list struct 2022-11-09 21:21:35 +11:00
Jesse Duffield
be347a7216 POC filtering on images panel 2022-11-09 21:21:35 +11:00
Jesse Duffield
46de6b365d clean up some things
remove redundant g argument
2022-10-09 18:36:42 -07:00
Jesse Duffield
540c592b04 prevent issue where opening popup in maximised main view shows popup in front of a side view 2022-10-09 18:03:57 -07:00
Jesse Duffield
aa8504b8f6 fix focus issues 2022-10-09 18:03:57 -07:00
Jesse Duffield
fb7b28243b improve subprocess approach 2022-10-09 18:03:46 -07:00
Jesse Duffield
c6607686eb fix view stack code 2022-10-09 18:03:40 -07:00
Jesse Duffield
badc43b225 allow changing window size 2022-10-09 18:02:11 -07:00
Jesse Duffield
d940f2e7ab honour context being done 2022-05-12 16:59:37 +10:00
Jesse Duffield
d27ce19f6c simplify CPU monitoring logic 2022-05-11 17:49:00 +10:00
Jesse Duffield
b5384d6cdb retry upon losing connection to docker 2022-05-11 17:06:58 +10:00
Jesse Duffield
75ed6b12e5 refresh images upon receiving an event 2022-05-10 23:14:46 +10:00
Jesse Duffield
d8777b7a59 update gocui 2022-05-10 22:11:21 +10:00
Jesse Duffield
14cb013f5d update sponsorship link 2022-05-10 20:47:09 +10:00
Jesse Duffield
2fe7505ebc use event channel to reduce CPU usage by a LOT 2022-05-09 20:31:16 +10:00
Jesse Duffield
97772a95d0 remove anonymous reporting prompt because we disabled that globally ages ago 2022-01-12 23:11:03 +11:00
Jesse Duffield
cea67bc570 reduce cpu usage caused by tickers 2020-02-02 11:11:00 +11:00
Jesse Duffield
54609a5d99
Merge pull request #148 from jesseduffield/147_child_processes
ensure the current task is stopped before exit
2019-09-07 18:08:02 +10:00
Jesse Duffield
3f28a97507 ensure the current task is stopped before exit so we don't have any child orphan processes
use stop mutex
2019-09-07 18:04:49 +10:00
Dawid Dziurla
2763336f49
gui: delete comment 2019-09-07 09:04:58 +02:00
Dawid Dziurla
cfd4b7a1cc
gui: improve and fix PreviousViews stack 2019-09-02 16:19:30 +02:00