Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-03-11 | sfeed_plain: don't flush line (was used for tail -f) | Hiltjo Posthuma | |
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. | |||
2018-02-18 | sfeed_plain: force flush line to output, useful for tail -f | Hiltjo Posthuma | |
2018-02-18 | sfeed_plain: utf-8 pad name | Hiltjo Posthuma | |
2017-12-24 | format programs: ignore fields with an invalid time | Hiltjo Posthuma | |
this makes sure tail -f with multiple files ignores the ==> file <== lines too. | |||
2017-06-29 | sfeed_plain: use setlocale() for glibc | Hiltjo Posthuma | |
this is required for mbtowc for glibc (not required in musl or on OpenBSD). | |||
2017-04-27 | simplify pledge stub | Hiltjo Posthuma | |
2016-08-06 | add USE_PLEDGE, remove pledge dummy function | Hiltjo Posthuma | |
2016-04-10 | remove basename, just use last part of the path... | Hiltjo Posthuma | |
... as a bonus it also saves an allocation. | |||
2016-03-29 | add time parsing to sfeed itself, remove time field | Hiltjo Posthuma | |
- less overhead (we only need GMT time) so no setenv("TZ", ...) tzset() crap. - timezone format (for example %z in strptime) is non-standard, this will add some lines of code and some complexity to our code though, but the trade-off is worth it imho. | |||
2016-02-28 | null-terminate line at newline from getline() | 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-10-02 | sfeed_plain: remove some spaces for slightly more screen space :) | 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-07 | util: strtotime: stricter time parsing | Hiltjo Posthuma | |
as input: an empty string or non-digit characters are digits are considered an error now. Still, for the format tools output the formatted time string as time_t 0 on a parse error. | |||
2015-08-05 | sfeed_plain: save a character before status | Hiltjo Posthuma | |
2015-08-02 | sfeed_plain: remove control char check, assume input is sanitized for format ↵ | Hiltjo Posthuma | |
programs | |||
2015-08-02 | util: simplify parseline() and check t for strtotime(). | Hiltjo Posthuma | |
2015-07-31 | Various improvements | Hiltjo Posthuma | |
- Only escape characters in "content" field, these can contain newlines. - Trim newlines and tabs, etc from the title, id and author fields. - Make decodefield, xmlencode functions easier to "chain" without allocatting new buffers. - Move printutf8pad from util (only used by sfeed_plain) to sfeed_plain. - Update README, still need to update the man-page and improve the documentation in general. - Code cleanup. | |||
2015-07-30 | check for time() failure | Hiltjo Posthuma | |
2015-07-28 | improve code-style and consistency | Hiltjo Posthuma | |
2015-07-28 | sfeed_plain: xbasename, free memory after use | Hiltjo Posthuma | |
2015-06-21 | improvements | Hiltjo Posthuma | |
2015-01-03 | time fixes | 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 | code style, use actual column width of char | Hiltjo Posthuma | |
2014-11-11 | move printutf8padded to util | Hiltjo Posthuma | |
2014-06-28 | handle invalid values of strto*l | 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-05-13 | cleanup, tested with tcc | 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-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> | |||
2013-05-20 | update sfeed_plain: whoops, argv is unused | Hiltjo Posthuma | |
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org> | |||
2013-05-20 | update sfeed_plain: pad time format, make code more readable | Hiltjo Posthuma | |
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org> | |||
2012-11-11 | show formatted time, dont show interpreted time since its not always correct | unknown | |
Signed-off-by: unknown <hiltjo@.(none)> | |||
2012-08-03 | Add base url of a site parameter for sfeedrc | Hiltjo Posthuma | |
This allows to have a feed on a different domain but specify the base url of links if links in the feed are relative. Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org> | |||
2012-08-03 | New initial repo | Hiltjo Posthuma | |
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org> |