<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xmobar/src/Xmobar/Plugins/Monitors, branch 0.34</title>
<subtitle>a minimalistic status bar</subtitle>
<id>https://jao.io/cgit/xmobar/atom?h=0.34</id>
<link rel='self' href='https://jao.io/cgit/xmobar/atom?h=0.34'/>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/'/>
<updated>2020-06-12T17:16:08Z</updated>
<entry>
<title>Update UVWeather branch</title>
<updated>2020-06-12T17:16:08Z</updated>
<author>
<name>Sibi Prabakaran</name>
<email>sibi@psibi.in</email>
</author>
<published>2020-06-12T17:13:59Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=46d6679b245bd40edf70f158422a0482d1cde235'/>
<id>urn:sha1:46d6679b245bd40edf70f158422a0482d1cde235</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Optimize weather plugin by reusing manager and other refactors</title>
<updated>2020-06-12T17:14:31Z</updated>
<author>
<name>Sibi Prabakaran</name>
<email>sibi@psibi.in</email>
</author>
<published>2020-05-30T14:09:29Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=f3e2d5a59983a5cb8c364dbac169fa5ef16ebb51'/>
<id>urn:sha1:f3e2d5a59983a5cb8c364dbac169fa5ef16ebb51</id>
<content type='text'>
As documented in the http-client library, calling newManager is an
expensive operation:

```
Creating a new Manager is a relatively expensive operation, you are
advised to share a single Manager between requests instead.
```

But inspite of the haddocks in xmobar claiming that once 'Manager' is
created, it will be used throughout the monitor is not true. Because for
every call of `startWeather` a new manager is being created.

Also I removed the option in WeatherOpts because even if it is false,
it will be ultimately created in `getData` function. Also without
using a manager - the plugin won't really work. So, I don't think
there is any reason for this option to exist.

I have introduced a new dependency http-client-tls to use the shared
global manager so that we reuse the same manager every time. This
simplifies a lot of code. Note that this is not really a new
dependency because http-conduit already depends on it transitively.
</content>
</entry>
<entry>
<title>recursively hlinting</title>
<updated>2020-05-06T21:20:34Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2020-05-06T21:20:34Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=6f3b730415147041ff34558fe7292a76dc87b1f0'/>
<id>urn:sha1:6f3b730415147041ff34558fe7292a76dc87b1f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hlinting</title>
<updated>2020-05-06T19:11:25Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2020-05-06T19:11:25Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=2a1230543414ab09fd29b99ad722d9a963bd43cc'/>
<id>urn:sha1:2a1230543414ab09fd29b99ad722d9a963bd43cc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Whitespace</title>
<updated>2020-04-21T03:24:12Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2020-04-21T03:24:12Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=0cfa5f8daa6ff6b7f2322cc035ac82f3b5d7f279'/>
<id>urn:sha1:0cfa5f8daa6ff6b7f2322cc035ac82f3b5d7f279</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MPD: catch errors earlier so that reconnections are allowed</title>
<updated>2020-04-21T03:19:37Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2020-04-21T03:19:37Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=2dec7b2ff2d064918b57c73879eb83a9ed93e4be'/>
<id>urn:sha1:2dec7b2ff2d064918b57c73879eb83a9ed93e4be</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Network: up indicator</title>
<updated>2020-03-05T17:55:12Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2020-02-28T04:40:52Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=be9b21d52767e42de636716139b84285c29ff5ec'/>
<id>urn:sha1:be9b21d52767e42de636716139b84285c29ff5ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Wireless: fix hlint warnings, reenable CI checks</title>
<updated>2020-03-05T17:52:09Z</updated>
<author>
<name>Paul Fertser</name>
<email>fercerpav@gmail.com</email>
</author>
<published>2020-02-27T07:13:57Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=ae16735a74a711c0ed7adf6e1df18b75a5a26205'/>
<id>urn:sha1:ae16735a74a711c0ed7adf6e1df18b75a5a26205</id>
<content type='text'>
This makes the code hlint-clean for --cpp-define=USE_NL80211,
--cpp-define=IWLIB and without --cpp-define too.
</content>
</entry>
<entry>
<title>hlint nit</title>
<updated>2020-02-26T20:08:52Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2020-02-26T20:08:52Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=946b73e8741fbf65f36a30df1b95aef61ca6799c'/>
<id>urn:sha1:946b73e8741fbf65f36a30df1b95aef61ca6799c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Wireless: support NL80211 userspace &lt;-&gt; kernelspace API</title>
<updated>2020-02-25T10:07:44Z</updated>
<author>
<name>Paul Fertser</name>
<email>fercerpav@gmail.com</email>
</author>
<published>2020-02-16T09:40:02Z</published>
<link rel='alternate' type='text/html' href='https://jao.io/cgit/xmobar/commit/?id=f4555b51b778ae5e677ce63eccdfd9376d07dd5d'/>
<id>urn:sha1:f4555b51b778ae5e677ce63eccdfd9376d07dd5d</id>
<content type='text'>
NL80211 was introduced in Linux 2.6.24 in 2007 as a new extensible
universal API, replacing "wireless extensions" ioctls. It works on top
of netlink, and allows direct communication to cfg80211 kernel
subsystem. Since then it became a hard requirement for all upstream
wireless drivers to hook into cfg80211 (SoftMAC drivers do it via the
common mac80211 layer). There's still additional compatibility code that
allows limited Wext functionality for cfg80211 drivers but it's buggy
and can be disabled altogether when CONFIG_CFG80211_WEXT is not set.

This patch makes use of "netlink" Haskell library which doesn't have any
additional runtime dependencies (so neither iwlib nor libnl are
required). The operation is the same as performed by "iw dev &lt;devname&gt;
link" command.

The signal level is transformed to "quality" by first clamping it to
[-110; -40], then adding 110 and dividing by 70 (same meaningless
formula as used by the cfg80211 Wext compatibility layer).

"essid" template argument is replaced by more appropriate "ssid" (with
the old variant still available for backwards compatibility)
</content>
</entry>
</feed>
