summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Python dual support (#266)Andrew Dunai2018-01-0434-153/+285
| | | | | | | | | | | | | | | | | | | | * WIP * Metaclasses * String literal fixes * Remove 2to3 and make tests compatible with both Python 2 & 3 * Removed debug code. * Added tests for ProgressBar * Fixed examples. * future division & font literals fix * Cleaner fonts initialization.
* Merge pull request #269 from rndusr/feature/listbox-home-endAndrew Dunai2018-01-041-1/+16
|\ | | | | Feature/listbox home end
| * Merge branch 'feature/listbox-home-end'Random User2018-01-031-1/+16
| |\
| | * Add support for keys 'home' and 'end' to ListBoxRandom User2017-04-291-1/+16
| | | | | | | | | | | | | | | Pressing 'home' moves the focus to the first position, 'end' moves focus to the last position.
* | | Merge pull request #176 from rr-/patch-2Andrew Dunai2018-01-041-3/+7
|\ \ \ | | | | | | | | Correct Edit documentation
| * | | Correct Edit documentationMarcin Kurczewski2016-02-141-3/+7
| | | | | | | | | | | | There were missing doc comments for a few basic properties, + the text about `edit_text` property being a read-only property was a lie.
* | | | Merge pull request #214 from abadger/fix-edit-change-signalAndrew Dunai2018-01-032-7/+24
|\ \ \ \ | |_|/ / |/| | | Emit postchange after text is updated
| * | | checkbox and radiobutton also needs to have a postchange eventToshio Kuratomi2017-01-211-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Just like Edit() boxes, CheckBox and RadioButton need to have an event emitted after the change has been commited. This allows us to modify the state after it occurs. (If the event only fires before the state is actually changed, the event handler cannot change the state because the emitter will change it to what they were going to after the event handler has finished.
| * | | Implement postchange signal for Edit widget.Toshio Kuratomi2017-01-211-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Edit widget in 1.3.0 has a "change" signal which fires before the edit_text is updated. This means that change signal handlers cannot update the edit_text; the text is updated by the signal emitter after the change handler has finished running. To remedy this, in a backwards compatible way, create a second signal, "postchange" which fires after edit_text has been changed. "postchange" sends the widget's old text value as a parameter so that change handlers can use the former value if needed (for instance, to revert a change because the new_text was invalid)
| * | | Do not emit change until after text is updatedToshio Kuratomi2017-01-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes an Edit's change handler wants to edit the text that has just been entered. For instance, if the handler does validation, it may want to immediately highlight or prevent invalid entries from being shown. This is not possible if the change signal is emitted before the internal text data is updated as the update will overwrite anything that the change handler performed. Emitting the change event after the update has been performed allows for changes to be made. Fixes #212
* | | | Merge pull request #239 from geier/strikethroughAndrew Dunai2018-01-033-6/+16
|\ \ \ \ | | | | | | | | | | [RFC] New foreground setting "strikethrough"
| * | | | Support for new foreground setting "strikethrough"Christian Geier2018-01-023-6/+16
|/ / / / | | | | | | | | | | | | | | | | | | | | If you are unsure if your terminal supports this, try the following: echo -e "\e[9mstrikethrough\e[0m"
* | | | Merge pull request #220 from jwilk-forks/masterAndrew Dunai2018-01-026-14/+14
|\ \ \ \ | | | | | | | | | | Fix typos
| * | | | Fix typosJakub Wilk2017-02-286-14/+14
| | | | |
* | | | | Added .tox to ignore.Andrew Dunai2018-01-021-1/+1
| | | | |
* | | | | Added coveralls dependencyAndrew Dunai2018-01-022-2/+1
| | | | |
* | | | | Tox + TravisAndrew Dunai2018-01-022-3/+15
| | | | |
* | | | | Refactoring tox.iniAndrew Dunai2018-01-022-20/+3
| | | | |
* | | | | Added tox to simplify local testing.Andrew Dunai2018-01-023-13/+44
| | | | |
* | | | | CoveragercAndrew Dunai2018-01-022-0/+6
| | | | |
* | | | | Updated coverage commandAndrew Dunai2018-01-021-1/+1
| | | | |
* | | | | Fixed typo in coverage badge URL.Andrew Dunai2018-01-021-1/+1
| | | | |
* | | | | Added coverage + coverallsAndrew Dunai2018-01-022-2/+10
| | | | |
* | | | | Merge pull request #255 from geier/blinkAndrew Dunai2018-01-021-0/+12
|\ \ \ \ \ | | | | | | | | | | | | Mention blink and italics attributes in manual.
| * | | | | Mention blink and italics attributes in manual.Christian Geier2017-09-261-0/+12
| | | | | |
* | | | | | Merge pull request #260 from larsks/feature/py3Andrew Dunai2018-01-028-30/+43
|\ \ \ \ \ \ | | | | | | | | | | | | | | python 3 compatibility changes
| * | | | | | python 3 compatibility changesLars Kellogg-Stedman2017-12-248-30/+43
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | this updates the syntax in many of the examples so that they run under both python 2 and python 3.
* | | | | | ListBox: Modify inside docs of `keypress` method. (#257)xndcn2018-01-021-5/+4
| | | | | | | | | | | | | | | | | | Since from f5f6711 now `page up` and `page down` will be also handled by widget in focus, so the documents inside the `keypress` method have to be modified to avoid confusing.
* | | | | | Fixed issue with Unicode characters in ProgressBar (#261)Andrew Dunai2018-01-023-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixed issue with unicode characters in ProgressBar * Fixed Travis build - replaced deprecated 3.2_with_system_site_packages with 3.4_with_system_site_packages. * Fixed typo. * Fixing build for Python 3.2 * Fix for Python 3.2 & tornado/twisted * Setup script update in regards to #216 * Travis fix * Dependencies for Travis * Removed Python 3.2 from Travis dependency list as deprecated * Regression fix. * Removed bogus lines. * Docs.
* | | | | | Urwid is looking for new maintainersIan Ward2018-01-011-0/+2
|/ / / / /
* | | | | Merge pull request #243 from Sjc1000/masterIan Ward2017-08-221-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Fixed Terminal widget crashes with Python3
| * | | | | Fixed Terminal widget crashes with Python3Sjc10002017-07-181-1/+1
| | | | | |
* | | | | | Merge pull request #249 from Lothiraldan/cleaningIan Ward2017-08-221-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | Small style cleaning of ParentNode.set_child_node
| * | | | | | Small style cleaning of ParentNode.set_child_nodeBoris Feld2017-08-211-2/+2
| | | | | | |
* | | | | | | Merge pull request #248 from waveform80/masterIan Ward2017-08-221-4/+7
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | Fix #246, fix #234
| * | | | | | Fix #246, fix #234Dave Jones2017-08-201-4/+7
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adjusts the internal representation of an alarm in SelectEventLoop to include a "tie-break" value prior to the callback (as recommended in the heapq documentation) to prevent TypeError when comparing two different callbacks. Also tweaks SelectEventLoop to use heapq.heappop instead of list.pop for retrieving the next alarm, to maintain the heap structure of the alarm list.
* | | | | | Merge pull request #244 from mobyte0/masterIan Ward2017-07-261-1/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | | fixed docstring typo
| * | | | | fixed docstring typomobyte02017-07-261-1/+1
|/ / / / /
* | | | | Merge pull request #237 from floppym/test-vterm-EINTRIan Ward2017-07-041-2/+10
|\ \ \ \ \ | | | | | | | | | | | | test_vterm: handle EINTR when reading from pipe
| * | | | | test_vterm: handle EINTR when reading from pipeMike Gilbert2017-06-031-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: https://github.com/urwid/urwid/issues/230
* | | | | | Merge pull request #241 from mimi1vx/patch-1Ian Ward2017-06-261-3/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | Update travis to check python 3.6
| * | | | | | Update travis to check python 3.6Ondřej Súkup2017-06-261-3/+3
|/ / / / / / | | | | | | | | | | | | python-2.6 is out of support and some distributions moving to python-3.6
* | | | | | Merge pull request #238 from mwhudson/issue-164Ian Ward2017-06-071-3/+8
|\ \ \ \ \ \ | |/ / / / / |/| | | | | fix test_remove_watch_file flakiness
| * | | | | fix test_remove_watch_file flakinessMichael Hudson-Doyle2017-06-071-3/+8
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | pass a known-good file descriptor to watch_file rather than hard-coding 5 Fixes #164
* | | | | Merge pull request #207 from zrax/SimpleFocusListWalker_modifiedIan Ward2017-05-241-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix missing `modified` signal in SimpleFocusListWalker
| * | | | | Fix missing `modified` signal in SimpleFocusListWalkerMichael Hansen2016-11-111-0/+1
| | | | | |
* | | | | | Merge pull request #233 from rndusr/feature/listbox-forward-page-updownIan Ward2017-05-171-4/+3
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | ListBox: Offer page up/down keys to focused widget
| * | | | | ListBox: Offer page up/down keys to focused widgetRandom User2017-05-171-4/+3
|/ / / / / | | | | | | | | | | | | | | | | | | | | Child widgets of ListBoxes get all keys before ListBox uses them, including 'page up' and 'page down'.
* | | | | Merge pull request #228 from rndusr/dont-use-pollinglistwalkerIan Ward2017-04-241-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Default to SimpleListWalker when setting ListBox.body
| * | | | | Default to SimpleListWalker when setting ListBox.bodyRandom User2017-04-241-1/+1
|/ / / / / | | | | | | | | | | | | | | | PollingListWalker is deprecated.