]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
8 years agohints: make it work with non-lowercased hints
Vladimír Čunát [Mon, 16 Jan 2017 13:04:31 +0000 (14:04 +0100)] 
hints: make it work with non-lowercased hints

https://forum.turris.cz/t/solved-hints-not-working-on-kresd/2974

8 years agobuild: be more precise in descriptions
Vladimír Čunát [Fri, 13 Jan 2017 17:03:36 +0000 (18:03 +0100)] 
build: be more precise in descriptions

8 years agobuild docs: detect Lua sec and socket libraries in make info
Petr Špaček [Fri, 13 Jan 2017 16:46:11 +0000 (17:46 +0100)] 
build docs: detect Lua sec and socket libraries in make info

8 years agoMerge !130: make: detect sphinx and python-breathe
Vladimír Čunát [Fri, 13 Jan 2017 15:19:58 +0000 (16:19 +0100)] 
Merge !130: make: detect sphinx and python-breathe

8 years agoMerge !137: policy: document that you can pass lists to FORWARD
Vladimír Čunát [Fri, 13 Jan 2017 14:53:30 +0000 (15:53 +0100)] 
Merge !137: policy: document that you can pass lists to FORWARD

8 years agopolicy: document that you can pass lists to FORWARD
Vladimír Čunát [Fri, 13 Jan 2017 14:49:59 +0000 (15:49 +0100)] 
policy: document that you can pass lists to FORWARD

... and that the length is limited.

8 years agoMerge !136: layer/iterate: avoid explicit cast
Vladimír Čunát [Fri, 13 Jan 2017 13:20:06 +0000 (14:20 +0100)] 
Merge !136: layer/iterate: avoid explicit cast

8 years agolayer/iterate: avoid explicit cast
Grigorii Demidov [Fri, 13 Jan 2017 13:12:05 +0000 (14:12 +0100)] 
layer/iterate: avoid explicit cast

8 years agoMerge branch 'misc-fix' into 'master'
Ondřej Surý [Fri, 13 Jan 2017 12:57:03 +0000 (13:57 +0100)] 
Merge branch 'misc-fix' into 'master'

layer/iterate: coverity fix + log improvement

See merge request !135

8 years agolayer/iterate: coverity fix + log improvement
Grigorii Demidov [Fri, 13 Jan 2017 12:46:22 +0000 (13:46 +0100)] 
layer/iterate: coverity fix + log improvement

8 years agobuild docs: detect sphinx and python-breathe presence in make info
Petr Špaček [Fri, 13 Jan 2017 08:35:27 +0000 (09:35 +0100)] 
build docs: detect sphinx and python-breathe presence in make info

8 years agoMerge branch 'fedora_build_docs' into 'master'
Ondřej Surý [Thu, 12 Jan 2017 14:41:30 +0000 (15:41 +0100)] 
Merge branch 'fedora_build_docs' into 'master'

build docs: list required Fedora packages

See merge request !129

8 years agobuild docs: list required Fedora packages
Petr Špaček [Thu, 12 Jan 2017 14:07:38 +0000 (15:07 +0100)] 
build docs: list required Fedora packages

8 years agoMerge !128: [coverity] Fix TOCTOU usage on lockfile
Vladimír Čunát [Thu, 12 Jan 2017 11:58:00 +0000 (12:58 +0100)] 
Merge !128: [coverity] Fix TOCTOU usage on lockfile

8 years agoMerge branch 'notimpl-meta' into 'master'
Ondřej Surý [Thu, 12 Jan 2017 11:11:43 +0000 (12:11 +0100)] 
Merge branch 'notimpl-meta' into 'master'

iterate: answer NOTIMPL to meta-type queries

See merge request !115

8 years ago[coverity] Fix TOCTOU usage on lockfile
Ondřej Surý [Thu, 12 Jan 2017 09:46:23 +0000 (10:46 +0100)] 
[coverity] Fix TOCTOU usage on lockfile

