Skip to content
Snippets Groups Projects
  1. Dec 07, 2016
  2. Nov 08, 2016
    • Vladimír Čunát's avatar
      layer: refactor and better describe the API · cc47973e
      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.
      cc47973e
    • Vladimír Čunát's avatar
      layer: rename knot_ identifiers that are private now · 4ad98bff
      Vladimír Čunát authored
      It causes lots of line changes, but it would be confusing to keep the
      current state over long term.
      4ad98bff
  3. Jul 16, 2016
  4. Jul 12, 2016
  5. Dec 10, 2015
  6. Oct 14, 2015
  7. Oct 13, 2015
  8. Sep 15, 2015
  9. Aug 03, 2015
  10. May 05, 2015
  11. Apr 22, 2015
  12. Apr 18, 2015
  13. Apr 10, 2015
  14. Mar 27, 2015
  15. Mar 21, 2015
  16. Mar 19, 2015
  17. Mar 18, 2015
  18. Feb 15, 2015
  19. Dec 30, 2014
  20. Dec 29, 2014
    • Marek Vavruša's avatar
      reworked query resolution · 1093ce48
      Marek Vavruša authored
      - cache is now fully optional, resolution works without cache as well
      - proper mempool per each request, not mixed
      - zone cut resolution doesn't need any per-context memory
      - now it's possible to do qname minimization
      - rplan keeps tabs on resolved queries
      - added documentation etc.
      1093ce48
  21. Nov 12, 2014
  22. Aug 19, 2014
  23. Aug 14, 2014
  24. Aug 05, 2014
  25. Aug 04, 2014
  26. Jul 31, 2014