1. 16 Jan, 2019 6 commits
  2. 15 Jan, 2019 1 commit
    • Niels De Graef's avatar
      build: add libhandy as subproject · dcf7dc55
      Niels De Graef authored
      This should make it easier for build processes (like package builds)
      that run entirely offline to have the dependency available.
      
      We'd like to get rid of this submodule in the next release, but I guess
      it can't be avoided for now.
      
      Fixes #120
      dcf7dc55
  3. 09 Jan, 2019 1 commit
  4. 08 Jan, 2019 1 commit
  5. 04 Jan, 2019 1 commit
  6. 28 Dec, 2018 1 commit
  7. 25 Dec, 2018 1 commit
  8. 24 Dec, 2018 3 commits
  9. 20 Dec, 2018 3 commits
  10. 17 Dec, 2018 1 commit
    • Niels De Graef's avatar
      TypeCombo: simplify and document · 824c4c85
      Niels De Graef authored
      Remove all the code for a custom user-defined label (using an entry).
      This code path has been dead for a while, and it's better to use the
      built-in entry of a ComboBox anyway. This way, we can alo reintroduce it
      later.
      
      We can now also derive directly from a Gtk.ComboBox, which simplifies
      the code even further.
      
      Finally, this commit adds some documentation in the TypeCmbo, which
      hopefully makes it easier to understand for new contributors.
      824c4c85
  11. 16 Dec, 2018 2 commits
    • Niels De Graef's avatar
      TypeSet: fix a regression from the previous commit · 43e298a3
      Niels De Graef authored
      In some cases, a null-TypeDescriptor could be returned, spawning a
      g_critical() in the ContactSheet. Also, the VcardTypMapping.matches
      function didn't always correctly return the right value.
      43e298a3
    • Niels De Graef's avatar
      Types: decouple TypeSet and TypeDescriptor · e9998468
      Niels De Graef authored
      We completely decouple TypeSet and TypeDescriptor and expose the former
      as a public class, so we can use it from outside. This means we don't
      necessarily need to fiddle with TreeIters if we know what we need from
      the TypeDescriptor. We also slit up VCardTypeMapping in a separate file,
      and put all the logic whether something matches or not as methods of
      that struct.
      
      This commit cleans up a lot of the mess in TypeSet. I'm afraid that
      means it's quite a large diff, but from now on, the code should be more
      decoupled than before, making changes at the very least bearable.
      
      There's also some more debug statements, which should help in case
      something goes wrong when running at one of our users.
      e9998468
  12. 13 Dec, 2018 2 commits
    • Niels De Graef's avatar
      Typeset: remove custom_dummmy TypeDescriptor · a717f66b
      Niels De Graef authored
      This isn't supported (at the moment) anyway and only complicates things,
      so let's get rid of it to simplify the code base a bit (we can always
      reintroduce it later in a cleaner form).
      a717f66b
    • Niels De Graef's avatar
      Typeset: change how we handle VcardTypeMapping · 62cb8b79
      Niels De Graef authored
      This removes the generic and unclear name `InitData` in favor of
      `VcardTypeMapping`, which is intuitively much more clear on what it
      actually is used for.
      
      Instead of building a hash table and adding each type as a key, we just
      use a normal list. This won't add too much overhead and makes the data
      structure much less redundant (and easier to work with) and obscure.
      62cb8b79
  13. 11 Dec, 2018 1 commit
    • Niels De Graef's avatar
      Store: remove eds_persona_store_changed() · f48cf192
      Niels De Graef authored
      Due to a race condition, a persona store could be available _before_ the
      signal was handled. That meant that sometimes this signal wasn't
      triggered when it really should've been. The easy fix (and imho) cleaner
      solution is to not provide any E-D-S specific behaviour, and to just
      listen to newly available backends in general.
      
      Fixes #114.
      f48cf192
  14. 10 Dec, 2018 5 commits
  15. 05 Dec, 2018 1 commit
  16. 04 Dec, 2018 1 commit
  17. 17 Nov, 2018 3 commits
  18. 11 Nov, 2018 5 commits
  19. 10 Nov, 2018 1 commit