Commit graph

3711 commits

Author SHA1 Message Date
John MacFarlane
846be80c26 Markdown reader: Performance improvement in str parser.
Moved a guardEnabled out of an inner loop.
2013-01-25 18:42:40 -08:00
John MacFarlane
71c5ebe682 Use anyLine everywhere instead of 'manyTill anyChar newline'. 2013-01-25 18:32:15 -08:00
John MacFarlane
f989ff2d5d Parsing: More improvements of anyLine parser. 2013-01-25 18:32:06 -08:00
John MacFarlane
d27dc6a420 More anyLine tweaks: Use incSourceLine. 2013-01-25 17:59:57 -08:00
John MacFarlane
0801b120b9 anyLine: Set position properly. 2013-01-25 17:53:50 -08:00
John MacFarlane
286fc44bba Makefile: Don't enable tests in 'make prof'. 2013-01-25 17:53:39 -08:00
John MacFarlane
f7ecbd03d4 Markdown reader: More efficient version of scanForPipe. 2013-01-25 16:13:58 -08:00
John MacFarlane
4c74b7aaab Parsing: Much faster new version of anyLine.
Not only faster but uses less memory.
2013-01-25 15:32:10 -08:00
John MacFarlane
0bc9b0679b Increased ansi-terminal upper bound. 2013-01-25 12:37:45 -08:00
John MacFarlane
645bf4ed2f .gitmodule: Use https rather than git URL.
iThis helps people behind firewalls.
2013-01-25 12:25:54 -08:00
John MacFarlane
f135ac2389 make-pandoc-man-pages: CPP macros to import right time module. 2013-01-25 12:17:55 -08:00
John MacFarlane
bd645d9ae5 Relaxed old-time version bound, allowing 1.0.*.
I see no reason for the restriction, which requires a recent
Haskell Platform.

The module is only used in make-pandoc-man-pages anyway.
2013-01-25 11:24:52 -08:00
John MacFarlane
8b2e2e623f Fixed Makefile PHONY line. 2013-01-25 11:09:12 -08:00
John MacFarlane
be72a776b7 Updated changelog. 2013-01-23 19:52:59 -08:00
John MacFarlane
e97b8ae946 Version bump to 1.10.0.5. 2013-01-23 19:39:07 -08:00
John MacFarlane
8d5d490d7a Makefile: Added sdist. 2013-01-23 19:26:39 -08:00
John MacFarlane
fe337b07f7 Use hsb2hs preprocessor instead of TH for embed_data_files.
This should work on Windows, unlike the TH solution with
file-embed.
2013-01-23 19:26:39 -08:00
John MacFarlane
daeb52d4e0 Eliminated use of TH in test suite. 2013-01-23 19:26:39 -08:00
John MacFarlane
9c299d282f Added Text.Pandoc.Data (non-exported) if embed_data_files selected.
This module just exports the association list of embedded data files,
which is used by Shared.
2013-01-23 19:26:39 -08:00
John MacFarlane
7a0062a8d5 Fixed regressions in fenced code blocks.
*   Tilde code fences can again take bare language.

    So

        ~~~ haskell

    is okay, not just

        ~~~ {.haskell}

*   Backtick code blocks can take the bracketed attributes.
*   Backtick code blocks don't require a language.
*   Consolidated code for the two kinds of fenced code blocks.

Closes #722.
2013-01-23 13:21:53 -08:00
John MacFarlane
7cd5239d60 Merge branch 'master' of github.com:jgm/pandoc 2013-01-23 12:50:38 -08:00
John MacFarlane
a5da6898c9 Changes to make-windows-installer.bat.
* Exit batch file if any of the cabal-dev installs fail.
* There's no longer any need to reinstall highlighting-kate.
* Don't start with a 'cabal update'; leave that to the user.
2013-01-22 19:43:32 -08:00
John MacFarlane
8448b8a386 README: Split up documentation of table extensions. 2013-01-22 19:31:03 -08:00
John MacFarlane
94ed282adf Merge branch 'master' of github.com:jgm/pandoc 2013-01-22 10:26:49 -08:00
John MacFarlane
d52a1ec18f Another fix to the CPP macro in EPUB writer. 2013-01-22 08:48:43 -08:00
John MacFarlane
613a872c01 windowns installer: Removed --disable-library-for-ghci. 2013-01-22 08:47:03 -08:00
John MacFarlane
294df9deed Fixed MIN_VERSION - need to sub _ for - in blaze-html. 2013-01-22 08:32:33 -08:00
John MacFarlane
d1e3bc7df4 Force reinstall for windows package. 2013-01-22 08:16:40 -08:00
John MacFarlane
ddfbcae782 Corrected name of blank_before_blockquote in README.
Closes #718.
2013-01-22 07:53:32 -08:00
John MacFarlane
7415462dc9 Markdown reader: Try lhsCodeBlock before rawTeXBlock.
Otherwise \begin{code}...\end{code} isn't handled
properly in markdown+lhs.

