Commit graph

806 commits

Author SHA1 Message Date
Drew DeVault
2349b7de86 Add directory list widget 2019-01-13 14:26:46 -05:00
Drew DeVault
c286d3da6b Move ex line into account 2019-01-13 13:33:43 -05:00
Drew DeVault
b76deea963 Move status line into account, update behavior 2019-01-13 13:25:56 -05:00
Drew DeVault
0fee2d6f97 Remove old account widget 2019-01-13 13:03:46 -05:00
Drew DeVault
0911cd5050 Initialize worker in account widget 2019-01-13 13:03:28 -05:00
Drew DeVault
648ca983f6 Add basic account widget, populate real acct views 2019-01-13 12:39:06 -05:00
Markus Ongyerth
2f5c1db63c refactor lib/ui/tab to ensure staying in bounds
Fix a few potential out of bounds by placing proper checks, which should
be relevant if all tabs are removed for some reason.

Also avoid iterating all tabs in the invalidate handler, since we are
only interested in whether it's the selected tab either way
2018-06-13 07:00:12 -04:00
Drew DeVault
1265d9cff8 Apply gofmt 2018-06-12 09:50:46 -04:00
Markus Ongyerth
67d14977fa fallthrough in worker selection 2018-06-12 09:49:38 -04:00
Drew DeVault
dc90be24de Fix tab invalidation bugs 2018-06-11 20:13:02 -04:00
Drew DeVault
6728a11fdf Apply gofmt 2018-06-11 20:04:21 -04:00
Drew DeVault
d67c8a60ef Clean up some old code 2018-06-11 19:52:21 -04:00
Drew DeVault
1c41b63f08 Move sidebar into account tabs
This is accomplished through a bit of a hack, the statusbar is able to
be a child of multiple dudes
2018-06-11 19:23:09 -04:00
Drew DeVault
e463c38476 Use default color for selected tab 2018-06-07 13:43:17 -04:00
Drew DeVault
28021ede1b Update go.mod 2018-06-01 16:56:41 -07:00
Markus Ongyerth
80e891a802 switch to tcell from termbox
This is a simple mostly straight forward switch to tcell in favor of
termbox.
It uses the tcell native api (not the compat layer) but does not make
use of most features.

Further changes should include moving to tcell's views.TextArea and the
general built in widget behaviour instead of the current ad hoc
implementation.

Regression: Cursor isn't shown in ex-line
2018-06-01 16:04:43 -07:00
Drew DeVault
3836d240c9 Switch to vgo 2018-03-02 09:27:44 -05:00
Drew DeVault
cea98463c9 Summon exline on demand 2018-02-27 21:33:47 -05:00
Drew DeVault
30c85dd4ab Push commands to the status stack 2018-02-27 21:29:50 -05:00
Drew DeVault
cab3771e17 Pull main aerc UI into widget 2018-02-27 21:17:26 -05:00
Drew DeVault
a073d7613f Add statusline widget 2018-02-27 21:02:56 -05:00
Drew DeVault
46756487fb Add stack UI container 2018-02-27 19:31:09 -05:00
Drew DeVault
384fe0d826 Make ex line fully unicode aware 2018-02-27 16:46:14 -05:00
Drew DeVault
1418e1b9dc Split UI library and widgets 2018-02-26 22:54:39 -05:00
Drew DeVault
661e3ec2a4 Implement basic ex line input
TODO:
- scrolling
- commit/cancel
- command history (via an external command history provider)
- tab completion (via an external tab completion provider)
2018-02-26 22:42:01 -05:00
Drew DeVault
07f7cac2f3 Add fake status line 2018-02-17 20:22:58 -05:00
Drew DeVault
05ec735754 Add text widget 2018-02-17 20:21:33 -05:00
Drew DeVault
f0791d4ba7 Add borders widget 2018-02-17 20:11:58 -05:00
Drew DeVault
7f67162f43 Cycle tabs for demoy goodness 2018-02-17 19:43:44 -05:00
Drew DeVault
5b2e3a0ca0 Implement tab container 2018-02-17 19:42:29 -05:00
Drew DeVault
60b351b78c Polish up grid and add new rendering loop 2018-02-17 16:35:36 -05:00
Drew DeVault
1892d73161 Add grid rendering, probably 2018-02-17 15:21:31 -05:00
Drew DeVault
8c8c21f3ff Initial pass on new frontend design 2018-02-16 00:09:25 -05:00
Drew DeVault
18493180bd Make Makefile more POSIXly portable
This breaks out of tree builds though
2018-02-13 23:06:37 -05:00
Drew DeVault
25f21b55bd Tidy up list.go 2018-02-02 08:44:30 -05:00
Drew DeVault
d603bbe2ce Refactoring; consume listing response 2018-02-01 19:54:19 -05:00
Drew DeVault
cc03f6f4c8 Implement (most of) mailbox listing 2018-02-01 19:34:08 -05:00
Drew DeVault
1767e4fab5 Improve logging 2018-02-01 18:59:13 -05:00
Drew DeVault
d24e4712a4 Reduce boilerplate in worker/UI 2018-02-01 18:42:03 -05:00
Drew DeVault
ee73c41950 Delete callbacks when done 2018-02-01 08:50:47 -05:00
Drew DeVault
cfe82414c4 Add worker callbacks to account UI 2018-02-01 08:48:33 -05:00
Drew DeVault
3139148c7b Add certificate approval flow 2018-01-31 21:54:52 -05:00
Drew DeVault
a21afdaa6b Improve logging 2018-01-31 21:18:21 -05:00
emersion
1710c90548 Connect to IMAP server, login and idle 2018-01-14 10:26:38 -05:00
Drew DeVault
4074445cbb Move worker into account tab 2018-01-11 09:04:18 -05:00
Drew DeVault
ffba561334 Add comment 2018-01-10 22:59:16 -05:00
Drew DeVault
55e8453302 Improve invalidation logic 2018-01-10 22:54:55 -05:00
Drew DeVault
77a0f68758 Make termbox event loop async 2018-01-10 22:41:15 -05:00
Drew DeVault
db1b2cd53f Renderer scaffolding 2018-01-10 22:03:56 -05:00
emersion
a0be5e8025 Misc idiomatic fixes 2018-01-10 11:20:41 -05:00