[dovecot/core] fcd3d6: lib: json-tree - API change to permit more feature...

GitHub noreply at github.com
Thu Aug 18 12:00:12 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: fcd3d6214ce1b8169b6481c78e02d9054901fed3
      https://github.com/dovecot/core/commit/fcd3d6214ce1b8169b6481c78e02d9054901fed3
  Author: Phil Carmody <phil at dovecot.fi>
  Date:   2016-08-18 (Thu, 18 Aug 2016)

  Changed paths:
    M src/lib/json-tree.c
    M src/lib/json-tree.h
    M src/lib/test-json-tree.c

  Log Message:
  -----------
  lib: json-tree - API change to permit more featureful implementation

Provide accessors for the innards of the tree's nodes, so that the node
internals can be changed freely (needed for DAPI). Constify params where
sensible.

NOTE: this enforced const-correctness may *break* (cause a failure to build)
some clients that didn't use const where they could have. Only obox2 is known
to break.

Add sibling functions with more parameters to expand the range of functionality,
and inline rewire the old simple functions to call the more generic ones.

Signed-off-by: Phil Carmody <phil at dovecot.fi>


  Commit: f946ee9814f653cd8baa8596277861b4582c7887
      https://github.com/dovecot/core/commit/f946ee9814f653cd8baa8596277861b4582c7887
  Author: Phil Carmody <phil at dovecot.fi>
  Date:   2016-08-18 (Thu, 18 Aug 2016)

  Changed paths:
    M src/lib/test-json-tree.c

  Log Message:
  -----------
  lib: test-json-tree - decouple from internals

Use the new helper functions, so that implementation can change without
needing to change the tests.

Patch best viewed with git diff/show --color-words.

Signed-off-by: Phil Carmody <phil at dovecot.fi>


  Commit: 7424d35ff1b7d17c0caf7b426c0ef3c2b8229afc
      https://github.com/dovecot/core/commit/7424d35ff1b7d17c0caf7b426c0ef3c2b8229afc
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-08-18 (Thu, 18 Aug 2016)

  Changed paths:
    M src/pop3/pop3-client.c

  Log Message:
  -----------
  pop3: Fix deleted_count expansion


Compare: https://github.com/dovecot/core/compare/6b2b18f8bb74...7424d35ff1b7


More information about the dovecot-cvs mailing list