1. 21 Aug, 2010 3 commits
    • Peter Tyser's avatar
      vc: Add ability to check if version control repos are valid · c1ce5ba8
      Peter Tyser authored
      Sometimes meld may be ran in a directory that contains invalid or
      corrupt version control information.  (eg run 'mkdir .svn; meld .' in a
      git repository).  Previously meld would not gracefully handle invalid
      repositories.  This patch attempts to add a quick sanity check
      to most version control systems.  The checks are meant to be
      as quick as possible to reduce startup time.
      Signed-off-by: 's avatarPeter Tyser <ptyser@gmail.com>
    • Peter Tyser's avatar
      vc: Check for installed version control tools before use · c9131582
      Peter Tyser authored
      Previously, meld blindly assumed that the proper version control software
      was always installed.  This causes issues when the proper version control
      software isn't installed.  For example, if 'bzr' is not installed,
      running "meld ./" in a bzr repository would result in an error such as:
        File "/home/ptyser/meld_git/meld/meld/vc/_vc.py", line 194, in popen
          return subprocess.Popen(cmd, cwd=cwd, stdout=subprocess.PIPE).stdout
        File "/usr/lib/python2.5/subprocess.py", line 594, in __init__
          errread, errwrite)
        File "/usr/lib/python2.5/subprocess.py", line 1147, in _execute_child
          raise child_exception
      OSError: [Errno 2] No such file or directory
      This patch forces meld to check if the proper version control software is
      installed before running any version control commands.
      Signed-off-by: 's avatarPeter Tyser <ptyser@gmail.com>
    • Peter Tyser's avatar
      _vc.py: Add a call() function · 90a1174d
      Peter Tyser authored
      This is similar to the popen() function that is already implemented in
      _vc.py, but it returns a called function's return code whereas popen()
      returns the stdout output.
      Signed-off-by: 's avatarPeter Tyser <ptyser@gmail.com>
  2. 31 Jul, 2010 1 commit
  3. 25 Jul, 2010 2 commits
  4. 01 Jul, 2010 2 commits
  5. 27 Jun, 2010 2 commits
    • Robert Wahler's avatar
      Use binary mode to write text files (closes bgo#590760) · 74a9e356
      Robert Wahler authored
      _save_text_to_filename should use binary mode to keep line endings
      on Windows.
    • Kai Willadsen's avatar
      Fix undo for grouped actions · a8a9940f
      Kai Willadsen authored
      The recent checkpoint-related undo rework requires every action to have
      an associated buffer. While this is true of all of our basic actions, it
      breaks for grouped actions. This commit adds a slightly hacky workaround
      by assuming that a group of actions all operates on the same buffer.
      While this is currently accurate, future changes could break it.
  6. 26 Jun, 2010 1 commit
  7. 25 Jun, 2010 5 commits
  8. 24 Jun, 2010 8 commits
  9. 22 Jun, 2010 4 commits
  10. 21 Jun, 2010 2 commits
  11. 19 Jun, 2010 7 commits
  12. 17 Jun, 2010 1 commit
  13. 14 Jun, 2010 1 commit
  14. 13 Jun, 2010 1 commit