<feed xmlns='http://www.w3.org/2005/Atom'>
<title>limox, branch legacy/sdl2</title>
<subtitle>The Linux on mobile XMPP (LimoX) client</subtitle>
<id>https://cgit.xengineering.eu/limox/atom?h=legacy%2Fsdl2</id>
<link rel='self' href='https://cgit.xengineering.eu/limox/atom?h=legacy%2Fsdl2'/>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/'/>
<updated>2023-01-23T20:26:42Z</updated>
<entry>
<title>gui.c: Create separate create_window()</title>
<updated>2023-01-23T20:26:42Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-01-23T20:26:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=becf716c4de03d58113017cd135b3c90fd77bcac'/>
<id>urn:sha1:becf716c4de03d58113017cd135b3c90fd77bcac</id>
<content type='text'>
This splits the GUI code into smaller functions.
</content>
</entry>
<entry>
<title>Remove typedefs</title>
<updated>2023-01-23T20:07:59Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-01-23T20:07:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=7f2af8d7a28cb48b5b4dde919a5775506478b975'/>
<id>urn:sha1:7f2af8d7a28cb48b5b4dde919a5775506478b975</id>
<content type='text'>
They just hide complexity.
</content>
</entry>
<entry>
<title>gui.c: Remove inline comments</title>
<updated>2023-01-23T19:58:26Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-01-23T19:58:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=ff549f22682b81d0ed859510173e728dac09b8b9'/>
<id>urn:sha1:ff549f22682b81d0ed859510173e728dac09b8b9</id>
<content type='text'>
Not that helpful. Should be replaced by easy to read code and well
written function docstrings.
</content>
</entry>
<entry>
<title>Implement GUI init and deinit functions</title>
<updated>2023-01-23T19:55:55Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-01-23T19:55:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=85b9e3531416f5075c85869e6b915fa48e214689'/>
<id>urn:sha1:85b9e3531416f5075c85869e6b915fa48e214689</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bundle GUI variables in context struct</title>
<updated>2023-01-23T19:45:37Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-01-23T19:45:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=5d57490507ea04c8739ee2a51639c86d1eda3cd2'/>
<id>urn:sha1:5d57490507ea04c8739ee2a51639c86d1eda3cd2</id>
<content type='text'>
This allows to pass all variables easily between small functions.
</content>
</entry>
<entry>
<title>Add debug symbols to default build</title>
<updated>2023-01-23T19:35:17Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-01-23T19:35:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=59eff22a223c64fc894d00d2216a7c701c34c5b8'/>
<id>urn:sha1:59eff22a223c64fc894d00d2216a7c701c34c5b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add new icon to README</title>
<updated>2023-01-22T12:30:27Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-01-22T12:30:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=c18be301f06adad1a6eacbb7d02181599f2df2b4'/>
<id>urn:sha1:c18be301f06adad1a6eacbb7d02181599f2df2b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix SVG icon for systems without matching font</title>
<updated>2023-01-22T12:22:59Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-01-22T12:22:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=8b53b9f42ac864b5c9fd70463219af6ea8bfe6eb'/>
<id>urn:sha1:8b53b9f42ac864b5c9fd70463219af6ea8bfe6eb</id>
<content type='text'>
The icon looked differently on systems without the correct font for the
L letter. Converting the L into a path with Inkscape solved that issue.
</content>
</entry>
<entry>
<title>Add initial icon</title>
<updated>2023-01-22T12:04:11Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-01-22T12:04:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=efce80ac6cfb437d8519e80d99c0c1f15bcca524'/>
<id>urn:sha1:efce80ac6cfb437d8519e80d99c0c1f15bcca524</id>
<content type='text'>
This will be needed for a GUI.
</content>
</entry>
<entry>
<title>Fix reconnection</title>
<updated>2023-01-09T17:20:49Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-01-09T17:20:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=29e48e3e550fd8eec79be50c592850dec396f1ba'/>
<id>urn:sha1:29e48e3e550fd8eec79be50c592850dec396f1ba</id>
<content type='text'>
This was not possible because gui.c did not reset the socket
filedescriptor to the default value.
</content>
</entry>
<entry>
<title>Make return statement more consistent</title>
<updated>2023-01-09T17:20:36Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-01-09T17:20:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=d78a5ac02ea35399101fb53d12a25f96be4c112d'/>
<id>urn:sha1:d78a5ac02ea35399101fb53d12a25f96be4c112d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Prevent NULL pointer crash</title>
<updated>2023-01-09T17:14:39Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-01-09T17:14:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=f42744c9284b8349d4b2b9c6e0d22ac7d36d7f7f'/>
<id>urn:sha1:f42744c9284b8349d4b2b9c6e0d22ac7d36d7f7f</id>
<content type='text'>
It used to be assumed that the user sets the LIMOX_USER and LIMOX_PWD
shell variables but there was no error checking if this was not the
case.

