aboutsummaryrefslogtreecommitdiff
path: root/doc/man3
Commit message (Collapse)AuthorAgeFilesLines
* Add http_strcasecmp(3)HEADmasterXavier Del Campo Romero2026-02-272-0/+53
| | | | | | | | | POSIX.1-2008 does not any locale-specific version of strcasecmp(3), so conversions to lowercase depend on the system locale. Since HTTP header fields must be checked without case sensitivity and not depend on the system locale, a specialised function that forces the "POSIX" locale is required.
* Add http_strncasecmp(3)Xavier Del Campo Romero2026-02-272-0/+53
| | | | | | | | | POSIX.1-2008 does not any locale-specific version of strncasecmp(3), so conversions to lowercase depend on the system locale. Since HTTP header fields must be checked without case sensitivity and not depend on the system locale, a specialised function that forces the "POSIX" locale is required.
* Add optional expiration date to http_cookie_createXavier Del Campo Romero2026-02-121-14/+14
| | | | | | | So far, libweb had been arbitrarily appending a 1-year expiration date to all HTTP cookies. While good enough for some contexts, libweb should allow users to set up their own, if any, so this arbitary decision has been eventually removed.
* Add man3 pages for the form APIv0.5.0Xavier Del Campo Romero2025-10-095-0/+207
|
* html: Make html_encode publicXavier Del Campo Romero2025-09-281-0/+45
| | | | | Among other reasons, this function can be useful to sanitize user-generated content before assigning it do a node.
* Bump version to 0.4.0v0.4.0Xavier Del Campo Romero2024-08-2220-20/+20
|
* Move signal handling to processesXavier Del Campo Romero2024-08-221-0/+51
| | | | | | | | | | | | | | So far, libweb installed a signal handler so as to handle SIGTERM, SIGPIPE and SIGINT signals so that processes would not have to care about such details. However, it is not advisable for libraries to install signal handlers, as signals are handled on a per-process basis. The previous approach would be incompatible if several instances of the library were allocated by the same process. Unfortunately, this has the undesired side effect of adding the boilerplate code into the process.
* Bump version to 0.3.0v0.3.0Xavier Del Campo Romero2024-02-1920-20/+20
|
* Bump version to 0.2.0v0.2.0Xavier Del Campo Romero2024-02-1220-20/+20
|
* Update copyright notices to 2024Xavier Del Campo Romero2024-02-1220-20/+20
|
* doc: Update handler_{loop,listen}Xavier Del Campo2023-11-205-37/+98
|
* doc: Add man3 page for http_decode_urldecode-urlXavier Del Campo Romero2023-11-122-0/+42
| | | | | | | Suprisingly, this man page was missing on the 0.1.0 release. The recent signature changes on http_decode_url have already been reflected.
* Adhere to GNU Make directory variablesXavier Del Campo Romero2023-10-251-22/+24
|
* Rename project from slweb to libwebv0.1.0-rc3Xavier Del Campo Romero2023-10-1118-74/+74
| | | | | | | | | | | | 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.
* Install man pagesv0.1.0-rc1Xavier Del Campo Romero2023-09-271-0/+32
|
* Add man pagesXavier Del Campo Romero2023-09-2718-0/+1190