]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
7 years agoDockerfile: the aho-corasick module is now needed
Vladimír Čunát [Thu, 21 Sep 2017 13:57:51 +0000 (15:57 +0200)] 
Dockerfile: the aho-corasick module is now needed

... even if only building

7 years agoMerge !371: FORWARD: don't validate NS in authority section
Vladimír Čunát [Thu, 21 Sep 2017 13:46:13 +0000 (15:46 +0200)] 
Merge !371: FORWARD: don't validate NS in authority section

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

7 years agovalidate: wildcard expansion -> adjust to_wire
Vladimír Čunát [Thu, 21 Sep 2017 11:44:58 +0000 (13:44 +0200)] 
validate: wildcard expansion -> adjust to_wire

We pushed all authority to the wire, but that was unnecessary,
and in particular it clashed with not validating NS in authority when
forwarding (new change).  Let's only apply this to NSEC* RRs.

7 years agoMerge !372: fixes after merge !367: root hints
Vladimír Čunát [Thu, 21 Sep 2017 13:37:10 +0000 (15:37 +0200)] 
Merge !372: fixes after merge !367: root hints

7 years agonitpick: unsigned vs. long makes a difference in printf
Vladimír Čunát [Thu, 21 Sep 2017 09:21:55 +0000 (11:21 +0200)] 
nitpick: unsigned vs. long makes a difference in printf

Sometimes I was getting huge RTT numbers in the output (>4G).

7 years agohints: fix linkage on darwin
Vladimír Čunát [Thu, 21 Sep 2017 07:32:39 +0000 (09:32 +0200)] 
hints: fix linkage on darwin

It's not very nice that this symbol used in hints.so is defined in
sbin/kresd, but it touches the daemon structures and thus doesn't
really belong into libkres.

7 years agoengine: nitpicks around loading root hints
Vladimír Čunát [Thu, 21 Sep 2017 08:51:37 +0000 (10:51 +0200)] 
engine: nitpicks around loading root hints

"lua_" in name is not appropriate, as the function does no lua stuff
anymore, so let's unify it to "engine_".

7 years agonitpick: unused-variable since !367 (cac9e018c3)
Vladimír Čunát [Thu, 21 Sep 2017 08:09:34 +0000 (10:09 +0200)] 
nitpick: unused-variable since !367 (cac9e018c3)

7 years agovalidate: improve verbose messages
Vladimír Čunát [Wed, 20 Sep 2017 08:45:39 +0000 (10:45 +0200)] 
validate: improve verbose messages

Next time it will be directly visible what record fails to validate,
which was the most time-expensive part when creating the parent commit.

7 years agoFORWARD: don't validate NS in authority section
Vladimír Čunát [Tue, 19 Sep 2017 13:43:03 +0000 (15:43 +0200)] 
FORWARD: don't validate NS in authority section

Fixes https://gitlab.labs.nic.cz/knot/knot-resolver/issues/248
Some (exotic?) resolvers add extra NS records but doesn't provide
signatures for them even though we ask with +dnssec +cd.
That lead to validation errors.  Current example server: 198.101.242.72
Let's not try to validate them when FORWARDing, as we won't most likely
need those records anyway (contrary to iteration mode).

7 years agoMerge !367: roothints: load from zonefile
Vladimír Čunát [Tue, 19 Sep 2017 14:15:15 +0000 (16:15 +0200)] 
Merge !367: roothints: load from zonefile

7 years agoMerge !370: make: link gnutls into libkres
Vladimír Čunát [Tue, 12 Sep 2017 13:49:58 +0000 (15:49 +0200)] 
Merge !370: make: link gnutls into libkres

7 years agomake: link gnutls into libkres
Vladimír Čunát [Tue, 12 Sep 2017 13:14:16 +0000 (15:14 +0200)] 
make: link gnutls into libkres

It's needed after the parent merge (sometimes, e.g. on macos).
We always depended on it through libdnssec, so it's no real difference.

