summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-12-01Bump to 0.11.1HEAD0.11.1mastermagentastripeMartin Vilcans
2023-11-29Typo caused reading from stdin to failMartin Vilcans
2023-11-29Bump version to 0.11.00.11.0Martin Vilcans
2023-11-28Add arguments --encoding and --encoding-errorsMartin Vilcans
2023-11-09Bump version to 0.10.00.10.0Martin Vilcans
2023-11-09Fail tests on warningsMartin Vilcans
2023-11-09Close input file when main is doneMartin Vilcans
This avoids a warning about file not closed in file_tests
2023-11-09Compare types with isinstance - gets rid of warningMartin Vilcans
2023-03-20Add test for issue #65, which passesMartin Vilcans
Closes #65: can't reproduce.
2023-03-20readme: PDF is supported nowMartin Vilcans
Closes #76
2023-02-24Add Python 3.11 to testing matrixMartin Vilcans
2023-02-24Add test for forcing action with "!"Martin Vilcans
2023-02-24Fix runtime error in pdf output of dual dialogMartin Vilcans
Regression from 7507fa2
2023-02-24Possible to force action by starting line with !Martin Vilcans
Closes #63
2022-11-07pdf Settings object for styles and layoutMartin Vilcans
Instead of global hardcoded values.
2022-11-07Replace nose with pytestMartin Vilcans
2022-11-07assertEquals is deprecated - use assertEqualMartin Vilcans
2022-11-07Remove unittest2 (Python 2 compatibility)Martin Vilcans
2022-11-07Github actions: "pip" is not the cache key apparentlyMartin Vilcans
2022-11-07Parenthesis in if statement - blasphemy!Martin Vilcans
2022-11-07Remove code related to output in text formatMartin Vilcans
This was never implemented, so remove it (for now)
2022-11-07.gitignore __pycache__Martin Vilcans
2022-11-07Add tests for extended charactersMartin Vilcans
2022-11-07Set up Github workflowMartin Vilcans
2022-01-04Merge pull request #51 from abenson/title_page_marginMartin Vilcans
export/pdf: make sure title page is centered.
2022-01-04Merge pull request #49 from abenson/fix_contactMartin Vilcans
export/pdf: use left aligned contact information.
2022-01-02export/pdf: make sure title page is centered.Andrew Benson
Closes #50.
2022-01-02export/pdf: use left aligned contact information.Andrew Benson
Closes #48. See also #40.
2021-09-15Merge pull request #70 from xiota/stdinMartin Vilcans
use sys.stdin.buffer to work around type mismatch in codecs.py
2021-09-15use sys.stdin.buffer to work around type mismatch in codecs.pyxiota
2020-08-27Merge pull request #61 from jpyams/masterMartin Vilcans
Add Windows support
2020-08-06Add Windows supportJohn Peter Yamauchi
2020-07-12Use content or README.md as long_descriptionMartin Vilcans
2020-07-12Use more common extension .md rather than .markdownMartin Vilcans
2020-07-12Python 3 only - not a universal wheel0.9.0Martin Vilcans
2020-07-11Bump version to 0.9.0 - Python 3 only versionMartin Vilcans
2020-02-13Remove Python 2 from classifiers #54Martin Vilcans
2020-02-13Update readme for Python 3 #54Martin Vilcans
2020-02-13Remove Python 2.7 from CI #54Martin Vilcans
2020-02-12Merge branch 'remove-py2'Martin Vilcans
2020-02-12Removing Python 2 support - no need for six #54Martin Vilcans
2020-02-12Remove Python 2 support for doctests #54Martin Vilcans
2020-02-12Merge pull request #56 from jstasiak/python38-compatMartin Vilcans
Fix Python 3/3.8 compatibility
2020-02-12Replace pep8 with pycodestyle, get rid of warningsMartin Vilcans
pep8 recommended that change
2020-02-12Merge pull request #57 from jstasiak/ci-modern-python3-versionsMartin Vilcans
Test with currently supported Python 3 versions
2020-02-08Fix "TypeError: write() argument must be str, not bytes" on Python 3Jakub Stasiak
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.
2020-02-08Test with currently supported Python 3 versionsJakub Stasiak
2020-02-07Fix "AttributeError: module 'cgi' has no attribute 'escape'" on Python 3.8Jakub Stasiak
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?
2019-02-21Follow package recommendations0.8.0Martin Vilcans
From https://github.com/pypa/sampleproject
2019-02-21Rename license file to comply with recommendationMartin Vilcans
Recommendations: https://packaging.python.org/guides/distributing-packages-using-setuptools/