8 years agoMerge branch 'nitpicks' into 'master'
Ondřej Surý [Thu, 12 Jan 2017 11:07:54 +0000 (12:07 +0100)] 
Merge branch 'nitpicks' into 'master'

nitpicks: readability, coverity

See merge request !120

8 years agoMerge branch 'sbin-in-path' into 'master'
Ondřej Surý [Wed, 11 Jan 2017 20:28:11 +0000 (21:28 +0100)] 
Merge branch 'sbin-in-path' into 'master'

Add sbin to the PATH in the bootstrap-depends.sh script

See merge request !127

8 years agoAdd sbin to the PATH in the bootstrap-depends.sh script
Ondřej Surý [Wed, 11 Jan 2017 16:21:25 +0000 (17:21 +0100)] 
Add sbin to the PATH in the bootstrap-depends.sh script

8 years agoMerge branch 'bootstrap-print-config.log' into 'master'
Ondřej Surý [Wed, 11 Jan 2017 16:13:08 +0000 (17:13 +0100)] 
Merge branch 'bootstrap-print-config.log' into 'master'

boostrap-depends.sh: print last failed config.log

See merge request !126

8 years agoboostrap-depends.sh: print last failed config.log
Ondřej Surý [Wed, 11 Jan 2017 15:23:09 +0000 (16:23 +0100)] 
boostrap-depends.sh: print last failed config.log

8 years agoMerge branch 'libluajit-5.1.so-symlink' into 'master'
Ondřej Surý [Wed, 11 Jan 2017 16:08:09 +0000 (17:08 +0100)] 
Merge branch 'libluajit-5.1.so-symlink' into 'master'

Add .so symlink for libluajit-5.1.so

See merge request !125

8 years agoAdd .so symlink for libluajit-5.1.so
Ondřej Surý [Wed, 11 Jan 2017 16:07:39 +0000 (17:07 +0100)] 
Add .so symlink for libluajit-5.1.so

8 years agoMerge branch 'gmp-6.1.1' into 'master'
Ondřej Surý [Wed, 11 Jan 2017 16:01:25 +0000 (17:01 +0100)] 
Merge branch 'gmp-6.1.1' into 'master'

Revert to GMP 6.1.1 as GMP 6.1.2 cannot be compiled on Travis-CI

See merge request !124

8 years agoRevert to GMP 6.1.1 as GMP 6.1.2 cannot be compiled on Travis-CI
Ondřej Surý [Wed, 11 Jan 2017 16:00:55 +0000 (17:00 +0100)] 
Revert to GMP 6.1.1 as GMP 6.1.2 cannot be compiled on Travis-CI

8 years agoMerge branch 'luajit-v2.0.4' into 'master'
Ondřej Surý [Wed, 11 Jan 2017 15:50:33 +0000 (16:50 +0100)] 
Merge branch 'luajit-v2.0.4' into 'master'

Revert back to luajit v2.0.4

See merge request !123

8 years agoRevert back to luajit v2.0.4
Ondřej Surý [Wed, 11 Jan 2017 15:50:07 +0000 (16:50 +0100)] 
Revert back to luajit v2.0.4

8 years agoMerge branch 'shasum-sha256sum' into 'master'
Ondřej Surý [Wed, 11 Jan 2017 15:34:18 +0000 (16:34 +0100)] 
Merge branch 'shasum-sha256sum' into 'master'

Use sha256sum as alternative to shasum

See merge request !122

8 years agoUse sha256sum as alternative to shasum
Ondřej Surý [Wed, 11 Jan 2017 15:33:15 +0000 (16:33 +0100)] 
Use sha256sum as alternative to shasum

8 years agoMerge branch 'travis-gcc-linux' into 'master'
Ondřej Surý [Wed, 11 Jan 2017 15:10:32 +0000 (16:10 +0100)] 
Merge branch 'travis-gcc-linux' into 'master'

Use gcc on linux

See merge request !121

