| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Initial migration to the python 3.7: Semi-automatic changes
CI related:
Update `tox.ini` and `.travis.yml` to run python3 only tests
Python 3.11 tests is commented-out on travis until #517 is not merged
Manual changes:
* `setup.py`: classifiers, remove python2 compatibility code
* `docs/manual/wcur2.py`: looks like file was never completed, syntax is invalid
* `urwid.compat`: removed `ord2`, `bytes3`, `text_type`, `xrange` and `text_types`
Automatic changes (no manual editing, AST validated equality:
* removed `u` prefix from all strings: not allowed in modern python code
* `bytes()` -> `b''`
* `== None` -> `is None`
* subclassing of `object`
* `super(<Class>`, self>)` ->`super()`
* `from __future__ import ...` python3 compatibility imports
* `set(<Iterable[Hashable]>)` -> `{<Hashable>}`
* partial f-strings conversion
* (`IOError`, `select.error`, `socket.error`) -> `OSError`
* Switch to f-strings (automatic changes)
* Remove `urwid.compat.B`
* Remove `urwid.compat.with_metaclass`
* use native `super()` instead of `self.__super`
* Remove `urwid.compat.chr2`
* Remove `urwid.split_repr.python3_repr`
* Use native `@classmethod` and `@property` where overload is not possible
* Add `from __future__ import annotations`
* automatically sort imports
* Add DeprecationWarning to the deprecated methods
most IDE's will recognize it and annotate during new code usage
call with "warnings as errors" mode will help to refactor other users
* Address comments
* replace homepage address in all files
* remove outdated comments in compat.py
* make wcur2.py correct python code. For example subclass
* replace `self.__super` by `super()` in examples
* fix asyncio_socket_server.py: magic with `asyncio` became wrong
* Remove `widget.update_wrapper`: this was backport of python `functools.update_wrapper`
* display_common.py: fix trivial typo in _colors calculation
* use `sorted` method instead of list construction with later sorting
* Address comments
* `wcur2` include in docs
* warning on `signals.Signals.emit`
---------
Co-authored-by: Aleksei Stepanov <alekseis@nvidia.com>
|
| |
|
| |
"will be have" → "will have"
|
| |
|
| |
fix small typo in tutorial
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
--HG--
rename : docs/tutorial/menu4.py => docs/tutorial/adventure.py
rename : docs/tutorial/menu4.py.xdotool => docs/tutorial/adventure.py.xdotool
rename : docs/tutorial/menu41.png => docs/tutorial/adventure1.png
rename : docs/tutorial/menu42.png => docs/tutorial/adventure2.png
rename : docs/tutorial/menu43.png => docs/tutorial/adventure3.png
rename : docs/tutorial/menu44.png => docs/tutorial/adventure4.png
rename : docs/tutorial/menu2.py => docs/tutorial/cmenu.py
rename : docs/tutorial/menu2.py.xdotool => docs/tutorial/cmenu.py.xdotool
rename : docs/tutorial/menu21.png => docs/tutorial/cmenu1.png
rename : docs/tutorial/menu22.png => docs/tutorial/cmenu2.png
rename : docs/tutorial/menu23.png => docs/tutorial/cmenu3.png
rename : docs/tutorial/menu24.png => docs/tutorial/cmenu4.png
rename : docs/tutorial/menu3.py => docs/tutorial/hmenu.py
rename : docs/tutorial/menu3.py.xdotool => docs/tutorial/hmenu.py.xdotool
rename : docs/tutorial/menu31.png => docs/tutorial/hmenu1.png
rename : docs/tutorial/menu32.png => docs/tutorial/hmenu2.png
rename : docs/tutorial/menu33.png => docs/tutorial/hmenu3.png
rename : docs/tutorial/menu34.png => docs/tutorial/hmenu4.png
rename : docs/tutorial/lbcont.py => docs/tutorial/multiple.py
rename : docs/tutorial/lbcont.py.xdotool => docs/tutorial/multiple.py.xdotool
rename : docs/tutorial/lbcont1.png => docs/tutorial/multiple1.png
rename : docs/tutorial/lbcont2.png => docs/tutorial/multiple2.png
rename : docs/tutorial/lbcont3.png => docs/tutorial/multiple3.png
rename : docs/tutorial/lbcont4.png => docs/tutorial/multiple4.png
rename : docs/tutorial/edit.py => docs/tutorial/qa.py
rename : docs/tutorial/edit.py.xdotool => docs/tutorial/qa.py.xdotool
rename : docs/tutorial/edit1.png => docs/tutorial/qa1.png
rename : docs/tutorial/edit2.png => docs/tutorial/qa2.png
rename : docs/tutorial/edit3.png => docs/tutorial/qa3.png
rename : docs/tutorial/frlb.py => docs/tutorial/sig.py
rename : docs/tutorial/frlb.py.xdotool => docs/tutorial/sig.py.xdotool
rename : docs/tutorial/frlb1.png => docs/tutorial/sig1.png
rename : docs/tutorial/frlb2.png => docs/tutorial/sig2.png
rename : docs/tutorial/frlb3.png => docs/tutorial/sig3.png
rename : docs/tutorial/frlb4.png => docs/tutorial/sig4.png
rename : docs/tutorial/menu1.py => docs/tutorial/smenu.py
rename : docs/tutorial/menu1.py.xdotool => docs/tutorial/smenu.py.xdotool
rename : docs/tutorial/menu11.png => docs/tutorial/smenu1.png
rename : docs/tutorial/menu12.png => docs/tutorial/smenu2.png
rename : docs/tutorial/menu13.png => docs/tutorial/smenu3.png
|
| | |
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
|
|
|
|
|
|
|
| |
--HG--
branch : feature-sphinx
rename : docs/tutorial/wanat.py => docs/manual/wanat.py
rename : docs/tutorial/wanat_multi.py => docs/manual/wanat_multi.py
rename : docs/tutorial/wanat_new.py => docs/manual/wanat_new.py
rename : docs/tutorial/wcur1.py => docs/manual/wcur1.py
rename : docs/tutorial/wcur2.py => docs/manual/wcur2.py
rename : docs/tutorial/wmod.py => docs/manual/wmod.py
rename : docs/tutorial/wsel.py => docs/manual/wsel.py
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
|
|
| |
_invalidate calls
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
|
|
| |
Substitute old images with the new ones generated by the new scripts
--HG--
branch : feature-sphinx
|
| |
|
|
|
|
| |
--HG--
branch : feature-sphinx
rename : docs/tutorial/wcur.py => docs/tutorial/wcur1.py
|
| |
|
|
|
| |
--HG--
branch : feature-sphinx
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
--HG--
branch : feature-sphinx
rename : docs/index.txt => docs/index.rst
rename : docs/manual/canvascache.txt => docs/manual/canvascache.rst
rename : docs/manual/displayattributes.txt => docs/manual/displayattributes.rst
rename : docs/manual/displaymodules.txt => docs/manual/displaymodules.rst
rename : docs/manual/eventloops.txt => docs/manual/eventloops.rst
rename : docs/manual/index.txt => docs/manual/index.rst
rename : docs/manual/listboxcontents.txt => docs/manual/listboxcontents.rst
rename : docs/manual/mainloop.txt => docs/manual/mainloop.rst
rename : docs/manual/standardwidgets.txt => docs/manual/standardwidgets.rst
rename : docs/manual/textattributes.txt => docs/manual/textattributes.rst
rename : docs/manual/textencodings.txt => docs/manual/textencodings.rst
rename : docs/manual/textlayout.txt => docs/manual/textlayout.rst
rename : docs/manual/userinput.txt => docs/manual/userinput.rst
rename : docs/manual/widgetlayout.txt => docs/manual/widgetlayout.rst
rename : docs/manual/widgetmethods.txt => docs/manual/widgetmethods.rst
rename : docs/reference/index.txt => docs/reference/index.rst
rename : docs/tutorial/index.txt => docs/tutorial/index.rst
|