<feed xmlns='http://www.w3.org/2005/Atom'>
<title>swaystatus/pulse/src/runnable/pulse.rs, branch main</title>
<subtitle>Small status bar tool for i3 or sway. Mostly coded for myself, but feel free to use/fix/extend. </subtitle>
<id>https://git.grois.info/swaystatus/atom/pulse/src/runnable/pulse.rs?h=main</id>
<link rel='self' href='https://git.grois.info/swaystatus/atom/pulse/src/runnable/pulse.rs?h=main'/>
<link rel='alternate' type='text/html' href='https://git.grois.info/swaystatus/'/>
<updated>2021-11-29T21:38:44Z</updated>
<entry>
<title>Run clippy and fix all lints.</title>
<updated>2021-11-29T21:38:44Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2021-11-29T21:38:44Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/swaystatus/commit/?id=6277f4351fd68f1cdd434818eac7b0d18eac3c76'/>
<id>urn:sha1:6277f4351fd68f1cdd434818eac7b0d18eac3c76</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Pulse: Make sure only one query is running at a time.</title>
<updated>2021-11-29T21:18:25Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2021-11-29T21:18:25Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/swaystatus/commit/?id=8e186854556838353091b87f7a2be3ac5d400523'/>
<id>urn:sha1:8e186854556838353091b87f7a2be3ac5d400523</id>
<content type='text'>
There were rare cases where startup would cause an infinite loop in
pulse.
</content>
</entry>
<entry>
<title>Add "C" to all extern keywords.</title>
<updated>2021-10-29T16:05:03Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2021-10-29T16:05:03Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/swaystatus/commit/?id=3a3bd2c38ef96ec5f627c63584d552549e725064'/>
<id>urn:sha1:3a3bd2c38ef96ec5f627c63584d552549e725064</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix all "not FFI-safe" warnings.</title>
<updated>2021-10-29T13:40:00Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2021-10-29T13:39:42Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/swaystatus/commit/?id=aed6d4187e0912390636508fdd507b4df1e1e79f'/>
<id>urn:sha1:aed6d4187e0912390636508fdd507b4df1e1e79f</id>
<content type='text'>
The backside of the "fix" is that now there are some casts to and from
c_void... But how else should that work?
</content>
</entry>
<entry>
<title>Ignore "dead code" warnings on FFI enums.</title>
<updated>2021-10-28T17:03:01Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2021-10-28T17:03:01Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/swaystatus/commit/?id=762f72449bb9007a4679e478c6bf084146d89510'/>
<id>urn:sha1:762f72449bb9007a4679e478c6bf084146d89510</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Pulse now displays volume correctly.</title>
<updated>2021-06-04T19:48:01Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2021-06-04T19:48:01Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/swaystatus/commit/?id=15ae48210535358ad90dc85c4bc8809a71627d1d'/>
<id>urn:sha1:15ae48210535358ad90dc85c4bc8809a71627d1d</id>
<content type='text'>
Still missing actual functionality beyond a numeric display, and error
cases have not been tested, but hey, it's there!
</content>
</entry>
<entry>
<title>Unfinished (doesn't compile) implementation of pulse runnable loop.</title>
<updated>2021-05-09T11:22:40Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2021-05-09T11:22:40Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/swaystatus/commit/?id=6457d779ec253ade253fc49f5891b5479b270a6d'/>
<id>urn:sha1:6457d779ec253ade253fc49f5891b5479b270a6d</id>
<content type='text'>
This is mainly as a note to my future self. A barebone implementation of
the logic for the pulse runnable loop, where all details (meaning:
functions to be called) are still not implemented - not even as
signatures.
</content>
</entry>
<entry>
<title>Make (most) pulse nullptr checks unnecessary.</title>
<updated>2021-05-08T19:37:48Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2021-05-08T19:37:48Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/swaystatus/commit/?id=13573941cca891bcf7fa5b61b5816178658bc339'/>
<id>urn:sha1:13573941cca891bcf7fa5b61b5816178658bc339</id>
<content type='text'>
This change makes respective functions return either a result or an
option instead. The goal here is readability.
</content>
</entry>
<entry>
<title>Move pulse context out of Runnable struct.</title>
<updated>2021-05-03T06:18:33Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2021-05-03T06:18:33Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/swaystatus/commit/?id=b41d3d0b383b27e583f4d3f108ae9dcd48090ca8'/>
<id>urn:sha1:b41d3d0b383b27e583f4d3f108ae9dcd48090ca8</id>
<content type='text'>
It's something that should be created after the runnable started, not
when the runnable gets instantiated. Also, that way we can ensure that
the context isn't moved between threads, as I'm not certain that's sane
to do (meaning: using it from different threads, not sending the
pointer).
</content>
</entry>
<entry>
<title>Properly quit pulse main function. Not that it'd matter.</title>
<updated>2021-05-02T17:42:03Z</updated>
<author>
<name>Andreas Grois</name>
<email>andi@grois.info</email>
</author>
<published>2021-05-02T17:42:03Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/swaystatus/commit/?id=508a981dc34e7f7f0fbb9aff9c4285fd8bac2998'/>
<id>urn:sha1:508a981dc34e7f7f0fbb9aff9c4285fd8bac2998</id>
<content type='text'>
All that this cleanup does is set the return value...
Apart from that, it's just like nuking the main loop by calling free...
</content>
</entry>
</feed>