This commit adds the check preventing a crash of the whole program.
Furthermore an error message is printed to the terminal.
</content>
</entry>
<entry>
<title>Remove xmpp_ prefix from private function</title>
<updated>2023-01-08T19:02:33Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-01-08T19:02:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=b8276ea495a81050e8b749bb1a6bad783dd3606d'/>
<id>urn:sha1:b8276ea495a81050e8b749bb1a6bad783dd3606d</id>
<content type='text'>
This is just internally used and thus has no benefit.
</content>
</entry>
<entry>
<title>Rename to resolve_dns()</title>
<updated>2023-01-08T19:00:53Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-01-08T19:00:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=5c22f7d803e3ec84ddad00e13ba617a9bc645d11'/>
<id>urn:sha1:5c22f7d803e3ec84ddad00e13ba617a9bc645d11</id>
<content type='text'>
This explains better what this function is about.
</content>
</entry>
<entry>
<title>Improve get_domainpart() docs</title>
<updated>2023-01-08T18:53:34Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-01-08T18:53:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=f6a9602c875904f89dd19723b0c920b94b5a3b35'/>
<id>urn:sha1:f6a9602c875904f89dd19723b0c920b94b5a3b35</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Adapt comment indent to Linux kernel code</title>
<updated>2023-01-08T18:47:32Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-01-08T18:30:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=b6075dd5e7632398a37456ef2670c075f152635f'/>
<id>urn:sha1:b6075dd5e7632398a37456ef2670c075f152635f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove commented code</title>
<updated>2023-01-08T18:47:32Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-01-08T18:27:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=4b09fdb813de813ad82742edd0655724f187bb2f'/>
<id>urn:sha1:4b09fdb813de813ad82742edd0655724f187bb2f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update code style for main</title>
<updated>2023-01-08T18:22:07Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-01-08T18:22:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=62ea56e48aa4026fe7f7f91d528d433220a87be7'/>
<id>urn:sha1:62ea56e48aa4026fe7f7f91d528d433220a87be7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add PDF generation of documentation</title>
<updated>2023-01-08T18:13:30Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-01-08T18:13:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=ed58cf39d6d2d10a28033c93a4cb00fa2db26591'/>
<id>urn:sha1:ed58cf39d6d2d10a28033c93a4cb00fa2db26591</id>
<content type='text'>
Using Markdown features (as URLs) is even more useful if you actually
render this somewhere. PDF is now done and HTML might follow.
</content>
</entry>
<entry>
<title>Split README and ROADMAP</title>
<updated>2023-01-08T18:04:26Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-01-08T17:54:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=82df83c7169e28f5808a99f27735049c03b1980a'/>
<id>urn:sha1:82df83c7169e28f5808a99f27735049c03b1980a</id>
<content type='text'>
Roadmap content should not spam the README
</content>
</entry>
<entry>
<title>Implement close on click</title>
<updated>2023-01-08T17:43:45Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2023-01-08T17:43:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=2602ba91fb804224aeece0c9abf1abcbc2345403'/>
<id>urn:sha1:2602ba91fb804224aeece0c9abf1abcbc2345403</id>
<content type='text'>
This adds the option to close the XMPP connection.
</content>
</entry>
<entry>
<title>Connect on mouse click</title>
<updated>2023-01-08T17:43:01Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2022-12-04T13:04:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=271a8baaeb5cbd19047c50681d955c14115fc86f'/>
<id>urn:sha1:271a8baaeb5cbd19047c50681d955c14115fc86f</id>
<content type='text'>
With this commit the client starts the connection to the server as soon
as the user clicks into the application window. Disconnect or reading /
writing to the stream is not implemented.
</content>
</entry>
<entry>
<title>Implement printing of server response</title>
<updated>2022-12-04T13:02:21Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2022-12-04T13:02:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=9e2a44364bfae9a226e02fe7ddad032b16a1318f'/>
<id>urn:sha1:9e2a44364bfae9a226e02fe7ddad032b16a1318f</id>
<content type='text'>
Sadly there is no way to stop LimoX after connection. This has to be
fixed by a commit implementing a better control flow between GUI and
network part of the program.
</content>
</entry>
<entry>
<title>Implement client stream header sending</title>
<updated>2022-12-04T12:31:33Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2022-12-04T12:31:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=d84ad1e1d7dc8dde2a0731c639d0ef3dd56cb72d'/>
<id>urn:sha1:d84ad1e1d7dc8dde2a0731c639d0ef3dd56cb72d</id>
<content type='text'>
This starts the XML stream via the XMPP connection.
</content>
</entry>
<entry>
<title>Implement TCP connection to XMPP server</title>
<updated>2022-12-04T12:01:57Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2022-12-04T12:01:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=a985fb91e9d559f2520633f962028b856631c020'/>
<id>urn:sha1:a985fb91e9d559f2520633f962028b856631c020</id>
<content type='text'>
This commit adds the functionality to actually connect to port 5222
(xmpp-client) of a XMPP server! This was tested using prosody and
verified via its systemd journal log entries.
</content>
</entry>
<entry>
<title>Implement socket creation</title>
<updated>2022-12-04T11:57:01Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2022-12-04T11:57:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=7162a1018ac8cd64adf85fd30295d662f847e9a8'/>
<id>urn:sha1:7162a1018ac8cd64adf85fd30295d662f847e9a8</id>
<content type='text'>
The socket is needed for the TCP connection to the XMPP server.
</content>
</entry>
<entry>
<title>Implement DNS with a temporary solution</title>
<updated>2022-12-04T11:41:39Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2022-12-04T11:41:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=0de21ec65f3c28f2acc947c00c3cb26dc9ea4ecd'/>
<id>urn:sha1:0de21ec65f3c28f2acc947c00c3cb26dc9ea4ecd</id>
<content type='text'>
The DNS resolution implemented with this commit uses getaddrinfo() from
the standard library to get an IPv4 address for the domainpart of the
user-given Jabber ID (JID).

