summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/cmark
Commit message (Collapse)AuthorAgeFilesLines
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin2025-06-251-1/+0
| | | | | | | | | | | | | Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cmark: upgrade 0.31.0 -> 0.31.1Wang Mingyu2024-08-091-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cmark: upgrade 0.30.3 -> 0.31.0Wang Mingyu2024-02-091-1/+1
| | | | | | | | Changelog: https://github.com/commonmark/cmark/releases/tag/0.31.0 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cmark: upgrade 0.30.2 -> 0.30.3Wang Mingyu2023-02-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: =========== * Fix quadratic complexity bug with repeated '![[]()'. Resolves CVE-2023-22486. Add new pathological test. * Allow declarations with no space, as per spec * Set 'enumi*' counter correctly in LaTeX output * Allow '<!DOCTYPE' to be case-insensitive. existing spec.) * Fixed HTML comment scanning. Need to handle this case: '<!--> and -->'. Since the scanner finds the longest match, we had to move some of the logic outside of the scanner. * Fix quadratic parsing issue with repeated '<!--' (this was not introduced by the previous fix, and not in a released version of cmark). Resolves CVE-2023-22484. Add new pathological test. * Update HTML comment scanner to accord with commonmark/commonmark-spec#713 * Pathological tests: half the number of repetitions, and the timeout. This reduces the time needed for the pathological tests. * Shrink 'struct cmark_node' (#446). The 'internal_offset' member is only used for headings and can be moved to 'struct cmark_heading'. This reduces the size of 'struct cmark_node' from 112 to 104 bytes on 64-bit systems. * Add '-Wstrict-prototypes' and fix offending functions. * Fix quadratic behavior involving 'get_containing_block' (#431). Instead of searching for the containing block, update the tight list status when entering a child of a list item or exiting a list. * Fix 'pathological_tests.py' - Use a multiprocessing.Queue to actually get results from spawned tests processes. - Fix the 'allowed_failures' test. - Truncate actual output when printed. - Prepare for testing pathological behavior of the Commonmark renderer. * Fix source position bug with backticks Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-031-1/+1
| | | | | | | | | This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cmark: upgrade 0.30.1 -> 0.30.2zhengruoqin2021-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | Fix parsing of emphasis before links (#424, Nick Wellnhofer). Fixes a regression introduced with commit ed0a4bf. Update to Unicode 14.0 (data-man). Add ~ to safe href character set (#394, frogtile). Update CMakeLists.txt (Saleem Abdulrasool). Bump the minimum required CMake to 3.7. Imperatively define output name for static library. Fix install paths in libcmark.pc (Sebastián Mancilla). CMAKE_INSTALL_<dir> can be relative or absolute path, so it is wrong to prefix CMAKE_INSTALL_PREFIX because if CMAKE_INSTALL_<dir> is set to an absolute path it will result in a malformed path with two absolute paths joined together. Instead, use CMAKE_INSTALL_FULL_<dir> from GNUInstallDirs. Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cmark: upgrade 0.30.0 -> 0.30.1wangmy2021-07-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: Properly indent block-level contents of list items in man (#258). https://github.com/commonmark/cmark/issues/258 This handles nested lists as well as items with multiple paragraphs. The change requires addition of a new field block_number_in_list_item to cmark_renderer, but this does not change the public API. Fix quadratic behavior when parsing emphasis (#389, Nick Wellnhofer). Delimiters can be deleted, so store delimiter positions instead of pointers in openers_bottom. Besides causing undefined behavior when reading a dangling pointer, this could also result in quadratic behavior when parsing emphasis. https://github.com/commonmark/cmark/issues/389 Fix quadratic behavior when parsing smart quotes (#388, Nick Wellnhofer). Remove matching smart quote delimiters. Otherwise, the same opener could be found over and over, preventing the openers_bottom optimization from kicking in and leading to quadratic behavior when processing lots of quotes. https://github.com/commonmark/cmark/issues/388 Modify CMake configuration so that the project can be built with older versions of CMake (#384, Saleem Abdulrasool). (In 0.30.0, some features were used that require CMake >= 3.3.) The cost of this backwards compatibility is that developers must now explicitly invoke cmark_add_compile_options when a new compilation target is added. https://github.com/commonmark/cmark/issues/384 Remove a comma at the end of an enumerator list, which was flagged by clang as a C++11 extension. make_man_page.py: use absolute path with CDLL. This avoids the error "file system relative paths not allowed in hardened programs." Include cmark version in cmark(3) man page (instead of LOCAL). Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cmark: upgrade 0.29.0 -> 0.30.0Andreas Müller2021-07-081-3/+1
| | | | | | | | | For full change-log see [1]. [1] https://github.com/commonmark/cmark/releases/tag/0.30.0 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cmark: initial add 0.29.0Andreas Müller2019-08-271-0/+17
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>