aerc/widgets
Robin Jarry 171fefd209 tabs: make fields private
The Tabs object exposes an array of Tab objects and the current selected
index in that array. The these two fields are sometimes modified in
goroutines, which can lead to data races causing fatal out of bounds
accesses on the tab array.

Hide these fields as private API. Expose only what needs to be seen from
the outside. This will prepare for protecting concurrent access with
a lock in the next commit.

Signed-off-by: Robin Jarry <robin@jarry.cc>
Acked-by: Koni Marti <koni.marti@gmail.com>
2022-07-23 22:00:25 +02:00
..
account-wizard.go uiconfig: use pointer references to uiConfig 2022-07-03 21:32:18 +02:00
account.go tabs: make fields private 2022-07-23 22:00:25 +02:00
aerc.go tabs: make fields private 2022-07-23 22:00:25 +02:00
authinfo.go uiconfig: use pointer references to uiConfig 2022-07-03 21:32:18 +02:00
common.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
compose.go config: allow per-account address-book-cmd 2022-07-17 19:00:44 +02:00
dirlist.go threading: enable filtering of server-side threads 2022-07-10 21:15:12 +02:00
dirtree.go dirlist: fix panic when disconnecting with dirlist-tree=false 2022-06-07 18:01:25 +02:00
exline.go uiconfig: use pointer references to uiConfig 2022-07-03 21:32:18 +02:00
getpasswd.go uiconfig: use pointer references to uiConfig 2022-07-03 21:32:18 +02:00
headerlayout.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
msglist.go threading: refactor reselect logic 2022-07-10 21:15:12 +02:00
msgviewer.go msgviewer: cleanup PartSwitcher on :toggle-headers 2022-07-23 21:51:52 +02:00
pgpinfo.go uiconfig: use pointer references to uiConfig 2022-07-03 21:32:18 +02:00
providesmessage.go msgviewer: open http links from messages 2022-06-14 22:12:48 +02:00
scrollable.go scrollable: extract scrolling behavior for reuse 2022-03-03 21:11:05 +01:00
selector.go uiconfig: use pointer references to uiConfig 2022-07-03 21:32:18 +02:00
spinner.go logging: added a log on panic 2022-03-23 20:56:09 +01:00
status.go uiconfig: use pointer references to uiConfig 2022-07-03 21:32:18 +02:00
tabhost.go Implement style configuration. 2020-08-06 21:42:06 +02:00
terminal.go terminal: fix deadlock with finer-grained locking 2022-05-25 22:18:26 +02:00