]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
10 years agobuild: added executables to .gitignore
Marek Vavruša [Fri, 17 Apr 2015 15:08:59 +0000 (17:08 +0200)] 
build: added executables to .gitignore

10 years agobuild: removed outdated autotools files
Marek Vavruša [Fri, 17 Apr 2015 15:08:41 +0000 (17:08 +0200)] 
build: removed outdated autotools files

10 years agodoc: updated library doc
Marek Vavruša [Wed, 15 Apr 2015 20:12:37 +0000 (22:12 +0200)] 
doc: updated library doc

10 years agotests: added tests for _mm functions
Marek Vavruša [Wed, 15 Apr 2015 19:32:43 +0000 (21:32 +0200)] 
tests: added tests for _mm functions

10 years agodoc: added pack
Marek Vavruša [Wed, 15 Apr 2015 19:01:54 +0000 (21:01 +0200)] 
doc: added pack

10 years agoMerge branch 'generic_pack'
Marek Vavruša [Wed, 15 Apr 2015 18:54:43 +0000 (20:54 +0200)] 
Merge branch 'generic_pack'

10 years agolib/generic: new data structure - packed list
Marek Vavruša [Wed, 15 Apr 2015 13:49:32 +0000 (15:49 +0200)] 
lib/generic: new data structure - packed list

10 years agobuild: added another possible name for lua package
Karel Slany [Wed, 15 Apr 2015 14:14:03 +0000 (16:14 +0200)] 
build: added another possible name for lua package

On FreeBSD the lua package was not detected. (Tested on 9.3 and 10.1).

10 years agolib/generic: changed map alloc callbacks signature
Marek Vavruša [Wed, 15 Apr 2015 13:49:09 +0000 (15:49 +0200)] 
lib/generic: changed map alloc callbacks signature

10 years agodoc: removed u8 circled numbers
Marek Vavruša [Tue, 14 Apr 2015 13:39:28 +0000 (15:39 +0200)] 
doc: removed u8 circled numbers

10 years agoreadme: status for master branch
Marek Vavruša [Tue, 14 Apr 2015 12:34:55 +0000 (14:34 +0200)] 
readme: status for master branch

10 years agodoc: added @cond and updated readme
Marek Vavruša [Mon, 13 Apr 2015 20:48:51 +0000 (22:48 +0200)] 
doc: added @cond and updated readme

10 years agodoc: specific version of breathe, as 4.0 fails to build
Marek Vavruša [Sun, 12 Apr 2015 20:21:44 +0000 (22:21 +0200)] 
doc: specific version of breathe, as 4.0 fails to build

10 years agoreadme: added doc badge
Marek Vavruša [Sun, 12 Apr 2015 20:03:58 +0000 (22:03 +0200)] 
readme: added doc badge

10 years agoMerge branch 'config_documentation'
Marek Vavruša [Sun, 12 Apr 2015 19:57:44 +0000 (21:57 +0200)] 
Merge branch 'config_documentation'

10 years agodoc: default template the same as on rtd
Marek Vavruša [Sun, 12 Apr 2015 19:57:01 +0000 (21:57 +0200)] 
doc: default template the same as on rtd

10 years agodoc/modules: updated modules documentation
Marek Vavruša [Sun, 12 Apr 2015 19:56:49 +0000 (21:56 +0200)] 
doc/modules: updated modules documentation

extracted part about writing layers to lib documentation

10 years agodoc/daemon: written config documentation
Marek Vavruša [Sun, 12 Apr 2015 19:56:08 +0000 (21:56 +0200)] 
doc/daemon: written config documentation

10 years agodoc/lib: updated library doc
Marek Vavruša [Sun, 12 Apr 2015 19:55:20 +0000 (21:55 +0200)] 
doc/lib: updated library doc

10 years agodoc: updated build and index hierarchy
Marek Vavruša [Sun, 12 Apr 2015 19:54:50 +0000 (21:54 +0200)] 
doc: updated build and index hierarchy

10 years agodaemon/lua: kB/MB/GB in env, net.iface sugar, env
Marek Vavruša [Sun, 12 Apr 2015 19:53:23 +0000 (21:53 +0200)] 
daemon/lua: kB/MB/GB in env, net.iface sugar, env

10 years agoreadme: unified badges
Marek Vavruša [Sun, 12 Apr 2015 19:52:14 +0000 (21:52 +0200)] 
readme: unified badges

