1. 11 May, 2018 1 commit
  2. 24 Mar, 2018 2 commits
  3. 23 Mar, 2018 1 commit
  4. 22 Mar, 2018 2 commits
  5. 30 Dec, 2017 9 commits
  6. 16 Dec, 2017 15 commits
  7. 18 Nov, 2017 4 commits
    • Kai Willadsen's avatar
      Rework linkmap scroll handling to not require the parent MeldDoc · 90ff3f37
      Kai Willadsen authored
      Keeping the parent MeldDoc is an annoying requirement, and the backref
      shows up when trying to track down reference leaks. Having the parent
      documents be responsible for hooking in the scroll-event signal handler,
      as in this patch, is both a better separation and less pain.
      90ff3f37
    • Kai Willadsen's avatar
      Update recent files handling to use a enum for type · 0b66cd80
      Kai Willadsen authored
      From a user POV this should be a no-op, but it makes reasoning about
      the values in use easier, and allows typing.
      0b66cd80
    • Kai Willadsen's avatar
      Rework recent comparison API to return Gio.File instead of a URI · 51681d71
      Kai Willadsen authored
      Previously this took a path, and the with the other Gio.File changes
      changed to take a URI. While this is fine, there's no reason we can't
      do the URI conversion on the recent files end and avoid doing it
      in multiple places elsewhere.
      
      As a bonus, this fixes a traceback when you tried to compare a file
      with None (e.g., by using the New Comparison tab and selecting only one
      file, leaving the second selector empty).
      51681d71
    • Chris Mayo's avatar
      Initial URI support for file diffs · 3a2fd991
      Chris Mayo authored
      - Use GFiles in FileDiff
      - Use GFiles in MeldWindow file functions
      - Store URIs in recent comparison files
      
      TODO:
       - Fix "Password dialogue cancelled" on accessing remote location
       - fileentry support for URIs
       - shorten_names() specific support for URIs
      3a2fd991
  8. 11 Nov, 2017 1 commit
  9. 01 Oct, 2017 1 commit
  10. 29 Sep, 2017 2 commits
  11. 12 Aug, 2017 2 commits
    • Kai Willadsen's avatar
      dirdiff: Fix old, old regression in initial cursor position · 49847bee
      Kai Willadsen authored
      No idea when this broke, but because we just set the selection instead
      of setting the cursor position, when you start up a folder comparison
      you couldn't immediately navigate with Alt+Up/Down; you needed a cursor
      move first.
      
      There's no good reason for this, so just fix it up by setting the cursor
      on initial load instead.
      49847bee
    • Kai Willadsen's avatar
      dirdiff: Re-evaluate cursor-based state on model change (bgo#785859) · bb80114e
      Kai Willadsen authored
      Because of the linear search we do to find the prev/next file to jump
      to, we aggressively cache that particular bit of state so that it
      doesn't need to be re-evaluated every time the cursor changes. However,
      this can bite us when the model changes under us.
      
      The solution in this patch is to simply force a state re-evaluation when
      this happens, both on initial load and when individual items in the tree
      change.
      
      This also gets rid of the slightly odd allowance we had for forcing a
      re-evaluation by manually calling the cursor-changed callback, in favour
      of just using this re-evaluation toggle.
      bb80114e