1. 04 Feb, 2020 1 commit
    • Matt Harbison's avatar
      visdiff: convert the tool command back to str before displaying in an error dlg · eb63baf582e8
      Matt Harbison authored
      The str cast is necessary, otherwise an AttributeError is raised saying (for
      example) that 'FileNotFoundError' object has no attribute 'decode'.  In testing
      this (by trying to `subprocess.Popen("NULL")`), the error dialog pops up with
      the title, but nothing else in the box.  The following message is printed in the
      terminal, and the whole process hangs:
          QObject::startTimer: Timers can only be used with threads started with QThread
      branch : stable
  2. 07 Feb, 2020 1 commit
    • Matt Harbison's avatar
      setup: launch pyrcc5 with subprocess instead of `distutils.spawn` · 63c0a83d128f
      Matt Harbison authored
      For some reason, building PyQt5 isn't building pyrcc5.exe, and instead creates
      *.bat files.  But in order for *.bat files to be executed as a command, it needs
      to go through the shell.
      That's not enough, however, as the *.bat files are installed to the root of the
      virtualenv, which isn't on PATH.  So also adjust the environment when launching.
      I'm not handling the case of building outside of a virtualenv because this is so
      complicated that it would be crazy to build inside of the global python
      installation.  It does look like pyrcc5.exe is back and in the right place when
      installing with pip under py3, so this is probably a short term hack.
      branch : stable
  3. 06 Feb, 2020 1 commit
  4. 04 Feb, 2020 2 commits
  5. 03 Feb, 2020 1 commit
  6. 04 Feb, 2020 2 commits
  7. 03 Feb, 2020 2 commits
  8. 01 Feb, 2020 2 commits
  9. 03 Feb, 2020 2 commits
  10. 02 Feb, 2020 1 commit
  11. 01 Feb, 2020 5 commits
  12. 02 Feb, 2020 1 commit
  13. 01 Feb, 2020 2 commits
    • Yuya Nishihara's avatar
      typing: fix type annotation of chktext3() and add assertion · 1330ea968cec
      Yuya Nishihara authored
      pytype 2020.01.24 complains that pyqtSlot doesn't form a type. That's true
      because pyqtSlot is a decorator function. Using Any should be fine here since
      we just want to work around the type mismatch of the return value.
        File "tortoisehg/hgqt/clone.py", line 158, in __init__: Invalid type
        annotation '<instance of Callable>' for btnslot [invalid-annotation]
          Not a type
      Since the latest version of pytype can infer the return type of chktext3()
      from chktext(), we need to assert that there's a third element in the tuple.
        File "tortoisehg/hgqt/clone.py", line 162, in chktext3: bad option in
        return type [bad-return-type]
          Expected: Tuple[PyQt5.QtWidgets.QCheckBox, PyQt5.QtWidgets.QLineEdit,
          Actually returned: Tuple[PyQt5.QtWidgets.QCheckBox,
      branch : stable
    • Aay Jay Chan's avatar
      py3: byteify config setting lookup · 89ecc3a14828
      Aay Jay Chan authored
      This caused a crash when opening diff tool.
      branch : stable
  14. 31 Jan, 2020 1 commit
  15. 30 Jan, 2020 3 commits
  16. 28 Jan, 2020 2 commits
    • Matt Harbison's avatar
      packaging: update to the latest versions of the macOS dependencies · 78c637275328
      Matt Harbison authored
      I stayed with the Qt5.9 branch because it is still supported for now.  The PyQt5
      documentation says to always use the latest version, and not worry about keeping
      it in sync with Qt5.  SourceForge is lagging behind with some of these packages,
      so I moved them to the official download site.  Not sure if this is a great idea
      long term, because I don't see an archive page.  But we were already relying on
      this site for sip.
      Something (Qt5?) wanted `enum34` installed.  So the package installation had to
      be moved to immediately after building python.  Additionally, sip needed to be
      configured differently, otherwise this version of PyQt5 couldn't find it, and
      QScintilla failed to build.
    • Matt Harbison's avatar
      packaging: update the OpenSSL dependency on macOS · a5969c6d6849
      Matt Harbison authored
      OpenSSL 1.0.2 is now EOL, but newer versions contain API changes.  The other
      dependencies are an intertwined mess, so doing those separately.
  17. 29 Jan, 2020 1 commit
  18. 28 Jan, 2020 1 commit
  19. 30 Jan, 2020 1 commit
  20. 27 Jan, 2020 2 commits
  21. 24 Jan, 2020 6 commits