10 years agobindings/cache: size() -> count(), simpler open()
Marek Vavruša [Sun, 12 Apr 2015 19:51:49 +0000 (21:51 +0200)] 
bindings/cache: size() -> count(), simpler open()

10 years agobindings/net: support for listening on address list / interface
Marek Vavruša [Sun, 12 Apr 2015 19:51:16 +0000 (21:51 +0200)] 
bindings/net: support for listening on address list / interface

10 years agoMerge branch 'fix_sandbox_lua52'
Marek Vavruša [Sun, 12 Apr 2015 19:50:19 +0000 (21:50 +0200)] 
Merge branch 'fix_sandbox_lua52'

10 years agoengine: asynchronous start to prevent leaking of messages
Marek Vavruša [Sun, 12 Apr 2015 19:49:40 +0000 (21:49 +0200)] 
engine: asynchronous start to prevent leaking of messages

10 years agoengine: added ‘hostname()’ to Lua engine
Marek Vavruša [Sun, 12 Apr 2015 19:49:12 +0000 (21:49 +0200)] 
engine: added ‘hostname()’ to Lua engine

10 years agodaemon: check if rundir is writeable
Marek Vavruša [Sun, 12 Apr 2015 19:48:51 +0000 (21:48 +0200)] 
daemon: check if rundir is writeable

10 years agoengine: fixed sandbox for Lua 5.2+
Marek Vavruša [Sun, 12 Apr 2015 19:48:29 +0000 (21:48 +0200)] 
engine: fixed sandbox for Lua 5.2+

10 years agoMerge branch 'fix_module_load_return'
Marek Vavruša [Sun, 12 Apr 2015 19:46:41 +0000 (21:46 +0200)] 
Merge branch 'fix_module_load_return'

10 years agolib: lower timeout to 5s
Marek Vavruša [Sun, 12 Apr 2015 19:44:56 +0000 (21:44 +0200)] 
lib: lower timeout to 5s

10 years agorplan: do not reinit structure on deinit
Marek Vavruša [Sun, 12 Apr 2015 19:44:45 +0000 (21:44 +0200)] 
rplan: do not reinit structure on deinit

10 years agomodule: require apiver for every module
Marek Vavruša [Sun, 12 Apr 2015 19:44:29 +0000 (21:44 +0200)] 
module: require apiver for every module

10 years agobuildsystem: Added file permissions to installed header files.
Karel Slany [Fri, 10 Apr 2015 10:53:39 +0000 (12:53 +0200)] 
buildsystem: Added file permissions to installed header files.

Headers were installed with executable flag set on Linux.

10 years agostyle: Encapsulated REGISTER_MODULE_CALL definition into 'do { } while(0)'.
Karel Slany [Fri, 10 Apr 2015 10:51:35 +0000 (12:51 +0200)] 
style: Encapsulated REGISTER_MODULE_CALL definition into 'do { } while(0)'.

10 years agostyle: Moved structure declaration curly braces.
Karel Slany [Fri, 10 Apr 2015 10:50:11 +0000 (12:50 +0200)] 
style: Moved structure declaration curly braces.

10 years agostyle: Added missing copyright and licensing statements.
Karel Slany [Fri, 10 Apr 2015 10:49:07 +0000 (12:49 +0200)] 
style: Added missing copyright and licensing statements.

10 years agostyle: Fixed indentation and removed trailing white spaces in C code.
Karel Slany [Fri, 10 Apr 2015 10:46:37 +0000 (12:46 +0200)] 
style: Fixed indentation and removed trailing white spaces in C code.

10 years agoMerge branch 'coverity_badge'
Marek Vavruša [Fri, 10 Apr 2015 09:24:46 +0000 (11:24 +0200)] 
Merge branch 'coverity_badge'

10 years agodoc: added coverity badge and updated documentation
Marek Vavruša [Fri, 10 Apr 2015 09:24:34 +0000 (11:24 +0200)] 
doc: added coverity badge and updated documentation

10 years agobuild: moved tests.*.mk to tests/
Marek Vavruša [Fri, 10 Apr 2015 09:24:15 +0000 (11:24 +0200)] 
build: moved tests.*.mk to tests/

10 years agobuild: added python and xxd to Dockerfile
Marek Vavruša [Thu, 9 Apr 2015 08:34:12 +0000 (10:34 +0200)] 
build: added python and xxd to Dockerfile