This is by far not the process described in [RFC 6120][1]. This XMPP
core standard prefers SRV entry lookups. Taking A records like in this
implementation is referenced as "fallback process".

Furthermore this implementation just takes the first A record it finds
which could also be improved. It could for example be that IPv4 is
blocked in the referenced network and a AAAA IPv6 record is given and
functional. In this case this implementation would needlessly fail to connect.

[1]: https://www.rfc-editor.org/rfc/rfc6120
</content>
</entry>
<entry>
<title>Add GPL3 license header to relevant source files</title>
<updated>2022-12-02T20:55:51Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2022-12-02T20:55:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=d3a952c04f16723a5dc86fccc5919082dcd1c90e'/>
<id>urn:sha1:d3a952c04f16723a5dc86fccc5919082dcd1c90e</id>
<content type='text'>
This should make the license more visible and prevent wrong usage.
</content>
</entry>
<entry>
<title>Add reference to Gigi's SDL2 tutorial</title>
<updated>2022-12-02T20:47:05Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2022-12-02T20:47:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=7eabd105128dde1c588be325a9c2b82f5ca6aa64'/>
<id>urn:sha1:7eabd105128dde1c588be325a9c2b82f5ca6aa64</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add reference to SDL2 documentation</title>
<updated>2022-12-02T20:41:01Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2022-12-02T20:41:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/limox/commit/?id=d8b3604aa20193ade97b81f8c5ad51758b7a9eea'/>
<id>urn:sha1:d8b3604aa20193ade97b81f8c5ad51758b7a9eea</id>
<content type='text'>
</content>
</entry>
</feed>
