Commit graph

12880 commits

Author SHA1 Message Date
John MacFarlane
961e57c038 Nightly - strip linux executables. 2019-09-19 15:51:28 -07:00
John MacFarlane
7744f3f92b Nightly: Fix macos file finding. 2019-09-19 09:35:07 -07:00
John MacFarlane
f150ec04a0 Nightly - fix date setting on windows. 2019-09-19 09:09:41 -07:00
John MacFarlane
3ef628d968 CI workflow - trigger on any push, for now. 2019-09-19 00:22:11 -07:00
John MacFarlane
1f069cf64e Nightly improvements. 2019-09-19 00:16:28 -07:00
John MacFarlane
c42542428c LaTeX writer: use \hspace{0pt} for 0-width space U+200B.
Closes #5756.
2019-09-18 13:27:02 -07:00
John MacFarlane
ebfa7d61f8 Nightly fixes. for now, run every 6 hours for debugging. 2019-09-18 11:22:14 -07:00
John MacFarlane
3bdc947b2e Stop nightly from running every hour. 2019-09-18 11:11:43 -07:00
John MacFarlane
78f552e24c Improvements to nightly.yml. 2019-09-18 09:08:45 -07:00
John MacFarlane
98808f3f8d Change nightly timing so it's at night. 2019-09-17 22:21:44 -07:00
John MacFarlane
852415a66f GitHub nightly - fix linux target. 2019-09-17 22:21:03 -07:00
John MacFarlane
d6c50af221 Fixes to nightly workflow. 2019-09-17 21:14:06 -07:00
John MacFarlane
369d348a9b Add nightly, move haskell.yml -> ci.yml. 2019-09-17 10:01:09 -07:00
John MacFarlane
0360d92800 GitHub CI: remove fail-fast and ghc 8.8.1 build. 2019-09-17 09:24:47 -07:00
John MacFarlane
5ee48c0381 Set fail-fast to false.
So we can see the 8.8.1 failure while checking the others.
2019-09-17 09:20:41 -07:00
John MacFarlane
55cf0331e7 GitHub CI - experiment with structured matrix entries. 2019-09-17 09:13:10 -07:00
John MacFarlane
cc8e8e0d0a GitHub CI - Ensure that version numbers are parsed as strings. 2019-09-17 09:07:38 -07:00
John MacFarlane
e1282588b0 GitHub CI - use cabal 3 with ghc 8.8. 2019-09-17 09:02:57 -07:00
John MacFarlane
3b52baab8e GitHub CI - use matrix for linux/cabal build. 2019-09-16 23:33:05 -07:00
John MacFarlane
255f3c0a8e GitHub CI - take 2 on macos build. 2019-09-16 22:03:47 -07:00
John MacFarlane
d9125ac9bc GitHub CI - add macos. 2019-09-16 21:44:54 -07:00
John MacFarlane
6c077b8f2c GitHub CI - cleanup. 2019-09-16 11:05:04 -07:00
John MacFarlane
fa12d4ed37 GitHub CI - trigger build on workflow/haskell.yml change. 2019-09-16 11:03:48 -07:00
John MacFarlane
b030d23893 GitHub CI: don't trigger build with doc changes. 2019-09-16 10:45:13 -07:00
John MacFarlane
d3e2d3c434 GitHub CI: comment out artifact uploading for now. 2019-09-16 09:48:57 -07:00
John MacFarlane
b222272b60 Add note on --print-default-template explaining how to print partials. 2019-09-16 09:45:03 -07:00
John MacFarlane
297afd0aa9 PDF: Fix test for Cygwin. See #5451. 2019-09-16 08:30:57 -07:00
John MacFarlane
4fe6bd4759 GitHub CI: fix finding of executables. 2019-09-16 08:12:54 -07:00
John MacFarlane
09cf70959f GitHub CI - another attempt to install artifacts. 2019-09-15 22:35:50 -07:00
John MacFarlane
9a07667ab3 GitHuB CI tweak. cabal v2-install doesn't respect --bindir? 2019-09-15 21:46:01 -07:00
John MacFarlane
2e50e7bf25 Fix syntax of cabal v2-install. 2019-09-15 19:40:39 -07:00
John MacFarlane
e367656de8 More GH CI tweaks. 2019-09-15 18:32:12 -07:00
John MacFarlane
4140ad1ac9 GitHub CI: attempt to enable artifact. 2019-09-15 18:20:26 -07:00
John MacFarlane
b023bfccf4 GitHuB CI: remove --disable-optimization and --fast. 2019-09-15 18:12:12 -07:00
John MacFarlane
172c7e3b38 Tweak GitHub CI config. 2019-09-15 18:09:26 -07:00
Albert Krewinkel
d0261d7387 Lua filters: allow passing of HTML-like tables instead of Attr (#5750)
Attr values can now be given as normal Lua tables; this can be used as a
convenient alternative to define Attr values, instead of constructing
values with `pandoc.Attr`. Identifiers are taken from the *id* field,
classes must be given as space separated words in the *class* field. All
remaining fields are included as misc attributes.

With this change, the following lines now create equal elements:

    pandoc.Span('test', {id = 'test', class = 'a b', check = 1})
    pandoc.Span('test', pandoc.Attr('test', {'a','b'}, {check = 1}))

This also works when using the *attr* setter:

    local span = pandoc.Span 'text'
    span.attr = {id = 'test', class = 'a b', check = 1}

Furthermore, the *attributes* field of AST elements can now be a plain
key-value table even when using the `attributes` accessor:

    local span = pandoc.Span 'test'
    span.attributes = {check = 1}   -- works as expected now

Closes: #5744
2019-09-15 12:11:58 -07:00
John MacFarlane
f580da2033 GitHuB CI: turn off optimizations. 2019-09-15 12:10:48 -07:00
John MacFarlane
51728ce36f Added .gitattributes.
This ensures that the golden files in `test/fb2/reader/` don't
have newlines converted. This should fix a test failure on
GitHub CI with Windows.

Closes #5747.
2019-09-15 10:40:59 -07:00
John MacFarlane
45b7636307 Revert "FB2 reader test: better diagnostics on failure."
This reverts commit c65af7d1a2.
2019-09-15 10:27:19 -07:00
John MacFarlane
c65af7d1a2 FB2 reader test: better diagnostics on failure. 2019-09-15 09:06:38 -07:00
John MacFarlane
5d1a58b3d8 Add chapter-title class to EPUB chapter title h1 elements.
See #5269.
2019-09-14 11:44:11 -07:00
John MacFarlane
47358831a4 EPUB toChapters: don't treat "refs" Div specially.
This should make toChapters work better if there are
Divs around sections.
2019-09-14 11:36:21 -07:00
John MacFarlane
3f455aedfa Github CI/windows: separate dependencies step. 2019-09-14 10:47:29 -07:00
John MacFarlane
88a0327579 FB2 reader test: Another attempt to fix test failure on GitHub CI. 2019-09-14 10:37:19 -07:00
John MacFarlane
7ecae69e27 Revert "FB2 reader test: filter CRs."
This reverts commit e35147d715.
2019-09-13 22:08:42 -07:00
John MacFarlane
e35147d715 FB2 reader test: filter CRs.
This may help with the test failure on GitHub CI.

b59e6d0376/checks
2019-09-13 16:50:00 -07:00
John MacFarlane
b59e6d0376 GitHuB CI: Try adding windows build. 2019-09-13 10:54:55 -07:00
John MacFarlane
8984eb7460 Fix setting path. 2019-09-13 09:26:47 -07:00
John MacFarlane
edd7bfa434 GitHub CI - set path. 2019-09-13 09:24:14 -07:00
John MacFarlane
afbc1ca3d8 GitHub CI - try sudo 2019-09-12 23:30:05 -07:00