10 years agoMerge branch 'test_cache_null'
Marek Vavruša [Wed, 8 Apr 2015 22:54:21 +0000 (00:54 +0200)] 
Merge branch 'test_cache_null'

10 years agotests: more null-checks and time skip test
Marek Vavruša [Wed, 8 Apr 2015 22:54:12 +0000 (00:54 +0200)] 
tests: more null-checks and time skip test

10 years agoMerge branch 'test_lame_root'
Marek Vavruša [Wed, 8 Apr 2015 22:37:31 +0000 (00:37 +0200)] 
Merge branch 'test_lame_root'

10 years agotest: lame root server test
Marek Vavruša [Wed, 8 Apr 2015 22:37:15 +0000 (00:37 +0200)] 
test: lame root server test

10 years agobuild: clean auto-append pip debug.log
Marek Vavruša [Wed, 8 Apr 2015 22:30:01 +0000 (00:30 +0200)] 
build: clean auto-append pip debug.log

10 years agobuild: do not rewrite lua.pc for bootstrapped Lua
Marek Vavruša [Wed, 8 Apr 2015 22:14:23 +0000 (00:14 +0200)] 
build: do not rewrite lua.pc for bootstrapped Lua

10 years agoMerge branch 'lua_travis'
Marek Vavruša [Wed, 8 Apr 2015 22:12:05 +0000 (00:12 +0200)] 
Merge branch 'lua_travis'

10 years agobuild: disabled parallel build for generic depends
Marek Vavruša [Wed, 8 Apr 2015 22:02:18 +0000 (00:02 +0200)] 
build: disabled parallel build for generic depends

10 years agobuild: added Lua to Dockerfile
Marek Vavruša [Wed, 8 Apr 2015 21:56:30 +0000 (23:56 +0200)] 
build: added Lua to Dockerfile

10 years agobuild: added Lua to depends
Marek Vavruša [Wed, 8 Apr 2015 21:54:55 +0000 (23:54 +0200)] 
build: added Lua to depends

10 years agoMerge branch 'lua_interpreter'
Marek Vavruša [Wed, 8 Apr 2015 15:46:07 +0000 (17:46 +0200)] 
Merge branch 'lua_interpreter'

10 years agodaemon/lua: interpreter is able to pretty-print expressions and results
Marek Vavruša [Wed, 8 Apr 2015 15:45:53 +0000 (17:45 +0200)] 
daemon/lua: interpreter is able to pretty-print expressions and results

10 years agodaemon: all Lua bindings return
Marek Vavruša [Wed, 8 Apr 2015 15:45:30 +0000 (17:45 +0200)] 
daemon: all Lua bindings return

10 years agoMerge branch 'lua_sandbox'
Marek Vavruša [Wed, 8 Apr 2015 15:44:08 +0000 (17:44 +0200)] 
Merge branch 'lua_sandbox'

10 years agodaemon/build: removed bytecode compilation, as the result is version-specific
Marek Vavruša [Wed, 8 Apr 2015 14:45:49 +0000 (16:45 +0200)] 
daemon/build: removed bytecode compilation, as the result is version-specific

10 years agodaemon: unified Lua version checks
Marek Vavruša [Wed, 8 Apr 2015 14:22:44 +0000 (16:22 +0200)] 
daemon: unified Lua version checks

10 years agodaemon/engine: support for sandboxing pcalls
Marek Vavruša [Wed, 8 Apr 2015 14:22:30 +0000 (16:22 +0200)] 
daemon/engine: support for sandboxing pcalls

10 years agobuild: compile Lua bytecode for embedded code
Marek Vavruša [Wed, 8 Apr 2015 14:21:24 +0000 (16:21 +0200)] 
build: compile Lua bytecode for embedded code

10 years agoreadme: coverage badge
Marek Vavruša [Thu, 2 Apr 2015 07:37:41 +0000 (09:37 +0200)] 
readme: coverage badge

10 years agoreadme: fixed links
Marek Vavruša [Thu, 2 Apr 2015 07:36:37 +0000 (09:36 +0200)] 
readme: fixed links

10 years agodaemon/io: tcp cleanup
Marek Vavruša [Wed, 1 Apr 2015 15:09:02 +0000 (17:09 +0200)] 
daemon/io: tcp cleanup

