summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Textile reader: Replace failIfStrict with guardEnabled.John MacFarlane2012-07-26
|
* Parsing: Removed failIfStrict.John MacFarlane2012-07-26
|
* Use readerExtensions instead of readerStrict in readers.John MacFarlane2012-07-26
| | | | Test individually for the extensions.
* Parsing: Added guardEnabled, guardDisabled.John MacFarlane2012-07-26
|
* pandoc: Set readerExtensions instead of readerStrict.John MacFarlane2012-07-26
|
* Revert "Require Cabal 0.14."John MacFarlane2012-07-26
| | | | | | | This reverts commit f6cc63de41f3b56d6c913981a85380b146719258. Older versions of cabal supposedly just ignore the benchmark stanza.
* Require Cabal 0.14.John MacFarlane2012-07-26
|
* Bump version to 1.10.John MacFarlane2012-07-26
|
* Added type signature.John MacFarlane2012-07-26
|
* Updated INSTALL for new test/benchmarks.John MacFarlane2012-07-26
|
* Changed travis instructions for new test.John MacFarlane2012-07-26
|
* Integrated test suite with cabal.John MacFarlane2012-07-26
| | | | | | | | 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.
* Integrated benchmark into cabal.John MacFarlane2012-07-26
| | | | | | | Can now do: cabal configure --enable-benchmarks && cabal build cabal bench --benchmark-option='markdown' --benchmark-option='-s 20'
* Moved tests to tests/, modified cabal file so lib isn't recompiled.John MacFarlane2012-07-26
|
* Fixed MakeManPage for new reader signature.John MacFarlane2012-07-26
|
* Fixed Benchmark to compile with latest changes.John MacFarlane2012-07-25
|
* Changed reader parameters from ParserState to ReaderOptions.John MacFarlane2012-07-25
|
* Restored stateStandalone as readerStandalone.John MacFarlane2012-07-25
| | | | It is indeed needed by the RST reader.
* Moved stateApplyMacros, stateIndentedCodeClasses to ReaderOptions.John MacFarlane2012-07-25
|
* stateCitations -> readerCitations.John MacFarlane2012-07-25
|
* Moved stateLiterateHaskell to readerLiterateHaskell in Options.John MacFarlane2012-07-25
|
* Got rid of stateStandalone, which was hardly used anyway.John MacFarlane2012-07-25
| | | | | | The only possible effect will be with rst fragments that begin with an rst title block, which will now cause the header transform.
* Moved stateOldDashes to readerOldDashes in ReaderOptions.John MacFarlane2012-07-25
|
* Moved stateTabStop to readerTabStop in ReaderOptions.John MacFarlane2012-07-25
|
* Moved stateColumns to readerColumns in ReaderOptions.John MacFarlane2012-07-25
|
* Moved ParseRaw from ParserState to ReaderOptions.John MacFarlane2012-07-25
|
* Text.Pandoc.Parsing: Added getOption.John MacFarlane2012-07-25
|
* Options -> ReaderOptions.John MacFarlane2012-07-25
| | | | Better to keep reader and writer options separate.
* Put smart, strict in separate options field in state.John MacFarlane2012-07-25
| | | | | | | | | 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.
* Added Text.Pandoc.Options.John MacFarlane2012-07-25
|
* Better algorithm for oneOfStrings.John MacFarlane2012-07-24
| | | | This goes character by character, not backtracking.
* Slightly more efficient normalizeSpaces.John MacFarlane2012-07-24
|
* HTML reader: Fixed bug in htmlBalanced.John MacFarlane2012-07-24
| | | | This caused hangs in parsing certain markdown input using --strict.
* Don't require strict HTML blocks to begin at left margin.John MacFarlane2012-07-24
| | | | | | Technically this is required, according to the mardkown syntax document, but Markdown.pl and other markdown processors are more liberal.
* Use catch from Control.Exception to avoid warnings.John MacFarlane2012-07-24
|
* Text.Pandoc: writers now an assoc list of String, Writer.John MacFarlane2012-07-24
| | | | | | | 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.
* Removed unneeded import.John MacFarlane2012-07-24
|
* Changed signatures of writeODT, writeDocx, writeEPUB.John MacFarlane2012-07-24
| | | | | | | | | 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!
* Added fields to WriterOptions.John MacFarlane2012-07-24
| | | | | | writerEpubStylesheet, writerEpubFonts, writerReferenceODT, writerReferenceDocx. These can now be removed as extra parameters to the writers.
* Small fix to fix: Allow blank lines btw table and caption.John MacFarlane2012-07-24
|
* Fixed performance improvement to tables.John MacFarlane2012-07-24
|
* More performance improvements on pipe tables.John MacFarlane2012-07-24
|
* Refactored table parsers, captions now not part of core tableWith.John MacFarlane2012-07-24
|
* Slight improvement to performance for pipe tables.John MacFarlane2012-07-24
| | | | | | 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.
* Set writerTableOfContents for s5 in Text.Pandoc, not pandoc.hs.John MacFarlane2012-07-23
|
* Set writerSlideVariant in Text.Pandoc rather than pandoc.hs.John MacFarlane2012-07-23
|
* Revised code for pipe tables.John MacFarlane2012-07-22
| | | | | | | | | | * 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).
* Added README description of pipe tables.John MacFarlane2012-07-22
|
* Renamed tests/markdown-tables -> tests/extra-tables.John MacFarlane2012-07-22
| | | | Added to cabal file.
* Merge pull request #510 from mytskine/markdown-extraJohn MacFarlane2012-07-22
|\ | | | | Markdown extra tables [part of the multi-markdown syntax for tables]