summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-04-27simplify pledge stub: add to util.hHiltjo Posthuma
2017-04-27simplify pledge stubHiltjo Posthuma
2017-04-27sfeed_mbox: remove redundant conditionHiltjo Posthuma
2017-04-27compatiblity with browsers: use numeric entity for aposHiltjo Posthuma
this entity is XHTML, it is not supported by some (older) browsers.
2017-04-27man pages: fix a few warnings and improve a few wordsHiltjo Posthuma
- fix new warning check (start sentence at each line). - improve a few words.
2016-10-04README: improve wording, thanks biniar!Hiltjo Posthuma
2016-08-06sfeed_frames, sfeed_html: don't use HTML tablesHiltjo Posthuma
reasons: - HTML table rendering is extremely slow (invalidate because of resizing cells etc). - whitespace wrapping does not work properly in ancient browsers, links(1).
2016-08-06add USE_PLEDGE, remove pledge dummy functionHiltjo Posthuma
2016-08-06gettzoffset: simplify, default is 0 so remove UTC zones to checkHiltjo Posthuma
2016-05-21Makefile: remove duplicate -c flagHiltjo Posthuma
2016-05-21improve wording in documentationHiltjo Posthuma
link to sfeed(5) in README to avoid having to duplicate documentation text.
2016-05-21sfeed_update: unique sort feed on first creationHiltjo Posthuma
when a feed file is created for the first time make sure to sort and filter duplicate items using the same logic as merge().
2016-04-18update CHANGELOG (pre-1.0)Hiltjo Posthuma
2016-04-18sfeed_frames.1: reword SECURITY CONSIDERATIONSHiltjo Posthuma
2016-04-18simplify sfeed(5) format, remove feedtype alsoHiltjo Posthuma
Remove type of feed per item, it is not that interesting. sfeed(1) can parse both RSS and Atom feeds.
2016-04-12sfeed_update: fix sorting on fields: id, link, titleHiltjo Posthuma
2016-04-12sfeed_frames: make content filename more unique: use UNIX timestamp in titleHiltjo Posthuma
this makes sure if an item has the same title but is posted or updated at a different time it will not overwrite the file.
2016-04-10absuri, encodeuri: make encodeuri static, change argument orderHiltjo Posthuma
2016-04-10xml: stricter check of entity: must end with ';', ...Hiltjo Posthuma
... zero output buffer if codepoint length is 0
2016-04-10update READMEHiltjo Posthuma
2016-04-10improve documentation, add sfeed(5) for the file formatHiltjo Posthuma
separate sfeed(5) page for just the feed file format.
2016-04-10util: standard pattern to check for valid number strtoulHiltjo Posthuma
2016-04-10reword some sentences in the documentation/man pagesHiltjo Posthuma
2016-04-10sfeed_frames: dont make title of content a link if its emptyHiltjo Posthuma
2016-04-10minor style fixesHiltjo Posthuma
2016-04-10remove basename, just use last part of the path...Hiltjo Posthuma
... as a bonus it also saves an allocation.
2016-04-10add comment for strtotimeHiltjo Posthuma
2016-04-10strtotime: improveHiltjo Posthuma
use long long: atleast 32-bit, but now time_t (real) to 32-bit or 64-bit is supported. Long long is C99 though, but that is fine. check errno, it can have ERANGE.
2016-04-10small style fixHiltjo Posthuma
2016-04-10improve MakefileHiltjo Posthuma
2016-04-03fix warning: return early, fixes bogus end NULL dereference warningHiltjo Posthuma
2016-04-03just initialize to zero, no need for memsetHiltjo Posthuma
2016-03-29remove time fieldHiltjo Posthuma
2016-03-29add time parsing to sfeed itself, remove time fieldHiltjo 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-03-27time experimentHiltjo Posthuma
2016-03-21check for tagid == TagUnknown, bit more clearHiltjo Posthuma
2016-03-20sfeed_frames: also XML encode formatted time (just in case)Hiltjo Posthuma
2016-03-20README: remove versionHiltjo Posthuma
2016-03-20Makefile: improve make dist, bump version to 0.9.1Hiltjo Posthuma
2016-03-20update CHANGELOG and TODOHiltjo Posthuma
2016-03-20code cleanup: put table of parsed tagid at top (near reverse table)Hiltjo Posthuma
2016-03-20fix crash with repeated <link href=""> tags in Atom feedsHiltjo Posthuma
add some detail to the comments
2016-03-19don't use temporary pointer for realloc, it will exit on errorHiltjo Posthuma
2016-03-10remove cast of unused variablesHiltjo Posthuma
2016-03-10Makefile: define CPPFLAGS once, fix typoHiltjo Posthuma
2016-03-08Makefile: also clean util and xml object filesHiltjo Posthuma
2016-03-04remove optimization with no effect, makes the code cleanerHiltjo Posthuma
2016-03-04sfeed_frames: use S_IR* names (portability), respect umaskHiltjo Posthuma
use 0777 and 0666 permissions, it will respect the process umask (generally 0022), so 0755 and 0644 effectively.
2016-03-04sfeed_frames: use mkdir and check errno EEXISTHiltjo Posthuma
no need to stat and then mkdir, this is a (theoretical) race-condition too.
2016-03-02sfeed: no need to call strlen, we know the length alreadyHiltjo Posthuma