Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Flesh out multipart switcher | Drew DeVault | 2019-05-20 | 1 | -1/+1 |
| | |||||
* | Verify TLS certificates | Drew DeVault | 2019-05-20 | 1 | -11/+0 |
| | | | | | | I was partway done implementing a UI for users to approve untrusted certs with, but let's just make them configure their servers right instead. | ||||
* | worker/types/worker: remove mutex | Simon Ser | 2019-05-19 | 1 | -36/+21 |
| | | | | | | | | | | Worker.callbacks contains two types of callbacks: some are action callbacks, some are message callbacks. Each of those is access from one side of the communication channel (UI goroutine vs. worker goroutine). Instead of using a channel, we can use two different maps for each kind. This simplifies the code and also ensures we don't call an action callback instead of a message callback (or the other way around). | ||||
* | worker/types/worker: make ID allocation atomic | Simon Ser | 2019-05-19 | 2 | -10/+11 |
| | | | | | | | | Message IDs are allocated for both messages from UI to workers and the other way around. Hence, the global nextId variable is accessed from multiple goroutines. Instead, use atomic to access the global counter. | ||||
* | worker/types/worker: set ID before sending message | Simon Ser | 2019-05-19 | 1 | -3/+9 |
| | | | | | The previous code set the message ID after sending it, which could result in the receiver reading the ID before it's set. | ||||
* | s/aerc2/aerc/g | Drew DeVault | 2019-05-17 | 1 | -1/+1 |
| | |||||
* | Copy sent emails to the Sent folder | Drew DeVault | 2019-05-15 | 2 | -4/+32 |
| | | | | Or rather, to a user-specified folder | ||||
* | Implement move, mv commands | Drew DeVault | 2019-05-14 | 1 | -6/+0 |
| | |||||
* | Implement :copy (aka :cp) | Drew DeVault | 2019-05-14 | 1 | -0/+12 |
| | |||||
* | worker/types: fix Worker.Callbacks race condition | Simon Ser | 2019-04-27 | 1 | -15/+41 |
| | | | | | | | | | | | | | Worker.Process* functions were called in different goroutines than Worker.Post*. Protect the map with a mutex. Also make the map unexported to prevent external unprotected accesses. Worker.Process* functions used to delete items from the map. However they didn't delete the element they retrieved: callbacks[msg.InResponseTo()] was read while callbacks[msg] was deleted. I'm not sure I understand why. I tried to delete the element that was accessed - but this broke everything (UI froze at "Connecting..."). I don't believe any elements were actually removed from the map, so the new code just doesn't remove anything. | ||||
* | Rename FetchMessageBodies to FetchFullMessages | Drew DeVault | 2019-03-31 | 1 | -2/+2 |
| | |||||
* | Don't parse mail in worker; send a reader instead | Drew DeVault | 2019-03-31 | 1 | -4/+3 |
| | |||||
* | Pull BodyStructure up from IMAP worker | Drew DeVault | 2019-03-31 | 1 | -5/+19 |
| | |||||
* | Add body fetching support code | Drew DeVault | 2019-03-29 | 1 | -2/+7 |
| | |||||
* | Implement :delete-message | Drew DeVault | 2019-03-20 | 1 | -0/+10 |
| | |||||
* | Implement message store side of message fetching | Drew DeVault | 2019-03-14 | 1 | -2/+2 |
| | |||||
* | Fetch valid UIDs from server after opening dir | Drew DeVault | 2019-03-10 | 1 | -0/+33 |
| | |||||
* | Add name to DirectoryInfo messages | Drew DeVault | 2019-01-13 | 1 | -1/+2 |
| | |||||
* | Issue IMAP SELECT command | Drew DeVault | 2019-01-13 | 1 | -0/+13 |
| | |||||
* | Refactoring; consume listing response | Drew DeVault | 2018-02-01 | 1 | -11/+7 |
| | |||||
* | Implement (most of) mailbox listing | Drew DeVault | 2018-02-01 | 1 | -0/+14 |
| | |||||
* | Improve logging | Drew DeVault | 2018-02-01 | 1 | -6/+20 |
| | |||||
* | Reduce boilerplate in worker/UI | Drew DeVault | 2018-02-01 | 1 | -0/+59 |
| | |||||
* | Add certificate approval flow | Drew DeVault | 2018-01-31 | 1 | -8/+18 |
| | |||||
* | Connect to IMAP server, login and idle | emersion | 2018-01-14 | 1 | -0/+2 |
| | |||||
* | Move worker into account tab | Drew DeVault | 2018-01-11 | 1 | -1/+1 |
| | |||||
* | Initial pass on worker/UI message passing | Drew DeVault | 2018-01-09 | 1 | -0/+55 |