This instance was upgraded to Heptapod 0.27.2 on 2021-12-08 at 22:00 UTC+1

  1. 27 Nov, 2021 1 commit
  2. 26 Nov, 2021 1 commit
  3. 25 Nov, 2021 8 commits
  4. 16 Nov, 2021 1 commit
    • kiilerix's avatar
      qt: fix task switcher icon on Qt 5.7 · 9ce1a61ba95f
      kiilerix authored
      Fedora 35 Gnome showed the right icon for launching TortoiseHg. (It thus found
      and used thg.desktop.) It did however not show the right icon for running apps
      - it seemed to use "org.tortoisehg.python3", computed from argv and the reverse
      "organization domain". (The mapping from the running app back to thg.desktop
      thus failed.)
      
      Fixed by setting desktopFileName (when that option is available), per
      https://doc.qt.io/qt-5/qguiapplication.html#desktopFileName-prop . It is
      unclear what kind of magic made it work before.
      
      --HG--
      branch : stable
      9ce1a61ba95f
  5. 11 Nov, 2021 1 commit
  6. 10 Nov, 2021 5 commits
    • kiilerix's avatar
      repoview: fix crash on drag-and-drop on Python 3.10 · 39501e2d8c00
      kiilerix authored
      When in repo view and dragging a "patch" line, it would fail with:
        File "tortoisehg/hgqt/repoview.py", line 535, in drawPrimitive
          painter.drawRect(vp.x(), option.rect.y(),
                           vp.width() - 1, 0.5)
      TypeError: arguments did not match any overloaded call:
        drawRect(self, QRectF): argument 1 has unexpected type 'int'
        drawRect(self, int, int, int, int): argument 4 has unexpected type 'float'
        drawRect(self, QRect): argument 1 has unexpected type 'int'
      
      The 4th drawRect parameter is height, which should be in integer. With Python
      3.10, the float is no longer rounded to 0 automatically.
      
      --HG--
      branch : stable
      39501e2d8c00
    • kiilerix's avatar
      blockmatcher: fix crash when viewing change in context on Python 3.10 · b765932ecb62
      kiilerix authored
      On Python 3.10, after clicking "View change in context of the file" on a
      changeset, it would fail with traceback:
      
        File "tortoisehg/hgqt/blockmatcher.py", line 142, in paintEvent
          p.drawRect(0, self._value * sy, w, self._pagestep * sy)
      TypeError: arguments did not match any overloaded call:
        drawRect(self, QRectF): argument 1 has unexpected type 'int'
        drawRect(self, int, int, int, int): argument 2 has unexpected type 'float'
        drawRect(self, QRect): argument 1 has unexpected type 'int'
      
      This problem is similar to de0ef991ebb5, but in this case we seem to need sy to
      be a float so it doesn't lose precision when multiplied in the drawRect call.
      
      We thus fix it by adding explicit int cast to drawRect parameters to help pick
      the right overload.
      
      --HG--
      branch : stable
      b765932ecb62
    • Yuya Nishihara's avatar
      1ed459862b0a
    • Matt Harbison's avatar
      partialcommit: adapt to dirstate API changes in 6.0 · 87fbe835cfb3
      Matt Harbison authored
      This was deprecated in 5.9 and dropped in 6.0.
      87fbe835cfb3
    • Yuya Nishihara's avatar
      merge with stable · 485eee4ea16b
      Yuya Nishihara authored
      485eee4ea16b
  7. 02 Nov, 2021 2 commits
  8. 01 Nov, 2021 1 commit
    • kiilerix's avatar
      qtapp: convert voidptr from QSocketNotifier.socket() to int before passing to... · a496a5cb9cf7
      kiilerix authored
      qtapp: convert voidptr from QSocketNotifier.socket() to int before passing to os.close() (fixes #5751)
      
      With python3-qt5-5.15.0 on Python 3.10, sip.voidptr is not automatically cast
      to integer in os.close, and thg would thus fail on shutdown:
      
        File "tortoisehg/hgqt/qtapp.py", line 163, in release
          self._releaseWakeup()
        File "tortoisehg/hgqt/qtapp.py", line 243, in _releaseWakeup
          os.close(rfd)
      TypeError: 'sip.voidptr' object cannot be interpreted as an integer
      
      --HG--
      branch : stable
      a496a5cb9cf7
  9. 08 Oct, 2021 1 commit
  10. 07 Oct, 2021 1 commit
  11. 12 Sep, 2021 1 commit
  12. 27 Aug, 2021 1 commit
  13. 09 Aug, 2021 2 commits
  14. 01 Aug, 2021 1 commit
  15. 27 Jul, 2021 1 commit
  16. 12 Jul, 2021 1 commit
  17. 09 Jul, 2021 8 commits
  18. 09 Jun, 2021 2 commits
  19. 08 Jun, 2021 1 commit