Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Compare types with isinstance - gets rid of warning | Martin Vilcans | 2023-11-09 | 1 | -2/+2 |
| | |||||
* | Add test for issue #65, which passes | Martin Vilcans | 2023-03-20 | 2 | -0/+2 |
| | | | | Closes #65: can't reproduce. | ||||
* | readme: PDF is supported now | Martin Vilcans | 2023-03-20 | 1 | -2/+1 |
| | | | | Closes #76 | ||||
* | Add Python 3.11 to testing matrix | Martin Vilcans | 2023-02-24 | 1 | -1/+1 |
| | |||||
* | Add test for forcing action with "!" | Martin Vilcans | 2023-02-24 | 3 | -0/+13 |
| | |||||
* | Fix runtime error in pdf output of dual dialog | Martin Vilcans | 2023-02-24 | 1 | -3/+3 |
| | | | | Regression from 7507fa2 | ||||
* | Possible to force action by starting line with ! | Martin Vilcans | 2023-02-24 | 1 | -1/+11 |
| | | | | Closes #63 | ||||
* | pdf Settings object for styles and layout | Martin Vilcans | 2022-11-07 | 2 | -129/+218 |
| | | | | Instead of global hardcoded values. | ||||
* | Replace nose with pytest | Martin Vilcans | 2022-11-07 | 3 | -2/+2 |
| | |||||
* | assertEquals is deprecated - use assertEqual | Martin Vilcans | 2022-11-07 | 2 | -104/+104 |
| | |||||
* | Remove unittest2 (Python 2 compatibility) | Martin Vilcans | 2022-11-07 | 6 | -22/+4 |
| | |||||
* | Github actions: "pip" is not the cache key apparently | Martin Vilcans | 2022-11-07 | 1 | -1/+1 |
| | |||||
* | Parenthesis in if statement - blasphemy! | Martin Vilcans | 2022-11-07 | 1 | -1/+1 |
| | |||||
* | Remove code related to output in text format | Martin Vilcans | 2022-11-07 | 1 | -4/+1 |
| | | | | This was never implemented, so remove it (for now) | ||||
* | .gitignore __pycache__ | Martin Vilcans | 2022-11-07 | 1 | -0/+1 |
| | |||||
* | Add tests for extended characters | Martin Vilcans | 2022-11-07 | 3 | -0/+25 |
| | |||||
* | Set up Github workflow | Martin Vilcans | 2022-11-07 | 1 | -0/+29 |
| | |||||
* | Merge pull request #51 from abenson/title_page_margin | Martin Vilcans | 2022-01-04 | 1 | -0/+10 |
|\ | | | | | export/pdf: make sure title page is centered. | ||||
| * | export/pdf: make sure title page is centered. | Andrew Benson | 2022-01-02 | 1 | -0/+10 |
| | | | | | | | | Closes #50. | ||||
* | | Merge pull request #49 from abenson/fix_contact | Martin Vilcans | 2022-01-04 | 1 | -2/+0 |
|\ \ | |/ |/| | export/pdf: use left aligned contact information. | ||||
| * | export/pdf: use left aligned contact information. | Andrew Benson | 2022-01-02 | 1 | -2/+0 |
|/ | | | | | | Closes #48. See also #40. | ||||
* | Merge pull request #70 from xiota/stdin | Martin Vilcans | 2021-09-15 | 1 | -1/+1 |
|\ | | | | | use sys.stdin.buffer to work around type mismatch in codecs.py | ||||
| * | use sys.stdin.buffer to work around type mismatch in codecs.py | xiota | 2021-09-15 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #61 from jpyams/master | Martin Vilcans | 2020-08-27 | 4 | -9/+12 |
|\ | | | | | Add Windows support | ||||
| * | Add Windows support | John Peter Yamauchi | 2020-08-06 | 4 | -9/+12 |
|/ | |||||
* | Use content or README.md as long_description | Martin Vilcans | 2020-07-12 | 1 | -0/+8 |
| | |||||
* | Use more common extension .md rather than .markdown | Martin Vilcans | 2020-07-12 | 2 | -1/+1 |
| | |||||
* | Python 3 only - not a universal wheel0.9.0 | Martin Vilcans | 2020-07-12 | 1 | -3/+0 |
| | |||||
* | Bump version to 0.9.0 - Python 3 only version | Martin Vilcans | 2020-07-11 | 1 | -1/+1 |
| | |||||
* | Remove Python 2 from classifiers #54 | Martin Vilcans | 2020-02-13 | 1 | -1/+0 |
| | |||||
* | Update readme for Python 3 #54 | Martin Vilcans | 2020-02-13 | 2 | -6/+7 |
| | |||||
* | 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 |