summaryrefslogtreecommitdiff
path: root/urwid
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Fix ellipsis code for python2Philip Matura2019-10-151-1/+2
| | | |
| * | | Implement `ellipsis` wrapping mode for StandardTextLayoutPhilip Matura2019-10-151-6/+24
| | | |
| * | | Fix apply_text_layoutPhilip Matura2019-10-151-1/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | The loop may never append an option tuple, when `end_offs` coincides with the beginning of an `attr` element. (The loop potentially never runs when `start_offs == end_offs == 0`.) Fix by forcing another run in this case. Does not alter other behaviour, because if the loop is executed without taking the `continue` branch, the `end_offs <= aw.off+run` branch ensures that `aw.off != end_offs`.
* | | Handle case where MainLoop._topmost_widget does not implement mouse_eventRasmus Bondesson2019-10-171-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code that passes mouse_events to child widgets check if the widget implements the mouse_event() method, but this was not checked in MainLoop.process_input(). This results in a crash. Minimal example: import urwid urwid.MainLoop(urwid.SolidFill("X")).run() # ...then click anywhere
* | | Make Columns and Pile selectable when any child widget isPhilip Matura2019-10-091-21/+29
|/ / | | | | | | | | Fixes behaviour when changing contents to non selectable widgets. Before this may have trapped the focus to a non-selectable widget.
* | fix asyncio event loop test on py3.4max ulidtko2019-08-091-0/+4
| | | | | | | | | | | | | | TL;DR: asyncio.async from Py3.4.4 is [reserved keyword, and] deprecated alias for asyncio.ensure_future (which is new in 3.4.4). More detail e.g. here: https://github.com/tornadoweb/tornado/issues/2301
* | fix ProgressBar smoothing on Python 3.xTamas Nepusz2019-08-091-2/+2
|/
* Merge branch 'remove-pollinglistwalker' of https://github.com/hkoof/urwid ↵Tony Cebzanov2019-05-204-61/+9
|\ | | | | | | into hkoof-remove-pollinglistwalker
| * use ListWalker in unit tests when creating ListBoxesHeiko Noordhof2014-11-062-6/+6
| |
| * remove PollingListWalker classHeiko Noordhof2014-11-062-56/+5
| |
* | urwid.util: Fix bug in rle_append_beginning_modifyBkPHcgQL3V2019-05-161-1/+1
| | | | | | rle_append_beginning_modify was not correctly prepending rle fragments with mismatching attributes.
* | add test for RLE append/prepend utilsmax ulidtko2019-05-161-0/+17
| | | | | | | | see PR #330
* | util: rename append_beginning -> prependmax ulidtko2019-05-161-3/+3
| |
* | Unbreak python ./examples/treesample HOME END keys.Dimitri John Ledkov2019-05-141-1/+2
| |
* | Fix the asyncio example, and make the raw Screen work without real filesEevee (Lexy Munroe)2019-04-261-13/+31
| | | | | | | | | | I'm not actually sure how this ever worked without trying to call None.fileno() when the Screen was started.
* | fix EOF detection for the Terminal widget on Python 3Tamas Nepusz2019-04-161-3/+4
| |
* | Increase _idle_emulation_delay. Closes #86.Tony Cebzanov2019-04-051-1/+1
| | | | | | | | | | | | | | | | | | | | * As documented in #90, CPU load can get very high when using asyncio due to a very small value for _idle_emulation_delay. * Several possible fixes have been discussed in #86, but for now, simply reducing the polling interval should be fine for 99.9% of applications, and the rest can monkey-patch to increase value, just as others are doing to reduce it. * Issue #90 will remain open to track a more comprehensive fix.
* | Merge branch 'master' into use_timer_handle_public_methodtonycpsu2019-04-056-39/+98
|\ \
| * \ Merge pull request #336 from tonycpsu/ignore_shard_calculation_errortonycpsu2019-04-051-6/+1
| |\ \ | | | | | | | | Break instead of exception on shard calculation bug. Fixes #335 -- see #340 for future work.
| | * | Break rather than raising exception on shard calculation bug. Fixes #335.Tony Cebzanov2019-03-201-6/+1
| | | |
| * | | Include traceback on coroutine exception as discussed in #235, #283.Tony Cebzanov2019-04-051-1/+1
| | | |
| * | | Merge pull request #308 from alexozer/mastertonycpsu2019-04-051-1/+1
| |\ \ \ | | | | | | | | | | Fix colon in HalfBlock5x4Font
| | * | | Fix colon in HalfBlock5x4FontAlex Ozer2018-07-291-1/+1
| | | | |
| * | | | Merge pull request #284 from tonycpsu/24_bit_colortonycpsu2019-04-052-30/+84
| |\ \ \ \ | | | | | | | | | | | | 24-bit (true color) support.
| | * | | | 24-bit (true color) support.Tony Cebzanov2018-02-102-30/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Palette entires can now use 6-digit #rrggbb hex codes. * These codes are converted to true color escape sequences for terminals that have the proper support. * Documentation updates to follow.
| * | | | | Reformat exc_info assignmentnocarryr2019-01-161-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | Suggested by thesquelched: https://github.com/urwid/urwid/pull/283/files#r200813321
| * | | | | Merge branch 'master' into asyncio-exceptionsnocarryr2019-01-169-14/+398
| |\ \ \ \ \ | | | |_|/ / | | |/| | |
| * | | | | Correct whitespace errorsnocarryr2018-03-131-2/+2
| | | | | |
| * | | | | Add test case for exceptions caught in coroutinesnocarryr2018-02-121-0/+11
| | | | | |
| * | | | | Instance-check exception info and raise directly for subclasses of BaseExceptionnocarryr2018-02-121-0/+4
| | |/ / / | |/| | | | | | | | | | | | | urwid/urwid#235
* | | | | Use 'TimerHandle.cancelled()' if availableMohamed Seleem2018-12-281-1/+6
| |/ / / |/| | |
* | | | Merge pull request #295 from nchavez324/glib-sigwinchAndrew Dunai2018-12-101-1/+4
|\ \ \ \ | | | | | | | | | | Gate SIGWINCH behind GLib 2.54+
| * | | | Gate SIGWINCH behind GLib 2.54+Nick Chavez2018-04-161-1/+4
| | |/ / | |/| |
* | | | Add tests of escape sequence parsingMaxim Ivanov2018-12-091-0/+79
| | | |
* | | | Fix crash on click-Esc & Esc-click (#104)Maxim Ivanov2018-12-091-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | File "/usr/local/lib/python2.7/dist-packages/urwid/escape.py", line 386, in process_keyqueue if run[0] == "esc" or run[0].find("meta ") >= 0: AttributeError: 'tuple' object has no attribute 'find'
* | | | Merge pull request #311 from rndusr/getfullargspecAndrew Dunai2018-12-081-2/+8
|\ \ \ \ | | | | | | | | | | Don't use deprecated inspect.getargspec() with python3
| * | | | Forgot to remove old, commented codeRandom User2018-09-091-1/+0
| | | | |
| * | | | Don't use deprecated inspect.getargspec() with python3Random User2018-09-071-2/+9
| |/ / / | | | | | | | | | | | | | | | | | | | | inspect.getargspec() has been deprecated since 3.0. https://docs.python.org/3/library/inspect.html#inspect.getargspec
* | | | Merge pull request #325 from carlos-jenkins/masterAndrew Dunai2018-12-081-1/+1
|\ \ \ \ | | | | | | | | | | Fix issue #324 "Non-integer division in bargraph when using set_bar_width(1)"
| * | | | Fix issue #324 "Non-integer division in bargraph when using set_bar_width(1)"Carlos Jenkins2018-12-041-1/+1
| |/ / /
* | | | Merge pull request #326 from akosthekiss/patch-1Andrew Dunai2018-12-081-1/+1
|\ \ \ \ | | | | | | | | | | Fix misleading indentation in Screen._stop()
| * | | | Fix misleading indentation in Screen._stop()Akos Kiss2018-12-081-1/+1
| |/ / /
* | | | Merge pull request #307 from rndusr/masterAndrew Dunai2018-12-081-7/+2
|\ \ \ \ | | | | | | | | | | Remove method Text._calc_line_translation()
| * | | | Remove method Text._calc_line_translation()Random User2018-07-281-7/+2
| |/ / / | | | | | | | | | | | | _calc_line_translation() is extremely simple and only used in one place.
* | | | Drop Python 3.3 support, force tornado<=5.0.0.Andrew Dunai2018-12-081-0/+1
|/ / /
* | | Add ability to specify LineBox title attributeTom Pickering2018-02-221-2/+8
| | |
* | | value() return the base-10 value if edited texthootnot2018-02-051-3/+7
| | |
* | | test exception on incomp. valueshootnot2018-02-051-0/+6
| | |
* | | validation if initial by regex/handle leading 0'shootnot2018-02-051-8/+23
| | |
* | | support lower characters toohootnot2018-02-051-5/+5
| | |