Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update internal state and draw from the same goroutine | Simon Ser | 2019-05-19 | 1 | -19/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | This commit introduces a new Aerc.Tick function that should be called to refresh the internal state. This in turn makes each AccountView process worker events. The UI goroutine repeatedly refreshes the internal state before drawing a new frame. The reason for this is that many worker messages may need to be processed for a single frame, and drawing the UI is far slower than refreshing the internal state. This has been confirmed in my testing (calling Aerc.Tick only once per frame results in a slower display). Many synchronization code has been removed. We can now write widgets without having to care so much about races. The remaining sync users are: - widgets/spinner: the spinner value is updated from inside an internal goroutine - lib/ui/invalidatable: Invalidate may be called from any goroutine - lib/ui/grid: same - lib/ui/ui: an internal goroutine needs read access to UI.exit - worker/types/worker: Worker.callbacks is used for both worker and UI callbacks The exact goroutine requirements for Drawable have been documented. | ||||
* | s/aerc2/aerc/g | Drew DeVault | 2019-05-17 | 1 | -1/+1 |
| | |||||
* | Fix issues with OOB uids | Drew DeVault | 2019-05-16 | 1 | -3/+3 |
| | |||||
* | Implement move, mv commands | Drew DeVault | 2019-05-14 | 1 | -0/+27 |
| | |||||
* | Implement :copy (aka :cp) | Drew DeVault | 2019-05-14 | 1 | -2/+16 |
| | |||||
* | Remove leftover debug logging | Drew DeVault | 2019-05-13 | 1 | -3/+0 |
| | |||||
* | Handle incoming emails gracefully | Drew DeVault | 2019-05-13 | 1 | -0/+6 |
| | |||||
* | lib/msgstore: protect with a mutex | Simon Ser | 2019-04-29 | 1 | -3/+22 |
| | | | | | | MessageStore has a lot of exported fields that can be read from the outside. Each read must be protected, because a call from Update could happen at any time. | ||||
* | Make message viewer real, part two | Drew DeVault | 2019-03-31 | 1 | -1/+1 |
| | |||||
* | Rename FetchMessageBodies to FetchFullMessages | Drew DeVault | 2019-03-31 | 1 | -2/+2 |
| | |||||
* | Make the message viewer real, part one | Drew DeVault | 2019-03-31 | 1 | -1/+15 |
| | |||||
* | Don't parse mail in worker; send a reader instead | Drew DeVault | 2019-03-31 | 1 | -7/+6 |
| | |||||
* | Pull BodyStructure up from IMAP worker | Drew DeVault | 2019-03-31 | 1 | -1/+15 |
| | |||||
* | Show deleted emails pending server ack in grey | Drew DeVault | 2019-03-30 | 1 | -2/+15 |
| | | | | TODO: Don't let the user select or interact with deleted messages | ||||
* | Add body fetching support code | Drew DeVault | 2019-03-29 | 1 | -6/+71 |
| | |||||
* | Remove unused import from msgstore.go | Drew DeVault | 2019-03-21 | 1 | -2/+0 |
| | |||||
* | Implement :delete-message | Drew DeVault | 2019-03-20 | 1 | -3/+26 |
| | |||||
* | Add TODO to msgstore.go | Drew DeVault | 2019-03-15 | 1 | -1/+1 |
| | |||||
* | Move MessageStore into its own file | Drew DeVault | 2019-03-15 | 1 | -0/+86 |