8 years agoUse gcc on linux
Ondřej Surý [Wed, 11 Jan 2017 15:08:57 +0000 (16:08 +0100)] 
Use gcc on linux

8 years agoMerge branch 'bootstrap-gnutls-fix' into 'master'
Ondřej Surý [Wed, 11 Jan 2017 14:41:32 +0000 (15:41 +0100)] 
Merge branch 'bootstrap-gnutls-fix' into 'master'

Actually exit 1 the bootstrap script on a failure

See merge request !119

8 years agoActually exit 1 the bootstrap script on a failure
Ondřej Surý [Wed, 11 Jan 2017 14:41:08 +0000 (15:41 +0100)] 
Actually exit 1 the bootstrap script on a failure

8 years agoMerge branch 'bootstrap-gnutls-fix' into 'master'
Ondřej Surý [Wed, 11 Jan 2017 14:37:48 +0000 (15:37 +0100)] 
Merge branch 'bootstrap-gnutls-fix' into 'master'

scripts/bootstrap-depends.sh: GnuTLS needs --with-included-unistring

See merge request !118

8 years agoscripts/bootstrap-depends.sh: GnuTLS needs --with-included-unistring
Ondřej Surý [Wed, 11 Jan 2017 14:37:15 +0000 (15:37 +0100)] 
scripts/bootstrap-depends.sh: GnuTLS needs --with-included-unistring

8 years agoMerge branch 'travis-dont-set-global-cflags' into 'master'
Ondřej Surý [Wed, 11 Jan 2017 14:32:10 +0000 (15:32 +0100)] 
Merge branch 'travis-dont-set-global-cflags' into 'master'

Don't set CFLAGS globally, just for Knot Resolver build

See merge request !117

8 years agoRemove .revision on bootstrap failure to force re-bootstrapping next time the build...
Ondřej Surý [Wed, 11 Jan 2017 14:31:42 +0000 (15:31 +0100)] 
Remove .revision on bootstrap failure to force re-bootstrapping next time the build is run

8 years agoutils: fix coverity warning 155456
Vladimír Čunát [Wed, 11 Jan 2017 14:27:04 +0000 (15:27 +0100)] 
utils: fix coverity warning 155456

I think the memory wouldn't really leak, due to being on a per-request
mempool, but it still seems better to do this properly.

8 years agoDon't set CFLAGS globally, just for Knot Resolver build
Ondřej Surý [Wed, 11 Jan 2017 14:28:32 +0000 (15:28 +0100)] 
Don't set CFLAGS globally, just for Knot Resolver build

8 years agoMerge branch 'bootstrap-depends-update' into 'master'
Ondřej Surý [Wed, 11 Jan 2017 14:24:48 +0000 (15:24 +0100)] 
Merge branch 'bootstrap-depends-update' into 'master'

Update bootstrap library versions

See merge request !116

8 years agoUpdate bootstrap library versions
Ondřej Surý [Wed, 11 Jan 2017 14:12:45 +0000 (15:12 +0100)] 
Update bootstrap library versions

8 years agonitpicks to improve readability (hopefully)
Vladimír Čunát [Fri, 30 Dec 2016 15:43:51 +0000 (16:43 +0100)] 
nitpicks to improve readability (hopefully)

The change of `cut->name` to `current_cut` should cause no real change,
but the meaning seems more cleaner this way.

8 years agoMerge branch 'vld-refactoring' into 'master'
Ondřej Surý [Wed, 11 Jan 2017 13:10:16 +0000 (14:10 +0100)] 
Merge branch 'vld-refactoring' into 'master'

layer/validate: refactoring

See merge request !96

8 years agolayer/validate: DS processing was fixed
Grigorii Demidov [Wed, 11 Jan 2017 10:29:04 +0000 (11:29 +0100)] 
layer/validate: DS processing was fixed

8 years agolib/resolve: some bugfixes for zonecut checking
Grigorii Demidov [Tue, 10 Jan 2017 14:14:16 +0000 (15:14 +0100)] 
lib/resolve: some bugfixes for zonecut checking