7 years agoMerge !369: gnutls logging improvements
Vladimír Čunát [Tue, 12 Sep 2017 11:54:42 +0000 (13:54 +0200)] 
Merge !369: gnutls logging improvements

7 years agognutls logging improvements
Vladimír Čunát [Tue, 12 Sep 2017 11:45:30 +0000 (13:45 +0200)] 
gnutls logging improvements

- move it to utils.c, so it's sensitive to later changes in verbosity
- don't mark the lines with [tls], as they may come through libdnssec
- use stdout like other verbose messages, instead of stderr (real errors)

7 years agoroothints: various changes
Vladimír Čunát [Mon, 11 Sep 2017 16:38:42 +0000 (18:38 +0200)] 
roothints: various changes

- expose the function as hints.root_file
- use the same filename as Debian
- remove the unneeded script
- docs and some nitpicks

7 years agoMerge branch 'max-resolve-time' into 'master'
Petr Špaček [Mon, 11 Sep 2017 10:55:54 +0000 (12:55 +0200)] 
Merge branch 'max-resolve-time' into 'master'

Limit maximal resolution time

Closes #241

See merge request !368

7 years agolib/resolve: optimazlization of resolution overall time checking
Grigorii Demidov [Mon, 11 Sep 2017 08:55:19 +0000 (10:55 +0200)] 
lib/resolve: optimazlization of resolution overall time checking

7 years agoroothints: load from zonefile
Vitezslav Kriz [Thu, 7 Sep 2017 14:29:18 +0000 (16:29 +0200)] 
roothints: load from zonefile

7 years agolib: additional checks when overall resolution time of single query is checked
Grigorii Demidov [Thu, 7 Sep 2017 13:09:24 +0000 (15:09 +0200)] 
lib: additional checks when overall resolution time of single query is checked

7 years agolib: support of an upper limit for resolution time of single query
Grigorii Demidov [Thu, 7 Sep 2017 12:07:13 +0000 (14:07 +0200)] 
lib: support of an upper limit for resolution time of single query

7 years agoMerge !366: worker: disable assert we can't fix immediately
Vladimír Čunát [Thu, 7 Sep 2017 09:11:02 +0000 (11:11 +0200)] 
Merge !366: worker: disable assert we can't fix immediately

7 years agoworker: disable assertion that we can't fix immediately
Vladimír Čunát [Thu, 7 Sep 2017 09:04:06 +0000 (11:04 +0200)] 
worker: disable assertion that we can't fix immediately

Production kresd should compile with -DNDEBUG, so it wouldn't be
affected by this, but it was annoying for debugging other problems.
See https://gitlab.labs.nic.cz/knot/knot-resolver/issues/245

7 years agoMerge !362: LMDB fixes - transactions and cache.clear()
Vladimír Čunát [Wed, 6 Sep 2017 13:45:09 +0000 (15:45 +0200)] 
Merge !362: LMDB fixes - transactions and cache.clear()

7 years agoNEWS: entry for this branch
Vladimír Čunát [Wed, 6 Sep 2017 13:28:39 +0000 (15:28 +0200)] 
NEWS: entry for this branch

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

7 years agocache: nitpicks
Vladimír Čunát [Mon, 4 Sep 2017 12:57:09 +0000 (14:57 +0200)] 
cache: nitpicks

7 years agocache.clear() on LMDB: be more strict about transactions
Vladimír Čunát [Mon, 4 Sep 2017 12:48:41 +0000 (14:48 +0200)] 
cache.clear() on LMDB: be more strict about transactions

In particular, don't keep even a reset read-only transaction.
This doesn't help with that MDB_BAD_TXN, but still it seems better.

7 years agocache.clear() on LMDB: simplify .cachelock
Vladimír Čunát [Mon, 4 Sep 2017 12:22:50 +0000 (14:22 +0200)] 
cache.clear() on LMDB: simplify .cachelock

