Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-04-14 | sfeed_tail: rename "line" to "l" in local scope | Hiltjo Posthuma | |
char *line is a global variable (reused pointer to line buffer). | |||
2018-12-14 | sfeed_tail: wakeup less often by default | Hiltjo Posthuma | |
The files are now checked every 10 seconds instead of 1 second. NOTE: ofcourse it still first checks the filesize and modification time and only then proceeds. | |||
2018-11-04 | whitespace and comment fix | 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_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 | remove stdint.h include | Hiltjo Posthuma | |
the uint* types in XML are not exposed anymore. | |||
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. | |||
2017-12-24 | remove sfeed_tail: the standard tail -f can (soon) be used | Hiltjo Posthuma | |
2017-12-24 | add latest (DEBUG version) of sfeed_tail | Hiltjo Posthuma | |
2017-12-09 | sfeed_tail: replace hashmap + linked-list with RBtree | Hiltjo Posthuma | |
- This is much more memory efficient. I have not done any speed comparison yet but it is not noticable atleast. - add BSD <sys/tree.h> | |||
2017-04-27 | simplify pledge stub | Hiltjo Posthuma | |
2016-08-06 | add USE_PLEDGE, remove pledge dummy function | Hiltjo Posthuma | |
2016-04-10 | remove basename, just use last part of the path... | Hiltjo Posthuma | |
... as a bonus it also saves an allocation. | |||
2016-03-29 | add time parsing to sfeed itself, remove time field | Hiltjo 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-02-28 | use prime as seed for murmur3 seed (doesnt matter much) | Hiltjo Posthuma | |
2016-02-28 | sfeed_tail: terminate line at newline, small cleanup | Hiltjo Posthuma | |
2016-02-28 | sfeed_tail: fix pledge when opening files | Hiltjo Posthuma | |
2016-02-27 | sfeed_tail | 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. | |||
2016-02-01 | sfeed_tail: tune memory consumption down a bit, tested with a file with ↵ | Hiltjo Posthuma | |
10,000,000 lines (50MB) | |||
2016-01-31 | Add missing stdint header | Quentin Rameau | |
2016-01-31 | add sfeed_tail (test), might be removed again later | Hiltjo Posthuma | |
fix Makefile (compat) |