- Jan 27, 2017
-
-
Vladimír Čunát authored
These shouldn't make any problems: - the verbose messages don't print any scope, and - reputation cache doesn't consider scope.
-
- Jan 26, 2017
-
-
Vladimír Čunát authored
I must say I have a hard time getting used to rst syntax myself.
-
- Jan 25, 2017
-
-
Ondřej Surý authored
-
- Jan 24, 2017
-
-
Ondřej Surý authored
-
- Jan 23, 2017
-
-
Ondřej Surý authored
-
Grigorii Demidov authored
-
Grigorii Demidov authored
-
Grigorii Demidov authored
-
- Jan 20, 2017
-
-
Grigorii Demidov authored
-
Grigorii Demidov authored
-
Grigorii Demidov authored
-
- Jan 19, 2017
-
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-
- Jan 18, 2017
-
-
Grigorii Demidov authored
-
Grigorii Demidov authored
-
- Jan 16, 2017
-
-
-
Vladimír Čunát authored
And don't crash anymore if loaded without configuring. Users can now avoid loading any file and instead specify hints just via hints.set() calls. It's perhaps still strange that hints.config(...) will drop any hints set previously.
-
- Jan 13, 2017
-
-
Vladimír Čunát authored
... and that the length is limited.
-
- Jan 03, 2017
-
- Dec 21, 2016
-
-
andi authored
lua-http decided to swap arguments some time ago: https://github.com/daurnimator/lua-http/commit/507396bb960b4f9d2b666ae7fd1ea441e9cccd2f
-
- Dec 19, 2016
-
-
-
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.
-
Ondřej Surý authored
-
daurnimator authored
-
daurnimator authored
-
daurnimator authored
-
daurnimator authored
-
daurnimator authored
-
- Dec 12, 2016
-
-
Ondřej Surý authored
Split NDEBUG to NDEBUG (asserts) and NOVERBOSELOG (verbose logging); rename all related symbols to use VERBOSE instead of DEBUG
-
- Nov 29, 2016
-
-
Vladimír Čunát authored
-
Vladimír Čunát authored
Fixes #111. Compatibility: it needs a new libkres.so function. If a wrong version combination is attempted, the module just cleanly fails to load, though it writes a slightly confusing message "no such file or directory".
-
- Nov 08, 2016
-
-
Vladimír Čunát authored
- The API and ABI for modules changes slightly (details below). KR_MODULE_API is bumped to avoid loading incompatible code. We have bumped libkres ABIVER since the last release 1.1.1, so leaving that one intact. - Make KR_STATE_YIELD not reuse 0 value anymore. It's easy to e.g. return kr_ok() by mistake. - struct kr_layer_t: * ::mm was unused, uninitialized, etc. * Make ::state an int, as it was everywhere else. * void *data was ugly and always containing struct kr_request * - struct kr_layer_api: * Drop the void* parameter from ::begin, as it was only used for the request which is available as ctx->req anyway (formerly ctx->data). * Drop ::fail. It wasn't even called. Modules can watch for KR_STATE_FAIL in ::finish. - Document the apparent meaning of the layer interface, deduced mainly from the way it's used in the code. Caveats: * enum knot_layer_state handling seems to assume that it holds exactly one of the possibilities at a time. The cookie module does NOT follow that (intentionally), apparently depending on the exact implementation of the handling at that moment. It feels fragile. * I was unable to deduce a plausible description of when ::reset is called. It's practically unused in modules, too.
-
Vladimír Čunát authored
It causes lots of line changes, but it would be confusing to keep the current state over long term.
-
- Nov 02, 2016
-
-
Vladimír Čunát authored
The implementation is now similar to set-associative caches that x86 CPU use. Also the API is changed a bit, leading to slight simplification of our use patterns.
-
- Oct 26, 2016
-
-
Vladimír Čunát authored
-
Ondřej Surý authored
-
- Oct 20, 2016
-
-
Ondřej Surý authored
and set libknot_SONAME and libzscanner_SONAME as lua literals. Remove now obsolete libpath lua function - use find_soname from platform.mk to define <arg>_SONAME, add lua_pushliteral to daemon/engine.c and add -D to daemon/daemon.mk for any new library loaded from Lua.
-
Vladimír Čunát authored
Also avoid that extremely long line.
-
Vladimír Čunát authored
-