The locking was done incorrectly - the copied text from man open(2)
suggested creating a *unique* file and linking that one to the lockfile.
Anyway, I don't think we need to support cache on NFSv3 on old kernels ;-)

7 years agoMerge !364: doc/build: fix another instance of the old link
Vladimír Čunát [Mon, 4 Sep 2017 11:49:17 +0000 (13:49 +0200)] 
Merge !364: doc/build: fix another instance of the old link

7 years agodoc/build: fix another instance of the old link
Vladimír Čunát [Mon, 4 Sep 2017 11:42:01 +0000 (13:42 +0200)] 
doc/build: fix another instance of the old link

7 years agoMerge !363: README: Fix homepage/download link
Vladimír Čunát [Mon, 4 Sep 2017 11:37:51 +0000 (13:37 +0200)] 
Merge !363: README: Fix homepage/download link

7 years agoFix homepage/download link in README
helb [Mon, 4 Sep 2017 11:24:01 +0000 (13:24 +0200)] 
Fix homepage/download link in README

Homepage link was broken – https://www.knot-resolver.cz/pages/try.html returns 404 (moved to /download during website redesign)

7 years agocache.clear() on LMDB: first try mdb_drop()
Vladimír Čunát [Mon, 4 Sep 2017 10:51:47 +0000 (12:51 +0200)] 
cache.clear() on LMDB: first try mdb_drop()

It's certainly a cleaner way.

7 years agocache: handle LMDB resize by another process
Vladimír Čunát [Fri, 1 Sep 2017 15:11:31 +0000 (17:11 +0200)] 
cache: handle LMDB resize by another process

kresd never handled it.  It's perhaps a rare occasion when different
instances (attempt to) set different cache sizes.

7 years agodocs: purge long-dead cache API from an example
Vladimír Čunát [Fri, 1 Sep 2017 15:40:36 +0000 (17:40 +0200)] 
docs: purge long-dead cache API from an example

7 years agocache: rework reusing transactions (LMDB)
Vladimír Čunát [Fri, 1 Sep 2017 13:33:30 +0000 (15:33 +0200)] 
cache: rework reusing transactions (LMDB)

Previously a read transaction could be held open by each fork
indefinitely.  That was done for better speed, but it had a downside
of keeping old pages alive and potentially reading only old data,
until some writes were attempted by that fork.

Now kr_cache_ provides explicit API for suitable points where to break
transactions, reusing the _sync command.  On LMDB side the read-only
transaction is only reset and later renewed, supposedly giving better
performance than aborting (see LMDB docs on reset+renew).

Performance: preliminary testing with two forks, resperf on comcast
query-set shows no noticeable difference in peak QPS.

7 years agoMerge !361: main ipc_activity: misc improvements
Vladimír Čunát [Fri, 1 Sep 2017 13:50:36 +0000 (15:50 +0200)] 
Merge !361: main ipc_activity: misc improvements

Fixes #150.

7 years agoMerge branch 'ci-valgrind' into 'master'
Petr Špaček [Thu, 31 Aug 2017 11:32:53 +0000 (13:32 +0200)] 
Merge branch 'ci-valgrind' into 'master'

Run unittests in CI under Valgrind memcheck

See merge request !353

7 years agoCheck for memory leaks during unittest CI using valgrind
Štěpán Kotek [Wed, 30 Aug 2017 09:06:11 +0000 (11:06 +0200)] 
Check for memory leaks during unittest CI using valgrind

New ci task has been added that checks for possible memory leaks when running unittests. Messages from valgrind are displayed only when leak is detected.
refs #227

7 years agoAdd dockerfile for valgrind ci tests.
Štěpán Kotek [Tue, 29 Aug 2017 11:31:39 +0000 (13:31 +0200)] 
Add dockerfile for valgrind ci tests.

