1. 28 Oct, 2019 1 commit
  2. 08 Nov, 2016 1 commit
  3. 07 Nov, 2016 1 commit
  4. 16 May, 2016 1 commit
  5. 30 Mar, 2016 2 commits
  6. 17 Mar, 2016 3 commits
  7. 16 Mar, 2016 1 commit
  8. 15 Mar, 2016 1 commit
  9. 25 Feb, 2016 4 commits
  10. 09 Feb, 2016 1 commit
  11. 06 Feb, 2016 1 commit
  12. 05 Feb, 2016 1 commit
    • Murray Cumming's avatar
      ImageGlom: Use std::unique_ptr<> instead of naked new. · e542cfff
      Murray Cumming authored
      I am not very happy with passing the raw pointer to gtkmm's
      attach_to_widget(), but that seems to be the normal use of
      unique_ptr<>::operator*() and unique_ptr<>::get(),
      as long as we don't expect the receiving API to take any
      ownership.
      e542cfff
  13. 07 Jan, 2016 2 commits
  14. 05 Jan, 2016 1 commit
    • Murray Cumming's avatar
      Add and use find_exists(). · 792cc2ea
      Murray Cumming authored
      To replace lengthy use of
      std::find(container.begin(), container.end(), element) != container.end()).
      
      It looks like something like this will be in the standard C++ library
      at some point, but I don't want to wait.
      792cc2ea
  15. 18 Sep, 2015 1 commit
  16. 21 Aug, 2015 1 commit
  17. 07 Jul, 2015 1 commit
    • Murray Cumming's avatar
      C++11: range-based for loops: Don't get the container separately. · 12453ef5
      Murray Cumming authored
      Don't use an intermediate variable to get the container.
      Range-based for loops only evaluate the second part once so this is
      fine. This simplifies code by not making us think about whether the
      variable is used later in the method.
      
      This is only useful with containers that don't need to be
      const-iterated. We can const_cast<> the container, but that is
      lengthy and involves mentining the type.
      12453ef5
  18. 06 Jul, 2015 2 commits
  19. 03 Jul, 2015 1 commit
  20. 02 Jul, 2015 2 commits
  21. 01 Jul, 2015 1 commit
  22. 30 Jun, 2015 1 commit
  23. 21 Nov, 2013 1 commit
  24. 29 Oct, 2013 1 commit
  25. 21 Oct, 2013 1 commit
  26. 25 Sep, 2013 4 commits
  27. 23 Sep, 2013 2 commits