Commit graph

1220 commits

Author SHA1 Message Date
Drew DeVault
d35213eaab Add cursor handling in ex line 2019-01-14 08:07:24 -05:00
Drew DeVault
501c95d852 Add README.md, update license (MIT -2019) 2019-01-13 20:09:07 -05:00
Drew DeVault
a409a9faa5 Handle errors from worker initialization 2019-01-13 20:06:18 -05:00
Drew DeVault
c047b068c2 Swap message list placeholder for spinner 2019-01-13 20:04:18 -05:00
Drew DeVault
a782b709d1 Add loading spinner 2019-01-13 20:02:21 -05:00
Drew DeVault
f87fe502a6 Handle connection errors properly 2019-01-13 19:41:21 -05:00
Drew DeVault
4b350dddea Add name to DirectoryInfo messages 2019-01-13 19:37:06 -05:00
Drew DeVault
2750f99a60 Issue IMAP SELECT command 2019-01-13 16:18:10 -05:00
Drew DeVault
cf66462000 Simplify approach to directory list
This doesn't really need to be abstract tbh
2019-01-13 15:32:52 -05:00
Drew DeVault
257affcd48 Revert "Add abstract list, update dirlist accordingly"
This reverts commit 3157897c1a.
2019-01-13 15:27:56 -05:00
Drew DeVault
24196d2c6f Revert "Render selected list item differently"
This reverts commit 60284850f2.
2019-01-13 15:27:48 -05:00
Drew DeVault
60284850f2 Render selected list item differently 2019-01-13 15:12:52 -05:00
Drew DeVault
3157897c1a Add abstract list, update dirlist accordingly 2019-01-13 15:10:47 -05:00
Drew DeVault
755aa9af73 Filter dirlist according to user config 2019-01-13 14:32:22 -05:00
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