Thanks to Daniel Miot for noticing the bug and
suggesting the fix.
2013-01-21 21:36:31 -08:00
John MacFarlane
420845a32c Merge pull request #717 from juhp/patch-1
EPUB: condition Blaze Utf8 module name import on blaze-html version
2013-01-21 17:37:50 -08:00
Jens Petersen
88d0ca8ea7 EPUB: condition Blaze Utf8 module name import on blaze-html version
blaze-html/blaze-markup-0.5 has Text.Blaze.Html.Renderer.Utf8
whereas blaze-html-0.4 has Text.Blaze.Renderer.Utf8.
So this needs to be conditional on the version for pandoc
still be with blaze-html-0.4.x
2013-01-22 10:27:34 +09:00
John MacFarlane
b4232fdbda Updated tested-with in cabal file. 2013-01-21 14:05:36 -08:00
John MacFarlane
f468db9277 LaTeX template: Use \urlstyle{same} to avoid monospace URLs. 2013-01-21 11:52:00 -08:00
John MacFarlane
26d30d6d38 Use proportional font for email autolinks with obfuscation.
Closes #714.
2013-01-21 11:28:35 -08:00
John MacFarlane
af84953781 Markdown reader: Fixed bug with headerless grid tables.
The 1.10 code assumed that each table header cell contains
exactly one block. That failed for headerless tables (0) and also
for tables with multiple blocks in a header cell.

The code is fixed and tests provided. Thanks to Andrew Lee for
pointing out the bug.
2013-01-21 09:52:24 -08:00
John MacFarlane
c4b93bc3e7 Fixed bug in uri parser.
The bug prevented an autolink at the end of a string (e.g.
at the end of a line block line) from counting as a link.

Closes #711.
2013-01-20 20:23:50 -08:00
John MacFarlane
65528e48f8 make-windows-installer: force reinstall of citeproc-hs and h-k. 2013-01-20 19:36:44 -08:00
John MacFarlane
93c9a1c167 Version bump to 1.10.0.4. 2013-01-20 19:25:42 -08:00
John MacFarlane
468594eea6 Updated changelog. 2013-01-20 19:25:30 -08:00
John MacFarlane
9cc1cf1f40 Fixed bug with escaped % in LaTeX reader.
Also added tests.  Closes #710.
2013-01-20 19:21:13 -08:00
John MacFarlane
00fe1dba31 Bump version to 1.10.0.3; added further missing fb2 tests.
Updated changelog.
2013-01-20 10:19:08 -08:00
John MacFarlane
3c0c1e4ab9 Updated changelog. 2013-01-20 09:44:15 -08:00
John MacFarlane
155a312a83 Version bump to 1.10.0.2. 2013-01-20 09:43:37 -08:00
John MacFarlane
8c8aadecf4 Added fb2 tests to extra-source-files.
Otherwise we get an error in `cabal install --enable-tests`
from Hackage.
2013-01-20 09:43:11 -08:00
John MacFarlane
cb9f692a33 Updated changelog. 2013-01-20 08:47:53 -08:00
John MacFarlane
31b282d422 Bump version to 1.10.0.1. 2013-01-20 08:47:20 -08:00
John MacFarlane
346edea8c2 Bump version bounds on test-framework packages. 2013-01-20 08:46:51 -08:00
John MacFarlane
db16644c46 Revert "Temporarily removed travis build instructions."
This reverts commit bba08126b4.
2013-01-19 17:04:11 -08:00
John MacFarlane
492268a984 Updated copyright date in pandoc.cabal. 2013-01-19 16:44:03 -08:00