<feed xmlns='http://www.w3.org/2005/Atom'>
<title>aerc/worker/imap, branch master</title>
<subtitle>mirror of ~rjarry's aerc fork - a pretty good email client
</subtitle>
<id>https://git.tilde.institute/akspecs/aerc/atom?h=master</id>
<link rel='self' href='https://git.tilde.institute/akspecs/aerc/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/akspecs/aerc/'/>
<updated>2021-12-11T20:45:51Z</updated>
<entry>
<title>imap: fix build on macos</title>
<updated>2021-12-11T20:45:51Z</updated>
<author>
<name>Robin Jarry</name>
<email>robin@jarry.cc</email>
</author>
<published>2021-12-11T19:53:10Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/akspecs/aerc/commit/?id=15a4cc7d0a84870ba04307154f394f9bdc98fd31'/>
<id>urn:sha1:15a4cc7d0a84870ba04307154f394f9bdc98fd31</id>
<content type='text'>
Fix the following build error on mac os:

 worker/imap/worker.go:368:29: undefined: syscall.TCP_KEEPCNT
 worker/imap/worker.go:376:29: undefined: syscall.TCP_KEEPINTVL

These symbols are not defined on darwin.

Fixes: 5dfeff75f368 ("imap: add tcp connection options")
Signed-off-by: Robin Jarry &lt;robin@jarry.cc&gt;
</content>
</entry>
<entry>
<title>imap: add tcp connection options</title>
<updated>2021-12-07T20:28:13Z</updated>
<author>
<name>Robin Jarry</name>
<email>robin@jarry.cc</email>
</author>
<published>2021-12-06T23:05:36Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/akspecs/aerc/commit/?id=5dfeff75f3681429446329e2d644811414100e7c'/>
<id>urn:sha1:5dfeff75f3681429446329e2d644811414100e7c</id>
<content type='text'>
Allow fine tuning tcp connection options.

Signed-off-by: Robin Jarry &lt;robin@jarry.cc&gt;
</content>
</entry>
<entry>
<title>imap: use low level tcp connection</title>
<updated>2021-12-07T20:27:41Z</updated>
<author>
<name>Robin Jarry</name>
<email>robin@jarry.cc</email>
</author>
<published>2021-12-06T23:00:01Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/akspecs/aerc/commit/?id=33aaf946633791f8954784a693de27990c43e0f5'/>
<id>urn:sha1:33aaf946633791f8954784a693de27990c43e0f5</id>
<content type='text'>
In preparation for tcp keepalive options, we need access to the
net.TCPConn object associated with an IMAP connection. The only way to
do this is to create the connection ourselves.

No functional change.

Signed-off-by: Robin Jarry &lt;robin@jarry.cc&gt;
</content>
</entry>
<entry>
<title>imap: move connect procedure into a dedicated function</title>
<updated>2021-12-07T20:26:56Z</updated>
<author>
<name>Robin Jarry</name>
<email>robin@jarry.cc</email>
</author>
<published>2021-12-06T22:52:25Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/akspecs/aerc/commit/?id=cc432eefd32dc8652651ca0966ba733c7c47e088'/>
<id>urn:sha1:cc432eefd32dc8652651ca0966ba733c7c47e088</id>
<content type='text'>
This will prepare for extra tcp connection options support and for
automatic reconnect. No functional change.

Signed-off-by: Robin Jarry &lt;robin@jarry.cc&gt;
</content>
</entry>
<entry>
<title>imap: fix segfault when disconnecting</title>
<updated>2021-11-22T20:32:56Z</updated>
<author>
<name>Robin Jarry</name>
<email>robin@jarry.cc</email>
</author>
<published>2021-11-22T20:31:42Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/akspecs/aerc/commit/?id=6ddfc23e617ad66bd98d980b22d01bf0fe20ec10'/>
<id>urn:sha1:6ddfc23e617ad66bd98d980b22d01bf0fe20ec10</id>
<content type='text'>
Do not set client = nil, it breaks almost all message handlers:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8c7e51]
goroutine 25 [running]:
  git.sr.ht/~rjarry/aerc/worker/imap.(*IMAPWorker).handleListDirectories
    worker/imap/list.go:32
  git.sr.ht/~rjarry/aerc/worker/imap.(*IMAPWorker).handleMessage
    worker/imap/worker.go:174
  git.sr.ht/~rjarry/aerc/worker/imap.(*IMAPWorker).Run
    worker/imap/worker.go:264
  created by git.sr.ht/~rjarry/aerc/widgets.NewAccountView
    widgets/account.go:85 +0x518