7 years agomain ipc_activity: close and free handle on error
Vitezslav Kriz [Tue, 29 Aug 2017 10:08:48 +0000 (12:08 +0200)] 
main ipc_activity: close and free handle on error

7 years agomain ipc_activity: misc improvements
Vladimír Čunát [Thu, 24 Aug 2017 11:59:01 +0000 (13:59 +0200)] 
main ipc_activity: misc improvements

Stop IPC after getting an error.  One point is the situation when one
of the forks ends for some reason, which lead to problems.
Another point is pipes getting out of sync.

Smaller changes:
- don't free the handle while it's still half-in-use
- don't fully panic here because of ENOMEM, just stop IPC

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

7 years agomain ipc_activity: use goto to simplify nesting
Vladimír Čunát [Thu, 24 Aug 2017 11:50:51 +0000 (13:50 +0200)] 
main ipc_activity: use goto to simplify nesting

7 years agoMerge branch 'ci-clone-workaround' into 'master'
Petr Špaček [Wed, 23 Aug 2017 15:07:52 +0000 (17:07 +0200)] 
Merge branch 'ci-clone-workaround' into 'master'

Gitlab bug workaround: use git:// protocol for submodules

See merge request !360

7 years agoci: update Deckard to use newest resolver test suite
Petr Špaček [Wed, 23 Aug 2017 14:18:02 +0000 (16:18 +0200)] 
ci: update Deckard to use newest resolver test suite

Besides other things, this version of Deckard has new DNSSEC tests and
includes workaround for Gitlab CI submodule checkout.

7 years agoci: use git:// protocol for external submodules
Petr Špaček [Wed, 23 Aug 2017 13:39:23 +0000 (15:39 +0200)] 
ci: use git:// protocol for external submodules

This is workaround for
https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/issues/2148

Given the fact we only read it, and the fact that commit ID is stored
inside our repo, it should not bring any new security problems.

7 years agoMerge branch 'cache_error_reporting' into 'master'
Petr Špaček [Wed, 23 Aug 2017 11:45:21 +0000 (13:45 +0200)] 
Merge branch 'cache_error_reporting' into 'master'

daemon: improve error reporting related to cache configuration

See merge request !359

7 years agodaemon: improve error reporting related to cache configuration
Petr Špaček [Tue, 22 Aug 2017 16:20:21 +0000 (18:20 +0200)] 
daemon: improve error reporting related to cache configuration

Confusion related to wrong cache configuration is more frequent than it
should be. Hopefully this will enable users to help themselves.

7 years agoMerge !356: doc: fix default for net.tcp_pipeline
Vladimír Čunát [Fri, 18 Aug 2017 09:26:35 +0000 (11:26 +0200)] 
Merge !356: doc: fix default for net.tcp_pipeline

7 years agodoc: fix default for net.tcp_pipeline
Vladimír Čunát [Fri, 18 Aug 2017 09:21:12 +0000 (11:21 +0200)] 
doc: fix default for net.tcp_pipeline

8 years agoMerge !355: CI fixes
Vladimír Čunát [Tue, 15 Aug 2017 15:21:01 +0000 (17:21 +0200)] 
Merge !355: CI fixes

8 years agogitlab-ci: employ GIT_SUBMODULE_STRATEGY: recursive
Vladimír Čunát [Tue, 15 Aug 2017 14:55:47 +0000 (16:55 +0200)] 
gitlab-ci: employ GIT_SUBMODULE_STRATEGY: recursive

8 years agogitlab-ci: fallout from !352
Vladimír Čunát [Tue, 15 Aug 2017 14:39:13 +0000 (16:39 +0200)] 
gitlab-ci: fallout from !352

- don't have pyyaml twice
- don't install for python3 (for now), just as with other modules

8 years agodeckard: update, mainly to fix outdated RRSIG
Vladimír Čunát [Tue, 15 Aug 2017 14:37:47 +0000 (16:37 +0200)] 
deckard: update, mainly to fix outdated RRSIG