10 years agodaemon/lua: disabled syntactic sugar, as the getenvf is not in Lua 5.2
Marek Vavruša [Wed, 1 Apr 2015 14:29:29 +0000 (16:29 +0200)] 
daemon/lua: disabled syntactic sugar, as the getenvf is not in Lua 5.2

10 years agodaemon: fixed Lua 5.2
Marek Vavruša [Wed, 1 Apr 2015 14:17:30 +0000 (16:17 +0200)] 
daemon: fixed Lua 5.2

10 years agobuild: fixed relocated Knot github repo
Marek Vavruša [Wed, 1 Apr 2015 07:59:13 +0000 (09:59 +0200)] 
build: fixed relocated Knot github repo

10 years agobuild: updated readme
Marek Vavruša [Wed, 1 Apr 2015 07:44:24 +0000 (09:44 +0200)] 
build: updated readme

10 years agoMerge branch 'lua_config'
Marek Vavruša [Tue, 31 Mar 2015 20:49:16 +0000 (22:49 +0200)] 
Merge branch 'lua_config'

10 years agodaemon/bindings: implemented ‘net’ operations
Marek Vavruša [Tue, 31 Mar 2015 20:48:47 +0000 (22:48 +0200)] 
daemon/bindings: implemented ‘net’ operations

allows:
net.listen(ip, port)
net.close(ip, port)
net.list() =>
  { addr = { port = int, udp = bool, tcp = bool }, … }

10 years agodaemon/lua: made ‘modules’ append-only
Marek Vavruša [Tue, 31 Mar 2015 20:47:52 +0000 (22:47 +0200)] 
daemon/lua: made ‘modules’ append-only

this makes some services append-only, so the configuration
can look like:

modules = {
   cache = ‘’,
   hints = true,
}

without wiping previously-set modules

10 years agodaemon/bindings: compat for obj_len for Lua<5.2
Marek Vavruša [Tue, 31 Mar 2015 20:46:13 +0000 (22:46 +0200)] 
daemon/bindings: compat for obj_len for Lua<5.2

10 years agomodules: renamed ‘modulelist_t’ to ‘module_array_t’
Marek Vavruša [Tue, 31 Mar 2015 20:45:42 +0000 (22:45 +0200)] 
modules: renamed ‘modulelist_t’ to ‘module_array_t’

10 years agodaemon/engine: made ‘network’ manager part of the engine
Marek Vavruša [Tue, 31 Mar 2015 20:44:55 +0000 (22:44 +0200)] 
daemon/engine: made ‘network’ manager part of the engine

10 years agodoc: moved github.com repository
Marek Vavruša [Tue, 31 Mar 2015 17:48:36 +0000 (19:48 +0200)] 
doc: moved github.com repository

10 years agodaemon/net: independent network manager
Marek Vavruša [Tue, 31 Mar 2015 17:42:58 +0000 (19:42 +0200)] 
daemon/net: independent network manager

10 years agolib/generic: 'map' walk callback contains value
Marek Vavruša [Tue, 31 Mar 2015 17:42:09 +0000 (19:42 +0200)] 
lib/generic: 'map' walk callback contains value

10 years agodaemon/bindings: Lua 5.2 compat (lua_objlen)
Marek Vavruša [Tue, 31 Mar 2015 17:41:05 +0000 (19:41 +0200)] 
daemon/bindings: Lua 5.2 compat (lua_objlen)

10 years agodaemon/bindings: net.interfaces() implement map
Marek Vavruša [Mon, 30 Mar 2015 17:16:31 +0000 (19:16 +0200)] 
daemon/bindings: net.interfaces() implement map

ifaces = net.interfaces()
print(ifaces.eth0.addr[0])
print(ifaces.eth0.mac)

10 years agodaemon: ‘net’ package, implemented ‘net.interfaces’
Marek Vavruša [Sun, 29 Mar 2015 22:23:29 +0000 (00:23 +0200)] 
daemon: ‘net’ package, implemented ‘net.interfaces’

lists available interfaces

10 years agodaemon: added config syntax sugar for ‘modules’
Marek Vavruša [Sun, 29 Mar 2015 21:20:28 +0000 (23:20 +0200)] 
daemon: added config syntax sugar for ‘modules’

example:
modules.hints = ‘{“input”:”/etc/hosts”}’
.. is equal to ..
modules.load(‘hints’)
hints.config(‘{“input”:”/etc/hosts”}’)

