1850a08 | Mads Kiilerich | 04 April 2020, 02:27:44 UTC | qt5: renaming of references to hgviewlib/qt5, finishing up the Qt5 port | 04 April 2020, 02:27:44 UTC |
a156a17 | Mads Kiilerich | 04 April 2020, 02:23:50 UTC | qt5: trivial move from hgviewlib/qt4 to hgviewlib/qt5 References will be fixed next. hg mv hgviewlib/qt4 hgviewlib/qt5 | 04 April 2020, 02:23:50 UTC |
58b1a64 | Mads Kiilerich | 03 April 2020, 23:50:32 UTC | qt5: fix imports - primarily additionally import of QtWidgets | 03 April 2020, 23:50:32 UTC |
038eb0a | Mads Kiilerich | 04 April 2020, 00:33:31 UTC | qt5: setResizeMode was renamed to setSectionResizeMode sed -i 's,setResizeMode,setSectionResizeMode,g' `hg mani` | 04 April 2020, 00:33:31 UTC |
6564264 | Mads Kiilerich | 04 April 2020, 00:32:39 UTC | qt5: trivial renaming of QStringListModel that moved from qtGui to QtCore for x in QStringListModel; do sed -i "s,\\<QtGui\\.$x\>,QtCore.$x,g" `hg mani`; done | 04 April 2020, 00:32:39 UTC |
258bbd6 | Mads Kiilerich | 04 April 2020, 00:31:43 UTC | qt5: trivial renaming of stuff that moved from QtGui to QtWidgets for x in QAbstractItemView qApp QApplication QComboBox QCompleter QDialog QFrame QHBoxLayout QHeaderView QLabel QLineEdit QMainWindow QMenu QSizePolicy QStyleFactory QTableView QTextBrowser QToolBar QToolButton QVBoxLayout QWidget; do sed -i "s,\\<QtGui\\.$x\>,QtWidgets.$x,g" `hg mani`; done | 04 April 2020, 00:31:43 UTC |
54916f9 | Mads Kiilerich | 31 March 2020, 22:05:29 UTC | qt5: use pyrcc5 and pyuic5 | 31 March 2020, 22:05:29 UTC |
ed1e6de | Mads Kiilerich | 31 March 2020, 21:49:48 UTC | qt5: drop pyrcc py3 code generation option pyrcc5 doesn't support py2 code generation and doesn't have the -py3 option. This will thus effectively drop hgview Python 2 support. No big deal. | 31 March 2020, 21:49:48 UTC |
826e628 | Mads Kiilerich | 04 April 2020, 02:32:11 UTC | qt5: update some qt4 references to qt5 | 04 April 2020, 02:32:11 UTC |
6bd2a61 | Mads Kiilerich | 04 April 2020, 00:20:22 UTC | qt5: trivial renaming from Qt4 to Qt5 | 04 April 2020, 00:20:22 UTC |
5c947c0 | Mads Kiilerich | 04 April 2020, 00:13:59 UTC | qt5: trivial renaming from PyQt4 to PyQt5 This will temporarily leave things inconsistent, misnamed and broken ... but the migration steps will be easier to review and give more useful history. | 04 April 2020, 00:13:59 UTC |
43b011f | Mads Kiilerich | 04 April 2020, 01:37:48 UTC | qt5: simplify initialization of HgRepoListWalker and thus HgRepoListModel This widget used multiple inheritance of classes with different __init__ arguments. That doesn't really work reliably when combined with super() that hides the complexity of calling order. Especially not when sip play tricks to emulate the Qt class hierarchy in Python. It would fail with a confusing error about a missing repo argument to QAbstractTableModel.__init__(self, parent) HgRepoListWalker has a public setRepo method which was called at the end of __init__, forwarding all the __init__ parameters. Change that to a __init__ without parameters, and an expectation of invoking setRepo right after __init__. This has the slight disadvantage of potentially exposing partially initialized objects ... but that is a small and necessary price to pay. | 04 April 2020, 01:37:48 UTC |
a13d9df | Mads Kiilerich | 04 April 2020, 02:09:16 UTC | qt5: simplify Viewer class hierarchy to work better with multiple inheritance of Qt classes Clarify the role of the Viewer stubs in hgviewlib/application.py . It is a mess to use multiple inheritance and super() and different parameter profiles in diferent parent/sibling classes. The empty Viewer stubs should thus not be used as interfaces / purely virtual base classes; they are just an example and documentation. | 04 April 2020, 02:09:16 UTC |
4b52201 | Mads Kiilerich | 03 April 2020, 22:56:58 UTC | qt5: better handling of hgfileview layoutChanged signals - also turn [] into a QtCore.QModelIndex | 03 April 2020, 22:56:58 UTC |
7140c4a | Mads Kiilerich | 17 November 2019, 16:46:40 UTC | qt4: support PyQt4 v4.12.2 where sip became a sub module https://www.riverbankcomputing.com/static/Docs/PyQt4/incompatibilities.html#pyqt-v4-12-2 : In previous versions PyQt4 used the copy of the sip module usually installed in the site-packages directory and applications accessed it using as follows: import sip This version includes a private copy of the module. Applications should access it as follows: from PyQt4 import sip | 17 November 2019, 16:46:40 UTC |
9944923 | Mads Kiilerich | 03 April 2020, 23:13:52 UTC | py3: use integer division in more places Occasionally, things would crash when a float popped up where an integer was expected. This seems like places where integer division was intended. | 03 April 2020, 23:13:52 UTC |
9920a20 | Mads Kiilerich | 04 April 2020, 01:08:18 UTC | py3: fix display of diff of renames | 04 April 2020, 01:08:18 UTC |
fe7724b | Mads Kiilerich | 03 April 2020, 23:03:22 UTC | py3: use pycompat.unicode | 03 April 2020, 23:03:22 UTC |
147b09b | Mads Kiilerich | 04 April 2020, 02:19:02 UTC | curses: fix lexers.get_lexer_by_name reference for removed files | 04 April 2020, 02:19:02 UTC |
114e99d | Nicolas Chauvat | 20 April 2020, 20:11:00 UTC | Change project URL from logilab.org to foss.heptapod.net | 20 April 2020, 20:11:00 UTC |
5976215 | Nicolas Chauvat | 20 April 2020, 19:59:48 UTC | Rename README to README.rst to get Heptapod to render it nicely | 20 April 2020, 19:59:48 UTC |
e085afe | Nicolas Chauvat | 07 April 2020, 20:09:37 UTC | Move to foss.heptapod.net and acknowledge their support | 07 April 2020, 20:09:37 UTC |
8ee4fe2 | Carine Dengler | 11 February 2020, 15:26:35 UTC | [debian] fixed non-native package version | 11 February 2020, 15:26:35 UTC |
a5d77e3 | Carine Dengler | 11 February 2020, 15:18:13 UTC | Added tag 1.13.1, debian/1.13.1-1 for changeset 61c4ac8651e8 | 11 February 2020, 15:18:13 UTC |
df7af11 | Carine Dengler | 11 February 2020, 15:15:42 UTC | [pkg] version 1.13.1 | 11 February 2020, 15:15:42 UTC |
d52361f | Carine Dengler | 11 February 2020, 14:47:07 UTC | scmutil.status] scmutil.status is no longer tuple and new __iter__ method is generator; enclose call to repo.status in list() before attempting to access elements | 11 February 2020, 14:47:07 UTC |
388d76c | Philippe Pepiot | 13 November 2019, 12:58:58 UTC | Added tag 1.13.0, debian/1.13.0-1 for changeset a7eb8c65c62f | 13 November 2019, 12:58:58 UTC |
dc0ba9d | Philippe Pepiot | 13 November 2019, 12:58:44 UTC | [pkg] version 1.13.0 | 13 November 2019, 12:58:44 UTC |
67ec95e | Philippe Pepiot | 13 November 2019, 12:56:44 UTC | Update debian packaging for python3 | 13 November 2019, 12:56:44 UTC |
ccb956d | Philippe Pepiot | 13 November 2019, 12:56:21 UTC | make hgview entrypoint use python3 by default | 13 November 2019, 12:56:21 UTC |
a9cddb8 | Philippe Pepiot | 13 November 2019, 12:55:47 UTC | Compat with mercurial 5.2 mercurial.demandimport has been moved to hgdemandimport | 13 November 2019, 12:55:47 UTC |
cb72d66 | Philippe Pepiot | 10 September 2019, 12:24:14 UTC | Fix AttributeError: 'HgRepoViewer' object has no attribute 'repo_path' Followup d0d48bd9 | 10 September 2019, 12:24:14 UTC |
2c3400b | Philippe Pepiot | 06 September 2019, 09:02:32 UTC | Added tag 1.12.0, debian/1.12.0-1 for changeset e588e49953a7 | 06 September 2019, 09:02:32 UTC |
96077f4 | Philippe Pepiot | 06 September 2019, 09:02:14 UTC | [pkg] version 1.12.0 | 06 September 2019, 09:02:14 UTC |
4923cff | Mads Kiilerich | 24 August 2019, 16:08:08 UTC | Use integer division when computing commit message scrolling poisition in curses UI Floating point division gives too many digits that we don't care about. | 24 August 2019, 16:08:08 UTC |
92fd441 | Mads Kiilerich | 24 August 2019, 16:10:16 UTC | Use unicode output_encoding when rendering help text Needed for Python 3, works with Python 2. | 24 August 2019, 16:10:16 UTC |
2bc4760 | Mads Kiilerich | 25 August 2019, 12:01:47 UTC | Avoid direct use of the unicode type - it is going away in Python 3 Partly replaced by using Mercurial pycompat.unicode which will be str when using Python 3. | 25 August 2019, 12:01:47 UTC |
b79f2a0 | Mads Kiilerich | 25 August 2019, 09:50:33 UTC | Introduce hgrepoviewer repo_path - a convenient unicode abspath of repo root | 25 August 2019, 09:50:33 UTC |
3818a1d | Mads Kiilerich | 27 August 2019, 20:28:12 UTC | Use tohg in more places, especially when paths are passed to Mercurial | 27 August 2019, 20:28:12 UTC |
3153268 | Mads Kiilerich | 24 August 2019, 16:43:17 UTC | Use Python 3 compatible range function instead of xrange Apply most of: 2to3 -f xrange -w . | 24 August 2019, 16:43:17 UTC |
aa10132 | Mads Kiilerich | 25 August 2019, 12:16:01 UTC | Apply tounicode on more data from Mercurial - they will be bytes in py3 | 25 August 2019, 12:16:01 UTC |
4976c2b | Mads Kiilerich | 24 August 2019, 17:16:00 UTC | Use explicit relative imports in generated Qt _ui.py files - needed for py3 Avoid No module named 'revisions_table' The odd leading dot in the name of the fake .h header like <header>.revisions_table.h</header> happens to give the desired from .revisions_table import ... | 24 August 2019, 17:16:00 UTC |
a85ff7b | Mads Kiilerich | 25 August 2019, 10:02:53 UTC | Use the right type when passing revisions to hg ... and avoid using basestring | 25 August 2019, 10:02:53 UTC |
effe204 | Mads Kiilerich | 24 August 2019, 17:58:08 UTC | Convert various tagged GraphLog entries to unicode for curses interface Avoid comparing with basestring, but be explicit about handling both tuples and strings. Some of these entries come from deep down in Mercurial internals. | 24 August 2019, 17:58:08 UTC |
37ce4fb | Mads Kiilerich | 24 August 2019, 17:50:35 UTC | Introduce py3 variant of tounicode | 24 August 2019, 17:50:35 UTC |