Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-08-02 | Markdown reader: Import <> from Text.Pandoc.Builder. | John MacFarlane | 1 | -2/+2 | |
This way the module will work with versions of Data.Monoid that don't export <>. | |||||
2012-08-02 | Made F a newtype, moved definitions to Parser. | John MacFarlane | 2 | -21/+37 | |
Parser now exports F(..), askF, asksF, runF. | |||||
2012-08-01 | Improved implementation of pipe tables. | John MacFarlane | 1 | -25/+14 | |
2012-08-01 | Parsing: removed duplication of Key and Key'. | John MacFarlane | 3 | -56/+28 | |
Now we just use the former Key' (string contents), renamed Key. lookupKeySrc and fromKey are no longer eport. Key', toKey' and KeyTable' have become Key, toKey, and KeyTable. | |||||
2012-08-01 | Major rewrite of markdown reader. | John MacFarlane | 10 | -769/+953 | |
* Use Builder's Inlines/Blocks instead of lists. * Return values in the reader monad, which are then run (at the end of parsing) against the final parser state. This allows links, notes, and example numbers to be resolved without a second parser pass. * An effect of using Builder is that everything is normalized automatically. * New exports from Text.Pandoc.Parsing: widthsFromIndices, NoteTable', KeyTable', Key', toKey', withQuoteContext, singleQuoteStart, singleQuoteEnd, doubleQuoteStart, doubleQuoteEnd, ellipses, apostrophe, dash * Updated opendocument tests. * Don't derive Show for ParserState. * Benchmarks: markdown reader takes 82% of the time it took before. Markdown writer takes 92% of the time (here the speedup is probably due to the fact that everything is normalized by default). | |||||
2012-07-27 | Removed commented-out pandoc2 code. | John MacFarlane | 1 | -41/+0 | |
This will be developed in a branch, noreparsing. | |||||
2012-07-27 | Parser: Changed types to use type alias Parser, not Parsec. | John MacFarlane | 1 | -97/+138 | |
2012-07-27 | Updated extension labels in README. | John MacFarlane | 1 | -21/+29 | |
2012-07-27 | Commented out extensions that don't yet do anything. | John MacFarlane | 1 | -2/+3 | |
2012-07-27 | Removed deprecated writerXeTeX. | John MacFarlane | 1 | -3/+0 | |
2012-07-27 | Markdown reader: Added sensitivity to Ext_example_lists. | John MacFarlane | 2 | -1/+4 | |
2012-07-27 | More documentation of extensions | John MacFarlane | 1 | -6/+14 | |
2012-07-27 | Markdown reader: Check fancy_lists and startnum extensions. | John MacFarlane | 1 | -2/+6 | |
2012-07-27 | Started documenting individual syntax extensions in README. | John MacFarlane | 1 | -19/+38 | |
2012-07-27 | Benchmark: default to sample size of 20 for speed. | John MacFarlane | 1 | -1/+6 | |
2012-07-27 | Use README + testsuite in benchmarks. | John MacFarlane | 1 | -1/+2 | |
2012-07-27 | Added --disable and --enable options for markdown extensions. | John MacFarlane | 1 | -8/+37 | |
2012-07-27 | Replaced writerStrict with writerExtensions in WriterOptions. | John MacFarlane | 5 | -25/+36 | |
Still have not implemented individual tests for all the extensions in the markdown writer. | |||||
2012-07-26 | Moved WriterOptions and associated types Shared -> Options. | John MacFarlane | 33 | -170/+167 | |
2012-07-26 | Fixed whitespace errors. | John MacFarlane | 26 | -385/+385 | |
2012-07-26 | Textile reader: Replace failIfStrict with guardEnabled. | John MacFarlane | 1 | -3/+3 | |
2012-07-26 | Parsing: Removed failIfStrict. | John MacFarlane | 1 | -5/+0 | |
2012-07-26 | Use readerExtensions instead of readerStrict in readers. | John MacFarlane | 3 | -123/+118 | |
Test individually for the extensions. | |||||
2012-07-26 | Parsing: Added guardEnabled, guardDisabled. | John MacFarlane | 1 | -3/+14 | |
2012-07-26 | pandoc: Set readerExtensions instead of readerStrict. | John MacFarlane | 2 | -3/+8 | |
2012-07-26 | Revert "Require Cabal 0.14." | John MacFarlane | 1 | -1/+1 | |
This reverts commit f6cc63de41f3b56d6c913981a85380b146719258. Older versions of cabal supposedly just ignore the benchmark stanza. | |||||
2012-07-26 | Require Cabal 0.14. | John MacFarlane | 1 | -1/+1 | |
2012-07-26 | Bump version to 1.10. | John MacFarlane | 2 | -2/+2 | |
2012-07-26 | Added type signature. | John MacFarlane | 1 | -0/+1 | |
2012-07-26 | Updated INSTALL for new test/benchmarks. | John MacFarlane | 1 | -5/+29 | |
2012-07-26 | Changed travis instructions for new test. | John MacFarlane | 1 | -2/+2 | |
2012-07-26 | Integrated test suite with cabal. | John MacFarlane | 3 | -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-26 | Integrated benchmark into cabal. | John MacFarlane | 2 | -4/+21 | |
Can now do: cabal configure --enable-benchmarks && cabal build cabal bench --benchmark-option='markdown' --benchmark-option='-s 20' | |||||
2012-07-26 | Moved tests to tests/, modified cabal file so lib isn't recompiled. | John MacFarlane | 14 | -72/+35 | |
2012-07-26 | Fixed MakeManPage for new reader signature. | John MacFarlane | 1 | -1/+1 | |
2012-07-25 | Fixed Benchmark to compile with latest changes. | John MacFarlane | 1 | -7/+5 | |
2012-07-25 | Changed reader parameters from ParserState to ReaderOptions. | John MacFarlane | 12 | -76/+54 | |
2012-07-25 | Restored stateStandalone as readerStandalone. | John MacFarlane | 3 | -2/+8 | |
It is indeed needed by the RST reader. | |||||
2012-07-25 | Moved stateApplyMacros, stateIndentedCodeClasses to ReaderOptions. | John MacFarlane | 4 | -20/+21 | |
2012-07-25 | stateCitations -> readerCitations. | John MacFarlane | 4 | -6/+6 | |
2012-07-25 | Moved stateLiterateHaskell to readerLiterateHaskell in Options. | John MacFarlane | 6 | -29/+39 | |
2012-07-25 | Got rid of stateStandalone, which was hardly used anyway. | John MacFarlane | 6 | -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-25 | Moved stateOldDashes to readerOldDashes in ReaderOptions. | John MacFarlane | 4 | -11/+13 | |
2012-07-25 | Moved stateTabStop to readerTabStop in ReaderOptions. | John MacFarlane | 5 | -15/+11 | |
2012-07-25 | Moved stateColumns to readerColumns in ReaderOptions. | John MacFarlane | 3 | -4/+4 | |
2012-07-25 | Moved ParseRaw from ParserState to ReaderOptions. | John MacFarlane | 7 | -24/+28 | |
2012-07-25 | Text.Pandoc.Parsing: Added getOption. | John MacFarlane | 1 | -4/+6 | |
2012-07-25 | Options -> ReaderOptions. | John MacFarlane | 7 | -29/+29 | |
Better to keep reader and writer options separate. | |||||
2012-07-25 | Put smart, strict in separate options field in state. | John MacFarlane | 8 | -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-25 | Added Text.Pandoc.Options. | John MacFarlane | 2 | -0/+51 | |