Simply leave the disconnected client object, it already returns explicit
error messages.

Fixes: e41ed82cf3db ("imap: add manual {dis,}connect support")
Signed-off-by: Robin Jarry &lt;robin@jarry.cc&gt;
</content>
</entry>
<entry>
<title>messages: allow displaying email threads</title>
<updated>2021-11-13T14:05:59Z</updated>
<author>
<name>y0ast</name>
<email>joost@joo.st</email>
</author>
<published>2021-11-12T17:12:02Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/akspecs/aerc/commit/?id=dc2a2c2dfd6dc327fe40fbf2da922ef6c3d520be'/>
<id>urn:sha1:dc2a2c2dfd6dc327fe40fbf2da922ef6c3d520be</id>
<content type='text'>
Display threads in the message list. For now, only supported by the
notmuch backend and on IMAP when the server supports the THREAD
extension.

Setting threading-enable=true is global and will cause the message list
to be empty with maildir:// accounts.

Co-authored-by: Kevin Kuehler &lt;keur@xcf.berkeley.edu&gt;
Co-authored-by: Reto Brunner &lt;reto@labrat.space&gt;
Signed-off-by: Robin Jarry &lt;robin@jarry.cc&gt;
</content>
</entry>
<entry>
<title>imap: add manual {dis,}connect support</title>
<updated>2021-11-05T09:45:31Z</updated>
<author>
<name>Robin Jarry</name>
<email>robin@jarry.cc</email>
</author>
<published>2021-11-01T20:38:26Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/akspecs/aerc/commit/?id=e41ed82cf3dbb4a1152a562ab754a9dc4a6c57b3'/>
<id>urn:sha1:e41ed82cf3dbb4a1152a562ab754a9dc4a6c57b3</id>
<content type='text'>
Signed-off-by: Robin Jarry &lt;robin@jarry.cc&gt;
</content>
</entry>
<entry>
<title>go.mod: change base git url</title>
<updated>2021-11-05T09:21:45Z</updated>
<author>
<name>Robin Jarry</name>
<email>robin@jarry.cc</email>
</author>
<published>2021-11-05T09:19:46Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/akspecs/aerc/commit/?id=0d645bcebda8d764c4f21f71ded1e3627d6e8837'/>
<id>urn:sha1:0d645bcebda8d764c4f21f71ded1e3627d6e8837</id>
<content type='text'>
I'm not sure what are the implications but it seems required.

Link: https://github.com/golang/go/issues/20883
Signed-off-by: Robin Jarry &lt;robin@jarry.cc&gt;
</content>
</entry>
<entry>
<title>imap: use builtin idle support</title>
<updated>2021-11-02T10:24:33Z</updated>
<author>
<name>Robin Jarry</name>
<email>robin@jarry.cc</email>
</author>
<published>2021-11-01T20:19:17Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/akspecs/aerc/commit/?id=4cf0ea2a056708274438189e6eb3a0c805bf4ae1'/>
<id>urn:sha1:4cf0ea2a056708274438189e6eb3a0c805bf4ae1</id>
<content type='text'>
go-imap supports IDLE since 1.2.0. Remove dependency to go-imap-idle.

Link: https://github.com/emersion/go-imap/commit/ac3f8e195ef1b6d
Signed-off-by: Robin Jarry &lt;robin@jarry.cc&gt;
</content>
</entry>
<entry>
<title>imap: strip &lt;&gt; from message-ids</title>
<updated>2020-11-14T14:40:13Z</updated>
<author>
<name>Reto Brunner</name>
<email>reto@labrat.space</email>
</author>
<published>2020-11-08T13:18:14Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/akspecs/aerc/commit/?id=daf214a1f8b9ee1f8eabff9b1a2485eceb19cbd0'/>
<id>urn:sha1:daf214a1f8b9ee1f8eabff9b1a2485eceb19cbd0</id>
<content type='text'>
</content>
</entry>
</feed>
