aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Show multiple spaces in a row as is in HTML & PDFMartin Vilcans2016-04-143-0/+41
| | | | | | | Not sure if FDX output should use   Let's keep using spaces for now. Closes #30
* Test that alphanumeric character names workMartin Vilcans2015-11-171-0/+7
|
* Support non-alphanumeric character names with "@"Martin Vilcans2015-11-171-2/+14
| | | | Fixes #22
* Parse files with BOM present; fixes #5michaelx3862015-09-183-0/+67
|
* Add test for dual dialogue in FDX outputMartin Vilcans2015-07-231-0/+21
|
* Add Screenplay classMartin Vilcans2014-10-211-52/+52
| | | | This is to be able to access title page data.
* Tests that would have caught the p a r e n t h e t i c a l bugMartin Vilcans2014-03-033-0/+18
| | | | | | Bug was caused by a regression in d0c5183b4773e9dfac7113b24b492e0826c36bac See fix in b0dac73a8899d6ad5db3564202f566ddb963b446
* Use unittest2 if available but don't require it.Martin Vilcans2013-08-135-4/+22
| | | | The features of unittest2 are already in Python >=2.7.
* Removed dependency on unittest2Martin Vilcans2013-08-134-22/+19
| | | | I think I don't use its features and it doesn't exist under that name in Python 3.
* Fixed runtime error on HTML output of dual dialogue.Martin Vilcans2012-07-222-0/+6
| | | | Thanks for the bug report, Dahlia!
* Strip leading and trailing whitespace from character names.Martin Vilcans2012-07-103-0/+24
| | | | Closes #2
* Automatically create test cases from files in tests/filesMartin Vilcans2012-07-102-34/+70
| | | | This replaces the repeated test code.
* Changed bad test case nameMartin Vilcans2012-07-101-1/+1
|
* Added page break support.Martin Vilcans2012-07-094-2/+41
| | | | | | In HTML output, uses style page-break-before: always Closes #3
* PEP8 compliance.Martin Vilcans2012-07-082-6/+9
| | | | | | Especially get rid of the "E128 continuation line under-indented for visual indent" which is new in later versions of the pep8 program.
* Only a single period creates a slug.Martin Vilcans2012-07-081-0/+9
| | | | Fixes #4
* Support mixed sections and synopsisesMartin Vilcans2012-03-121-0/+10
|
* Support sections that are bunched together.Martin Vilcans2012-03-121-0/+17
|
* Line breaks become <br/> instead of <p> in HTML.Martin Vilcans2012-03-013-4/+34
| | | | This should make line breaks look good with the new CSS.
* Output synopsis to HTML.Martin Vilcans2012-02-232-3/+9
| | | | Used Jonathan's CSS.
* Added commenting out using /* boneyard */Martin Vilcans2012-02-204-1/+38
|
* Transition must end with "TO:", not just ":"Martin Vilcans2012-02-191-0/+8
| | | | New in Fountain spec.
* Renamed SPMD to FountainMartin Vilcans2012-02-199-17/+15
|
* Moved spmd tests into separate classes.Martin Vilcans2012-02-191-19/+29
|
* Added synopsis support to slugs and sections.Martin Vilcans2012-02-191-0/+38
|
* Parse the title page.Martin Vilcans2012-02-161-5/+53
| | | | | | The title page isn't actually used for anything right now, but if it is in the source, at least it doesn't appear as action lines in the output.
* Added support for sectionsMartin Vilcans2012-02-084-1/+41
|
* Scene headings are now h6 in HTML outputMartin Vilcans2012-02-072-3/+3
|
* Read the spec again. Scene numbers are alphanumeric only.Martin Vilcans2012-02-071-2/+6
|
* Added scene numbersMartin Vilcans2012-02-074-1/+32
|
* Refactored spmd parser to use InputParagraph class.Martin Vilcans2012-02-011-18/+12
|
* New syntax for dual dialog: ^ (Jan 2012 spec)Martin Vilcans2012-02-011-10/+10
|
* Some pep8 compliance regarding whitespaceMartin Vilcans2012-02-011-1/+2
|
* Transitions no longer have to be followed by a scene heading.Martin Vilcans2012-01-311-2/+16
|
* Changed rules for forced Scene Headings (slugs).Martin Vilcans2012-01-311-4/+13
| | | | | | | | | | | | | Double linebreaks no longer signify a slug. Instead you can force one with a leading period: e.g. FADE IN: .DARKNESS (whatever that would look like!?)
* Added tests on actual input/output files.Martin Vilcans2012-01-314-0/+96
| | | | | This is to make sure everything works from the command-line level to avoid silly mistakes like the last bug.
* A leading ">" on a line means it's parsed as a transition.Martin Vilcans2011-12-161-0/+21
| | | | (But only if it's the last paragraph or followed by a slug.)
* Possible to escape stars (\*) so they aren't parsed as emphasis.Martin Vilcans2011-12-161-0/+6
|
* A line with two spaces inside dialog keeps the dialog together.Martin Vilcans2011-12-161-1/+15
| | | | Fixed according to spec.
* Fixed some problems with old RichString tests.Martin Vilcans2011-12-161-9/+20
| | | | | | Sometimes the segments of the RichString objects became RichString objects instead of Segment. That's what you get for dynamic typing I guess...
* Added licensing information (MIT license)Martin Vilcans2011-11-283-0/+12
|
* Some code style changesMartin Vilcans2011-11-263-6/+13
|
* Allow whitespace after "<" on centered line.Martin Vilcans2011-11-251-6/+14
|
* Fix incorrectly parsing when mixing italic and bold. Thx, Stu!Martin Vilcans2011-11-221-1/+27
|
* Fixed bold/underline etc. in FDX. (Capitalization mistake.)Martin Vilcans2011-11-151-9/+9
|
* Make sure upper case centered paragraph isn't parsed as dialogue.Martin Vilcans2011-11-151-0/+9
|
* Added support for >centering text<Martin Vilcans2011-11-151-0/+23
|
* Made RichString non-hierarchical (simpler).Martin Vilcans2011-11-103-83/+119
| | | | Also: FDX output should have correct line breaks now.
* Just some cleanup/reformattingMartin Vilcans2011-10-012-1/+1
|
* Added FDX outputMartin Vilcans2011-09-291-0/+45
|