git.iko.soy/typeable/pandoc
on 89ec99c help sign in
89ec99cCleanup up Text.Pandoc.Shared to eliminate warnings when compiling with -Wall.fiddlosopher 1f9e61bModified MacPorts Portfile: + depend on haddock + build and install libraries and library documentation in addition to the executablefiddlosopher dcb1dd1Replaced individual wrapping routines in RST, Man, and Markdown writers with 'wrapped' from Text.Pandoc.Shared.fiddlosopher 7ff2706Removed extra blank lines at end of LaTeX writer tests.fiddlosopher 33d47ceAdded 'wrapped' function to Text.Pandoc.Shared. This helps wrap text into paragraphs, using the prettyprinting library.fiddlosopher 1827ab4Rewrote LaTeX writer to use the prettyprinting library, so we get word wrapping, etc.fiddlosopher 18f150cModified latex writer tests for new latex writer using prettyprinter.fiddlosopher 8919f20Version bump to 0.43.fiddlosopher 3b790b8Fixed bug in LaTeX reader, which wrongly assumed that the roman numeral after "enum" in "setcounter" would consist entirely of "i"s. enumiv is legitimate.fiddlosopher 14dc520Cleaned up LaTeX reader. Rearranged order of parsers in inline for slight speed improvement. Added ` to special characters and 'unescapedChar'.fiddlosopher 451b426Removed unneeded try's in RST reader; also minor code cleanup.fiddlosopher 2a37d8dEfficiency improvements to RST reader (more than doubled speed): + removed tabchar + rearranged parsers in inlinefiddlosopher 015644bPurely stylistic change.fiddlosopher 7f8ec95Removed unneeded 'try' in 'ellipses'.fiddlosopher 60f7009+ Fixed bug introduced into referenceTitle by previous changes. Now it works as before. + Improved Markdown.pl-compatibility in referenceLink: the two parts of a reference-style link may be separated by one space, but not more... [a] [link], [not] [a link].fiddlosopher 845a658Fixed markdown inline code parsing so it better accords with Markdown.pl: the marker for the end of the code section is a clump of the same number of `'s with which the section began, followed by a non-` character. So, for example,fiddlosopher 77f6360Small change to referenceTitle: should end with line-end, not ')'.fiddlosopher 21a2acaSplit 'title' into 'linkTitle' and 'referenceTitle', since the rules are slightly different.fiddlosopher 86cc8c8Rewrote charsInBalanced and charsInBalanced'. - Documented restriction: open and close must be distinct characters. - Rearranged options for greater efficiency. - Changed inner call to charsInBalanced inside charsInBalanced' to charsInBalanced'.fiddlosopher 64023d8Removed unneeded 'try' from noteMarker.fiddlosopher 40b8703Minor reformatting.fiddlosopher 3edf583Rewrote 'para' for greater efficiency.fiddlosopher 902d6c7Fixed bug in LaTeX writer: autolinks would not cause '\usepackage{url}' to be put in the document header. Also, changes to state in enumerated list items would be overwritten.fiddlosopher 5bafe2cMinor reformatting.fiddlosopher fcb91e8Rewrote link parsers for greater efficiency.fiddlosopher e407279anyLine now requires that the line end with a newline (not eof). This is a harmless assumption, since we always add newlines to the end of a block before parsing with anyLine. Yields a 10% speed boost!fiddlosopher 365c349Main: Replaced tabsToSpacesInLine and tabFilter with single function tabFilter, which operates on the whole string rather than breaking it into lines.fiddlosopher 8fdf8c1+ Removed tabsToSpaces and tabsInLine from Text.Pandoc.Shared. (They were used only in Main.) + Wrote new tabsToSpacesInLine function in Main that changes tabs to spaces and removes DOS line-endings in one pass, for a slight speed improvement.fiddlosopher cda7e7aRemoved redundant 'referenceLink' in definition of inline (it's already in 'link').fiddlosopher 6906584Refactored escapeChar so it doesn't need 'try'.fiddlosopher 06a5a0eRemoved unneeded 'try' in multilineRow.fiddlosopher ce800f7Removed unneeded 'try' in dashedLine.fiddlosopher 3e337ebRemoved unneeded try in rawHtmlBlocks (Markdown parser).fiddlosopher 74dc62eRefactored hrule for performance in Markdown reader.fiddlosopher 8cf4971Minor reformatting.fiddlosopher 0c475bfRefactored setext header parsing in Markdown reader for greater speed.fiddlosopher 18b379cMore rearranging in definition of inline.fiddlosopher b6ebe75More intelligent rearranging of 'inline' for speed boosts in Text.Pandoc.Readers.Markdown.fiddlosopher b94f541Removed unneeded 'try' from romanNumeral parser.fiddlosopher 6765fadUse notFollowedBy instead of notFollowedBy' in charsInBalanced.fiddlosopher f10ac43Removed unneeded 'try' in 'parseFromString'.fiddlosopher da9271cRemoved unneeded 'try' from stringAnyCase. (Now it behaves like 'string'.)fiddlosopher f04df62Changed definition of 'enclosed' in Text.Pandoc.Shared so that 'try' is not automatically applied to the 'end' parser. Added 'try' in calls to 'enclosed' where needed. Slight speed increase.fiddlosopher a6da87fMinor code cleanup in Text.Pandoc.Shared.fiddlosopher 1d8fe26Performance improvements: + Rearranged parsers in definition of 'inline' so that the most frequently used would (by and large) be tried first. + Removed some unneeded 'try's. + Removed tabchar parser, as whitespace handles tabs anyway. + All in all, these changes, together with the last two commits, cut almost in half the time it takes pandoc to parse a large test file.fiddlosopher 08fbfa3Removed unnecessary 'try' in 'anyLine' (Text.Pandoc.Shared).fiddlosopher 583536aRefactored Text.Pandoc.CharacterReferences. Removed unnecessary 'try's for a speed improvement. Removed unnecessary '&' and ';' from the entity table.fiddlosopher 1ca8887Added template item for md5 sum in Portfile.in.fiddlosopher 76f918aUpdated Portfile.in to match the version in the MacPorts repository (r28278 in MacPorts).fiddlosopher 6bf82d8Removed local references to Portfile, since pandoc is now in the MacPorts repository. Updated INSTALL instructions and website.fiddlosopher