1. 22 Jun, 2012 4 commits
    • Philip Withnall's avatar
      telepathy: Remove unused variable · 714b5545
      Philip Withnall authored
    • Philip Withnall's avatar
      core: Change default EDS PersonaStore ID to ‘system-address-book’ · 392ece02
      Philip Withnall authored
      The new version of EDS uses that instead of ‘system’. This shouldn’t pose
      upgrade problems (e.g. if a user has ‘system’ stored in GSettings), since in
      that case the ‘system’ persona store wouldn’t be found, and the fallback
      would be to use the persona store marked as the system-set default — which
      is the ‘system-address-book’ persona store, as required.
    • Philip Withnall's avatar
      eds: Fix invalid cast in Edsf.PersonaStore · 79b83aeb
      Philip Withnall authored
      E.SourceRegistry.find_extension() always returns an E.Source — we must then
      call get_extension() on that E.Source to get the relevant extension. This
      commit fixes an invalid cast here and factors out code to check for backend
      name matches for things like the ‘google’ and ‘ldap’ address book backends.
      Note that this depends on a new GIR annotation in EDataServer.
    • Philip Withnall's avatar
      eds: Handle the possibility of E.SourceRegistry being null · c7939400
      Philip Withnall authored
      Several functions can be called before E.SourceRegistry is set in prepare(),
      so they must cope with it potentially being null.
  2. 19 Jun, 2012 1 commit
  3. 18 Jun, 2012 4 commits
    • Philip Withnall's avatar
      telepathy: Don’t create PersonaStores for disabled accounts · 1446c3ed
      Philip Withnall authored
      We shouldn’t create persona stores for disabled accounts, as they just sit
      there looking lonely and empty. Persona stores should be created for enabled
      and valid accounts, and should be removed when those accounts are disabled
      or become invalid.
    • Philip Withnall's avatar
      Bug 677166 — Salut personas survive disconnection · c8fa98d3
      Philip Withnall authored
      Handle TpAccounts being disabled by listening for
      TpAccountManager::account-disabled rather than (erroneously) assuming that
      TpAccount:enabled will have been changed by the time the corresponding
      TpConnection is disconnected.
      This fixes a race condition when accounts are disabled, where the account’s
      personas would persist if TpAccount:enabled hadn’t changed by the time the
      connection was disconnected.
      This comes at the cost of potentially storing and re-loading the set of
      personas for that account to the cache, only to later delete the cache file
      when TpAccount:enabled changes. I can’t think of a simple fix for this.
      Closes: https://bugzilla.gnome.org/show_bug.cgi?id=677166
    • Philip Withnall's avatar
      inspect: Implement pretty printing of GDateTime · 1c3357fb
      Philip Withnall authored
      The new Zeitgeist work in the Telepathy backend makes use of nullable
      GDateTimes, so this implements pretty printing of them in folks-inspect.
      Everyone prefers reading well-formatted ISO 8601 date/times over reading
      error messages saying the conversion wasn’t possible, right?
    • Philip Withnall's avatar
      telepathy: Set some missing properties on cached TpfPersonas · 0e729d7b
      Philip Withnall authored
      Recently-added properties needed implementing for cached personas.
  4. 15 Jun, 2012 1 commit
  5. 14 Jun, 2012 6 commits
  6. 13 Jun, 2012 10 commits
  7. 12 Jun, 2012 14 commits