aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-07-27Replaced writerStrict with writerExtensions in WriterOptions.John MacFarlane5-25/+36
Still have not implemented individual tests for all the extensions in the markdown writer.
2012-07-26Moved WriterOptions and associated types Shared -> Options.John MacFarlane33-170/+167
2012-07-26Fixed whitespace errors.John MacFarlane26-385/+385
2012-07-26Textile reader: Replace failIfStrict with guardEnabled.John MacFarlane1-3/+3
2012-07-26Parsing: Removed failIfStrict.John MacFarlane1-5/+0
2012-07-26Use readerExtensions instead of readerStrict in readers.John MacFarlane3-123/+118
Test individually for the extensions.
2012-07-26Parsing: Added guardEnabled, guardDisabled.John MacFarlane1-3/+14
2012-07-26pandoc: Set readerExtensions instead of readerStrict.John MacFarlane2-3/+8
2012-07-26Revert "Require Cabal 0.14."John MacFarlane1-1/+1
This reverts commit f6cc63de41f3b56d6c913981a85380b146719258. Older versions of cabal supposedly just ignore the benchmark stanza.
2012-07-26Require Cabal 0.14.John MacFarlane1-1/+1
2012-07-26Bump version to 1.10.John MacFarlane2-2/+2
2012-07-26Added type signature.John MacFarlane1-0/+1
2012-07-26Updated INSTALL for new test/benchmarks.John MacFarlane1-5/+29
2012-07-26Changed travis instructions for new test.John MacFarlane1-2/+2
2012-07-26Integrated test suite with cabal.John MacFarlane3-25/+7
To run tests, configure with --enable-tests, then 'cabal test'. You can specify particular tests using --test-options='-t markdown'. No output is shown unless tests fail. In the future, we can move to the detailed-1.0 interface.
2012-07-26Integrated benchmark into cabal.John MacFarlane2-4/+21
Can now do: cabal configure --enable-benchmarks && cabal build cabal bench --benchmark-option='markdown' --benchmark-option='-s 20'
2012-07-26Moved tests to tests/, modified cabal file so lib isn't recompiled.John MacFarlane14-72/+35
2012-07-26Fixed MakeManPage for new reader signature.John MacFarlane1-1/+1
2012-07-25Fixed Benchmark to compile with latest changes.John MacFarlane1-7/+5
2012-07-25Changed reader parameters from ParserState to ReaderOptions.John MacFarlane12-76/+54
2012-07-25Restored stateStandalone as readerStandalone.John MacFarlane3-2/+8
It is indeed needed by the RST reader.
2012-07-25Moved stateApplyMacros, stateIndentedCodeClasses to ReaderOptions.John MacFarlane4-20/+21
2012-07-25stateCitations -> readerCitations.John MacFarlane4-6/+6
2012-07-25Moved stateLiterateHaskell to readerLiterateHaskell in Options.John MacFarlane6-29/+39
2012-07-25Got rid of stateStandalone, which was hardly used anyway.John MacFarlane6-11/+7
The only possible effect will be with rst fragments that begin with an rst title block, which will now cause the header transform.
2012-07-25Moved stateOldDashes to readerOldDashes in ReaderOptions.John MacFarlane4-11/+13
2012-07-25Moved stateTabStop to readerTabStop in ReaderOptions.John MacFarlane5-15/+11
2012-07-25Moved stateColumns to readerColumns in ReaderOptions.John MacFarlane3-4/+4
2012-07-25Moved ParseRaw from ParserState to ReaderOptions.John MacFarlane7-24/+28
2012-07-25Text.Pandoc.Parsing: Added getOption.John MacFarlane1-4/+6
2012-07-25Options -> ReaderOptions.John MacFarlane7-29/+29
Better to keep reader and writer options separate.
2012-07-25Put smart, strict in separate options field in state.John MacFarlane8-27/+52
This is the beginning of a larger transition that will make Options, not ParserState, the parameter of the read functions. (Options will also be used in writers, in place of WriterOptions.) Next step is to remove strict, replacing it with granular tests for different extensions.
2012-07-25Added Text.Pandoc.Options.John MacFarlane2-0/+51
2012-07-24Better algorithm for oneOfStrings.John MacFarlane1-2/+9
This goes character by character, not backtracking.
2012-07-24Slightly more efficient normalizeSpaces.John MacFarlane1-6/+5
2012-07-24HTML reader: Fixed bug in htmlBalanced.John MacFarlane1-2/+1
This caused hangs in parsing certain markdown input using --strict.
2012-07-24Don't require strict HTML blocks to begin at left margin.John MacFarlane1-3/+1
Technically this is required, according to the mardkown syntax document, but Markdown.pl and other markdown processors are more liberal.
2012-07-24Use catch from Control.Exception to avoid warnings.John MacFarlane6-16/+28
2012-07-24Text.Pandoc: writers now an assoc list of String, Writer.John MacFarlane2-80/+73
A Writer can be a PureStringWriter, an IOStringWriter, or an IOByteStringWriter. ALL writers are now in the 'writers' list, including the binary writers and fb2 writer. Code simplified at end of pandoc.hs.
2012-07-24Removed unneeded import.John MacFarlane1-1/+0
2012-07-24Changed signatures of writeODT, writeDocx, writeEPUB.John MacFarlane4-18/+18
These now take WriterOptions and Pandoc only. The extra parameters for epub stylesheet, epub fonts, reference Docx, and reference ODT have been removed, since these things are now in WriterOptions. Note: breaking API change!
2012-07-24Added fields to WriterOptions.John MacFarlane1-0/+8
writerEpubStylesheet, writerEpubFonts, writerReferenceODT, writerReferenceDocx. These can now be removed as extra parameters to the writers.
2012-07-24Small fix to fix: Allow blank lines btw table and caption.John MacFarlane1-0/+1
2012-07-24Fixed performance improvement to tables.John MacFarlane1-1/+1
2012-07-24More performance improvements on pipe tables.John MacFarlane1-2/+1
2012-07-24Refactored table parsers, captions now not part of core tableWith.John MacFarlane3-21/+21
2012-07-24Slight improvement to performance for pipe tables.John MacFarlane1-11/+16
Still, pipe tables are a huge performance drag. One benchmark: With pipe tables, 1.25 sec (including this fix). without pipe tables, 1.05 sec.
2012-07-23Set writerTableOfContents for s5 in Text.Pandoc, not pandoc.hs.John MacFarlane2-3/+3
2012-07-23Set writerSlideVariant in Text.Pandoc rather than pandoc.hs.John MacFarlane2-53/+47
2012-07-22Revised code for pipe tables.John MacFarlane6-104/+78
* All tables now require at least one body row. * Renamed from 'extra' to 'pipe' tables. * Moved functions from Parsing to Readers.Markdown. * Cleaned up code; revised to parse in one pass rather than parsing a raw string, splitting it, and parsing the components. * Allow pipe tables without pipes on the ends (as PHP Markdown Extra does).