Update to jira-wiki-markup-1.3.4 1.3.4: Released 2021-03-13. * Fixed parsing of autolinks (i.e., of bare URLs in the text). Previously an autolink would take up the rest of a line, as spaces were allowed characters in these items. * Emoji character sequences no longer cause parsing failures. This was due to missing backtracking when emoji parsing fails. * Block quotes are only rendered as bq. if they do not contain a linebreak. 1.3.3: Released 2021-02-12. * Modified the Doc parser to skip leading blank lines. This fixes parsing of documents which start with multiple blank lines. * Prevent URLs within link aliases to be treated as autolinks. 1.3.2: Released 2020-06-22. * Braces are now always escaped when printing; Jira treats braces specially, regardless of context. 1.3.1: Released 2020-06-14 * Added support for links to anchors. * Styled text may not wrap across multiple lines; linebreaks in marked-up text are now forbidden. * Module Text.Jira.Parser.Core: new function many1Till which behaves like manyTill, but requires at least on element to be parsed. * Ensured the package works with GHC 8.10. 1.3.0: Released 2020-04-04 * Support was added for additional syntax constructs: - citation markup (??citation??), - links to attachments ([title^attachment.ext]), and - user links ([~username]). * Changes to module Text.Jira.Markup: - A new data type LinkType is exported from the module. - Changes to type Inline: * a new constructor Citation has been added; * the Link constructor now takes an additional parameter of type LinkType. 1.2.1: Released 2020-04-02 * Fixed rendering of image attributes: image attributes are separated by commas instead of pipes; the latter are used in block parameters. * Fixed parsing of blockquotes which are not preceeded by blank lines. * Ensure parsing of single-line blockquotes is possible even if there is no space between bq. marker and contents. * Fixed parsing of colors: parsing no longer fails for hexcolors which contain non-decimal digits. * Changes to module Text.Jira.Parser.Shared: - New parsing function colorName which parses a color descriptor, i.e. either a name or a hexcolor. 1.2.0: Released 2020-03-28 * Added check that a closing markup char is not preceeded by a whitespace character. Previously, plain text was still incorrectly treated as markup. E.g., the dashes in -> step -> used to be interpreted as delimiters marking deleted text. * Allows empty table cells; table parsing failed if one of the cells did not contain any content. * Changes to module Text.Jira.Parser.Core: - A field stateLastSpcPos was added to data type ParserState to keep track of spaces. - Function updateLastSpcPos was added to update the aforementioned field. - Function afterSpace was added to test the field. 1.1.4: Released 2020-03-27 * Fixed parsing of image parameters. Thumbnails and images with parameters were previously not recognized as images. 1.1.3: Released 2020-03-19 * Fixed table detection in endOfParagraph parser: Tables were expected to have a space between the leading pipe(s) and the cell content. Lines like ||Name| were erroneously not recognized as the beginning of a new block. 1.1.2: Released 2020-03-18 * Don't escape colon/semicolon unless necessary: it is necessary to escape colons or semicolons only if they could otherwise become part of a smiley. 1.1.1: Released 2020-03-18 * Colon : and semicolon ; are now parsed as special characters, since they can be the first characters of an emoji. * Fixed parsing of words which contain non-special symbol characters: word boundaries were not set correctly if a word contained a dot . or similar chars. * Fixed incorrect emphasis parsing: digits were erroneously allows as the first characters after closing emphasis characters. 1.1.0: Released 2020-03-13. * Lists are now allowed to be indented; i.e., lists are still recognized if list markers are preceded by spaces. * Support for colored inlines has been added. * New constructor ColorInline for type Inline (API change).diff -r1.2 -r1.3 pkgsrc/textproc/hs-jira-wiki-markup/Makefile
(pho)
@@ -1,15 +1,14 @@ | @@ -1,15 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.2 2020/01/17 07:14:22 pho Exp $ | 1 | # $NetBSD: Makefile,v 1.3 2021/04/24 15:40:07 pho Exp $ | |
2 | 2 | |||
3 | DISTNAME= jira-wiki-markup-1.0.0 | 3 | DISTNAME= jira-wiki-markup-1.3.4 | |
4 | PKGREVISION= 1 | |||
5 | CATEGORIES= textproc | 4 | CATEGORIES= textproc | |
6 | 5 | |||
7 | MAINTAINER= pho@cielonegro.org | 6 | MAINTAINER= pho@cielonegro.org | |
8 | COMMENT= Handle Jira wiki markup | 7 | COMMENT= Handle Jira wiki markup | |
9 | LICENSE= mit | 8 | LICENSE= mit | |
10 | 9 | |||
11 | post-patch: | 10 | post-patch: | |
12 | ${RUN}${CP} -f ${FILESDIR}/Setup.hs ${WRKSRC}/ | 11 | ${RUN}${CP} -f ${FILESDIR}/Setup.hs ${WRKSRC}/ | |
13 | 12 | |||
14 | .include "../../mk/haskell.mk" | 13 | .include "../../mk/haskell.mk" | |
15 | .include "../../mk/bsd.pkg.mk" | 14 | .include "../../mk/bsd.pkg.mk" |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.2 2020/01/17 07:14:22 pho Exp $ | 1 | $NetBSD: distinfo,v 1.3 2021/04/24 15:40:07 pho Exp $ | |
2 | 2 | |||
3 | SHA1 (jira-wiki-markup-1.0.0.tar.gz) = 19b3c5167068fc246ea859049ada5e53a75fb218 | 3 | SHA1 (jira-wiki-markup-1.3.4.tar.gz) = b9ff16dc30e71e4885644d7f3e86adb974cc2763 | |
4 | RMD160 (jira-wiki-markup-1.0.0.tar.gz) = b63323772e72c60ae071c767b2b399890df519ac | 4 | RMD160 (jira-wiki-markup-1.3.4.tar.gz) = b4eb3a9d8fb464dc0842f1b883d9c5889bf17c10 | |
5 | SHA512 (jira-wiki-markup-1.0.0.tar.gz) = 74df439b64939ebad80ecdc2888829d78a8ae030a855de8e50a8b0076e036c79e5a96eb07a943fc211645c8a89bf508c170b2af0c923ca8f53f4b5cd401a7549 | 5 | SHA512 (jira-wiki-markup-1.3.4.tar.gz) = 762ebecfd8fd903ae348a9f09fa8c610e48a5a8b1b5177a749cb51f94d01d7fdf6f8e078f48797ae94ad8e352d06841189c649ef5131b41470d1390a3e23f481 | |
6 | Size (jira-wiki-markup-1.0.0.tar.gz) = 18697 bytes | 6 | Size (jira-wiki-markup-1.3.4.tar.gz) = 23759 bytes |
@@ -1,50 +1,50 @@ | @@ -1,50 +1,50 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1 2020/05/11 17:52:16 rillig Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2021/04/24 15:40:07 pho Exp $ | |
2 | bin/jira-wiki-markup | 2 | bin/jira-wiki-markup | |
3 | ${HS_INTF}/package-description | 3 | lib/jira-wiki-markup-${PKGVERSION}/${HS_VERSION}/package-description | |
4 | ${HS_INTF}/package-id | 4 | lib/jira-wiki-markup-${PKGVERSION}/${HS_VERSION}/package-id | |
5 | ${HS_IMPL}/Text/Jira/Markup.dyn_hi | 5 | lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Markup.dyn_hi | |
6 | ${HS_IMPL}/Text/Jira/Markup.hi | 6 | lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Markup.hi | |
7 | ${HS_IMPL}/Text/Jira/Markup.p_hi | 7 | lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Markup.p_hi | |
8 | ${HS_IMPL}/Text/Jira/Parser.dyn_hi | 8 | lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser.dyn_hi | |
9 | ${HS_IMPL}/Text/Jira/Parser.hi | 9 | lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser.hi | |
10 | ${HS_IMPL}/Text/Jira/Parser.p_hi | 10 | lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser.p_hi | |
11 | ${HS_IMPL}/Text/Jira/Parser/Block.dyn_hi | 11 | lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/Block.dyn_hi | |
12 | ${HS_IMPL}/Text/Jira/Parser/Block.hi | 12 | lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/Block.hi | |
13 | ${HS_IMPL}/Text/Jira/Parser/Block.p_hi | 13 | lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/Block.p_hi | |
14 | ${HS_IMPL}/Text/Jira/Parser/Core.dyn_hi | 14 | lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/Core.dyn_hi | |
15 | ${HS_IMPL}/Text/Jira/Parser/Core.hi | 15 | lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/Core.hi | |
16 | ${HS_IMPL}/Text/Jira/Parser/Core.p_hi | 16 | lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/Core.p_hi | |
17 | ${HS_IMPL}/Text/Jira/Parser/Inline.dyn_hi | 17 | lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/Inline.dyn_hi | |
18 | ${HS_IMPL}/Text/Jira/Parser/Inline.hi | 18 | lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/Inline.hi | |
19 | ${HS_IMPL}/Text/Jira/Parser/Inline.p_hi | 19 | lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/Inline.p_hi | |
20 | ${HS_IMPL}/Text/Jira/Parser/PlainText.dyn_hi | 20 | lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/PlainText.dyn_hi | |
21 | ${HS_IMPL}/Text/Jira/Parser/PlainText.hi | 21 | lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/PlainText.hi | |
22 | ${HS_IMPL}/Text/Jira/Parser/PlainText.p_hi | 22 | lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/PlainText.p_hi | |
23 | ${HS_IMPL}/Text/Jira/Parser/Shared.dyn_hi | 23 | lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/Shared.dyn_hi | |
24 | ${HS_IMPL}/Text/Jira/Parser/Shared.hi | 24 | lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/Shared.hi | |
25 | ${HS_IMPL}/Text/Jira/Parser/Shared.p_hi | 25 | lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/Shared.p_hi | |
26 | ${HS_IMPL}/Text/Jira/Printer.dyn_hi | 26 | lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Printer.dyn_hi | |
27 | ${HS_IMPL}/Text/Jira/Printer.hi | 27 | lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Printer.hi | |
28 | ${HS_IMPL}/Text/Jira/Printer.p_hi | 28 | lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Printer.p_hi | |
29 | ${HS_IMPL}/libHS${HS_PKGID}.a | 29 | lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a | |
30 | ${HS_IMPL}/libHS${HS_PKGID}_p.a | 30 | lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a | |
31 | lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so | 31 | lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so | |
32 | ${HS_DOCS}/LICENSE | 32 | share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/LICENSE | |
33 | ${HS_DOCS}/html/CHANGELOG.md | 33 | share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/CHANGELOG.md | |
34 | ${HS_DOCS}/html/README.md | 34 | share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/README.md | |
35 | ${HS_DOCS}/html/Text-Jira-Markup.html | 35 | share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/Text-Jira-Markup.html | |
36 | ${HS_DOCS}/html/Text-Jira-Parser-Block.html | 36 | share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/Text-Jira-Parser-Block.html | |
37 | ${HS_DOCS}/html/Text-Jira-Parser-Core.html | 37 | share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/Text-Jira-Parser-Core.html | |
38 | ${HS_DOCS}/html/Text-Jira-Parser-Inline.html | 38 | share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/Text-Jira-Parser-Inline.html | |
39 | ${HS_DOCS}/html/Text-Jira-Parser-PlainText.html | 39 | share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/Text-Jira-Parser-PlainText.html | |
40 | ${HS_DOCS}/html/Text-Jira-Parser-Shared.html | 40 | share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/Text-Jira-Parser-Shared.html | |
41 | ${HS_DOCS}/html/Text-Jira-Parser.html | 41 | share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/Text-Jira-Parser.html | |
42 | ${HS_DOCS}/html/Text-Jira-Printer.html | 42 | share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/Text-Jira-Printer.html | |
43 | ${HS_DOCS}/html/doc-index.html | 43 | share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/doc-index.html | |
44 | ${HS_DOCS}/html/haddock-bundle.min.js | 44 | share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/haddock-bundle.min.js | |
45 | ${HS_DOCS}/html/index.html | 45 | share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/index.html | |
46 | ${HS_DOCS}/html/jira-wiki-markup.haddock | 46 | share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/jira-wiki-markup.haddock | |
47 | ${HS_DOCS}/html/linuwial.css | 47 | share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/linuwial.css | |
48 | ${HS_DOCS}/html/meta.json | 48 | share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/meta.json | |
49 | ${HS_DOCS}/html/quick-jump.css | 49 | share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/quick-jump.css | |
50 | ${HS_DOCS}/html/synopsis.png | 50 | share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/synopsis.png |
@@ -1,13 +1,13 @@ | @@ -1,13 +1,13 @@ | |||
1 | # $NetBSD: buildlink3.mk,v 1.1 2020/01/16 15:02:50 pho Exp $ | 1 | # $NetBSD: buildlink3.mk,v 1.2 2021/04/24 15:40:07 pho Exp $ | |
2 | 2 | |||
3 | BUILDLINK_TREE+= hs-jira-wiki-markup | 3 | BUILDLINK_TREE+= hs-jira-wiki-markup | |
4 | 4 | |||
5 | .if !defined(HS_JIRA_WIKI_MARKUP_BUILDLINK3_MK) | 5 | .if !defined(HS_JIRA_WIKI_MARKUP_BUILDLINK3_MK) | |
6 | HS_JIRA_WIKI_MARKUP_BUILDLINK3_MK:= | 6 | HS_JIRA_WIKI_MARKUP_BUILDLINK3_MK:= | |
7 | 7 | |||
8 | BUILDLINK_API_DEPENDS.hs-jira-wiki-markup+= hs-jira-wiki-markup>=1.0.0 | 8 | BUILDLINK_API_DEPENDS.hs-jira-wiki-markup+= hs-jira-wiki-markup>=1.3.4 | |
9 | BUILDLINK_ABI_DEPENDS.hs-jira-wiki-markup+= hs-jira-wiki-markup>=1.0.0 | 9 | BUILDLINK_ABI_DEPENDS.hs-jira-wiki-markup+= hs-jira-wiki-markup>=1.3.4 | |
10 | BUILDLINK_PKGSRCDIR.hs-jira-wiki-markup?= ../../textproc/hs-jira-wiki-markup | 10 | BUILDLINK_PKGSRCDIR.hs-jira-wiki-markup?= ../../textproc/hs-jira-wiki-markup | |
11 | .endif # HS_JIRA_WIKI_MARKUP_BUILDLINK3_MK | 11 | .endif # HS_JIRA_WIKI_MARKUP_BUILDLINK3_MK | |
12 | 12 | |||
13 | BUILDLINK_TREE+= -hs-jira-wiki-markup | 13 | BUILDLINK_TREE+= -hs-jira-wiki-markup |