8 years agoMerge !337: policy.suffix: update the aho-corasick code
Vladimír Čunát [Tue, 15 Aug 2017 14:21:43 +0000 (16:21 +0200)] 
Merge !337: policy.suffix: update the aho-corasick code

Close https://gitlab.labs.nic.cz/knot/knot-resolver/issues/200.

8 years agoMerge branch 'master' into aho-corasick
Vladimír Čunát [Tue, 15 Aug 2017 14:12:12 +0000 (16:12 +0200)] 
Merge branch 'master' into aho-corasick

... to resolve some simple conflicts.

8 years agoMerge branch 'fix-deckard-ci' into 'master'
Petr Špaček [Tue, 15 Aug 2017 12:09:31 +0000 (14:09 +0200)] 
Merge branch 'fix-deckard-ci' into 'master'

Install yaml for deckard CI.

See merge request !352

8 years agoInstall yaml for deckard CI.
Štěpán Kotek [Tue, 15 Aug 2017 12:04:48 +0000 (14:04 +0200)] 
Install yaml for deckard CI.

8 years agoMerge branch 'flags-refactor' into 'master'
Petr Špaček [Thu, 10 Aug 2017 09:58:23 +0000 (11:58 +0200)] 
Merge branch 'flags-refactor' into 'master'

refactor query flags

See merge request !341

8 years agoMerge !351: Dockerfile: try fixing the build
Vladimír Čunát [Wed, 9 Aug 2017 16:32:23 +0000 (18:32 +0200)] 
Merge !351: Dockerfile: try fixing the build

8 years agobootstrap-depends.sh: update packages
Vladimír Čunát [Wed, 9 Aug 2017 15:28:26 +0000 (17:28 +0200)] 
bootstrap-depends.sh: update packages

8 years agoDockerfile: try fixing the build
Vladimír Čunát [Wed, 9 Aug 2017 15:19:29 +0000 (17:19 +0200)] 
Dockerfile: try fixing the build

The bad xxd didn't happen to me locally :-/

8 years agoMerge branch 'master' into flags-refactor
Vladimír Čunát [Wed, 9 Aug 2017 14:28:36 +0000 (16:28 +0200)] 
Merge branch 'master' into flags-refactor

There were just simple conflicts in NEWS and docs.

8 years agoMerge !350: Release 1.3.3 v1.3.3
Vladimír Čunát [Wed, 9 Aug 2017 12:19:39 +0000 (14:19 +0200)] 
Merge !350: Release 1.3.3

8 years agogitlab CI: try to fix it
Vladimír Čunát [Wed, 9 Aug 2017 09:27:53 +0000 (11:27 +0200)] 
gitlab CI: try to fix it

8 years agorelease 1.3.3
Vladimír Čunát [Wed, 9 Aug 2017 08:23:47 +0000 (10:23 +0200)] 
release 1.3.3

8 years agodoc: fix a RST syntax error
Vladimír Čunát [Wed, 9 Aug 2017 08:23:06 +0000 (10:23 +0200)] 
doc: fix a RST syntax error

8 years agoMerge a critical security fix
Vladimír Čunát [Wed, 9 Aug 2017 08:38:10 +0000 (10:38 +0200)] 
Merge a critical security fix

8 years agoMerge !349: modules/http: fix compatibility with Prometheus
Vladimír Čunát [Tue, 8 Aug 2017 08:26:02 +0000 (10:26 +0200)] 
Merge !349: modules/http: fix compatibility with Prometheus

https://github.com/CZ-NIC/knot-resolver/pull/48

8 years agoNEWS: add parent commit
Vladimír Čunát [Tue, 8 Aug 2017 08:20:57 +0000 (10:20 +0200)] 
NEWS: add parent commit

8 years agomodules/http: fix compatibility with the Prometheus text format
Marek Vavruša [Tue, 8 Aug 2017 05:00:32 +0000 (22:00 -0700)] 
modules/http: fix compatibility with the Prometheus text format

