summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use getFlowedText in line block elementsHEADmasterJames E. Blair2017-05-022-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | A line block is essentially a kind of block quote. A '|' at the start of a line forces a new line. A subsequent line starting with a space is a continuation of the previous line. Indentation within a line block creates a nested line block. When the line block (or series of nested blocks) is finished, there should be a blank line separating it from the next element. Sphinx produces a 'line_block' event for each block (that is, series of lines, or nested group of lines), and a 'line' event for each line within that block. Currently, each of those line events accumulates text and then uses the formatted version of that text when creating urwid widgets. However, in the case of a continuation line, both lines from the source file appear in the same line event. This suggests that the correct action is to use the flowed version of the text we accumulate. In other words, the current behavior erroneously preserves the formatting of continuation lines, whereas by spec, it should not. The switch to getFlowedText corrects this. Additionally, because we are ignoring line_block events, it was not possible to create nested line_blocks. By treating them in the same manner as block quotes, where we put the contents inside of an urwid widget with left-hand padding, the resulting line block groupings are nested as expected.
* Fix encoding error in rst.py test functionJames E. Blair2017-05-021-1/+1
|
* Add format-patch instructionJames E. Blair2017-05-021-0/+7
|
* Fail gracefully if jp2a is not installedJames E. Blair2016-11-201-14/+33
|
* Fail nicer if figlet/cowsay not installedJames E. Blair2016-11-201-18/+36
| | | | | If figlet or cowsay are not installed, print a warning at startup and continue.
* Include navigation hints in demo presentationRoland Hieber2016-11-201-0/+2
| | | | | This minimizes confusion for new users who are used to different shortkeys (like Space for next slide, Esc to quit).
* Proof-read demo presentationRoland Hieber2016-11-201-4/+4
|
* Fix loading images:Toshio Kuratomi2016-11-201-3/+6
| | | | | | | * images without exif data are now assumed to be in the correct orientation instead of raising an exception. * Images are now converted from their color mode to RGBA so they can be saved as JPEG.
* Example using tree output and fix for the utf-8 characters that tree usesToshio Kuratomi2016-11-202-1/+17
|
* Allow scaling of imagesToshio Kuratomi2016-11-203-3/+57
|
* Pin PillowSpencer Krum2015-10-271-1/+1
|
* Fix setting of default transitionToshio Kuratomi2015-08-141-0/+2
|
* Update Git URL and add contributing docsJames E. Blair2015-07-251-1/+8
| | | | | Gitorious is gone, so update the upstream git URL and add a section on contributing.
* Add a tilt transitionJeremy Stanley2015-07-253-5/+23
| | | | | The tilt transition is like pan, only vertical instead of horizontal.
* Use the q key to quit gracefullyJeremy Stanley2015-07-253-0/+6
| | | | | | Relying on ctrl-C user interrupt to exit leaves the terminal in a dirty state, and potentially unusable. Add the ability to exit gracefully by pressing the q key.
* Use configured transition durationJeremy Stanley2015-07-251-1/+1
| | | | | When a duration is passed as a parameter into the Transition instantiation, use it.
* README.rst: fix typoChris Packham2015-01-261-1/+1
| | | | Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
* Add source location to READMEJames E. Blair2015-01-141-0/+5
|
* Add support for bright bg colors in ansi parserJames E. Blair2015-01-102-12/+37
|
* Initial commitJames E. Blair2015-01-0921-0/+2978