1. 17 Mar, 2016 3 commits
  2. 16 Mar, 2016 1 commit
  3. 15 Mar, 2016 1 commit
  4. 25 Feb, 2016 4 commits
  5. 09 Feb, 2016 1 commit
  6. 06 Feb, 2016 1 commit
  7. 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
  8. 07 Jan, 2016 2 commits
  9. 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
  10. 18 Sep, 2015 1 commit
  11. 21 Aug, 2015 1 commit
  12. 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
  13. 06 Jul, 2015 2 commits
  14. 03 Jul, 2015 1 commit
  15. 02 Jul, 2015 2 commits
  16. 01 Jul, 2015 1 commit
  17. 30 Jun, 2015 1 commit
  18. 21 Nov, 2013 1 commit
  19. 29 Oct, 2013 1 commit
  20. 21 Oct, 2013 1 commit
  21. 25 Sep, 2013 4 commits
  22. 23 Sep, 2013 3 commits
  23. 22 Jul, 2013 1 commit
  24. 11 Mar, 2013 3 commits
  25. 12 Apr, 2012 1 commit