[dovecot/core] 1dc963: lib-mail, dsync: Moved dsync_mail_hash_more() to l...

GitHub noreply at github.com
Mon Feb 1 15:46:06 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 1dc963aff48292e0d2557527b64fce985b715551
      https://github.com/dovecot/core/commit/1dc963aff48292e0d2557527b64fce985b715551
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-02-01 (Mon, 01 Feb 2016)

  Changed paths:
    M src/doveadm/dsync/Makefile.am
    M src/doveadm/dsync/dsync-mail.c
    M src/doveadm/dsync/dsync-mail.h
    R src/doveadm/dsync/test-dsync-mail.c
    M src/lib-mail/Makefile.am
    A src/lib-mail/message-header-hash.c
    A src/lib-mail/message-header-hash.h
    A src/lib-mail/test-message-header-hash.c

  Log Message:
  -----------
  lib-mail, dsync: Moved dsync_mail_hash_more() to lib-mail/message-header-hash.*


  Commit: 736b1800b0409ba7443d33ecb8d0fb9f8b091660
      https://github.com/dovecot/core/commit/736b1800b0409ba7443d33ecb8d0fb9f8b091660
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-02-01 (Mon, 01 Feb 2016)

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

  Log Message:
  -----------
  lib: Code cleanup to json-parser - assume less that the root is an object


  Commit: 4bfa47e475c957adfc645047660d8ce96a3371a7
      https://github.com/dovecot/core/commit/4bfa47e475c957adfc645047660d8ce96a3371a7
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-02-01 (Mon, 01 Feb 2016)

  Changed paths:
    M src/lib/json-parser.c

  Log Message:
  -----------
  lib: Fixed json-parser to correctly parse numbers at EOF.

Numbers are a bit special compared to others, because they don't have any
clear character indicating that the number ends. So we can only assume that
the number is finished when EOF is reached, although even that isn't
necessarily correct in case the stream is terminated unexpectedly.

This change is in prepartion for the next change. With current JSON parser
this issue could never happen because "}" was expected just before EOF.


  Commit: f6ae9ae80a1fcf6c8f45ab759f0074caaa66c9c8
      https://github.com/dovecot/core/commit/f6ae9ae80a1fcf6c8f45ab759f0074caaa66c9c8
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-02-01 (Mon, 01 Feb 2016)

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

  Log Message:
  -----------
  lib: JSON parser can now optionally parse input that isn't an object.

Based on patch by Aki Tuomi.


Compare: https://github.com/dovecot/core/compare/0d0f620493ba...f6ae9ae80a1f


More information about the dovecot-cvs mailing list