1. 12 Apr, 2019 2 commits
  2. 05 Apr, 2019 1 commit
  3. 06 Apr, 2019 3 commits
    • muxator's avatar
      revpanel: just some newlines in create_markup_func() · 0cb4ae8344dc
      muxator authored
      Let's try to better witespace-separate the various subfunctions, since in the
      next commits we are going to mess with them.
    • muxator's avatar
      patchctx: fix crash when clicking on unapplied mq patch. · 8acf1cec570b
      muxator authored
      Without this patch, clicking on an unapplied mq patch causes the following
      stack trace:
        ** Mercurial version (4.9+7-a62690659d6b+20190223).  TortoiseHg version (4.9+25-a4f12d0cab7c)
        Traceback (most recent call last):
          File "<base>/thg/tortoisehg/hgqt/revdetails.py", line 397, in _onFileSelected
          File "<base>/thg/tortoisehg/hgqt/fileview.py", line 498, in display
          File "<base>/thg/tortoisehg/hgqt/filedata.py", line 494, in load
            self.diff = ctx.thgmqpatchdata(wfile)
          File "<base>/thg/tortoisehg/util/patchctx.py", line 190, in thgmqpatchdata
        NameError: global name 'pycompat' is not defined
      This was a small overlook in 679593c2dbe6 (py3: replace cStringIO with
    • muxator's avatar
      patchctx: merge together two imports and use new import style · 4394446559d2
      muxator authored
      No functional changes
  4. 27 Mar, 2019 4 commits
  5. 24 Mar, 2019 1 commit
    • Matt Harbison's avatar
      py3: replace cStringIO with pycompat.bytesio · 679593c2dbe6
      Matt Harbison authored
      Fixed up after running `2to3 -w -n -f imports -f imports2 .`.  There are other
      imports that need fixing, but not all have a pycompat alias.  So I'm splitting
      these up.
      TortoiseHgOverlayServer.py and thg replace stdio with byte buffers, which won't
      work on py3.  They need to be revisited to see if this is still necessary with
      py2exe[1].  In the meantime, I conditionalized a couple things there to prevent
      extra stacktraces on py3, since the local variable holding the buffer is used
      further down in each case.
      [1] https://groups.google.com/d/msg/thg-dev/dZbFjZugORs/sGOnxBpnBgAJ
  6. 23 Mar, 2019 1 commit
  7. 27 Mar, 2019 1 commit
  8. 24 Mar, 2019 2 commits
    • Matt Harbison's avatar
      py3: replace map() with pycompat.maplist() · 73148d2bb73e
      Matt Harbison authored
      Fixed up after running `2to3 -w -n -f map .`  It also replaced map+lambda with a
      list comprehension in qt_repotreemodel_test.py.
    • Matt Harbison's avatar
      py3: modernize various idioms · b0931b9c5b98
      Matt Harbison authored
      Converted with `2to3 -w -n -f idioms .`.  The changes it wanted to make to
      tests/qt_repotreemodel_test.py are skipped because Yuya thought they are meant
      to test for specific class types.  Additionally, a check in reporegistry.py of
      the selected indices when a drag is started is skipped, as the comment there
      implies it is testing for an exact type.  Same goes for setModel() in
  9. 23 Mar, 2019 1 commit
    • Matt Harbison's avatar
      py3: replace zip() with pycompat.ziplist() · 3cb5faef9fa7
      Matt Harbison authored
      Fixed up after running `2to3 -w -n -f zip .`  Instances of `dict(zip(..))` in
      filedialogs.py, shelve.py, and status.py are unchanged, as dict can take the
      output of `zip()` on py2 and py3.
  10. 24 Mar, 2019 4 commits
  11. 23 Mar, 2019 6 commits
  12. 03 Feb, 2019 2 commits
  13. 20 Feb, 2019 1 commit
  14. 24 Feb, 2019 2 commits
  15. 21 Feb, 2019 1 commit
  16. 26 Jan, 2019 1 commit
    • chrisjbillington's avatar
      repoview: setWordWrap(False) (fixes #5297) · cd58b6284e03
      chrisjbillington authored
      QTableView has word wrapping enabled by default, but Qt <= 5.11 had a bug
      such that it had no effect. Qt 5.12 fixes this bug, resulting in the repo
      view wrapping lines unless word wrapping is explicitly disabled.
      branch : stable
  17. 22 Jan, 2019 4 commits
  18. 21 Jan, 2019 1 commit
  19. 22 Jan, 2019 1 commit
  20. 19 Jan, 2019 1 commit