Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove Python 2.7 from CI #54 | Martin Vilcans | 2020-02-13 | 1 | -1/+0 |
| | |||||
* | Merge branch 'remove-py2' | Martin Vilcans | 2020-02-12 | 9 | -58/+24 |
|\ | |||||
| * | Removing Python 2 support - no need for six #54 | Martin Vilcans | 2020-02-12 | 7 | -9/+4 |
| | | |||||
| * | Remove Python 2 support for doctests #54 | Martin Vilcans | 2020-02-12 | 3 | -49/+20 |
|/ | |||||
* | Merge pull request #56 from jstasiak/python38-compat | Martin Vilcans | 2020-02-12 | 2 | -4/+8 |
|\ | | | | | Fix Python 3/3.8 compatibility | ||||
| * | Fix "TypeError: write() argument must be str, not bytes" on Python 3 | Jakub Stasiak | 2020-02-08 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | This used to happen when writing to stdout. On Python 3 stdout is an instance of TextIOWrapper which is a text-based interface. It wraps a bytes-based writer though which is accessible through the buffer attribute, so let's use that to either write to it directly or to get an encoding writer. Fixes https://github.com/vilcans/screenplain/issues/53. | ||||
| * | Fix "AttributeError: module 'cgi' has no attribute 'escape'" on Python 3.8 | Jakub Stasiak | 2020-02-07 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Full error: % screenplain Big-Fish.fountain Big-Fish.html Traceback (most recent call last): File "/Users/user/.ve38/bin/screenplain", line 6, in <module> main(sys.argv[1:]) File "/Users/user/.ve38/lib/python3.8/site-packages/screenplain/main.py", line 125, in main convert( File "/Users/user/.ve38/lib/python3.8/site-packages/screenplain/export/html.py", line 183, in convert convert_full( File "/Users/user/.ve38/lib/python3.8/site-packages/screenplain/export/html.py", line 210, in convert_full convert_bare(screenplay, out) File "/Users/user/.ve38/lib/python3.8/site-packages/screenplain/export/html.py", line 225, in convert_bare formatter.convert(screenplay) File "/Users/user/.ve38/lib/python3.8/site-packages/screenplain/export/html.py", line 99, in convert format_function(para) File "/Users/user/.ve38/lib/python3.8/site-packages/screenplain/export/html.py", line 153, in format_action self.out.write(to_html(line)) File "/Users/user/.ve38/lib/python3.8/site-packages/screenplain/export/html.py", line 60, in to_html html = text.to_html() File "/Users/user/.ve38/lib/python3.8/site-packages/screenplain/richstring.py", line 62, in to_html html = ''.join(seg.to_html() for seg in self.segments) File "/Users/user/.ve38/lib/python3.8/site-packages/screenplain/richstring.py", line 62, in <genexpr> html = ''.join(seg.to_html() for seg in self.segments) File "/Users/user/.ve38/lib/python3.8/site-packages/screenplain/richstring.py", line 136, in to_html _escape(self.text), File "/Users/user/.ve38/lib/python3.8/site-packages/screenplain/richstring.py", line 17, in _escape encoded = cgi.escape(s).encode('ascii', 'xmlcharrefreplace') AttributeError: module 'cgi' has no attribute 'escape' cgi.escape() is gone in Python 3.8, html.escape() should be used instead. Since html.escape() defaults to quote=True, we need to explicitly disable escaping quotation marks to keep doing the same thing. A question arises though – should quotation marks be actually kept verbatim here or was it unintentional? | ||||
* | | Replace pep8 with pycodestyle, get rid of warnings | Martin Vilcans | 2020-02-12 | 5 | -4/+7 |
| | | | | | | | | pep8 recommended that change | ||||
* | | Merge pull request #57 from jstasiak/ci-modern-python3-versions | Martin Vilcans | 2020-02-12 | 1 | -1/+4 |
|\ \ | |/ |/| | Test with currently supported Python 3 versions | ||||
| * | Test with currently supported Python 3 versions | Jakub Stasiak | 2020-02-08 | 1 | -1/+4 |
|/ | |||||
* | Follow package recommendations0.8.0 | Martin Vilcans | 2019-02-21 | 3 | -1/+8 |
| | | | | | From https://github.com/pypa/sampleproject | ||||
* | Rename license file to comply with recommendation | Martin Vilcans | 2019-02-21 | 1 | -0/+0 |
| | | | | | Recommendations: https://packaging.python.org/guides/distributing-packages-using-setuptools/ | ||||
* | Add classifiers, URLs, license to setup.py | Martin Vilcans | 2019-02-21 | 1 | -1/+12 |
| | |||||
* | Bump version and copyright | Martin Vilcans | 2019-02-21 | 2 | -2/+2 |
| | |||||
* | Add install_requires six for universal Python support | Martin Vilcans | 2019-02-21 | 1 | -0/+3 |
| | |||||
* | Do not create empty paragraph if Note is a full paragraph | Martin Vilcans | 2019-02-21 | 3 | -0/+20 |
| | |||||
* | Fountain treats a single space as an empty line | Martin Vilcans | 2019-02-21 | 1 | -1/+1 |
| | |||||
* | Add supports for notes | Martin Vilcans | 2019-02-21 | 3 | -1/+27 |
| | | | | Fixes #37 | ||||
* | Merge pull request #46 from jpyams/python3 | Martin Vilcans | 2019-02-21 | 11 | -15/+72 |
|\ | | | | | Add Python 3 support | ||||
| * | Python 3 no longer requires separate requirements | John Peter Yamauchi | 2019-02-19 | 1 | -4/+0 |
| | | | | | | | | No pun intended | ||||
| * | Fixed merge issue | John Peter Yamauchi | 2019-02-19 | 1 | -8/+4 |
| | | |||||
| * | Run Python 3 test script when running Py3 | John Peter Yamauchi | 2019-02-19 | 1 | -2/+7 |
| | | |||||
| * | Merge branch 'master' into python3 | John Peter Yamauchi | 2019-02-19 | 21 | -107/+690 |
| |\ | |/ |/| | |||||
* | | PDF output: No space between lines in multi-line Action paragraphs | Martin Vilcans | 2017-02-23 | 1 | -2/+4 |
| | | |||||
* | | Get rid of literal 12 for font size/spacing | Martin Vilcans | 2017-02-23 | 1 | -13/+21 |
| | | |||||
* | | Get rid of confusing PDF frame width calculation | Martin Vilcans | 2017-02-23 | 1 | -2/+3 |
| | | |||||
* | | Show multiple spaces in a row as is in HTML & PDF | Martin Vilcans | 2016-04-14 | 4 | -3/+48 |
| | | | | | | | | | | | | | | Not sure if FDX output should use Let's keep using spaces for now. Closes #30 | ||||
* | | Replace two spaces with in PDF output too | Martin Vilcans | 2016-04-13 | 2 | -5/+7 |
| | | |||||
* | | Support writing PDF to stdout | Martin Vilcans | 2015-12-01 | 1 | -24/+32 |
| | | |||||
* | | Bump version to 0.7.00.7.0 | Martin Vilcans | 2015-12-01 | 1 | -1/+1 |
| | | |||||
* | | Possible to specify which CSS file to use | Martin Vilcans | 2015-11-26 | 2 | -6/+20 |
| | | | | | | | | Closes #24 | ||||
* | | Test that alphanumeric character names work | Martin Vilcans | 2015-11-17 | 1 | -0/+7 |
| | | |||||
* | | Support non-alphanumeric character names with "@" | Martin Vilcans | 2015-11-17 | 2 | -3/+19 |
| | | | | | | | | Fixes #22 | ||||
* | | Restore template_constructor argument in to_pdf | Martin Vilcans | 2015-10-12 | 2 | -3/+6 |
| | | |||||
* | | Merge pull request #20 from charneykaye/pdf-scene-headings-bold | Martin Vilcans | 2015-10-12 | 2 | -3/+22 |
|\ \ | | | | | | | PDF exports Scene Headings as Bold and Underlined; fixes #14 | ||||
| * | | PDF exports Scene Headings as Bold and Underlined; fixes #14 | Charney Kaye | 2015-10-08 | 2 | -3/+22 |
|/ / | |||||
* | | Merge pull request #18 from michaelx386/master | Martin Vilcans | 2015-09-18 | 4 | -1/+68 |
|\ \ | | | | | | | Parse files with BOM present; fixes #5 | ||||
| * | | Parse files with BOM present; fixes #5 | michaelx386 | 2015-09-18 | 4 | -1/+68 |
|/ / | |||||
* | | Add test for dual dialogue in FDX output | Martin Vilcans | 2015-07-23 | 1 | -0/+21 |
| | | |||||
* | | Bumped version to 0.6.00.6.0 | Martin Vilcans | 2015-04-03 | 1 | -1/+1 |
| | | |||||
* | | Use `pip install -e .` in development instructions | Martin Vilcans | 2015-04-03 | 2 | -0/+10 |
| | | |||||
* | | Ignore PEP8 error about imports not at top of file | Martin Vilcans | 2015-04-03 | 1 | -1/+1 |
| | | | | | | | | | | This appeared after pep8 version 1.6.0. See jcrocholl/pep8#264 | ||||
* | | Merge pull request #12 from michaelx386/right-align-transitions | Martin Vilcans | 2015-04-03 | 1 | -1/+2 |
|\ \ | | | | | | | Right align transitions in PDF output | ||||
| * | | Right align transitions in PDF output | michaelx386 | 2015-04-03 | 1 | -1/+2 |
|/ / | |||||
* | | Bump to version 0.5.10.5.1 | Martin Vilcans | 2014-11-26 | 1 | -1/+1 |
| | | |||||
* | | Slight layout changes to cover page | Martin Vilcans | 2014-11-26 | 1 | -2/+2 |
| | | |||||
* | | Bump version to 0.5.00.5.0 | Martin Vilcans | 2014-11-13 | 1 | -1/+1 |
| | | |||||
* | | Don't count title page when numbering pages | Martin Vilcans | 2014-11-12 | 1 | -1/+7 |
| | | |||||
* | | Title page: 6 points of buffer to avoid blank page | Martin Vilcans | 2014-11-12 | 1 | -1/+2 |
| | | | | | | | | Otherwise, for some input I got a blank second page. | ||||
* | | 82 characters in a line: a flagrant PEP8 violation! | Martin Vilcans | 2014-11-05 | 2 | -6/+6 |
| | |