1. 06 Apr, 2017 1 commit
  2. 11 Mar, 2017 2 commits
    • Kai Willadsen's avatar
      diffmap: Call the wrong function, for GTK+'s insanity · ef3ba1b8
      Kai Willadsen authored
      Even though queuing a resize here should be totally fine, GTK+
      completely loses it and complains about allocation issues. Given that
      this is code that should basically never be necessary in our layout
      (i.e., every time a scrollbar gets a size-allocate, we can basically
      guarantee that DiffMap will as well) and given how annoying these
      warnings are, we'll give in and just do the wrong thing.
      ef3ba1b8
    • Kai Willadsen's avatar
      diffmap: Call our correct parent init · 7277d87f
      Kai Willadsen authored
      7277d87f
  3. 08 Nov, 2016 1 commit
  4. 07 Nov, 2016 1 commit
  5. 12 Dec, 2015 2 commits
  6. 03 Oct, 2015 4 commits
  7. 23 Jul, 2015 4 commits
  8. 20 Jul, 2015 1 commit
  9. 11 Jan, 2014 2 commits
  10. 31 Dec, 2013 3 commits
  11. 29 Dec, 2013 2 commits
  12. 11 Oct, 2013 1 commit
  13. 18 Apr, 2013 1 commit
  14. 08 Mar, 2013 1 commit
  15. 29 Nov, 2012 1 commit
  16. 10 Nov, 2012 1 commit
  17. 04 Sep, 2012 1 commit
    • Kai Willadsen's avatar
      Use gtkrc-set symbolic colours for most drawing · 4c909343
      Kai Willadsen authored
      This patch series moves Meld towards retreiving drawing colours from
      a gtkrc set rather than from our preferences. This change should improve
      themeability over the long term, though there may be some regressions.
      
      While gtkrc is not GTK3-friendly, this should also make it somewhat
      easier to forward port to the new themeing mechanics.
      
      Treeview colours are still hard-coded.
      4c909343
  18. 07 Jul, 2012 1 commit
    • Kai Willadsen's avatar
      Draw all same-coloured DiffMap chunks together for performance · 0284ef72
      Kai Willadsen authored
      In situations with complicated DiffMaps, there is a significant
      performance cost to doing all of the colour setting and individually
      filling and stroking each chunk. This commit avoids this cost by
      pre-sorting the chunk list into blocks of the same type, allowing us
      to set up all of our paths of a single colour, and stroke/fill in one
      Cairo call.
      
      In theory, this may cause visual changes by altering the order in which
      we overwrote pixels (i.e., instead of top-to-bottom, we now do
      colour-by-colour). In practice, this was never really defined anyway.
      0284ef72
  19. 20 Dec, 2011 1 commit
    • Kai Willadsen's avatar
      Draw currently displayed page area in DiffMap (closes bgo#470729) · 3855a4fc
      Kai Willadsen authored
      While ideally the scrollbar thumb should give a decent indication of
      the location and size of the current viewing pane in terms of the
      whole file, it doesn't always correspond very well. For example, in
      long files, the scroll thumb will not shrink below a certain size for
      usability purposes, which damages its use as an indicator.
      
      This commit introduces a relatively subtle overlay on our DiffMaps to
      show which part of the file is currently being displayed.
      3855a4fc
  20. 26 Mar, 2011 3 commits
  21. 02 Oct, 2010 1 commit
  22. 23 Sep, 2010 1 commit
  23. 23 Mar, 2010 1 commit
    • Kai Willadsen's avatar
      Split out DiffMap functionality into new widget · 48b455ad
      Kai Willadsen authored
      The DiffMap widget (the bars showing a coloured summary of changes at
      the left and right of the main file comparison window) has always been
      a purely custom creation based on gtk.DrawingArea. This commit breaks it
      out into a separate file and makes it a DrawingArea subclass.
      
      This also changes the drawing done, syncing the colours used with the
      LinkMap and TextView, and allowing thinner lines for insert chunks. In
      addition, our style-dependent calculations should now be more robust for
      unusual themes.
      48b455ad