8 years agolib/resolve: zonecut check has been refactored
Grigorii Demidov [Tue, 10 Jan 2017 10:05:15 +0000 (11:05 +0100)] 
lib/resolve: zonecut check has been refactored

8 years agolayer/iterate: change the order of records in the answer when CNAME refers to the...
Grigorii Demidov [Fri, 6 Jan 2017 08:56:57 +0000 (09:56 +0100)] 
layer/iterate: change the order of records in the answer when CNAME refers to the record that we already have

8 years agolayer/iterate: cname chain processing has been fixed
Grigorii Demidov [Thu, 5 Jan 2017 18:10:00 +0000 (19:10 +0100)] 
layer/iterate: cname chain processing has been fixed

8 years agoranked_rr_array*: reorder fields to save memory
Vladimír Čunát [Thu, 29 Dec 2016 10:19:11 +0000 (11:19 +0100)] 
ranked_rr_array*: reorder fields to save memory

On standard 64-bit: 24 -> 16 bytes per element.

8 years agouid fields: remove forgotten field, add comments
Vladimír Čunát [Thu, 29 Dec 2016 10:09:34 +0000 (11:09 +0100)] 
uid fields: remove forgotten field, add comments

8 years agorrcache: NS glue processing has been fixed
Grigorii Demidov [Mon, 26 Dec 2016 17:26:53 +0000 (18:26 +0100)] 
rrcache: NS glue processing has been fixed

8 years agolayer/iterate: use 'old' bechavior in STRICT mode when updating cut
Grigorii Demidov [Fri, 23 Dec 2016 08:28:29 +0000 (09:28 +0100)] 
layer/iterate: use 'old' bechavior in STRICT mode when updating cut

8 years agolayer/iterate: authority section processing was fixed
Grigorii Demidov [Thu, 22 Dec 2016 19:47:04 +0000 (20:47 +0100)] 
layer/iterate: authority section processing was fixed

8 years agoremove unused variables and a function (clang warnings)
Vladimír Čunát [Thu, 22 Dec 2016 09:50:25 +0000 (10:50 +0100)] 
remove unused variables and a function (clang warnings)

8 years agolayer/rrcache: nitpick
Grigorii Demidov [Thu, 22 Dec 2016 08:13:14 +0000 (09:13 +0100)] 
layer/rrcache: nitpick

8 years agolayer/iterate: authority processing fixed
Grigorii Demidov [Wed, 21 Dec 2016 09:19:38 +0000 (10:19 +0100)] 
layer/iterate: authority processing fixed

8 years agokr_*_print: don't include them in release builds
Vladimír Čunát [Tue, 20 Dec 2016 10:26:13 +0000 (11:26 +0100)] 
kr_*_print: don't include them in release builds

8 years agolayer/validate: refactoring
Grigorii Demidov [Wed, 14 Dec 2016 11:58:29 +0000 (12:58 +0100)] 
layer/validate: refactoring

8 years agoMerge branch 'tcp-leaks' into 'master'
Ondřej Surý [Wed, 11 Jan 2017 10:46:55 +0000 (11:46 +0100)] 
Merge branch 'tcp-leaks' into 'master'

TCP: free buffer when cancelling connection

Closes #76

See merge request !114

8 years agoiterate: answer NOTIMPL to meta-type queries
Vladimír Čunát [Tue, 10 Jan 2017 14:03:24 +0000 (15:03 +0100)] 
iterate: answer NOTIMPL to meta-type queries

... at least until we implement (some of) them correctly.

8 years agoTCP: free buffer when cancelling connection
Vladimír Čunát [Mon, 9 Jan 2017 16:19:23 +0000 (17:19 +0100)] 
TCP: free buffer when cancelling connection

Fixes https://gitlab.labs.nic.cz/knot/resolver/issues/76

8 years agoadd comments around TCP buffering
Vladimír Čunát [Mon, 9 Jan 2017 16:26:23 +0000 (17:26 +0100)] 
add comments around TCP buffering

