Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-08-26 | xml: use ANSI types and struct initialization | Hiltjo Posthuma | |
long is atleast 32-bits, codepointtoutf8() works with >= 32-bit types. Valid codepoint ranges are not larger than this. unsigned char is not needed because converted unicode bytes don't use this range. tested all valid codepoints and output on amd64, i386 and SPARC64. | |||
2018-08-23 | xml: remove TODO comments and add a note | Hiltjo Posthuma | |
2018-08-23 | sfeed_mbox.1: forgot to bump date | Hiltjo Posthuma | |
2018-08-23 | sfeed_mbox: improvements | Hiltjo Posthuma | |
- don't output content and HTML mail anymore: this is very insecure for most mail clients. - improve Content-Type utf-8 encoding header (use the more common form). - improve line-endings at the end of the data. | |||
2018-08-23 | sfeed_twtxt: slightly nicer output | Hiltjo Posthuma | |
2018-08-23 | sfeed_tail: sleep the proper time, was a debug left-over | Hiltjo Posthuma | |
2018-08-23 | sfeed_tail: file need to exist the first run, but not after | Hiltjo Posthuma | |
+ dont memcpy the struct stat(2) when nothing changed. | |||
2018-08-22 | sfeed_twtxt: dont use the author and mention style, use a regular link | Hiltjo Posthuma | |
Thanks trqx for pointing it out! | |||
2018-08-22 | sfeed_tail: improvements | Hiltjo Posthuma | |
- sfeed_tail only reads from files now, not from stdin anymore. This had too many caveats. - Instead of a timer it now detects changes faster and is more efficient using memory. - Improve documentation of its behaviour. | |||
2018-08-22 | add sfeed_twtxt format program: format to a twtxt feed | Hiltjo Posthuma | |
2018-08-22 | remove stdint.h include | Hiltjo Posthuma | |
the uint* types in XML are not exposed anymore. | |||
2018-08-22 | xml: improve parsing of invalid attribute values separated by whitespace | Hiltjo Posthuma | |
It is invalid XML, but this allows parsing old HTML pages aswell. For example: <input id=cb checked type="checkbox" title='checkbox' /> or <FONT FACE=wingdings SIZE=12><BLINK>oh hai</BLINK></FONT> | |||
2018-08-22 | xml: improve handling of invalid long data entities | Hiltjo Posthuma | |
this also fixes an issue with truncating and missing data on invalid input. | |||
2018-08-21 | README.xml: improve | Hiltjo Posthuma | |
2018-08-21 | sfeed_frames: stricter pledge when only reading from stdin | Hiltjo Posthuma | |
2018-08-21 | xml: rewrite codepointtoutf8 function | Hiltjo Posthuma | |
No more converting to a uint32_t type. Just convert to a byte buffer. Tested on little- and big-endian. The code should be more clear too hopefully. | |||
2018-08-21 | xml: don't reset internal tagname when parsing non-tag types like CDATA | Hiltjo Posthuma | |
... this affects "tags" starting with < such as CDATA and processing instructions. | |||
2018-08-21 | xml: fix missing first byte when parsing a long incorrect attribute entity | Hiltjo Posthuma | |
... the entity had to be invalid (start with &) and longer than the buffer size. + tiny style fix. | |||
2018-08-21 | xml: interface change: make some functions private | Hiltjo Posthuma | |
... this does not expose the uint* types either. | |||
2018-08-21 | xml: increase allowed size of attribute names | Hiltjo Posthuma | |
2018-08-16 | XML parser: numeric entity: check unicode codepoint range | Hiltjo Posthuma | |
2018-08-16 | sfeed_frames: overhaul | Hiltjo Posthuma | |
sfeed_frames used to write HTML pages for each entry for each feed. This can be useful but had security issues, because the context of the content changes. sfeed_frames is now a HTML version which works better with browsers that don't support CSS or tables well like w3m and lynx. It is now an alternative for sfeed_html. - Don't reference and embed HTML content for security reasons. This was documented under "SECURITY CONSIDERATIONS" in the man page. - Tighten pledge(2). - Simplify | |||
2018-07-18 | sfeed_update: fail on feed HTTP redirect | Hiltjo Posthuma | |
Make curl fail (return a non-zero exit status) on a HTTP redirect. This makes sure sfeed_update shows the feed as "FAILED" instead of succesful with zero data. | |||
2018-07-18 | sfeedrc.example: fix links | Hiltjo Posthuma | |
2018-06-24 | sfeed_opml_import: escape ' properly | Hiltjo Posthuma | |
the shell escape \' was a mistake. | |||
2018-06-24 | sfeed_gph.1: upstream geomyidae manual is geomyidae(8) | Hiltjo Posthuma | |
2018-06-24 | bump version to 0.9.4 | Hiltjo Posthuma | |
2018-06-24 | README: linewrap | Hiltjo Posthuma | |
2018-06-24 | util: printutf8pad: proper counting of multiwidth characters | Hiltjo Posthuma | |
for example the string "\xef\xbc\xb5". | |||
2018-04-07 | sfeed_opml_export: encode more entities for attribute values | Hiltjo Posthuma | |
Found by testing newsboat and compatibility with other clients. | |||
2018-03-18 | remove CHANGELOG | Hiltjo Posthuma | |
2018-03-11 | sfeed_tail: remove unused variables | Hiltjo Posthuma | |
2018-03-11 | sfeed_tail improvements | Hiltjo Posthuma | |
keep sfeed_tail until sfeed is reworked to support tail -f (eventually) | |||
2018-03-11 | Revert "remove sfeed_tail: the standard tail -f can (soon) be used" | Hiltjo Posthuma | |
This reverts commit 7f3a45b0031ec9cababf764f7826e21bbb59e258. | |||
2018-03-11 | fix tree.h (platform-specific include) | Hiltjo Posthuma | |
2018-03-11 | Revert "rm tree.h for sfeed_tail" | Hiltjo Posthuma | |
This reverts commit b7e04c77e4ef03fb15df7cbed9243ca1b5f0ab84. | |||
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-03-11 | xml: improve comment parsing | Hiltjo Posthuma | |
note that ---> is officially invalid XML, but we allow it anyway. | |||
2018-03-11 | xml: fix parsing of cdata when a handler is unset | Hiltjo Posthuma | |
2018-03-11 | xml: improve CDATA parsing | Hiltjo Posthuma | |
thanks Svyatoslav Mishyn for the feedback! | |||
2018-02-18 | sfeed_update: revert more merge logic | Hiltjo Posthuma | |
this makes sure the sort order of the initial feed sync works again. | |||
2018-02-18 | sfeed_update: revert new merge logic | Hiltjo Posthuma | |
this requires more work without breaking the order in sfeed_html and other tools (top to bottom: new to oldest), vs sfeed_plain in tail mode: oldest to newest. There will also be improvements to the merge logic to reduce many writes in the future. | |||
2018-02-18 | sfeed_plain: force flush line to output, useful for tail -f | Hiltjo Posthuma | |
2018-02-18 | sfeed_update: revert previous commit, its not an issue | Hiltjo Posthuma | |
2018-02-18 | sfeed_update: dont allow TAB in filename (messes up the merge logic) | Hiltjo Posthuma | |
2018-02-18 | README: update sfeed_web example | Hiltjo Posthuma | |
2018-02-18 | sfeed_update: use filename as feedname again | Hiltjo Posthuma | |
make the feedname sanitization less strict again. | |||
2018-02-18 | sfeed_update: run awk in C locale | Hiltjo Posthuma | |
2018-02-18 | sfeed_frames: code-style | Hiltjo Posthuma | |