John MacFarlane
7fe6f218a4
Wasm gui: catch errors loading pandoc
2026-02-06 01:25:41 +01:00
John MacFarlane
c3b6fc906e
Wasm gui: fix bug with Unicode filenames.
...
Closes #11447 .
2026-02-06 01:12:10 +01:00
John MacFarlane
061055d18e
wasm gui: Don't block everything while pandoc.wasm loads.
2026-02-05 10:51:30 +01:00
λx.x
ca2dbc8222
Fix typos in changelog. ( #11442 )
2026-02-05 10:22:55 +01:00
John MacFarlane
6135aed875
Small addition to release template checklist.
2026-02-04 09:57:04 +01:00
John MacFarlane
19c1f6552b
pandoc-cli: rearrange build.
...
Hackage rejected the previous version, though it worked fine.
The problem was that with two pandoc.hs files in different
directories, one of them wasn't being included in the sdist tarball.
To work around this, put the WASM exported functions in a
library module that is conditionally imported.
pandoc-cli-3.9
3.9
2026-02-04 00:44:15 +01:00
John MacFarlane
6397f678b4
release-candidate: set timeout minutes on windows build.
pandoc-server-0.1.2
pandoc-lua-engine-0.5.1
2026-02-03 22:40:41 +01:00
John MacFarlane
a60373c366
Update changelog.
2026-02-03 22:00:24 +01:00
Mickaël Canouil
65f0b491c9
Typst template: improve accessibility of definition lists ( #11436 ).
...
The show rule we used for definition lists created problems when
typst was run with `--pdf-standard=ua-1`. This patch fixes things,
and also prevents definition list items from breaking across pages.
2026-02-03 21:58:28 +01:00
John MacFarlane
7089413fec
COPYRIGHT: include license from haskell-wasm/pandoc-wasm.
2026-02-03 10:25:38 +01:00
John MacFarlane
65bbf70810
cabal files: remove wasm-specific stuff.
...
This is out of the pandoc-cli source directory, but it is
relevant only to pandoc-cli, not pandoc. In any case, it doesn't
help to have it in the tarball, because the build is only possible
with the provided cabal.project.
2026-02-03 10:24:55 +01:00
John MacFarlane
d224639f35
Undo changes with http flag.
...
We should basically always set this in a normal build,
and unset it for wasm. Handle this in cabal.project.
2026-02-02 23:04:03 +01:00
John MacFarlane
adabc3ea16
Cirrus: freeze after building
2026-02-02 23:03:59 +01:00
John MacFarlane
54630ed3fe
Makefile CABALOPTS - set http.
2026-02-02 22:59:06 +01:00
John MacFarlane
0b94f1c4da
Update lua deps in stack.yaml.
2026-02-02 22:18:19 +01:00
John MacFarlane
ffc5fe2257
Add needed template file to cabal data files.
2026-02-02 22:15:16 +01:00
John MacFarlane
e78d63460e
Update README.md
2026-02-02 22:15:12 +01:00
John MacFarlane
7a5c17267b
Update AUTHORS.md.
2026-02-02 22:13:43 +01:00
John MacFarlane
476dd3914b
Update changelog.
2026-02-02 22:11:00 +01:00
John MacFarlane
c8ba761289
wasm app: ensure that input files show up under the file entry box.
2026-02-02 19:07:00 +01:00
John MacFarlane
b813a13b88
Fix Windows CI.
...
We needed to specify cabal options.
2026-02-02 18:07:25 +01:00
John MacFarlane
350ca0b663
Update man pages.
2026-02-02 17:28:34 +01:00
John MacFarlane
9a32653165
Update manual date.
2026-02-02 17:24:50 +01:00
John MacFarlane
45c4a98ba8
pandoc-lua-engine: depend on pandoc 3.9.
2026-02-02 17:24:39 +01:00
John MacFarlane
2453bae3f8
pandoc-server: bump version to 0.1.2, depend on pandoc 3.9.
2026-02-02 17:24:18 +01:00
John MacFarlane
69e5727372
Bump pandoc-lua-engine to 0.5.1.
2026-02-02 17:21:02 +01:00
John MacFarlane
1638a8b1a5
Bump pandoc, pandoc-cli to 3.9.
2026-02-02 17:20:46 +01:00
John MacFarlane
38a10b6242
wasm query: implement more queries.
...
highlight-languages, highlight-styles, default-template.
2026-02-02 16:24:26 +01:00
John MacFarlane
29dfe0a692
Explicitly set http flag on nightly and release builds.
2026-02-02 15:32:41 +01:00
John MacFarlane
caf3927538
CI: Try setting -fhttp directly.
2026-02-02 15:28:47 +01:00
John MacFarlane
26d1e601b3
wasm: Get reader/writer names dynamically.
...
Support "input-formats" and "output-formats" in wasm query.
2026-02-02 12:56:02 +01:00
John MacFarlane
8c6e906f83
wasm: expose "version" in query and put it in page footer on demo.
2026-02-02 12:13:07 +01:00
John MacFarlane
f91faefbeb
wasm: change interface.
...
We now provide two functions: convert and query.
extensions_for_format has been dropped, as query can do the
work.
convert is what pandoc used to be.
query takes a JSON object describing the information needed,
and returns information. Currently only "extensions-for-format"
is implemented.
Also: the use of multiple main-is causes problems with cabal.
Instead, we use pandoc.hs as main throughout, but change the
hs-src-dir for wasm.
2026-02-02 11:58:18 +01:00
John MacFarlane
648999286d
wasm: Rename wasm_main -> convert.
2026-02-02 09:12:14 +01:00
John MacFarlane
45241fe784
pandoc-wasm: factor out getCString pattern.
2026-02-02 09:00:03 +01:00
John MacFarlane
893a00bcc2
release-candidate: Set timeout-minutes on signing step.
...
Otherwise we tend to miss the 5 minute window for approving the
signing request.
2026-02-01 20:57:17 +01:00
John MacFarlane
9c20cebb6d
wasm: Removed an unneeded compilation option.
...
(`-optc-wasm-use-legacy-eh=false`)
2026-02-01 18:36:45 +01:00
John MacFarlane
2db6e7a919
require djot >= 0.1.3
2026-02-01 17:04:14 +01:00
John MacFarlane
c1d6ff7b46
Use released typst-0.9.
2026-02-01 17:04:01 +01:00
John MacFarlane
ac833def19
Depend on released asciidoc 0.1.0.1.
2026-02-01 16:58:16 +01:00
John MacFarlane
b214bf836c
Depend on released texmath 0.13.1.
2026-02-01 16:56:21 +01:00
John MacFarlane
5285313f9e
Use released skylighting-format-blaze-html 0.1.2. See #11423
2026-02-01 16:35:33 +01:00
John MacFarlane
8994ef20b1
Use released djot 0.1.3.
2026-02-01 16:31:27 +01:00
John MacFarlane
bbc4f30a62
Use released citeproc 0.13.
2026-02-01 15:44:35 +01:00
John MacFarlane
264a437c9c
Add wasm to release-candidate action.
2026-02-01 15:30:56 +01:00
John MacFarlane
da0451126f
CI: get rid of global cache step for nix-wasm.
...
It is pointless.
2026-02-01 15:28:30 +01:00
John MacFarlane
68207ec014
Update RELEASE-CHECKLIST-TEMPLATE with pandoc.was.
2026-02-01 15:20:43 +01:00
John MacFarlane
961106f61d
Change wasm demo path to /app
2026-02-01 15:17:45 +01:00
John MacFarlane
8d61071615
Remove +http from cabal.project
...
http defaults to True, and having it here prevents disabling it
on the command line.
2026-02-01 15:09:19 +01:00
John MacFarlane
51b54857f4
Makefile: add cabal update for pandoc.wasm.
2026-02-01 15:04:19 +01:00