Veronica Berglyd Olsen
cf08ba1d39
ODT Export Fixes ( #843 )
...
* Fix issue with additional line breaks in ODT export
* Improve format handling in ToOdt, and remove some unused code
* Add test for tab in format
* Add class to write text formats to XML
* Simplify the XMLParagraph class a bit
* Correct a breach of ODT standard and add error checking
* Make some final corrections
2021-08-14 12:42:44 +02:00
Veronica Berglyd Olsen
bb1a778277
Merge Novel Layouts ( #837 )
...
* Merge novel layouts and simplify the Tokenizer class
* Fix core tests
* Delete auto-layout code
* Remove no longer needed item layouts
* Remove references to deleted item layouts in test
* Make some minor changes to Tokenizer class and update tests
* Update test reference files
* Update sample project
* Fix a few issues with the Tokenizer
* Centre some text in the sample documents
* Make some minor changes to how new projects are generated
* Add support for New Page and VSpace commands to the Tokenizer
* Remove Title and Page layouts and add codes for page break and vertical space
* Add document layout and fix some issues in index class with new title formats
* Update tests and reference files
* Bump the project file version and fix a minor issue in items class
* Update tests and test coverage
* Clean up some warnings and issues in tests
2021-08-02 23:44:35 +02:00
Veronica Berglyd Olsen
c6973043e6
Index Updates ( #840 )
...
* Improve the index keyword checker function
* Implement a more compact indented JSON encoder
* Remove timestamp from reference, novel and note indices
* Remove empty entries in reference index
* Merge novel and note indices into a single file index
2021-08-01 18:19:03 +02:00
Veronica Berglyd Olsen
239cff3dee
Fix tests
2021-06-09 23:32:22 +02:00
Veronica Berglyd Olsen
0826a2f8a3
Remove trailing space highlight and add highlight of redundant spaces
2021-05-23 16:17:05 +02:00
Veronica K. B. Olsen
d795eb6f5f
Delete no longer needed test reference files
2021-05-02 19:47:39 +02:00
Veronica K. B. Olsen
6c79a1daba
Test terminology update
2021-05-02 17:48:28 +02:00
Veronica K. B. Olsen
2fc36f8355
Fix timestamp format in odt generator
2021-04-26 23:47:47 +02:00
Veronica K. B. Olsen
13cc2feb3f
Improve build class test
2021-04-26 23:41:40 +02:00
Veronica K. B. Olsen
9f979c02f8
Use free string entries for padding instead of many switches
2021-03-14 14:23:44 +01:00
Veronica K. B. Olsen
1d59a67d6e
Fix tests
2021-03-13 23:41:39 +01:00
Veronica K. B. Olsen
66282d4ed0
Add Preferences window size to Config and update tests
2021-02-22 20:23:14 +01:00
Veronica K. B. Olsen
844c3ab26f
Allow Build language to not be set at all
2021-02-18 21:18:14 +01:00
Veronica K. B. Olsen
6cc974a8e9
Fix tests
2021-02-18 20:47:22 +01:00
Veronica K. B. Olsen
e4d03f9581
Fix tests for variable change, and change monkeypatches to use the context manager
2021-02-18 19:21:46 +01:00
Veronica K. B. Olsen
8087e8ad75
Fix tests and a bug in GuiMain
2021-02-15 16:48:12 +01:00
Veronica K. B. Olsen
672ea6d6f2
Fix and update tests
2021-02-10 16:57:32 +01:00
Veronica K. B. Olsen
6904afc5e7
Updated tests
2021-02-09 21:09:03 +01:00
Veronica K. B. Olsen
f4988c5d86
Clean up build tool and extend export tests
2021-02-06 17:40:39 +01:00
Veronica K. B. Olsen
3baeef4f44
Drop the whole firstTitle index again
2021-02-01 23:20:07 +01:00
Veronica K. Berglyd Olsen
2df0d81d29
Revert "Add timestamp to document meta"
2021-01-31 11:59:24 +01:00
Veronica K. B. Olsen
7a3c33fde3
Fix tests
2021-01-30 18:54:30 +01:00
Veronica K. B. Olsen
ab45bcb121
Merge branch 'dev' into item_layouts
2021-01-30 15:13:13 +01:00
Veronica K. B. Olsen
e9190d01dc
Merge branch 'release' into dev
2021-01-30 15:12:32 +01:00
Veronica K. B. Olsen
d492f0f41f
Rename Preferences variables to match those in the Config class
2021-01-30 14:41:04 +01:00
Veronica K. B. Olsen
8de0c55b68
Fix broken tests
2021-01-29 01:14:58 +01:00
Veronica K. B. Olsen
1ff7c8bdd5
Update reference files for build test
2021-01-28 20:48:49 +01:00
Veronica K. B. Olsen
d83352e16f
Fix Build Novel Project test on Ubuntu
2021-01-27 19:49:21 +01:00
Veronica K. B. Olsen
cbbe1b4f47
Add ODT meta namespace, add font format to HTML, and merge page break settings
2021-01-27 13:36:09 +01:00
Veronica K. B. Olsen
94c755a0e6
Fix tests and clean up a couple of minor things in HTML generator
2021-01-26 13:12:38 +01:00
Veronica K. B. Olsen
31928d5ebb
Merge branch 'main' into dev
2021-01-24 14:52:35 +01:00
Veronica K. B. Olsen
dfbde3e41c
Fix broken tests
2021-01-24 13:41:40 +01:00
Veronica K. B. Olsen
6868b683d8
Added new quote setting to Preferences and updated tests
2021-01-19 18:37:19 +01:00
Veronica K. B. Olsen
14a0e6bd6e
Allow indexing of untitled pages, and add a ToC function to the index class
2021-01-10 00:13:26 +01:00
Veronica K. B. Olsen
d4b26025ed
Add the basic structure for a novel tree
2020-12-20 15:50:01 +01:00
Veronica K. B. Olsen
27696d65e4
Remove some unnecessary branches and unused functions
2020-12-12 19:22:38 +01:00
Veronica K. B. Olsen
585287b487
Reorganise remainin GUI tests, but no improved coverage
2020-12-12 18:58:05 +01:00
Veronica K. B. Olsen
325c8dc68d
Split up the main gui test file
2020-12-12 17:39:28 +01:00
Veronica K. B. Olsen
c37d4013f8
Refactored build, merge, split, and item editor tests
2020-12-12 16:56:15 +01:00
Veronica K. B. Olsen
e258ff60d0
Separated out project settings test and updated it
2020-12-12 15:51:03 +01:00
Veronica K. B. Olsen
9772c85ece
Rewritten Config class test
2020-12-07 23:34:12 +01:00
Veronica K. B. Olsen
d70ee34429
Rename project test reference files
2020-12-06 00:29:38 +01:00
Veronica K. B. Olsen
c353e9ffb1
Updated and new tests for NWProject class
2020-12-05 21:06:57 +01:00
Veronica K. B. Olsen
57397fa2bc
Updated existing NWProject tests
2020-12-04 21:28:35 +01:00
Veronica K. B. Olsen
deededb0d9
Updated NWIndex tests
2020-12-01 10:49:06 +01:00
Veronica K. B. Olsen
2c0eaeb557
Fix old tests
2020-12-01 10:23:35 +01:00
Veronica K. B. Olsen
1510a5af74
Fix and update tests
2020-11-24 18:36:30 +01:00
Veronica K. B. Olsen
42700a2325
More sensible default values for tree column widths
2020-10-25 14:31:23 +01:00
Veronica K. B. Olsen
538009eff6
Updated tests
2020-10-24 18:56:01 +02:00
Veronica K. B. Olsen
dc4257bbf4
Renamed the typewriter config settings
2020-10-18 19:37:32 +02:00