summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-02-28sfeed_frames: fix TOCTTUO with access() and fopen()Hiltjo Posthuma
... and use futimens() in favor of deprecated utime(). a minor difference in behaviour is now filetimes are only updated when the file doesn't exist. minor cleanup: remove namelen, its variable was unused (reported by cppcheck).
2016-02-28use prime as seed for murmur3 seed (doesnt matter much)Hiltjo Posthuma
2016-02-28null-terminate line at newline from getline()Hiltjo Posthuma
2016-02-28util: simplify encodehex, use inlineHiltjo Posthuma
2016-02-28sfeed_tail: terminate line at newline, small cleanupHiltjo Posthuma
2016-02-28sfeed_tail: fix pledge when opening filesHiltjo Posthuma
2016-02-27config.mk: disable pledge by default, only OpenBSD 5.9 (unreleased) supports itHiltjo Posthuma
2016-02-27simplify build and fix linking for strlcat.o and strlcpy.oHiltjo Posthuma
separate util source (util.c, strlcat.c, strlcpy.c) to libutil.a separate xml source (xml.c) to libxml.a
2016-02-27fix missing includes for uint32_t and time_tHiltjo Posthuma
2016-02-27add util for pledgeHiltjo Posthuma
2016-02-27reference sfeedrc(5) in manpagesHiltjo Posthuma
2016-02-27sfeed_tailHiltjo Posthuma
2016-02-27various improvementsHiltjo 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.
2016-02-27check <author><name> tag case-insensitively, just like the restHiltjo Posthuma
2016-02-27consistency: check snprintf result == -1Hiltjo Posthuma
2016-02-27remove some unneeded checksHiltjo Posthuma
2016-02-26mention ISC in README.xml, not MITHiltjo Posthuma
2016-02-26clarify LICENSE (short title), mention ISC in README, not MITHiltjo Posthuma
2016-02-01sfeed_tail: tune memory consumption down a bit, tested with a file with ↵Hiltjo Posthuma
10,000,000 lines (50MB)
2016-01-31Add missing stdint headerQuentin Rameau
2016-01-31Revert "sfeed: realloc, faster near pow 2 bufsiz"Hiltjo Posthuma
This reverts commit 5e43bd658e578ced54f6065e95f6efb4892e114c. It is a neat bit trick, but it doesn't matter much in thiscase and it's less readable and possibly less portable.
2016-01-31sfeed_opml_import: fix compatHiltjo Posthuma
2016-01-31sfeed: realloc, faster near pow 2 bufsizHiltjo Posthuma
2016-01-31code-styleHiltjo Posthuma
2016-01-31add sfeed_tail (test), might be removed again laterHiltjo Posthuma
fix Makefile (compat)
2016-01-31sfeed_update: fix issue with merging failed feedsHiltjo Posthuma
When fetching a feed failed and its temporary file was stored (filesize=0) it would still be merged with the (possible) old file. This updated the modification time which would be used in the next poll (If-Modified-Since). The solution is to check if the file is non-empty and only then merge, this is still not 100% fool-proof, but much better.
2016-01-31sfeed_update: don't try to sort on feedname field, it was removedHiltjo Posthuma
2016-01-31sfeed_frames.1: add a note about security considerationsHiltjo Posthuma
2016-01-31always add strlcpy, strlcat, remove COMPAT #ifdefHiltjo Posthuma
The overhead for OpenBSD is minimal. I will periodically sync from OpenBSD libc.
2016-01-31sfeedrc(5): add initial documentation for sfeedrc configuration formatHiltjo Posthuma
2016-01-31README: small improvements and rewordingsHiltjo Posthuma
2016-01-31LICENSE: relicense from MIT to ISC, bump year to 2016Hiltjo Posthuma
2015-10-05sfeed_mbox: do host lookup and current time once at startup, not per feedHiltjo Posthuma
2015-10-04sfeed: fix ctype functions againHiltjo Posthuma
2015-10-04sfeed_mbox: small cleanup, move label so check for NUL isnt neededHiltjo Posthuma
2015-10-04portability: dont use HOST_NAME_MAX, just use 256 as maximumHiltjo Posthuma
2015-10-02sfeed: fix escape of backslash, simplifyHiltjo Posthuma
2015-10-02sfeed_plain: remove some spaces for slightly more screen space :)Hiltjo Posthuma
2015-10-02dont used deprecated timegm, use mktime with TZ set to UTCHiltjo Posthuma
this also makes it compile on NetBSD
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