aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-01-15Added upper bounds to all cabal dependencies.John MacFarlane1-20/+38
2011-01-15Merge branch 'tests'John MacFarlane11-233/+571
2011-01-15Added new tests to pandoc.cabal.John MacFarlane1-0/+14
Otherwise cabal sdist won't include them.
2011-01-15Fixed lhs tests for new position of <title> after <meta>s.John MacFarlane2-2/+2
2011-01-14Require Cabal version >= 1.6.John MacFarlane1-1/+1
2011-01-14Updated changelog.John MacFarlane1-17/+40
2011-01-14Fixed the parser for rst+lhs - set stateLiterateHaskell.John MacFarlane1-1/+2
2011-01-14Removed relann1.7 for now - duplicates changelog.John MacFarlane1-265/+0
2011-01-14HTML reader: parse simple tables.John MacFarlane1-2/+22
Resolves Issue #106. Thanks to Rodja Trappe for the idea and some sample code.
2011-01-14HTML reader: parse location tags in pSatisfy.John MacFarlane1-13/+17
This avoids the need for manual parsing all over the place.
2011-01-14LaTeX writer: Escape strings in \href{..}.John MacFarlane2-7/+7
Previously strings weren't escaped, so %5D would be interpreted as a LaTeX comment!
2011-01-14Simplified Text.Pandoc.CharacterReferences by using TagSoup entity lookupJohn MacFarlane1-266/+11
2011-01-14Minor code cleanup.John MacFarlane1-3/+9
2011-01-14Keep Tests.Arbitrary but remove quickcheck tests for now.John MacFarlane3-18/+1
Remove Tests.Shared. Remove dependency on QuickCheck.
2011-01-14Merge branch 'master' of github.com:jgm/pandoc into testsJohn MacFarlane3-129/+75
2011-01-14LateX writer: In nonsimple tables, put cells in \parbox.John MacFarlane2-124/+70
Otherwise we can get problems with linebreaks, and cell spacing isn't right. Thanks to Jef Allbright for pointing out the problem.
2011-01-14Parsing: Fixed bug in grid table parser.John MacFarlane1-5/+5
Spaces at end of line were not being stripped properly, resulting in unintended LineBreaks.
2011-01-14Added quickcheck tests for normalize in Shared.John MacFarlane3-4/+23
2011-01-13Added Tests/Arbitrary.hs, with Arbitrary instances.John MacFarlane2-2/+173
2011-01-13Fixed bug in markdown-citations.mhra.txt expected test output.John MacFarlane1-2/+0
This failing test was a test suite bug, not a pandoc or citeproc bug.
2011-01-13Adjusted source to 80-column limit.John MacFarlane3-84/+111
2011-01-13Moved Tests.Shared -> Tests.Helpers.John MacFarlane2-2/+2
Tests.Shared would be the natural place to put tests for functions in Text.Pandoc.Shared.
2011-01-13Fixed bug in markdown-citations.mhra.txt expected test output.John MacFarlane1-2/+0
This failing test was a test suite bug, not a pandoc or citeproc bug.
2011-01-12Generalized latexTestWithState to readerTestWithState.Nathan Gass1-3/+3
2011-01-12Merge branch 'tests' of github.com:xabbu42/pandoc into testsNathan Gass1-3/+6
2011-01-12Removed copy-pasted -O2.Nathan Gass1-2/+2
2011-01-12Reordered test files.Nathan Gass4-9/+9
2011-01-12test diff output: put +/- at beginning of line.John MacFarlane1-3/+6
2011-01-12Added line numbers to diff output in tests.John MacFarlane1-6/+7
2011-01-12Updated lhs tests for new positioning of <title>.John MacFarlane4-4/+4
2011-01-12Merge branch 'master' into testsJohn MacFarlane13-55/+130
2011-01-12Remove some accidentally commited functions. Fixed a type and alignment.Nathan Gass1-15/+4
2011-01-12Added some basic testing infrastructure and some latex reader tests.Nathan Gass4-1/+79
2011-01-12Started implementing splitted test suite.Nathan Gass2-181/+191
Moved old tests into Old.hs and added new simple test-pandoc.hs for loading and grouping together tests from different files. Later commits will add more testfiles to the suite with more modular tests.
2011-01-12test-pandoc: Improved header for diff output.John MacFarlane1-2/+2
2011-01-12test-pandoc: More informative diff output on test failure.John MacFarlane1-4/+7
Now the test suite tells you the exact command that was run, and the file containing the expected output.
2011-01-12test-pandoc: Relocated --columns=80 to just where it's needed.John MacFarlane1-4/+4
We only need it for certain table tests, because of the relative alignments.
2011-01-12test-pandoc: Fixed + and - in diff output, which were reversed.John MacFarlane1-2/+2
2011-01-12test-pandoc: More diff-like diffs in case of test failure.John MacFarlane1-5/+5
2011-01-12Improvements to test suite.John MacFarlane6-21/+103
+ You can now specify glob patterns after 'cabal test'; e.g. 'cabal test latex' will only run the latex tests. + Instead of detecting highlighting support in Setup.hs, we now detect it in test-pandoc, by looking to see if 'languages' is null. + We now verify the lhs readers against the lhs-test.native, normalizing with 'normalize'. This makes more sense than verifying against HTML, which also brings in the HTML writer. + Added lhsn-test.nohl.{html,html+lhs}, so we can do the lhs tests whether or not highlighting has been installed.
2011-01-11Improvements to --html5 support:John MacFarlane10-40/+72
+ <nav> for TOC, <figure> for figures, type attribute in <ol>. + Don't add math javascript in html5. + Use style attributes instead of deprecated width, align. + html template: move <title> after <meta>. Note: charset needs to be declared before title. + slidy and s5 templates: move <title> after <meta>. + html template: Added link to html5 shim for IE. + Make --html5 have an effect only for 'html' writer (not s5, slidy, epub).
2011-01-11Preliminary support for HTML5.John MacFarlane5-8/+45
+ Added writerHtml5 writer option. + Added --html5 option. + Added support for lang in html tag (so you can do 'pandoc -s --V lang=en', for example). + Updated html template with conditionals for HTML5. + When HTML5 selected, use <header> tag around title in document, and use <section> tags instead of <div>s if --section-divs specified.
2011-01-11Setup.hs: -Wall clean.John MacFarlane1-3/+3
2011-01-11Text.Pandoc: Improved readers, writers lists for lhs variants.John MacFarlane1-6/+12
Now the lhs variants set the needed literate Haskell flag in parser state and writer options.
2011-01-11Removed outdated comments.Nathan Gass1-12/+0
2011-01-11Moved test-pandoc.hs to tests directory.Nathan Gass2-1/+1
2011-01-11Removed run prefix from all test functions.Nathan Gass1-70/+68
2011-01-11Include lhs tests in existing testGroup structure.Nathan Gass1-41/+30
2011-01-11Add reader groups for markdown and rst reader tests.Nathan Gass1-10/+12
2011-01-10Changed test-pandoc to use test-framework and HUnit.Nathan Gass3-115/+104