8 years agoMerge branch 'chaos' into 'master'
Ondřej Surý [Fri, 6 Jan 2017 12:36:34 +0000 (13:36 +0100)] 
Merge branch 'chaos' into 'master'

iterate: answer NOTIMPL to other classes than IN

See merge request !110

8 years agoMerge branch 'generate-rsa-with-older-gnutls' into 'master'
Ondřej Surý [Fri, 6 Jan 2017 10:24:14 +0000 (11:24 +0100)] 
Merge branch 'generate-rsa-with-older-gnutls' into 'master'

Generate RSA certificates with GnuTLS < 3.5.0

See merge request !113

8 years agoGenerate RSA certificates with GnuTLS < 3.5.0
Ondřej Surý [Fri, 6 Jan 2017 10:23:18 +0000 (11:23 +0100)] 
Generate RSA certificates with GnuTLS < 3.5.0

8 years agoMerge branch 'ephemeral-tls-2' into 'master'
Ondřej Surý [Fri, 6 Jan 2017 10:01:42 +0000 (11:01 +0100)] 
Merge branch 'ephemeral-tls-2' into 'master'

Create and use ephemeral TLS credentials if none are explicitly configured

See merge request !112

8 years agoKill if (0) { construct
Ondřej Surý [Fri, 6 Jan 2017 09:55:24 +0000 (10:55 +0100)] 
Kill if (0) { construct

8 years agoFix log level when printing ephemeral certificates
Ondřej Surý [Fri, 6 Jan 2017 09:54:55 +0000 (10:54 +0100)] 
Fix log level when printing ephemeral certificates

8 years agoAuto-regenerate ephemeral certificate on hostname change
Daniel Kahn Gillmor [Sun, 13 Nov 2016 00:09:28 +0000 (09:09 +0900)] 
Auto-regenerate ephemeral certificate on hostname change

8 years agoAuto-renew ephemeral X.509 certificate.
Daniel Kahn Gillmor [Sat, 12 Nov 2016 23:27:48 +0000 (08:27 +0900)] 
Auto-renew ephemeral X.509 certificate.

If the ephemeral X.509 certificate is due for renewal in less than a
week, regenerate it automatically.

8 years agoUse ephemeral X.509 credentials if none are configured
Daniel Kahn Gillmor [Sat, 12 Nov 2016 23:09:25 +0000 (08:09 +0900)] 
Use ephemeral X.509 credentials if none are configured

If kresd is configured to listen using TLS, but it has no credentials,
it should fall back to generating ephemeral credentials and using
them.

It stores the ephemerally-generated secret key in the same directory
as the cache, using the name "ephemeral_key.pem".  If the cache
persists, then the key will too, even if the daemon dies.  This means
that any set of daemons that share a cache will also share an
ephemeral secret key.

The ephemeral X.509 certificate that corresponds to the key will be
automatically generated (self-signed), will have a lifetime of about
90 days (matching Let's Encrypt policy).  The ephemeral cert is
never written to disk; it is always dynamically-generated by kresd.

This should make it very easy to get DNS-over-TLS working in
opportunistic mode.

8 years agoRecord expiration date of our certificate.
Daniel Kahn Gillmor [Sat, 12 Nov 2016 21:22:08 +0000 (06:22 +0900)] 
Record expiration date of our certificate.

This can be useful for scheduling checks in the future, for logging
when we're using an expired cert, requesting a new cert, refreshing an
ephemeral cert, etc.

8 years agoMerge branch 'hints-empty-crash' into 'master'
Vladimír Čunát [Tue, 3 Jan 2017 16:44:01 +0000 (17:44 +0100)] 
Merge branch 'hints-empty-crash' into 'master'

hints: don't crash if no file got loaded

See merge request !111

8 years agohints: don't crash if no file got loaded
Vladimír Čunát [Tue, 3 Jan 2017 16:24:40 +0000 (17:24 +0100)] 
hints: don't crash if no file got loaded

https://forum.turris.cz/t/quick-way-to-crash-kresd-knot-resolver/2470

8 years agoiterate: answer NOTIMPL to other classes than IN
Vladimír Čunát [Tue, 3 Jan 2017 09:02:44 +0000 (10:02 +0100)] 
iterate: answer NOTIMPL to other classes than IN

At least until we implement them properly.

8 years agoMerge !109: layer/iterate: glue processing has been fixed
Vladimír Čunát [Wed, 28 Dec 2016 09:55:06 +0000 (10:55 +0100)] 
Merge !109: layer/iterate: glue processing has been fixed

There was (always) a bug in the "normal mode", which complicated
difficult cases like zive.cz in default setting.

8 years agolayer/iterate: glue processing has been fixed
Grigorii Demidov [Tue, 27 Dec 2016 09:44:08 +0000 (10:44 +0100)] 
layer/iterate: glue processing has been fixed

8 years agoMerge branch 'verbose-launch-scrit' into 'master'
Ondřej Surý [Mon, 26 Dec 2016 10:22:33 +0000 (11:22 +0100)] 
Merge branch 'verbose-launch-scrit' into 'master'

Make the build verbose when launching test instance

See merge request !108

8 years agoMake the build verbose when launching test instance
Ondřej Surý [Mon, 26 Dec 2016 10:22:06 +0000 (11:22 +0100)] 
Make the build verbose when launching test instance

8 years agoMerge branch 'test-script' into 'master'
Ondřej Surý [Thu, 22 Dec 2016 12:16:10 +0000 (13:16 +0100)] 
Merge branch 'test-script' into 'master'

Add script to launch separate testing instance

See merge request !107

8 years agoAdd script to launch separate testing instance
Ondřej Surý [Thu, 22 Dec 2016 12:02:40 +0000 (13:02 +0100)] 
Add script to launch separate testing instance

8 years agoMerge !106: uint: typedef globally but not more than once
Vladimír Čunát [Thu, 22 Dec 2016 09:46:09 +0000 (10:46 +0100)] 
Merge !106: uint: typedef globally but not more than once

Before C11, repeating a typedef is forbidden, if taken strictly, and
some compiler versions even reject it.  On the other hand lru.h was
missing it, which wasn't noticed due to glibc's <sys/types.h> defining it.
Fixes https://gitlab.labs.nic.cz/knot/resolver/issues/114.

8 years agouint: typedef globally but not more than once
Vladimír Čunát [Thu, 22 Dec 2016 09:23:20 +0000 (10:23 +0100)] 
uint: typedef globally but not more than once

Before C11, repeating a typedef is forbidden, if taken strictly, and
some compiler versions even reject it.  On the other hand lru.h was
missing it, which wasn't noticed due to glibc's <sys/types.h> defining it.
Fixes https://gitlab.labs.nic.cz/knot/resolver/issues/114.

8 years agoMerge !105: modules/http: fix mixed up argument error in websocket code
Vladimír Čunát [Thu, 22 Dec 2016 08:40:15 +0000 (09:40 +0100)] 
Merge !105: modules/http: fix mixed up argument error in websocket code

The problem was missed in !102 d6f79261.  Submitted as:
https://github.com/CZ-NIC/knot-resolver/pull/38

8 years agomdoules/http: fixed mixed up argument error in websocket code
Andreas Rammhold [Wed, 21 Dec 2016 15:16:58 +0000 (16:16 +0100)] 
mdoules/http: fixed mixed up argument error in websocket code

lua-http decided to swap arguments some time ago:
https://github.com/daurnimator/lua-http/commit/507396bb960b4f9d2b666ae7fd1ea441e9cccd2f

8 years agoMerge !100: allow generating most cdefs for lua
Vladimír Čunát [Mon, 19 Dec 2016 13:20:54 +0000 (14:20 +0100)] 
Merge !100: allow generating most cdefs for lua

See mainly 06b0d3d4; the rest focuses on removing bashisms.

8 years agoMerge !103: add information about non-validating nature of FORWARD policy
Vladimír Čunát [Mon, 19 Dec 2016 13:18:07 +0000 (14:18 +0100)] 
Merge !103: add information about non-validating nature of FORWARD policy

8 years agoAdd information about non-validating nature of FORWARD policy
Ondřej Surý [Mon, 19 Dec 2016 12:34:32 +0000 (13:34 +0100)] 
Add information about non-validating nature of FORWARD policy

8 years agoUse printf instead of echo in scripts/gen-root-hints.sh to avoid echo with parameters.
Vladimír Čunát [Mon, 19 Dec 2016 11:21:29 +0000 (12:21 +0100)] 
Use printf instead of echo in scripts/gen-root-hints.sh to avoid echo with parameters.

8 years agoMerge branch 'update-gitignore' into 'master'
Ondřej Surý [Mon, 19 Dec 2016 12:38:10 +0000 (13:38 +0100)] 
Merge branch 'update-gitignore' into 'master'

Add tests/test_lru to .gitignore

See merge request !104

8 years agoAdd tests/test_lru to .gitignore
Ondřej Surý [Mon, 19 Dec 2016 12:37:41 +0000 (13:37 +0100)] 
Add tests/test_lru to .gitignore

8 years agogen-cdefs.sh: quote the output from gdb and read
Vladimír Čunát [Mon, 19 Dec 2016 11:11:33 +0000 (12:11 +0100)] 
gen-cdefs.sh: quote the output from gdb and read

Just in case.

8 years agoCommit newly generated kres-gen.lua
Ondřej Surý [Mon, 19 Dec 2016 10:38:33 +0000 (11:38 +0100)] 
Commit newly generated kres-gen.lua

8 years agoImprove semicoma at the end of structs formatting
Ondřej Surý [Mon, 19 Dec 2016 10:36:08 +0000 (11:36 +0100)] 
Improve semicoma at the end of structs formatting

8 years agoVarious improvements how we use gdb and sed in gen-cdefs.sh (requires GNU sed)
Ondřej Surý [Mon, 19 Dec 2016 10:26:43 +0000 (11:26 +0100)] 
Various improvements how we use gdb and sed in gen-cdefs.sh (requires GNU sed)

8 years agoRemove bashisms from script/gen-cdefs.sh
Ondřej Surý [Mon, 19 Dec 2016 09:36:26 +0000 (10:36 +0100)] 
Remove bashisms from script/gen-cdefs.sh

8 years agoallow generating most cdefs for lua
Vladimír Čunát [Thu, 15 Dec 2016 15:42:24 +0000 (16:42 +0100)] 
allow generating most cdefs for lua

Motivation: maintaining these by hand in kres.lua is tricky, as just
inserting or reordering the structures can do anything and isn't
detected in general.  For example, `rr_array_t::at` has always
"missed a star".

A couple libknot structure fields have apparently changed name since
the old definitions were written; in most cases I renamed them in *.lua.

The file daemon/lua/kres-gen.lua will be regenerated only if explicitly
deleted.  That requires building with debug symbols and gdb on $PATH.

8 years agoMerge branch 'remove-bashisms' into 'master'
Ondřej Surý [Mon, 19 Dec 2016 09:10:26 +0000 (10:10 +0100)] 
Merge branch 'remove-bashisms' into 'master'

Remove bashism in gen-root-hints.sh script

See merge request !101

8 years agoMerge branch 'lua-http-0.1' into 'master'
Ondřej Surý [Mon, 19 Dec 2016 09:09:52 +0000 (10:09 +0100)] 
Merge branch 'lua-http-0.1' into 'master'

Lua http 0.1

Update module/http to use lua-http 0.1

See merge request !102

8 years agoSpecify lua-http (>= 0.1) in documentations
Ondřej Surý [Mon, 19 Dec 2016 09:08:45 +0000 (10:08 +0100)] 
Specify lua-http (>= 0.1) in documentations