1. 09 Jan, 2019 1 commit
  2. 08 Jan, 2019 1 commit
  3. 04 Jan, 2019 1 commit
  4. 28 Dec, 2018 1 commit
  5. 25 Dec, 2018 1 commit
  6. 24 Dec, 2018 3 commits
  7. 20 Dec, 2018 3 commits
  8. 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
      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.
  9. 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.
    • 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.
  10. 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).
    • 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.
  11. 11 Dec, 2018 1 commit
  12. 10 Dec, 2018 5 commits
  13. 05 Dec, 2018 1 commit
  14. 04 Dec, 2018 1 commit
  15. 17 Nov, 2018 3 commits
  16. 11 Nov, 2018 5 commits
  17. 10 Nov, 2018 1 commit
  18. 03 Nov, 2018 1 commit
  19. 01 Nov, 2018 1 commit
    • Niels De Graef's avatar
      flatpak: fix build for libfolks. · 616f6933
      Niels De Graef authored
      Disable building the inspect and import tool, since GNOME Contacts
      doesn't use them anyway. They were failing because the curses library
      couldn't be found.
  20. 31 Oct, 2018 3 commits
  21. 30 Oct, 2018 2 commits