<feed xmlns='http://www.w3.org/2005/Atom'>
<title>aerc/lib/ui, branch 0.2.1</title>
<subtitle>Mirror of https://git.sr.ht/~sircmpwn/aerc
</subtitle>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/'/>
<entry>
<title>Ring bell when new messages arrive</title>
<updated>2019-07-29T19:01:49+00:00</updated>
<author>
<name>Ben Burwell</name>
<email>ben@benburwell.com</email>
</author>
<published>2019-07-29T14:50:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=152f8c9519ac1b7b35c3789b03f3d1cc3b1e8881'/>
<id>152f8c9519ac1b7b35c3789b03f3d1cc3b1e8881</id>
<content type='text'>
Add a "new-message-bell" option to the UI section of aerc.conf. A new
hook into the message store allows the msglist widget to detect new
messages being added to the displayed list. When new messages are
delivered, and the new-message-bell option is enabled (as it is by
default), the terminal will beep.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a "new-message-bell" option to the UI section of aerc.conf. A new
hook into the message store allows the msglist widget to detect new
messages being added to the displayed list. When new messages are
delivered, and the new-message-bell option is enabled (as it is by
default), the terminal will beep.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix tabstrip over-drawing when not enough space</title>
<updated>2019-07-26T19:12:24+00:00</updated>
<author>
<name>Jeffas</name>
<email>dev@jeffas.io</email>
</author>
<published>2019-07-26T08:46:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=7a3765a36bfa1c54f8bc77c761a741d5529addcf'/>
<id>7a3765a36bfa1c54f8bc77c761a741d5529addcf</id>
<content type='text'>
Tabstrip didn't take into account the width of the context. Now, it just
shows as many tabs as can fit and truncates the last one if necessary.

In future it probably would be best to ensure that the selected tab is
rendered on the screen.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tabstrip didn't take into account the width of the context. Now, it just
shows as many tabs as can fit and truncates the last one if necessary.

In future it probably would be best to ensure that the selected tab is
rendered on the screen.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add tab completion to textinputs</title>
<updated>2019-07-26T18:39:42+00:00</updated>
<author>
<name>Jeffas</name>
<email>dev@jeffas.io</email>
</author>
<published>2019-07-26T13:29:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=cded067bc3919a77b17feedd877e4590e7c95f4a'/>
<id>cded067bc3919a77b17feedd877e4590e7c95f4a</id>
<content type='text'>
This adds tab completion to textinput components. They can be configured
with a completion function. This function is called when the user
presses &lt;tab&gt;. The first completion is initially shown to the user
inserted into the text. Repeated presses of &lt;tab&gt; or &lt;backtab&gt; cycle
through the completions list. The completions list is invalidated when
any other non-tab-like key is pressed.

Also changed is some logic for current completion generation so that
all available commands are returned when &lt;tab&gt; is pressed with no
current text and similarly for arguments of commands.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds tab completion to textinput components. They can be configured
with a completion function. This function is called when the user
presses &lt;tab&gt;. The first completion is initially shown to the user
inserted into the text. Repeated presses of &lt;tab&gt; or &lt;backtab&gt; cycle
through the completions list. The completions list is invalidated when
any other non-tab-like key is pressed.

Also changed is some logic for current completion generation so that
all available commands are returned when &lt;tab&gt; is pressed with no
current text and similarly for arguments of commands.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix invalid tab state when deselecting removed tab</title>
<updated>2019-07-26T18:37:45+00:00</updated>
<author>
<name>Drew DeVault</name>
<email>sir@cmpwn.com</email>
</author>
<published>2019-07-26T18:37:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=aabe3d9b3a58efd9f0ad9b39917b85092d0955a1'/>
<id>aabe3d9b3a58efd9f0ad9b39917b85092d0955a1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix :close on terminal panic</title>
<updated>2019-07-25T22:12:08+00:00</updated>
<author>
<name>Jeffas</name>
<email>dev@jeffas.io</email>
</author>
<published>2019-07-23T18:41:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=ee5b537d538baf38450a2ae655dee53a49aa9824'/>
<id>ee5b537d538baf38450a2ae655dee53a49aa9824</id>
<content type='text'>
Executing :close on a terminal would panic due to it already having been
removed.

