summaryrefslogtreecommitdiff
path: root/util.c
AgeCommit message (Expand)Author
2023-05-07iterate on previous commit which adds $SFEED_NEW_MAX_SECSHiltjo Posthuma
2022-03-29compatibility: reduce the assumption the builtin libc locale is ASCII-compatibleHiltjo Posthuma
2022-03-15stricter error checking in file streams (input, output)Hiltjo Posthuma
2022-02-06add compile-time option to improve output on dumb non-UTF8 terminalsHiltjo Posthuma
2022-02-04improve some code commentsHiltjo Posthuma
2022-01-19fix inconsistencies in commentsHiltjo Posthuma
2022-01-14util: strtotime: expand on comment about 2038-readinessHiltjo Posthuma
2022-01-14util: parsetime(): fix comment, long long supports atleast 64-bit rangeHiltjo Posthuma
2021-11-26sfeed_curses: reuse some functions in utilHiltjo Posthuma
2021-06-01util.c: err() do not print colon formattedHiltjo Posthuma
2021-06-01portability and standards: add BSD-like err() and errx() functionsHiltjo Posthuma
2021-03-01util.c: uri_makeabs: check initial base URI field, not dest `a` (style)Hiltjo Posthuma
2021-03-01util: improve/refactor URI parsing and formattingHiltjo Posthuma
2021-01-27typofixesHiltjo Posthuma
2021-01-09printutf8pad: fix byte-seek issue with negative width codepoints in the range...Hiltjo Posthuma
2021-01-09printutf8pad: small code-style/clarify changesHiltjo Posthuma
2021-01-08util.c: printutf8pad(): improve padded printing and printing invalid unicode ...Hiltjo Posthuma
2021-01-08xmlencode: optimize common character output functionHiltjo Posthuma
2020-10-12remove unneeded check for NUL terminatorHiltjo Posthuma
2020-05-27util: encodeuri: simplify conditionHiltjo Posthuma
2020-04-01util: improve/cleanup parseline()Hiltjo Posthuma
2020-03-10sfeed_plain: optimize utf8-decoding and column position calculationHiltjo Posthuma
2020-01-24cleanup some includesHiltjo Posthuma
2019-04-25util: small code-style fixHiltjo Posthuma
2019-04-21util: keep brackets when parsing IPv6 addressesHiltjo Posthuma
2019-04-15util: remove unneeded err.h headerHiltjo Posthuma
2019-04-06util: remove unnecesary cast and initializationHiltjo Posthuma
2019-03-08util: pedantic snprintf improvementHiltjo Posthuma
2019-02-27util: parseuri: fix typo in cast (ssize_t)Hiltjo Posthuma
2018-09-07util.c: remove remaining uint8_t type, we assume a sane CHAR_BIT == 8Hiltjo Posthuma
2018-09-07fix many undefined behaviour in usage of ctype functionsHiltjo Posthuma
2018-06-24util: printutf8pad: proper counting of multiwidth charactersHiltjo Posthuma
2018-02-18util: improve a castHiltjo Posthuma
2018-02-16util.c: parseuri(): fix incorrect NUL termination for IPv6 addressesHiltjo Posthuma
2017-12-09sfeed_mbox: move murmur to this file, cleanupHiltjo Posthuma
2017-06-29improve printutf8pad for sfeed_plainHiltjo Posthuma
2017-04-27compatiblity with browsers: use numeric entity for aposHiltjo Posthuma
2016-08-06add USE_PLEDGE, remove pledge dummy functionHiltjo Posthuma
2016-04-10absuri, encodeuri: make encodeuri static, change argument orderHiltjo Posthuma
2016-04-10util: standard pattern to check for valid number strtoulHiltjo Posthuma
2016-04-10remove basename, just use last part of the path...Hiltjo Posthuma
2016-04-10add comment for strtotimeHiltjo Posthuma
2016-04-10strtotime: improveHiltjo Posthuma
2016-03-10remove cast of unused variablesHiltjo Posthuma
2016-02-28util: simplify encodehex, use inlineHiltjo Posthuma
2016-02-27various improvementsHiltjo Posthuma
2015-08-22util: absuri: simplify + fix port in url with prefix "//"Hiltjo Posthuma
2015-08-22util: absuri handle port separatelyHiltjo Posthuma
2015-08-22util: support ipv6 address, parse port separatelyHiltjo Posthuma
2015-08-16code-style, wrap some lines, etcHiltjo Posthuma