The Prometheus text format requires histogram parameters to be quoted,
and the result to end with an empty newline characted.

8 years agoMerge !348: utils: silence a coverity warning
Vladimír Čunát [Mon, 7 Aug 2017 08:36:02 +0000 (10:36 +0200)] 
Merge !348: utils: silence a coverity warning

8 years agoutils: silence a coverity warning
Vladimír Čunát [Mon, 7 Aug 2017 08:26:18 +0000 (10:26 +0200)] 
utils: silence a coverity warning

There's no real change, as the function is documented to possibly
return only zero or one in this case.

8 years agoMerge !347: utils: fix seeding of the random generator
Vladimír Čunát [Fri, 4 Aug 2017 12:15:30 +0000 (14:15 +0200)] 
Merge !347: utils: fix seeding of the random generator

8 years agoutils: fix seeding of the random generator
Vladimír Čunát [Fri, 4 Aug 2017 06:22:51 +0000 (08:22 +0200)] 
utils: fix seeding of the random generator

If the fread didn't read all in one go, the buffer was being repeatedly
overwritten from the start instead of continuing the read :-/
I also changed the overall approach in some respects.

8 years agodnssec: make a function static (unused outside)
Vladimír Čunát [Thu, 3 Aug 2017 12:39:50 +0000 (14:39 +0200)] 
dnssec: make a function static (unused outside)

8 years agodnssec: guard against out-of-bailiwick signatures
Vladimír Čunát [Thu, 3 Aug 2017 11:55:04 +0000 (13:55 +0200)] 
dnssec: guard against out-of-bailiwick signatures

8 years agoMerge !346: kr_rand_uint: nitpicks
Vladimír Čunát [Thu, 3 Aug 2017 13:23:43 +0000 (15:23 +0200)] 
Merge !346: kr_rand_uint: nitpicks

8 years agokr_rand_uint: nitpicks
Vladimír Čunát [Thu, 3 Aug 2017 12:59:48 +0000 (14:59 +0200)] 
kr_rand_uint: nitpicks

- the returned value is up to max-1 and not max (tiny bias)
- improve efficiency slightly
- unsigned -> uint32_t, as that's the range it supports (mostly equal)

8 years agoMerge !343: iterate: remove counter-productive validation
Vladimír Čunát [Thu, 3 Aug 2017 08:41:35 +0000 (10:41 +0200)] 
Merge !343: iterate: remove counter-productive validation

8 years agolayer/iterate: remove counter-productive validation
Grigorii Demidov [Wed, 2 Aug 2017 16:13:49 +0000 (18:13 +0200)] 
layer/iterate: remove counter-productive validation

... functionality from iterator: don't fail immediately if actual number
of labels in owner name exceeds number in label field of RRSIG rrset

8 years agoMerge branch 'ci-respdiff' into 'master'
Petr Špaček [Wed, 2 Aug 2017 18:45:00 +0000 (20:45 +0200)] 
Merge branch 'ci-respdiff' into 'master'

CI: integrate respdiff v2 into gitlab-ci

See merge request !345

8 years agoCI: migrate to respdiff v2
Stepan Kotek [Wed, 2 Aug 2017 10:42:01 +0000 (12:42 +0200)] 
CI: migrate to respdiff v2

All resolvers are configured as recursors (no forwarding).
We should extend testing so we can test recursion and forwarding at the
same time.

List of queries is taken dynamically from
https://gitlab.labs.nic.cz/knot/knot-resolver/snippets/69
This will likely change in future.

The test will fail if mismatch rate >= 1 %.
This is error margin for network instability and few possibly broken upstreams
in the test list.

8 years agoMerge branch 'ci-deckard' into 'master'
Petr Špaček [Wed, 2 Aug 2017 17:25:22 +0000 (19:25 +0200)] 
Merge branch 'ci-deckard' into 'master'

