summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-02update README, fix some typos and wordingHiltjo Posthuma
2015-09-23update documentation, dont use semantic Ar for non-argumentsHiltjo Posthuma
2015-09-23sfeed_update: dont send user-agent by default (curl+version) (privacy/security)Hiltjo Posthuma
2015-09-23update README, reformat slightlyHiltjo Posthuma
2015-09-17Makefile: Add missingAlexander Huemer
2015-09-09util.h: HOST_NAME_MAX+1 for nul-terminatorHiltjo Posthuma
2015-09-09README: fix sfeed_archive exampleHiltjo Posthuma
2015-09-09xml.h: fix typo in function declarationHiltjo Posthuma
2015-08-23improve README and CHANGELOGHiltjo Posthuma
2015-08-23sfeed: use separate enum field for content fieldsHiltjo Posthuma
2015-08-23sfeed_mbox: clarify format time error (strftime)Hiltjo Posthuma
2015-08-23simplify unknown or less priority tag case, fix gettag bug (wrong sort order)Hiltjo Posthuma
2015-08-23simplify field map code (add list tagid -> field.Hiltjo Posthuma
also: - parse tag media:description for RSS. - be more strict about using the order of fields, this is more consistent now. - remove buffer_init: don't allocate buffers on start. - realloc, be slightly more aggresive with memory allocating: initial buffer size 16 to 64 bytes.
2015-08-23README.xml: remove example, just check examples listedHiltjo Posthuma
2015-08-22xml: fix includesHiltjo Posthuma
2015-08-22xml: simplify XML readerHiltjo Posthuma
2015-08-22improve READMEHiltjo Posthuma
2015-08-22sfeed_update: simplify path (only $sfeedpath now)Hiltjo Posthuma
2015-08-22sfeed: use <title>, it is required, never use media:titleHiltjo Posthuma
2015-08-22sfeed_opml_import: does not need util but may need compat.h for strlcpy, strlcatHiltjo Posthuma
2015-08-22util: 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-22use HOST_NAME_MAX for hostnameHiltjo Posthuma
2015-08-22sfeed_opml_import: improve importHiltjo Posthuma
- support attribute entities better. - escape some characters (it's still recommended to check the output ofcourse).
2015-08-22sfeed_xmlenc: code-styleHiltjo Posthuma
2015-08-22config.mk: build compat strlcpy, strlcat by default (synced from OpenBSD)Hiltjo Posthuma
2015-08-22README.xml: update exampleHiltjo Posthuma
2015-08-22util: absuri handle port separatelyHiltjo Posthuma
2015-08-22util: support ipv6 address, parse port separatelyHiltjo Posthuma
2015-08-21sfeed: xml_entitytostr returns ssize_tHiltjo Posthuma
2015-08-18update README, add basic info at the topHiltjo Posthuma
hopefully this will make it easier to see the most important info first.
2015-08-18update READMEHiltjo Posthuma
2015-08-16code-style + no need to zero static variablesHiltjo Posthuma
2015-08-16xml: change xml_parse_string to xml_parse_bufHiltjo Posthuma
In the parser itself allow reading '\0' in the XML itself. Add a length parameter to specify the buffer size.
2015-08-16code-style, wrap some lines, etcHiltjo Posthuma
2015-08-14sfeed_opml_import: does not need util functionsHiltjo Posthuma
2015-08-14Makefile: install README and README.xml, it contains useful examplesHiltjo Posthuma
2015-08-14minor code-style improvementsHiltjo Posthuma
2015-08-14sfeed_update: don't redirect, use only the feed url specified.Hiltjo Posthuma
It could mess up urls in items (redirect http to https). It is also safer.
2015-08-14xml: whoops, remove leftover xml_getnext_stdinHiltjo Posthuma
2015-08-14xml: separate reader context from parserHiltjo 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-10util: parseuri: nul-terminate, bug introduced by ↵Hiltjo Posthuma
7f11ef506465896705f15c39bd0416d96ca651a8
2015-08-10update READMEHiltjo Posthuma
2015-08-08sfeed_mbox: use feedname in message-idHiltjo Posthuma
2015-08-08util: just zero strings by null-terminating first byteHiltjo Posthuma
2015-08-08Revert "sfeed: set TZ=UTC at start, use mktime() not the deprecated timegm()."Hiltjo Posthuma
Some libc implementations like musl provide a heavy optimized version of timeg() which mktime() cannot provide. We use -D_BSD_SOURCE anyway (also for strlcpy, strlcat), so just keep using this for now. This reverts commit f7c579c3b8e77215d60f1948367221b738823585.
2015-08-08sfeed: use snprintf -> strlcpy for some caseHiltjo Posthuma
2015-08-08xml: move entity to namedentitystr()Hiltjo Posthuma
2015-08-07sfeed: set TZ=UTC at start, use mktime() not the deprecated timegm().Hiltjo Posthuma
... timegm() is also -D_BSD_SOURCE.
2015-08-07update documentationHiltjo Posthuma
2015-08-07util: strtotime: stricter time parsingHiltjo 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.