Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-01-22 | Muse writer: join code with different attributes during normalization | Alexander Krotov | 1 | -0/+1 | |
2018-01-22 | Muse writer: indent lists inside Div | Alexander Krotov | 1 | -1/+3 | |
2018-01-21 | Powerpoint writer tests: New test framework for pptx. | Jesse Rosenthal | 1 | -157/+184 | |
Previously we had tested certain properties of the output PowerPoint slides. Corruption, though, comes as the result of a numebr of interrelated issues in the output pptx archive. This is a new approach, which compares the output of the Powerpoint writer with files that we know to (a) not be corrupt, and (b) to show the desired output behavior (details below). This commit introduces three tests using the new framework. More will follow. The test procedure: given a native file and a pptx file, we generate a pptx archive from the native file, and then test: 1. Whether the same files are in the two archives 2. Whether each of the contained xml files is the same. (We skip time entries in `docProps/core.xml`, since these are derived from IO. We just check to make sure that they're there in the same way in both files.) 3. Whether each of the media files is the same. Note that steps 2 and 3, though they compare multiple files, are one test each, since the number of files depends on the input file (if there is a failure, it will only report the first failed file comparison in the test failure). | |||||
2018-01-19 | hlint code improvements. | John MacFarlane | 8 | -37/+34 | |
2018-01-19 | in RST writer insert comment between lists and quotes, closes #4248 | danse | 1 | -0/+10 | |
2018-01-19 | Muse writer: support definitions with multiple descriptions | Alexander Krotov | 1 | -2/+11 | |
Muse reader does not support this syntax yet, but Emacs Muse parses it correctly. | |||||
2018-01-15 | ConTeXt writer: Use xtables instead of Tables (#4223) | Henri Menke | 1 | -0/+55 | |
- Default to xtables for context output. - Added `ntb` extension (affecting context writer only) to use Natural Tables instead. - Added `Ext_ntb` constructor to `Extension` (API change). | |||||
2018-01-03 | Powerpoint writer: Set default slidelevel correctly. | Jesse Rosenthal | 1 | -1/+1 | |
We had previously defaulted to slideLevel 2. Now we use the correct behavior of defaulting to the highest level header followed by content. We change an expected test result to match this behavior. | |||||
2017-12-29 | Powerpoint Writer tests: Add quickcheck tests for content types. | Jesse Rosenthal | 1 | -14/+77 | |
We want to make sure we always have an override for each xml file in the content types file. | |||||
2017-12-29 | Powerpoint writer test: more slide number tests | Jesse Rosenthal | 1 | -4/+9 | |
Add test for custom slide-level header, and notes slides. | |||||
2017-12-28 | Powerpoint writer tests: use IO. | John MacFarlane | 2 | -336/+18 | |
Otherwise we can't find the data files when compiled with -embed_data_files. | |||||
2017-12-28 | Use insertInFileTree in powerpoint test. | John MacFarlane | 1 | -2/+1 | |
2017-12-28 | Fixed warning in powerpoint writer test. | John MacFarlane | 1 | -3/+0 | |
2017-12-28 | PowerPoint writer: Introduce beginning of tests | Jesse Rosenthal | 2 | -0/+423 | |
This is the beginning of a test suite for the powerpoint writer. Initial tests are for the number of slides. Note that at the moment it does not test against corruption in Microsoft PowerPoint; it just tests that certain outcomes work as expected. More tests will be added. This test framework uses the PandocPure monad introduced with Pandoc 2.0. | |||||
2017-12-21 | Merge pull request #4177 from stencila/jats-xml-reader | John MacFarlane | 1 | -1/+6 | |
Add Basic JATS reader based on DocBook reader | |||||
2017-12-22 | Improve support for code language in JATS | Hamish Mackenzie | 1 | -1/+6 | |
2017-12-21 | Muse reader: parse anchors immediately after headings as IDs | Alexander Krotov | 1 | -0/+5 | |
2017-12-13 | fig, table-wrap & caption Divs for JATS writer | Hamish Mackenzie | 1 | -0/+119 | |
Support writing <fig> and <table-wrap> elements with <title> and <caption> inside them by using Divs with class set to on of fig, table-wrap or cation. The title is included as a Heading so the constraint on where Heading can occur is also relaxed. Also leaves out empty alt attributes on links. | |||||
2017-11-24 | Muse writer: test that inline math conversion result is normalized | Alexander Krotov | 1 | -0/+1 | |
Without normalization this test produced <em>a</em><em>b</em><em>c</em> | |||||
2017-11-24 | Muse: move inline list normalization to writer | Alexander Krotov | 1 | -0/+1 | |
2017-11-22 | Muse writer: escape hash symbol | Alexander Krotov | 1 | -0/+2 | |
2017-11-22 | Muse writer: escape "----" to avoid accidental horizontal rules | Alexander Krotov | 1 | -0/+1 | |
2017-11-22 | Muse writer: escape only </code> inside code tag | Alexander Krotov | 1 | -2/+1 | |
Additional <verbatim> is not needed as <code> is verbatim already. | |||||
2017-11-13 | Replace "emacs" extension with "amuse" extension | Alexander Krotov | 1 | -1/+3 | |
It makes clear that extension is related to Muse markup. | |||||
2017-11-01 | FB2 writer: Add "unrecognised" genre to <title-info> | Alexander Krotov | 1 | -1/+1 | |
XML schema requires at least one genre. | |||||
2017-11-01 | FB2 writer: remove <annotation> from <body> | Alexander Krotov | 1 | -1/+1 | |
<annotation> is not allowed inside <body> according to FictionBook2 XML schema. Besides that, the same information is already placed inside <description>. Related bug: #2424 | |||||
2017-10-28 | Add new style FB2 tests | Alexander Krotov | 1 | -0/+34 | |
2017-10-27 | Automatic reformating by stylish-haskell. | John MacFarlane | 2 | -6/+6 | |
2017-08-10 | Fixed writer tests not to use writerUserDataDir. | John MacFarlane | 1 | -3/+3 | |
2017-08-08 | Muse writer: insert two blanklines between lists of the same type (#3844) | Alexander | 1 | -0/+73 | |
2017-07-15 | Fix docx writer test for ghc 8.2.1. | John MacFarlane | 1 | -1/+9 | |
Workaround for different behavior of Data.Unique in different ghc versions. | |||||
2017-07-15 | Rearrange docx writer roundtrip test. | John MacFarlane | 1 | -4/+4 | |
I'm hoping this gives reproducible results on ghc 8.2.1. | |||||
2017-07-14 | Refactored compareOutput in docx writer test | John MacFarlane | 1 | -7/+6 | |
2017-07-12 | Muse writer: indent lists inside <quote> with at least one space (#3795) | Alexander Krotov | 1 | -0/+11 | |
2017-06-26 | Muse writer: fix hlint errors (#3764) | Alexander Krotov | 1 | -2/+2 | |
2017-06-11 | Switched Writer types to use Text. | John MacFarlane | 8 | -13/+20 | |
* XML.toEntities: changed type to Text -> Text. * Shared.tabFilter -- fixed so it strips out CRs as before. * Modified writers to take Text. * Updated tests, benchmarks, trypandoc. [API change] Closes #3731. | |||||
2017-06-10 | Changed all readers to take Text instead of String. | John MacFarlane | 1 | -2/+4 | |
Readers: Renamed StringReader -> TextReader. Updated tests. API change. | |||||
2017-05-07 | Muse writer: Indent tables with one space (#3649) | Alexander Krotov | 1 | -9/+9 | |
It is required to trigger Muse table rendering. | |||||
2017-03-14 | Removed unneeded import. | John MacFarlane | 1 | -1/+0 | |
2017-03-14 | Use tasty for tests rather than test-framework. | John MacFarlane | 13 | -48/+51 | |
2017-03-10 | Add Muse writer (#3489) | Alexander Krotov | 1 | -0/+273 | |
* Add Muse writer * Advertise new Muse writer * Muse writer: add regressions tests | |||||
2017-03-07 | Speed up Native writer quickcheck tests. | John MacFarlane | 1 | -2/+4 | |
2017-03-04 | Stylish-haskell automatic formatting changes. | John MacFarlane | 11 | -36/+35 | |
2017-03-01 | LaTeX writer: always add hypertarget when there's a non-empty identifier. | John MacFarlane | 1 | -1/+1 | |
Previously the hypertargets were only added when there was actually a link to that identifier. Closes #2719. | |||||
2017-02-12 | Add Org writer unit tests | Alexander Krotov | 1 | -0/+25 | |
2017-02-04 | Moved tests/ -> test/. | John MacFarlane | 11 | -0/+1254 | |