CI: update Deckard to use newest resolver test suite

See merge request !344

8 years agoCI: update Deckard to use newest resolver test suite
Petr Špaček [Wed, 2 Aug 2017 17:17:42 +0000 (19:17 +0200)] 
CI: update Deckard to use newest resolver test suite

8 years agoMerge !325: policy: more/better special-use domain names
Vladimír Čunát [Wed, 2 Aug 2017 15:41:51 +0000 (17:41 +0200)] 
Merge !325: policy: more/better special-use domain names

8 years agoNEWS: changes in this branch
Vladimír Čunát [Wed, 2 Aug 2017 14:59:14 +0000 (16:59 +0200)] 
NEWS: changes in this branch

8 years agoMerge branch 'master' into policy-reserved-domains
Vladimír Čunát [Wed, 2 Aug 2017 14:48:21 +0000 (16:48 +0200)] 
Merge branch 'master' into policy-reserved-domains

8 years agoMerge !342: make: revert adding -rpath by default
Vladimír Čunát [Wed, 2 Aug 2017 14:29:21 +0000 (16:29 +0200)] 
Merge !342: make: revert adding -rpath by default

8 years agomake: revert adding -rpath by default
Vladimír Čunát [Wed, 2 Aug 2017 14:23:19 +0000 (16:23 +0200)] 
make: revert adding -rpath by default

This reverts commits 89ebf5293 and 1d8b5706cd.
I didn't realize that setting rpath is considered bad practice by most
distributions.  I'm really "spoiled" by nix(pkgs/os).

8 years agopolicy docs: rework it all
Vladimír Čunát [Wed, 2 Aug 2017 09:31:12 +0000 (11:31 +0200)] 
policy docs: rework it all

- greatly reduce duplication - mainly actions and filters that were
described on two separate places
- try to improve readability etc.

8 years agohints docs: clean a bit, note interaction with policies
Vladimír Čunát [Wed, 2 Aug 2017 08:31:04 +0000 (10:31 +0200)] 
hints docs: clean a bit, note interaction with policies

8 years agolua: remove :nslist from kr_query_t
Vladimír Čunát [Tue, 1 Aug 2017 16:38:42 +0000 (18:38 +0200)] 
lua: remove :nslist from kr_query_t

It was rather low-level anyway.

8 years agolua: remove :final from kr_query_t
Vladimír Čunát [Tue, 1 Aug 2017 16:35:30 +0000 (18:35 +0200)] 
lua: remove :final from kr_query_t

8 years agolua: remove some compatibility code
Vladimír Čunát [Tue, 1 Aug 2017 16:15:52 +0000 (18:15 +0200)] 
lua: remove some compatibility code

8 years agoqflags refactor: NEWS entry, ABI bump
Vladimír Čunát [Wed, 26 Apr 2017 10:59:26 +0000 (12:59 +0200)] 
qflags refactor: NEWS entry, ABI bump

8 years agokr_qflags: don't use X-macros anymore
Vladimír Čunát [Wed, 26 Apr 2017 09:39:23 +0000 (11:39 +0200)] 
kr_qflags: don't use X-macros anymore

We no longer need it and it's just confusing,
e.g. the bit assignments were ignored now.

8 years agoqflags: WIP refactor - lua-related fixups
Vladimír Čunát [Tue, 25 Apr 2017 19:00:53 +0000 (21:00 +0200)] 
qflags: WIP refactor - lua-related fixups

8 years agoqflags: WIP refactor - reimplement option() in lua
Vladimír Čunát [Tue, 25 Apr 2017 15:59:49 +0000 (17:59 +0200)] 
qflags: WIP refactor - reimplement option() in lua

8 years agoqflags: WIP refactor - hand-replace complex cases
Vladimír Čunát [Tue, 25 Apr 2017 12:56:48 +0000 (14:56 +0200)] 
qflags: WIP refactor - hand-replace complex cases