Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-02-08 | short some callback variable names, change "name" to "t" (tag) | Hiltjo Posthuma | |
2018-11-09 | minor white-space style fix | Hiltjo Posthuma | |
2018-09-07 | fix many undefined behaviour in usage of ctype functions | Hiltjo Posthuma | |
- cast all ctype(3) function argument to (unsigned char) to avoid UB POSIX says: "The c argument is an int, the value of which the application shall ensure is a character representable as an unsigned char or equal to the value of the macro EOF. If the argument has any other value, the behavior is undefined." Many libc cast implicitly the value, but NetBSD does not, which is probably the correct thing to interpret it. - no need to cast for putchar + rename some fputc(..., stdout) to putchar POSIX says: "The fputc() function shall write the byte specified by c (converted to an unsigned char) to the output stream pointed to by stream [...]" Major thanks to Leonardo Taccari <iamleot@gmail.com> for reporting and testing it on NetBSD! | |||
2018-08-22 | remove stdint.h include | Hiltjo Posthuma | |
the uint* types in XML are not exposed anymore. | |||
2018-03-11 | include <sys/types.h> for types size_t, ssize_t etc | Hiltjo Posthuma | |
This makes sure xml.c in particular can be compiled without further feature macros. | |||
2017-12-24 | sfeed_web: print relative url now directly if no base url specified | Hiltjo Posthuma | |
2017-04-27 | simplify pledge stub | Hiltjo Posthuma | |
2016-08-06 | add USE_PLEDGE, remove pledge dummy function | Hiltjo Posthuma | |
2016-04-10 | absuri, encodeuri: make encodeuri static, change argument order | Hiltjo Posthuma | |
2016-03-10 | remove cast of unused variables | Hiltjo Posthuma | |
2016-02-27 | various improvements | Hiltjo Posthuma | |
- pledge tools and add define to enable it on platforms that support it, currently only OpenBSD 5.9+ - separate getline and parseline functionality. - use murmur3 hash instead of jenkins1: faster and less collisions. - make some error messages a bit more clear, for example with path truncation. - some small cleanups, move printutf8pad to util. | |||
2015-10-04 | portability: dont use HOST_NAME_MAX, just use 256 as maximum | Hiltjo Posthuma | |
2015-08-22 | xml: simplify XML reader | Hiltjo Posthuma | |
2015-08-22 | use HOST_NAME_MAX for hostname | Hiltjo Posthuma | |
2015-08-16 | code-style + no need to zero static variables | Hiltjo Posthuma | |
2015-08-16 | code-style, wrap some lines, etc | Hiltjo Posthuma | |
2015-08-14 | xml: separate reader context from parser | Hiltjo Posthuma | |
also: - rename xmlparser_ prefix to xml_. - make xml_parse public, this allows a custom reader like a direct mmap, see: XMLParser.getnext and (optionall) XMLParser.getnext_data. - improve the README text. | |||
2015-08-05 | sfeed_web: separate by tab, url<tab>contenttype, simplify | Hiltjo Posthuma | |
2015-07-29 | improve includes (dont include headers in .h), fix build on Linux | Hiltjo Posthuma | |
2015-07-28 | improve code-style and consistency | Hiltjo Posthuma | |
2015-07-28 | use new uri parser | Hiltjo Posthuma | |
2015-06-21 | improvements | Hiltjo Posthuma | |
2015-05-16 | xml: adjust for API change: read from fd | Hiltjo Posthuma | |
2015-01-02 | trim string | Hiltjo Posthuma | |
2015-01-02 | cleanup | Hiltjo Posthuma | |
- dont free at end (not needed in our case). - use 0 and 1 instead of EXIT_SUCCESS, EXIT_FAILURE. - use err (from err.h) instead of custom die(). | |||
2014-11-11 | sfeed_web: just assume rss/atom for application/xml too | Hiltjo Posthuma | |
2014-11-11 | code style, use actual column width of char | Hiltjo Posthuma | |
2014-06-28 | compile with -Wextra, ignore unused parameters | Hiltjo Posthuma | |
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org> | |||
2014-06-27 | small fixes | Hiltjo Posthuma | |
reorder static -> public xml functions. Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org> | |||
2014-04-09 | sfeed_web: show type of feed | Hiltjo Posthuma | |
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org> | |||
2014-04-09 | cleanup, remove javascript hotkey | Hiltjo Posthuma | |
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org> | |||
2014-04-01 | fix crlf newlines, add fp arg to xmlparser_init | Hiltjo Posthuma | |
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org> | |||
2014-03-31 | small cleanup | Hiltjo Posthuma | |
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org> | |||
2014-03-31 | new version | Hiltjo Posthuma | |
lots of things changed, but cleanup todo. changelog and consistent stream of small updates will come in the future. Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org> |