CHANGELOG.md


Log

Author Commit Date CI Message
Martin Mitas 82d7d087 2020-01-10T15:48:00 Rework/improve recognition of strike-through spans. Closes #102.
Martin Mitas 561f52e0 2020-01-05T18:33:46 md_is_autolink_email: Fix an off-by-one error. Fixes #100.
Martin Mitas 9b0014e4 2020-01-02T14:30:53 CHANGELOG.md: Minor wording improvement.
Martin Mitas b3739a42 2019-12-28T20:21:00 md_is_html_block_start_condition: Fix the MD4C_USE_UTF16 mode. The function was calling md_ascii_case_eq() incorrectly with a number of bytes instead of characters. This could lead to invalid memory accesses and/or mis-detection of raw HTML blocks in the special MD4C_USE_UTF16 builds on Windows.
Martin Mitas 3f5ef0b6 2019-12-13T13:41:53 CHANGELOG.md: Fix a typo.
Martin Mitas 64bf660a 2019-12-13T13:24:08 Make the UTF-8 mode the default one. It was already the default when building with our CMakeLists.txt but it seems that for projectswich are just embedding our sources into their build so this change only affects projects embedding direcly our source files into their project.
Martin Mitas 4e2b37e4 2019-11-29T12:58:41 Bump version to 0.4.2.
Martin Mitas 46f25f0b 2019-11-12T21:48:26 md_analyze_emph: Call md_resolve_range() with proper chain. Errorneously, we have called md_resolve_range() with mark chain derived from the closer mark. In the case that the opener and closer marks differ in length (and we have split one or the other), we pass in an incorrect chain, which may lead to strange behavior in subsequent analysis. Fixes #98.
Martin Mitas 78764217 2019-11-04T15:36:51 Bump version to 0.4.1 and fix CHANGELOG.md.
Martin Mitas a6b37216 2019-11-04T15:30:17 Bump version to 0.4.0.
niblo e336e640 2019-11-04T15:20:59 Add support for Wiki links (#92) With a new flag MD_FLAG_WIKILINKS, recoginize wiki-style links as [[foo]] and [[foo|bar]]. Update also the HTML renderer accordingly, to output a custom HTML tag <x-wikilink> when seeing it.
Martin Mitáš ef85cfc2 2019-11-04T15:05:07 Simplify parsing of tables (#97) We do so by removing the function md_is_table_row(). md_is_table_row() did some crazy inline parsing to detect whether the line contains at least one pipe which is not inside a code span or other high-priority inline element. This was very complicated under the hood and to was actually breaking the clean design which separates block analysis parse and inline analysis of each block contents. We now just use the table underline for determining the block is table and its properties like e.g. the column count. This means a paragraph now cannot interrupt a table. This is a change in a behavior but likely acceptable one as it actually brings the behavior closer to behavior of tables in cmark-gfm in this regard. Last but not least, it seems to prevent adoption of other useful features, for about that, see the discussion in PR #92.
Martin Mitas e97d0250 2019-11-03T13:44:29 Link label comparision fixes. * md_link_label_cmp: To match the labels, the loop has to reach ends of the labels for both of them. * md_link_label_cmp_load_fold_info: Collapse consequtive whitespace into a single ' ' for the label comparison purposes. Fixes #96.
Martin Mitas 0354e1ab 2019-10-04T22:34:08 md_is_container_mark: Ordered list mark requires at least one digit. Fixes #95.
Martin Mitas 728f2af4 2019-10-03T20:09:33 md_build_ref_def_hashtable: Do not allocate more memory then needed. Fixes #94.
Martin Mitas 2e965941 2019-07-07T10:59:20 Add/improve docs for the LaTeX math spans.
Martin Mitas 410bb419 2019-06-19T17:04:48 Bump version to 0.3.4.
Martin Mitas ce8b5d94 2019-05-27T22:16:35 md_analyze_line: Blockquote with blank line can interrupt a paragraph. Fixes #83.
Martin Mitas 7d1cfbc1 2019-05-23T22:50:37 CHANGELOG.md: Fix some wording.
Martin Mitas 346874e0 2019-05-20T21:03:47 Add and fill MD_BLOCK_CODE_DETAIL::fence_char accordingly. For the case of indented code block, it is left zeroed. Fixes #81
Martin Mitas f281db0b 2019-05-19T11:51:10 CHNANGELOG.md: Minor typo and wording fixes.
Martin Mitas 51386164 2019-05-19T11:46:26 md_link_label_cmp: Fix handling non-trivial folding info. Fixes #78.
Martin Mitas 4f6a9e54 2019-05-19T10:46:26 Update Unicode support to 12.1. * scipts/build_*_map.py: Implement helper pythonic scripts used to generate some Unicode search maps and data for helper Unicode functions used in MD4C. This should simplify updating to future Unicode versions. * md_get_unicode_fold_info: Use data generated by the scripts. * md_is_unicode_whitespace__: Ditto. * md_is_unicode_punct__: Ditto.
Martin Mitas 267e82df 2019-05-16T22:59:45 md_is_[hex|dec]_entity_contents: Fix maximal entity length. Spec. version 0.29 limits the decimal character length to at most 7 decimal digits and hexadecimal character length to at most 6 hexadecimal digits. Fixes #77.
Martin Mitas d7a8ede0 2019-05-10T10:36:45 Bump version to 0.3.3.
Martin Mitas e43f73a3 2019-05-07T22:36:29 CHANGELOG.md: Supplement description of the issue #76.
Martin Mitas 83047d3e 2019-05-07T22:24:29 md_analyze_permissive_url_autolink: Improve. * Fix domain recognition so that it has to have at least two dot-delimited components. * Fix handling if parenthesis so that they have to form balanced pairs; i.e. the first ')' not having a preceding opener ends the path. Fixes #76.
Martin Mitas 95279131 2019-04-30T00:32:36 When undoing complete block from ctx->block_bytesp[], reset ctx->current_block properly. Fixes #74.
Martin Mitas d4d10915 2019-04-29T19:03:16 Improve parsing of inline raw HTML. * Isolate some common code for scanning HTML closer into a new function so most HTML scanner functions reuse the same code. * Improve the scanning for the closer so that on failure we remember the range where no closer is present. So any later scanning attempts may fail early. Fixes #73.
Martin Mitas 7a6bf33c 2019-04-08T19:56:23 Bump version to 0.3.2
Martin Mitas 29dfdd91 2019-04-08T19:45:50 README.md and CHANGELOG.md: Update for spec 0.29.
Martin Mitas b8586987 2019-04-03T08:28:27 md_collect_mark: Add missing 'continue' to '~' branch. Fixes #69.
Martin Mitas cccfb3d7 2019-03-26T16:59:52 md_is_html_block_start_condition: Fix starting condition 1 when EOF follows. Fixes #68
Martin Mitas 2670043f 2019-03-13T07:50:34 Bump version to 0.3.1
Martin Mitas 2dd96ab4 2019-03-12T09:56:11 Fix O(n^2) in handling the "rule of three". We had to break the list of potential '*' openers into multiple ones so we do not have to walk it when looking for matching length due to the "rule of three" for intraword delimiter runs. Fixes #63.
Martin Mitas b2108652 2019-03-11T21:13:15 md_analyze_line: Fix O(n^2) in thematic break handling. Fixes #66.
Martin Mitas 966b8e39 2019-03-11T19:56:46 md_is_link_title: Stop on ')' lin ()-style title. Fixes #60.
Martin Mitas 089174b5 2019-03-11T13:59:53 CHANGELOG.md: Update.
Martin Mitas 7ca80c6f 2019-02-13T11:26:19 CHANGELOG.md: Add note about building as shared lib.
Martin Mitas 1ea4b3e2 2019-02-11T10:10:26 README.md + CHANGELOG.md: More updates.
Martin Mitas 5a5f10ef 2019-02-10T23:08:54 CHANGELOG.md: Update for version 0.3.0.
Martin Mitáš 8e01a769 2019-02-10T22:58:42 Implement task lists. (#50) Fixes #30.
Martin Mitas b9fcd470 2019-02-09T11:01:56 CHANGELOG.md: Update.
Martin Mitas a6cf8ff6 2019-02-06T04:36:01 CHANGELOG.md: Small update.
Martin Mitas 03f58685 2019-02-05T10:13:34 md4c.h: Rename and refactorize MD_RENDERER struct. * Rename MD_RENDERER to MD_PARSER. (Typedef to provide the original name is provided to minimize disruption of existing code.) * Reorder its members to make better sense. * Add abi_version member (hopefully, it shall never be needed ;-) * Update md2html utility to deal with the change. Rationale: This is done in order to prepare for long-term maintenance of ABI compatibility, as there is no work-in-progress to be buildable as shared lib, and be included in some Linux distros.
Martin Mitas 162b5fe3 2019-02-05T10:05:49 Add CHANGELOG.md.