Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-02-28 | util: simplify encodehex, use inline | 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-08-22 | util: absuri: simplify + fix port in url with prefix "//" | Hiltjo Posthuma | |
use the port specified in the link for urls starting with "//" (use protocol). | |||
2015-08-22 | util: absuri handle port separately | Hiltjo Posthuma | |
2015-08-22 | util: support ipv6 address, parse port separately | Hiltjo Posthuma | |
2015-08-16 | code-style, wrap some lines, etc | Hiltjo Posthuma | |
2015-08-10 | util: parseuri: nul-terminate, bug introduced by ↵ | Hiltjo Posthuma | |
7f11ef506465896705f15c39bd0416d96ca651a8 | |||
2015-08-08 | util: just zero strings by null-terminating first byte | 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-02 | util: simplify parseline() and check t for strtotime(). | Hiltjo Posthuma | |
2015-08-02 | refactor print, decodefield into xmlencode | Hiltjo Posthuma | |
... put specific formatting-logic per program (printcontent()). | |||
2015-07-31 | update some comments | Hiltjo Posthuma | |
2015-07-31 | update and improve documentation (WIP) | 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-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 | util, absuri: check truncation of more cases | Hiltjo Posthuma | |
2015-07-28 | util: rewrite uri parser | Hiltjo Posthuma | |
- don't print directly but use an internal buffer (also better for testing). - encode uri when printing (security). - add some comments. | |||
2015-06-21 | improvements | Hiltjo Posthuma | |
2015-06-21 | util: improve printxmlencoded, cleanup | Hiltjo Posthuma | |
2015-06-21 | util: fix parseline crash | Hiltjo Posthuma | |
2015-06-21 | improve printlink, escape characters | Hiltjo Posthuma | |
2015-06-21 | add xbasename for filename to feedname | Hiltjo Posthuma | |
2015-05-24 | sfeed_frames and util cleanup | Hiltjo Posthuma | |
- remove xerr and xerrx, assume the OS closes and flushes file descriptors on OS process exit. - move esnprintf, printcontent to util. | |||
2015-05-16 | util: parseline can return error, unsigned int -> int | Hiltjo Posthuma | |
2015-01-03 | time fixes | Hiltjo Posthuma | |
2015-01-02 | trim string | Hiltjo Posthuma | |
2015-01-02 | Makefile: fix prerequisite rules | 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(). | |||
2015-01-02 | compat: separate compat stuff, strlcpy atm | Hiltjo Posthuma | |
2014-11-11 | code style, use actual column width of char | Hiltjo Posthuma | |
2014-11-11 | move printutf8padded to util | Hiltjo Posthuma | |
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-05-13 | util: use standard getline() function to get lines | Hiltjo Posthuma | |
this is standard since POSIX 200809L 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-02 | sfeed: improve parsetime(), 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> |