1. 05 May, 2019 4 commits
  2. 04 May, 2019 2 commits
    • Kai Willadsen's avatar
      bin/meld: Fix missing translations for GTK-loaded resources (#321) · 0e6230f7
      Kai Willadsen authored
      Moving to having template widgets broke translation for those widgets,
      because we moved from loading via GtkBuilder with explicit domains from
      Python to loading with the domains set in the C library. We'd done
      *almost* all the work to bind those, but for some reason hadn't
      correctly set `textdomain`.
      The Windows libintl change here is purely theoretical; translations
      don't work on Windows in the current build, so we can't even test
      whether this does the right thing.
    • Rafael Fontenelle's avatar
  3. 03 May, 2019 1 commit
  4. 21 Apr, 2019 2 commits
  5. 17 Apr, 2019 1 commit
  6. 15 Apr, 2019 1 commit
  7. 14 Apr, 2019 1 commit
  8. 13 Apr, 2019 9 commits
  9. 12 Apr, 2019 9 commits
    • Kai Willadsen's avatar
      chunkmap: Draw a background with theme colours and update handle · 7d80fe31
      Kai Willadsen authored
      On most documents with a normal number of changes, it was very easy to
      for a couple of small changes to be hard to see on the map, because we
      didn't draw a background for the widget. This was initially intentional
      because it makes it feel a bit less cluttered, but in this case the
      lack of clutter makes actual changes stand out less.
      This changes the drawing so that we add a map background and outline
      based on the GTK+ theme colours. Because it's closely related code, this
      also bases the handle colours on the theme, so we now only have the
      alpha values as properties (and probably don't even need that).
      This theme code *won't* do the right thing if the GtkSourceView scheme
      differs massively from the GTK+ theme, but that's a moderately
      questionable thing to support anyway. It would also tie the ChunkMap
      code more closely to sourceview, which I'd prefer not to do if possible.
    • Kai Willadsen's avatar
      chunkmap: PEP8 · f928994b
      Kai Willadsen authored
    • Kai Willadsen's avatar
      vcview: Set the cursor on load so that shortcuts work · d5d33a64
      Kai Willadsen authored
      Manually setting the cursor to the first row in the tree ensures that
      the sensitivity setting for e.g., the next diff action gets run. Without
      this, cursor-dependent shortcuts such as Alt+Down won't work without
      the user focusing the treeview manually or otherwise causing a
      sensitivity recalculation.
    • Kai Willadsen's avatar
    • Kai Willadsen's avatar
      filediff: Fix file/label confusion · b0d025a4
      Kai Willadsen authored
    • Kai Willadsen's avatar
      chunkmap: Scale textview chunk maps using paired textviews · 0ad3e7ed
      Kai Willadsen authored
      With this patch we now scale the total height of chunk maps for
      textviews according to the maximum adjustment height of the views next
      to them.
      The idea behind this change is that it's misleading to show maps that
      are next to each other as being the same size. Comparing files of
      different sizes should indicate that this is the case, and insertions
      will offset the diffs.
    • Kai Willadsen's avatar
      chunkmap, dirdiff: Use new overview map widget for folder comparisons · 7e3d96ca
      Kai Willadsen authored
      This includes the same grid packing as file comparisons and the same
      visualisation, as well as the visibility control.
      In an ideal world, `DirDiff` would use the existing `chunks` property
      on `ChunkMap`. While this is completely do-able, expanding and
      collapsing the tree completely ruins performance because of recursive
      expand/collapse behaviour, and because in a naive implementation (like
      the one we currently use in `TreeViewChunkMap`) the tree model state
      must be refetched at each expand/collapse. It's possible to avoid this,
      but the caching in `DirDiff` became much too complex for the relative
      pay-off of not having the chunk map do these calculations lazily.
    • Kai Willadsen's avatar
      chunkmap: Handle empty adjustment ranges · ff0725f5
      Kai Willadsen authored
    • Kai Willadsen's avatar
      chunkmap: Always queue a draw when new chunks are set · 4fa43bac
      Kai Willadsen authored
      This is unfortunate, but otherwise it's difficult to figure out how to
      handle invalidation where our `GtkAdjustment`s don't change.
      Without this patch, the easy scenario to see this break is to open a
      file comparison and add a character to a line that's currently not
      marked as different, and note that the `ChunkMap` doesn't update to
      show this line as different.
  10. 06 Apr, 2019 4 commits
  11. 05 Apr, 2019 6 commits