Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package discount for openSUSE:Factory checked in at 2023-01-07 17:17:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/discount (Old) and /work/SRC/openSUSE:Factory/.discount.new.1563 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "discount" Sat Jan 7 17:17:36 2023 rev:14 rq:1056670 version:2.2.7b Changes: -------- --- /work/SRC/openSUSE:Factory/discount/discount.changes 2021-03-16 15:43:54.260989167 +0100 +++ /work/SRC/openSUSE:Factory/.discount.new.1563/discount.changes 2023-01-07 17:19:24.846048471 +0100 @@ -1,0 +2,6 @@ +Thu Jan 5 15:27:53 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 2.2.7b: + * fix to makefiles for parallel build + +------------------------------------------------------------------- Old: ---- discount-2.2.7.tar.bz2 New: ---- discount-2.2.7b.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ discount.spec ++++++ --- /var/tmp/diff_new_pack.tJ4WP8/_old 2023-01-07 17:19:25.286051096 +0100 +++ /var/tmp/diff_new_pack.tJ4WP8/_new 2023-01-07 17:19:25.286051096 +0100 @@ -1,7 +1,7 @@ # # spec file for package discount # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define sover 2 %bcond_with fenced_code Name: discount -Version: 2.2.7 +Version: 2.2.7b Release: 0 Summary: Markdown text to HTML converter License: BSD-3-Clause @@ -72,7 +72,7 @@ --with-dl=BOTH \ --pkg-config \ --enable-all-features -%make_build --jobs=1 +%make_build %install make DESTDIR=%{buildroot} install.everything ++++++ discount-2.2.7.tar.bz2 -> discount-2.2.7b.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/discount-2.2.7/Makefile.in new/discount-2.2.7b/Makefile.in --- old/discount-2.2.7/Makefile.in 2020-08-24 07:45:49.000000000 +0200 +++ new/discount-2.2.7b/Makefile.in 2022-03-30 21:34:50.000000000 +0200 @@ -139,7 +139,8 @@ pandoc_headers.o: tools/pandoc_headers.c config.h $(BUILD) -c -o pandoc_headers.o tools/pandoc_headers.c -pandoc_headers: pandoc_headers.o + +pandoc_headers: pandoc_headers.o $(COMMON) $(MKDLIB) $(LINK) -o pandoc_headers pandoc_headers.o $(COMMON) -lmarkdown branch.o: tools/branch.c config.h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/discount-2.2.7/VERSION new/discount-2.2.7b/VERSION --- old/discount-2.2.7/VERSION 2020-08-24 07:45:49.000000000 +0200 +++ new/discount-2.2.7b/VERSION 2022-03-30 21:34:50.000000000 +0200 @@ -1 +1 @@ -2.2.7 +2.2.7b diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/discount-2.2.7/generate.c new/discount-2.2.7b/generate.c --- old/discount-2.2.7/generate.c 2020-08-24 07:45:49.000000000 +0200 +++ new/discount-2.2.7b/generate.c 2022-03-30 21:34:50.000000000 +0200 @@ -911,6 +911,41 @@ Qstring("</del>", f); } +#ifdef TYPORA +/* subspan() -- write out a chunk of text, blocking with <sub>...</sub> + */ +static void +subspan(MMIOT *f, int size) +{ + Qstring("<sub>", f); + ___mkd_reparse(cursor(f)-1, size, 0, f, 0); + Qstring("</sub>", f); +} + + +/* supspan() -- write out a chunk of text, blocking with <sup>...</sup> + */ +static void +supspan(MMIOT *f, int size) +{ + Qstring("<sup>", f); + ___mkd_reparse(cursor(f)-1, size, 0, f, 0); + Qstring("</sup>", f); +} + + +/* highlightspan() -- write out a chunk of text, blocking with <mark>...</mark> + */ +static void +highlightspan(MMIOT *f, int size) +{ + Qstring("<mark>", f); + ___mkd_reparse(cursor(f)-1, size, 0, f, 0); + Qstring("</mark>", f); +} +#endif + + /* codespan() -- write out a chunk of text as code, trimming one * space off the front and/or back as appropriate. @@ -1350,6 +1385,23 @@ case '[': if ( tag_text(f) || !linkylinky(0, f) ) Qchar(c, f); break; + +#ifdef TYPORA + case '=': if ( is_flag_set(f->flags, MKD_NOSUPERSCRIPT) + || is_flag_set(f->flags, MKD_STRICT) + || is_flag_set(f->flags, MKD_TAGTEXT) + || ! tickhandler(f,c,2,0, highlightspan)) + Qchar(c, f); + break; + + /* A^B^ -> A<sup>B</sup> */ + case '^': if ( is_flag_set(f->flags, MKD_NOSUPERSCRIPT) + || is_flag_set(f->flags, MKD_STRICT) + || is_flag_set(f->flags, MKD_TAGTEXT) + || ! tickhandler(f,c,1,0, supspan)) + Qchar(c, f); + break; +#else /* !TYPORA */ /* A^B -> A<sup>B</sup> */ case '^': if ( is_flag_set(f->flags, MKD_NOSUPERSCRIPT) || is_flag_set(f->flags, MKD_STRICT) @@ -1388,6 +1440,7 @@ Qstring("</sup>", f); } break; +#endif /* TYPORA */ case '_': /* Underscores don't count if they're in the middle of a word */ if ( !(is_flag_set(f->flags, MKD_NORELAXED) || is_flag_set(f->flags, MKD_STRICT)) @@ -1415,7 +1468,11 @@ case '~': if ( is_flag_set(f->flags, MKD_NOSTRIKETHROUGH) || is_flag_set(f->flags, MKD_STRICT) || is_flag_set(f->flags, MKD_TAGTEXT) - || ! tickhandler(f,c,2,0, delspan) ) +#ifdef TYPORA + || ! (tickhandler(f,c,2,0, delspan) || tickhandler(f,c,1,0, subspan))) +#else + || ! tickhandler(f,c,2,0, delspan)) +#endif Qchar(c, f); break; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/discount-2.2.7/markdown.c new/discount-2.2.7b/markdown.c --- old/discount-2.2.7/markdown.c 2020-08-24 07:45:49.000000000 +0200 +++ new/discount-2.2.7b/markdown.c 2022-03-30 21:34:50.000000000 +0200 @@ -215,7 +215,7 @@ switch (c) { case '-': UNLESS_FENCED(dashes = 1); break; case ' ': UNLESS_FENCED(spaces = 1); break; - case '=': equals = 1; break; + case '=': UNLESS_FENCED(equals = 1); break; case '_': UNLESS_FENCED(underscores = 1); break; case '*': stars = 1; break; default: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/discount-2.2.7/test.md new/discount-2.2.7b/test.md --- old/discount-2.2.7/test.md 1970-01-01 01:00:00.000000000 +0100 +++ new/discount-2.2.7b/test.md 2022-03-30 21:34:50.000000000 +0200 @@ -0,0 +1,30 @@ +## Title + +Some text + +x^2 x^(a+b)^ x^a+b^ + +H~2~O + +some thext with footnotne[^1] + +[^1]: Footnote content + +some other text + +~strike~ + +~~strike~~ + +*italic* + +**bold** + +_italic_ + +__bold__ + +==X^2^ X^a+b^ H~2~O== + + + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/discount-2.2.7/tools/checkbits.sh new/discount-2.2.7b/tools/checkbits.sh --- old/discount-2.2.7/tools/checkbits.sh 2020-08-24 07:45:49.000000000 +0200 +++ new/discount-2.2.7b/tools/checkbits.sh 2022-03-30 21:34:50.000000000 +0200 @@ -5,7 +5,7 @@ grep '#define MKD_' markdown.h | awk '$3 ~ /0x0/ {print $2,$3;}' > in.markdown.h grep '#define MKD_' mkdio.h | awk '$3 ~ /0x0/ {print $2,$3;}' > in.mkdio.h -diff -c -bw in.markdown.h in.mkdio.h +diff -bw in.markdown.h in.mkdio.h >/dev/null 2>&1 retcode=$? exit $retcode