1. 22 Jan, 2015 3 commits
  2. 20 Jan, 2015 5 commits
  3. 19 Jan, 2015 2 commits
    • chriadam's avatar
      [qtcontacts-sqlite-extensions] Fix bug in delta detection in TWCSA · 4752cb41
      chriadam authored
      This commit fixes a bug in the detail delta detection of the
      TwoWayContactSyncAdapter code.  Previously, the code would drop
      any detail removal which was not matched with a detail addition,
      while attempting to detect pairs of removals+additions as possible
      modifications.  This would result in removals being "lost".
      This commit ensures that all detail removals which are not matched
      with a detail addition are still included in the improved delta.
      4752cb41
    • chriadam's avatar
      [qtcontacts-sqlite-extensions] Improve debug logging from TWCSA · f8bbd95f
      chriadam authored
      This commit adds support for run-time enablement of detailed logging
      which, when enabled, causes debug traces to be produced by the
      TwoWayContactSyncAdapter code.  The environment variable to enable
      the logging is QTCONTACTS_SQLITE_TWCSA_TRACE=1.
      f8bbd95f
  4. 14 Jan, 2015 2 commits
  5. 11 Jan, 2015 3 commits
  6. 08 Jan, 2015 5 commits
  7. 07 Jan, 2015 1 commit
    • mvogt's avatar
      [qtcontacts-sqlite] Make the asynchronous DB connection primary · c8a3ee2c
      mvogt authored
      The contacts engine creates a synchronous DB connection at startup,
      and creates an asynchronous DB connection on demand.  Clients using
      libcontacts, however, will exclusively use the asynchronous
      connection, so the primary connection is entirely unnecessary.
      
      Change the startup procedure so that the asynchronous connection
      becomes the primary connection and the synchronous is created as
      required.
      c8a3ee2c
  8. 05 Jan, 2015 1 commit
  9. 18 Nov, 2014 2 commits
  10. 12 Nov, 2014 1 commit
  11. 11 Nov, 2014 1 commit
  12. 23 Oct, 2014 2 commits
  13. 20 Oct, 2014 1 commit
  14. 15 Oct, 2014 1 commit
  15. 14 Oct, 2014 1 commit
    • Richard Braakman's avatar
      [performance] in queryContacts, only load wanted details · 51d79543
      Richard Braakman authored
      This commit adds a check on the detail type to the query in queryContacts.
      It means doing an extra string comparison in sqlite, but that's faster
      than processing extra rows in QSqlResult.
      
      The check is not done if the detailTypes hint is empty, because
      in that case (nearly) all the rows will be loaded anyway.
      51d79543
  16. 03 Oct, 2014 3 commits
    • mvogt's avatar
      Merge pull request #181 from faenil/nemomerge_fixes · 0d0f7fcf
      mvogt authored
      Fix compilation on glibc 2.19/gcc 4.8
      0d0f7fcf
    • faenil's avatar
      [fix] Fix compilation on glibc 2.19/gcc 4.8 · c931b08a
      faenil authored
      c931b08a
    • Richard Braakman's avatar
      [twowaysync] Use a fixed encoding version for OOB data · 9bdac82a
      Richard Braakman authored
      The twowaysync adapter was storing serialized data using
      QDataStream, but QDataStream's encoding can change in
      incompatible ways and it defaults to the most recent
      encoding version. This was causing crashes when an
      adapter running with Qt 5.2 tried to load data serialized
      with Qt 5.1, because the encoding of QDateTime changed.
      
      Fix this by committing to the Qt 5.1 version, which was
      the one in widespread use at the time of this commit.
      (Also, we got lucky and existing Qt 5.2 data can be
      safely loaded with the 5.1 version because we're only
      using UTC timestamps. The timestamps will be decoded
      wrong, but that will be corrected by the sync and it
      won't crash).
      
      It is probable that support for future versions of Qt
      will make it necessary to update the encoding version.
      This can be done by explicitly converting the encoded
      data in the schema upgrade code in contactsdatabase.cpp.
      9bdac82a
  17. 19 Sep, 2014 1 commit
    • Richard Braakman's avatar
      [qtcontacts-sqlite] Refuse to look up invalid phone numbers · 7643eec6
      Richard Braakman authored
      Commhistory events can have named senders instead of phone numbers,
      don't try to look those up as empty strings because they will match
      against all contacts that happen to have invalid phone numbers.
      
      This has a side effect of fixing a bug in libcommhistory where
      such numbers are never considered 'resolved'.
      7643eec6
  18. 15 Sep, 2014 3 commits
  19. 03 Sep, 2014 1 commit
  20. 26 Aug, 2014 1 commit