10 years agolib/generic: added k-v storage to crit-bit, cleanup
Marek Vavruša [Sun, 29 Mar 2015 21:17:52 +0000 (23:17 +0200)] 
lib/generic: added k-v storage to crit-bit, cleanup

interface split to ‘map’ and ‘set’
added documentation
array: added array_tail() operation

10 years agocritbit: included small implementation of critbit tree
Marek Vavruša [Sat, 28 Mar 2015 16:44:59 +0000 (17:44 +0100)] 
critbit: included small implementation of critbit tree

10 years agolib/generic: fixed in del
Marek Vavruša [Fri, 27 Mar 2015 14:03:25 +0000 (15:03 +0100)] 
lib/generic: fixed in del

10 years agodaemon/engine: forward decls for Lua
Marek Vavruša [Fri, 27 Mar 2015 14:00:17 +0000 (15:00 +0100)] 
daemon/engine: forward decls for Lua

10 years agoMerge branch 'lua'
Marek Vavruša [Fri, 27 Mar 2015 13:51:13 +0000 (14:51 +0100)] 
Merge branch 'lua'

10 years agomodules: use engine instead of context, doc fixups
Marek Vavruša [Fri, 27 Mar 2015 13:50:59 +0000 (14:50 +0100)] 
modules: use engine instead of context, doc fixups

10 years agodaemon: updated doc
Marek Vavruša [Fri, 27 Mar 2015 13:26:28 +0000 (14:26 +0100)] 
daemon: updated doc

10 years agodaemon: added basic bindings for modules, config and cache
Marek Vavruša [Fri, 27 Mar 2015 12:35:32 +0000 (13:35 +0100)] 
daemon: added basic bindings for modules, config and cache

10 years agodaemon: split worker to 'engine' and workers
Marek Vavruša [Fri, 27 Mar 2015 12:33:42 +0000 (13:33 +0100)] 
daemon: split worker to 'engine' and workers

The engine is responsible for central managemento of resources and work
distribution. This allows to spawn multiple loops.

The engine configuration / interface is based on Lua 5.1-5.2, including
a RPC and a simple CLI interface. This is going to be the core of configuration
later on.

10 years agodaemon: cleanup worker
Marek Vavruša [Fri, 27 Mar 2015 12:30:48 +0000 (13:30 +0100)] 
daemon: cleanup worker

10 years agolib: demoted context to simple interface, not responsible for data
Marek Vavruša [Fri, 27 Mar 2015 12:26:44 +0000 (13:26 +0100)] 
lib: demoted context to simple interface, not responsible for data

10 years agolib: added generics package
Marek Vavruša [Fri, 27 Mar 2015 12:22:54 +0000 (13:22 +0100)] 
lib: added generics package

10 years agobuild: got rid of PHONY dep rules, added lua(5.1,5.2,jit) as daemon dep
Marek Vavruša [Fri, 27 Mar 2015 12:19:27 +0000 (13:19 +0100)] 
build: got rid of PHONY dep rules, added lua(5.1,5.2,jit) as daemon dep

the build system now doesn't always relink targets

10 years agoMerge branch 'doc_modules'
Marek Vavruša [Sat, 21 Mar 2015 16:40:39 +0000 (17:40 +0100)] 
Merge branch 'doc_modules'

10 years agodoc: converted modules doc, added cachectl
Marek Vavruša [Sat, 21 Mar 2015 16:40:27 +0000 (17:40 +0100)] 
doc: converted modules doc, added cachectl

10 years agoMerge branch 'mod_cachectl'
Marek Vavruša [Sat, 21 Mar 2015 13:49:03 +0000 (14:49 +0100)] 
Merge branch 'mod_cachectl'

10 years agodoc: updated doc
Marek Vavruša [Thu, 19 Mar 2015 23:53:25 +0000 (00:53 +0100)] 
doc: updated doc

10 years agodoc: updated doc
Marek Vavruša [Thu, 19 Mar 2015 23:49:19 +0000 (00:49 +0100)] 
doc: updated doc

10 years agomodules/cachectl: list, prune and clear cache
Marek Vavruša [Thu, 19 Mar 2015 23:08:50 +0000 (00:08 +0100)] 
modules/cachectl: list, prune and clear cache

refs #7

10 years agolib/cache: exported cache storage
Marek Vavruša [Thu, 19 Mar 2015 23:08:13 +0000 (00:08 +0100)] 
lib/cache: exported cache storage