summaryrefslogtreecommitdiffstats
path: root/contrib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Copyright notices: remove years and replace e-mailOto Šťáva2022-12-1410-10/+10
|
* spellingJosh Soref2021-11-193-3/+3
| | | | Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* contrib/mempattern: add mm_ctx_delete()Vladimír Čunát2021-11-031-3/+12
| | | | It was a bit weird that the API had mempool creation but no deletion.
* contrib/murmurhash3: fix occasional undefined behaviorVladimír Čunát2021-04-141-3/+2
| | | | | | | murmurhash3.c:43:40: runtime error: addition of unsigned offset to 0x7ffce41c2014 overflowed to 0x7ffce41c2000 The `i` was used in a super-ugly way; I suspect the only reason was to optimize that end-loop condition was zero comparison *vomit*
* treewide: remove duplicate contrib/wire.hVladimír Čunát2021-04-142-173/+0
| | | | | libknot >= 2.9 provides it and their version is less buggy :-) In particular, it works with unaligned pointers.
* contrib/mempattern: hide mm_malloc()Vladimír Čunát2021-01-132-6/+5
| | | | | Experience proved that it can be confused with mm_alloc() and it may not be trivial to find the mistake.
* mm_ctx_mempool2(): factor out the new functionVladimír Čunát2021-01-132-0/+16
|
* contrib/mempattern: integrate other related functionsVladimír Čunát2021-01-132-1/+44
|
* copy mempattern files from Knot DNS as they areVladimír Čunát2021-01-133-0/+177
| | | | | | | | | | | | It seems just easier than having the copies in the current way. I don't think the `static inline` were helping us anyway, except for avoiding KR_EXPORT in some cases. Still, differences when copying: - we use plain memset() in the implementation (no motivation here to use the complex memzero() approach) - we expose mm_malloc(), as we've been referring to it - we KR_EXPORT some of the functions (for lua and modules)
* contrib/cleanup: loosen type-checking in auto_freeVladimír Čunát2020-12-081-2/+2
| | | | | | - advantage: `auto_free anyType *foo;` works (for anyType != char) - disadvantage: `auto_free anyType bar;` is also accepted, though I expect such problems will be relatively easy to debug.
* contrib/base64: sync with Knot DNSTomas Krizek2020-10-133-17/+40
|
* doh: C implementation of DoH - WiPJan Hak2020-10-133-1/+373
| | | | | Working server-side GET/POST HTTPS method - Proof-of-Concept Working server-side GET/POST HTTP/2 method - WiP
* contrib/cleanup: be more correctVladimír Čunát2020-10-071-1/+1
| | | | | | | | | It's mainly about the fact that FD can be zero (though it's not common). Our current usage is just in tests and seems fine. I don't think that other negative FDs are possible, but I'm lazy to find "proof" in POSIX and using other negative values than -1 doesn't make sense to me anyway (might be an assert, I guess).
* treewide: move to our new GitLab URLVladimír Čunát2020-07-104-4/+4
| | | | | s/gitlab\.labs\.nic/gitlab.nic/g Redirects are in place, so it shouldn't be required now, but why not.
* mark bundled content with SPDX filePetr Špaček2020-02-259-0/+90
| | | | | | | | | | | | | The SPDX file contains hand-written metadata about source URL, version, authors, and license. There are two missing pieces in HTTP module: - bootswatch theme - I could not find what theme we ship, maybe it is based on one of bootswatch themes but heavily modified - selectize.js source does not match respective files in upstream but contains minor changes I will deal with these in later commits.
* tag license files according to Linux Kernel license identifier syntaxPetr Špaček2020-02-253-6/+12
| | | | https://www.kernel.org/doc/html/latest/process/license-rules.html#license-identifier-syntax
* treewide: machine readable license for all the restPetr Špaček2020-02-252-1/+3
| | | | | These files did not have GNU GPL v3 boilderplate in them so I've added machine readable tag with appropriate license.
* treewide: machine readable license for GNU GPLv3+ source codePetr Špaček2020-02-257-91/+7
| | | | | Long GNU GPLv3 boilderplate was automatically replaced with machine readable tag.
* contrib/licenses: machine readable licensePetr Špaček2020-02-251-0/+2
|
* contrib/ucw: machine readable licensePetr Špaček2020-02-257-12/+14
|
* contrib/murmurhash3: machine readable licensePetr Špaček2020-02-252-1/+7
|
* contrib/json: remove dead testsPetr Špaček2020-02-257-757/+0
|
* contrib/json: machine readable licensePetr Špaček2020-02-252-44/+6
|
* contrib/compiler: remove dead testsPetr Špaček2020-02-252-37/+0
|
* contrib/compiler: machine readable licensePetr Špaček2020-02-251-1/+2
|
* contrib/asprintf: machine readable licensePetr Špaček2020-02-253-2/+6
|
* contrib: remove unused ccan/ilogPetr Špaček2020-02-256-419/+0
|
* contrib: remove unsed _info files from CCANPetr Špaček2020-02-254-278/+0
|
* contrib/ccan/asprintf: remove fortification guardVladimír Čunát2020-02-182-2/+2
| | | | Perhaps it served some purpose in 28b230823, but it seems incorrect.
* base64_* -> kr_base64_*Vladimír Čunát2020-02-102-10/+10
| | | | | | | GnuTLS 3.3 contained these as public symbols. This doesn't seem important, but why not use more collision-resistant names anyway? Details/discussion: https://github.com/CZ-NIC/knot/pull/14 Basically noone should notice, so I didn't include any NEWS entry.
* kr_cache_gc: initial commitLibor Peltan2019-07-031-0/+124
|
* contrib/ucw/mempool: KR_EXPORT the functions we useVladimír Čunát2019-03-121-0/+8
|
* contrib/ccan/json: KR_EXPORT all functionsVladimír Čunát2019-03-121-21/+22
|
* meson: fix build on OSXTomas Krizek2019-03-121-1/+1
|
* gitlabci: fix lint:tidyTomas Krizek2019-03-121-2/+2
|
* meson: remove no longer needed makefilesTomas Krizek2019-03-121-22/+0
|
* meson: use add_project_argumentsTomas Krizek2019-03-121-1/+0
|
* meson: use c_args instead of setting global compiler optionsTomas Krizek2019-03-121-0/+1
|
* meson: cleanupTomas Krizek2019-03-121-1/+3
|
* meson: build contrib as a subdirTomas Krizek2019-03-123-2/+26
|
* contrib: drop embedded lmdb supportTomas Krizek2019-03-125-12454/+0
|
* contrib/murmurhash3: fix bad type punningVladimír Čunát2019-03-051-3/+3
|
* contrib/lmdb: avoid -Wshadow with embedded lmdbVladimír Čunát2019-01-101-0/+1
| | | | | Unfortunately, CFLAGS are concatenated in the other order than we would need for this, so let's choose this approach.
* use randomness from gnutls instead of internal ISAACVladimír Čunát2018-12-119-1344/+0
|
* disable more -Wpedantic warnings via #pragmaVladimír Čunát2018-11-262-0/+6
|
* misc -Wpedantic fixesVladimír Čunát2018-11-261-3/+3
|
* treewide: use more standard variadic macrosVladimír Čunát2018-11-261-1/+1
| | | | | There's still an unresolved "problem" with QRVERBOSE getting empty variadic list sometimes, and I can't see a good way around that.
* Merge pointer-arith changes into cache-NSEC3Vladimír Čunát2018-05-291-1/+2
|\
| * handle htobe32 et al. on glibc systems with a non-Linux kernelDaniel Kahn Gillmor2018-05-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fix copies over an updated #if clause from libknot's src/contrib/endian.h. This should resolve: https://gitlab.labs.nic.cz/knot/knot-resolver/issues/348 See also discussion about this same problem in libknot from a couple years ago: https://bugs.debian.org/840460 I note that contrib/wire.h in knot-resolver is out of sync with src/contrib/wire.h (and src/contrib/endian.h) from libknot. I don't know whether there's any upstream preference for keeping these in sync in some more reliable way than manual comparisons. For now i'm just providing a narrow fix for the specific problem.
* | WIP: nsec3_encloser() finished, maybe?Vladimír Čunát2018-05-042-5/+5
| |