This is also related to the fact that removing a tab doesn't check for
whether it actually found a tab to remove or not.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Executing :close on a terminal would panic due to it already having been
removed.

This is also related to the fact that removing a tab doesn't check for
whether it actually found a tab to remove or not.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix grid creating too large subcontexts</title>
<updated>2019-07-25T22:12:00+00:00</updated>
<author>
<name>Jeffas</name>
<email>dev@jeffas.io</email>
</author>
<published>2019-07-23T19:03:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=1cf90897f74f7f727710a9e61e9c835a040918bf'/>
<id>1cf90897f74f7f727710a9e61e9c835a040918bf</id>
<content type='text'>
The grid was not checking there was enough space for the cells so would
just attempt to create subcontexts that don't actually fit.

This attempts to use the remaining space and then if there is no space
then it just skips drawing this cell.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The grid was not checking there was enough space for the cells so would
just attempt to create subcontexts that don't actually fit.

This attempts to use the remaining space and then if there is no space
then it just skips drawing this cell.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix panic when tabs.popHistory is nonexistent</title>
<updated>2019-07-25T12:29:10+00:00</updated>
<author>
<name>Drew DeVault</name>
<email>sir@cmpwn.com</email>
</author>
<published>2019-07-25T12:29:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=2f626ddd18e8472e0ddc2bb9013b7d01c1b5b9a9'/>
<id>2f626ddd18e8472e0ddc2bb9013b7d01c1b5b9a9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add change tab command</title>
<updated>2019-07-23T14:27:59+00:00</updated>
<author>
<name>Jeffas</name>
<email>dev@jeffas.io</email>
</author>
<published>2019-07-19T17:12:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=e42b95a617399b2736df96ae6469309e6b306d71'/>
<id>e42b95a617399b2736df96ae6469309e6b306d71</id>
<content type='text'>
This command allows the user to change tab by giving the tab name. This
can be tab completed too. The previous tab is stored in the tabs module
so that when a new tab is created it is still possible to go to the
previous one.

Normal invocation is :ct folder
Previous tab is :ct -
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This command allows the user to change tab by giving the tab name. This
can be tab completed too. The previous tab is stored in the tabs module
so that when a new tab is created it is still possible to go to the
previous one.

Normal invocation is :ct folder
Previous tab is :ct -
</pre>
</div>
</content>
</entry>
<entry>
<title>Display user specified headers in viewer if present</title>
<updated>2019-07-17T21:26:43+00:00</updated>
<author>
<name>Daniel Bridges</name>
<email>bridges2@gmail.com</email>
</author>
<published>2019-07-15T18:56:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=dfc048fe285939d9de3b5753f723c935d042cc2b'/>
<id>dfc048fe285939d9de3b5753f723c935d042cc2b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix grid widths when using weighted widths</title>
<updated>2019-07-17T20:00:49+00:00</updated>
<author>
<name>Jeffas</name>
<email>dev@jeffas.io</email>
</author>
<published>2019-07-16T19:21:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=4991c344ab754922e9af558c59d9797c7e5ce5cf'/>
<id>4991c344ab754922e9af558c59d9797c7e5ce5cf</id>
<content type='text'>
If the column weights do not collectively divide the extent of the grid
layout then some width was not used and so would not be redrawn,
resulting in previous drawings showing through.

This fixes this by checking if there is any remainingExact width and if
there is it is assigned to the weighted columns by their proportion from
left to right.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the column weights do not collectively divide the extent of the grid
layout then some width was not used and so would not be redrawn,
resulting in previous drawings showing through.

This fixes this by checking if there is any remainingExact width and if
there is it is assigned to the weighted columns by their proportion from
left to right.
</pre>
</div>
</content>
</entry>
</feed>
