<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xavi/libweb/html.c, branch decode-url</title>
<subtitle>Small and lightweight web framework written in C99 and POSIX.1-2008.
</subtitle>
<id>https://gitea.privatedns.org/xavi/libweb/atom?h=decode-url</id>
<link rel='self' href='https://gitea.privatedns.org/xavi/libweb/atom?h=decode-url'/>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/'/>
<updated>2023-10-10T22:07:13+00:00</updated>
<entry>
<title>Rename project from slweb to libweb</title>
<updated>2023-10-10T22:07:13+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-10-10T21:21:35+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=0222b75e8554796548e079aa3393c512ae30ac24'/>
<id>urn:sha1:0222b75e8554796548e079aa3393c512ae30ac24</id>
<content type='text'>
It was found out there was another project of the same name around
(https://git.sr.ht/~strahinja/slweb/), also related to website
generation.

In order to avoid confusion, a new name has been chosen for this
project. Surprisingly, libweb was not in use by any distributions
(according to https://repology.org and AUR index), and it should
reflect well the intention behind this project i.e., being a library
to build web-related stuff.
</content>
</entry>
<entry>
<title>html.c: Fix wrong encoding for '&gt;' and '&lt;'</title>
<updated>2023-08-07T22:34:38+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-08-07T22:32:21+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=d55b84f68b90fe5c2521724d0c22ebf22e62b0b4'/>
<id>urn:sha1:d55b84f68b90fe5c2521724d0c22ebf22e62b0b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>html.c: Make serialize_node static</title>
<updated>2023-07-27T23:33:20+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-07-27T23:33:20+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=1ce153b9a4d3af341f2ebf11c0d7a5c34f10412a'/>
<id>urn:sha1:1ce153b9a4d3af341f2ebf11c0d7a5c34f10412a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move header files to subdirectory</title>
<updated>2023-07-20T23:28:38+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-07-20T21:47:33+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=8c3ba33ced08b211db0cd5f81675bdf62f55acc7'/>
<id>urn:sha1:8c3ba33ced08b211db0cd5f81675bdf62f55acc7</id>
<content type='text'>
Since slweb is meant as a library, it is advisable to keep public header
files under their own directory in order to avoid name clashing i.e.,

 #include "something.h"

Now becomes:

 #include "slweb/something.h"
</content>
</entry>
<entry>
<title>Define _POSIX_C_SOURCE</title>
<updated>2023-07-20T21:52:53+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-03-24T01:47:11+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=af16aa6702ffb385a36504a459210e94704bbe2b'/>
<id>urn:sha1:af16aa6702ffb385a36504a459210e94704bbe2b</id>
<content type='text'>
This allows using the default compiler defined by make(1) (i.e.,
c99(1)), thus improving POSIX compatibility.
</content>
</entry>
<entry>
<title>html.c: Allow empty strings on html_encode</title>
<updated>2023-07-20T21:52:52+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-03-07T23:26:31+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=cc714d9006553f852f41954e2e9f55e7ee57accd'/>
<id>urn:sha1:cc714d9006553f852f41954e2e9f55e7ee57accd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix memory leak on failed realloc(3)</title>
<updated>2023-07-20T21:52:51+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-03-04T01:06:19+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=67ffb772b7488b84e37e6880290820fc54434b33'/>
<id>urn:sha1:67ffb772b7488b84e37e6880290820fc54434b33</id>
<content type='text'>
According to C99 §7.20.3.4:

If memory for the new object cannot be allocated, the old object is not
deallocated and its value is unchanged.

Therefore, a temporary pointer must be used to ensure the original
object can still be deallocated should realloc(3) return a null pointer.
</content>
</entry>
<entry>
<title>Initial commit</title>
<updated>2023-07-20T21:52:47+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-01-09T00:22:54+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/libweb/commit/?id=2968c5f67daa1c571f5f9cf9445de907f9490636'/>
<id>urn:sha1:2968c5f67daa1c571f5f9cf9445de907f9490636</id>
<content type='text'>
</content>
</entry>
</feed>
