1. 10 Oct, 2016 1 commit
  2. 30 Oct, 2015 1 commit
  3. 04 Aug, 2015 1 commit
  4. 05 Mar, 2015 1 commit
    • mvogt's avatar
      [libcontacts] Some scripts imply name token ordering · f4c2e52e
      mvogt authored
      For a specific set of character scripts, if a contact's first and last
      names are entirely composed of that script, then that (most likely)
      implies a cultural ordering for given/family name tokens that should
      override the device setting.
      f4c2e52e
  5. 12 Feb, 2015 1 commit
    • Richard Braakman's avatar
      [performance] Avoid resolving addresses multiple times · 4bfe8804
      Richard Braakman authored
      Parts of commhistory (GroupManager) will send a stream of
      resolve requests with many duplicates. This used to be
      tolerable because requests were handled slowly in the
      event loop, but now that they have higher priority it has
      become a problem.
      
      I went for the simple solution of ignoring requests that
      are identical to still-active requests (same uids, same
      listener, same requireComplete flag). It's not optimal (we
      could combine more requests into the same backend query if we
      tried), but it solves the problem without adding a lot of
      bookkeeping.
      4bfe8804
  6. 21 Oct, 2014 1 commit
  7. 17 Oct, 2014 1 commit
    • Richard Braakman's avatar
      [performance] Schedule resolveAddress immediately · e2ab0615
      Richard Braakman authored
      resolveAddress requests are done with one query at a time, in
      order to correlate the results with the looked-up addresses.
      Doing them sequentially via UpdateRequest events added a lot
      of overhead in the form of coordination between threads.
      
      This commit creates a dedicated QContactFetchRequest for each
      resolveAddress call, so that the events for starting them can
      arrive all together in the backend thread and the events
      announcing the results can arrive all together in the UI thread.
      They will still be processed sequentially, but this change cuts
      out the delay between finishing one request and starting the next.
      
      In tests with 10k contacts and a recent contacts list with limit=20,
      this reduced the resolve time from 1s to 0.3s.
      e2ab0615
  8. 15 Oct, 2014 1 commit
  9. 31 Jul, 2014 1 commit
  10. 27 May, 2014 1 commit
  11. 10 Feb, 2014 1 commit
    • mvogt's avatar
      [libcontacts] Skip validation when normalizing numbers · f73cd4cd
      mvogt authored
      In most cases, there is no benefit to validating numbers as they are
      normalized, since the data has come from the system. Validation of
      data already present in the system is counterproductive since it can
      cause us not to process some details.
      f73cd4cd
  12. 28 Jan, 2014 2 commits
  13. 15 Jan, 2014 1 commit
  14. 09 Jan, 2014 3 commits
  15. 11 Dec, 2013 1 commit
  16. 10 Dec, 2013 3 commits
  17. 09 Dec, 2013 3 commits
  18. 06 Dec, 2013 1 commit
  19. 24 Oct, 2013 3 commits
    • mvogt's avatar
      [libcontacts] Do not resolve minimized numbers from cache · b9d4941f
      mvogt authored
      If we try to resolve a minimized number that we have not previously
      queried matches for, then do not resolve to any contact that happens
      to be in tha cache that matches that number - there may be a better
      match that we should query for.
      
      Once we have queried a specific number, or set the cache to fetch all
      numbers, it is safe to resolve from the content of the cache.
      b9d4941f
    • mvogt's avatar
      [libcontacts] Index initial-'+' numbers in their complete forms · 329e46b7
      mvogt authored
      A number starting with an initial '+' can be tested at full length
      which is preferential to tetsing minimized form.
      329e46b7
    • mvogt's avatar
      [libcontacts] Allow multiple matches for a minimized phone number · 7b112bdd
      mvogt authored
      For resolution, find the contact possessing the number with the longest
      match to the input number.
      
      Also, correct the previous terminological misuse of 'normalization'
      to mean 'minimization'.
      7b112bdd
  20. 21 Oct, 2013 1 commit
  21. 14 Oct, 2013 1 commit
  22. 02 Oct, 2013 2 commits
  23. 01 Oct, 2013 1 commit
  24. 20 Sep, 2013 3 commits
  25. 19 Sep, 2013 2 commits
  26. 09 Sep, 2013 1 commit
    • mvogt's avatar
      [libcontacts] Prevent retrieval loop · 5133ce4a
      mvogt authored
      Move the contact ID for which we have already retrieved constituents
      to a separate list, so that we cannot trigger another fetch for
      constituent IDs while waiting for the constituent details to be
      retrieved.
      5133ce4a
  27. 06 Sep, 2013 1 commit