Commit Graph

  • e5feaf2c96 md_is_named_entity_contents: Fix buffer overflow. Martin Mitas 2018-05-29 19:42:13 +0200
  • 469873ee6c md_is_link_label: Prevent read from lines[] beyond its size. Martin Mitas 2018-05-29 19:06:39 +0200
  • 7deaccf65d md_is_link_label: Fix if the link label contains just backslash escapes. Martin Mitas 2018-05-29 18:32:10 +0200
  • 387bd020b6 Fix misleading comment. Martin Mitas 2018-05-28 23:09:09 +0200
  • 00ca0604f6 Bump version to 0.2.5 Martin Mitas 2018-05-28 22:03:49 +0200
  • bf022cb656 Fix md_split_simple_pairing_mark(). Martin Mitas 2018-05-28 21:14:45 +0200
  • e7b84d65a4 pathological_tests.py: Fix test compatibility with Windows. Martin Mitas 2018-05-28 21:09:32 +0200
  • 81e2a5cac2 pathological_tests.py: Test deeply nested lists. Martin Mitas 2018-04-12 17:03:37 +0200
  • 21d6cc9dce md2html.c: Fix possible overflow in membuf_grow(). Martin Mitas 2018-04-12 12:03:18 +0200
  • 26c5268e0a md2html.c: Add newline to some error messages. Martin Mitas 2018-04-12 11:51:21 +0200
  • fdc1d61eb0 In md_is_atxheader_line(), set *p_end on success. Martin Mitas 2018-04-11 19:47:11 +0200
  • 0d1a41a4d2 md_build_attr_append_substr: Fix +1 allocation error. Martin Mitas 2018-03-28 08:21:21 +0200
  • e0002e2b52 md4c.h: Fix some copy&paste errors in comments. Martin Mitas 2017-12-27 09:45:34 +0100
  • 3cf6637b00 run-tests.sh: Use 'py' utility if available. Martin Mitas 2017-12-10 16:11:36 +0100
  • 8bb5e2dc87 md4c.h: Fix typo in an #error message. Martin Mitas 2017-09-29 23:42:36 +0200
  • c3c1f9b051 README.md: Minor fix. Martin Mitas 2017-09-29 23:37:31 +0200
  • afc779f910 Avoid initializing strings with literals without '\0' terminator. Martin Mitas 2017-09-11 11:07:05 +0200
  • 5f47a5cbfa md_build_attribute: Handle U+0000 character. Martin Mitas 2017-09-11 10:55:21 +0200
  • bad11edea3 Fix path in codecov.yml Martin Mitas 2017-08-31 14:49:18 +0200
  • 44fc7cf20d Merge branch 'master' of https://github.com/mity/md4c Martin Mitas 2017-08-30 16:06:44 +0200
  • 7906f4ee1b Add codecov.yml to ignore test dir in coverage reports. Martin Mitas 2017-08-30 16:05:27 +0200
  • 8bfb678588 render_html: Get rid of global variable. Martin Mitas 2017-08-28 16:16:59 +0200
  • dc3dde78c8 render_html: Add a new line after <ol>. Martin Mitas 2017-08-28 16:14:04 +0200
  • 19b24bdd11 Simplify the pathological test "many references". Martin Mitas 2017-08-16 18:15:19 +0200
  • 07cec7dcd6 Add regression test for #24. Martin Mitas 2017-08-16 16:34:50 +0200
  • 2e0a74ba99 Fix problematic link destinations with angle brackets. Martin Mitas 2017-08-16 16:01:45 +0200
  • 9b8058d509 .travis.yml: Make sure we make a debug build. Martin Mitas 2017-08-13 11:47:18 +0200
  • a2d8c37b80 README.md: Improve badge labels. Martin Mitas 2017-08-13 11:24:24 +0200
  • 71aa92dbde .travis.yml: Install python3 for running tests. Martin Mitas 2017-08-13 11:03:47 +0200
  • 944139e594 Create code coverage report by lcov. Martin Mitas 2017-08-13 10:57:12 +0200
  • 4f4bbcaaa6 Migrate code coverage reporting from coveralls.io to codecov.io. Martin Mitas 2017-08-13 10:47:48 +0200
  • 17ad25ee19 CMakeLists.txt: Do not force -O2 in the release build. Martin Mitas 2017-08-03 11:59:25 +0200
  • 3571c2f0f0 Bump version to 0.2.3. Martin Mitas 2017-08-02 00:41:14 +0200
  • 70925cacf7 README.md: Upgrade CommonMark version to 0.28. Martin Mitas 2017-08-02 00:40:27 +0200
  • 25228d5d5c md_is_link_destination_B: Apply new spec rules for parenthesis. Martin Mitas 2017-01-08 09:25:10 +0100
  • a847f5522e md_process_inlines: Apply new spec rules for emph/strong emph. Martin Mitas 2017-01-08 09:14:49 +0100
  • ee3bee1a5d Upgrade to CommonMark specification 0.28. Martin Mitas 2017-08-02 00:37:18 +0200
  • 938460d564 Improve/unify output of test scripts. Martin Mitas 2017-07-24 21:17:53 +0200
  • c52a50a3db pathological_tests.py: Add test for reference definition lookup. Martin Mitas 2017-07-24 21:07:09 +0200
  • f0103c16e1 MD_MARK structure: Do not limit prev/next members to 24 bits. Martin Mitas 2017-07-25 00:26:43 +0200
  • 591b2d21ba md_analyze_marks: Make the function inline. Martin Mitas 2017-07-25 00:08:51 +0200
  • 61d38ef41e md_analyze_marks: Remove unneeded parameters. Martin Mitas 2017-07-24 23:59:23 +0200
  • c51fb31058 md_analyze_marks: Walk only required range of the marks. Martin Mitas 2017-07-24 23:14:05 +0200
  • a27aefded9 pathological_tests.py: Allow short option -p as a synonym of --program. Martin Mitas 2017-07-24 20:17:50 +0200
  • f4f7b2230c pathological_tests.py: Allow Windowish line ends. Martin Mitas 2017-07-24 20:15:09 +0200
  • 26f14899ed Add pathological_tests.py from cmark. Martin Mitas 2017-07-24 19:27:27 +0200
  • ad4f28bb85 md_analyze_simple_pairing_mark: Fix the "rule of three". Martin Mitas 2017-07-24 20:09:23 +0200
  • e351a1d59f md_collect_marks: Minor refactorization of emhasis handler. Martin Mitas 2017-07-24 19:42:57 +0200
  • 70d739416b md_build_attribute: Propagate NULL string if attribute is empty. Martin Mitas 2017-07-22 00:56:23 +0200
  • ca0985475b Avoid heap allocations when building trivial MD_ATTRIBUTE. Martin Mitas 2017-07-20 15:54:00 +0200
  • a638a4223d md_build_ref_def_hashtable: Fix variable conflict. Martin Mitas 2017-07-18 19:04:08 +0200
  • 6bc0b86101 Merge branch 'hash' Martin Mitas 2017-07-18 18:50:07 +0200
  • cfbce75910 Rework ref. def. dictionary. Martin Mitas 2017-07-18 18:01:02 +0200
  • ff524e9104 Refactor: Isolate dictionary of reference defintions. Martin Mitas 2017-07-17 08:50:04 +0200
  • 07c5dba9ba Remove unused structure member. Martin Mitas 2017-07-18 18:02:00 +0200
  • 4e831dc112 Add 2017 into copyright notes. Martin Mitas 2017-07-15 18:40:38 +0200
  • f2821cbd8e md_analyze_permissive_email_autolink: Make it compatible with CMark-gfm. Martin Mitas 2017-07-14 17:10:45 +0200
  • a83db2b702 README.md: Minor update. Martin Mitas 2017-07-14 16:49:42 +0200
  • 1bc7f3a84e render_url_escaped: Fix escaping of ampersand. Martin Mitas 2017-07-14 02:22:15 +0200
  • f3f9404e53 Improve URL autolinks extension. Martin Mitas 2017-07-14 02:06:23 +0200
  • 8818ff14d3 Get rid of unneeded MD_LINK_REF_DEF::index. Martin Mitas 2017-07-13 19:18:03 +0200
  • 302cd5f8c0 Improve lookup of link reference definitions. Martin Mitas 2017-07-13 18:54:34 +0200
  • 82c0eb53c4 entity_lookup: Make it return UTF-32 codepoints. Martin Mitas 2017-07-13 16:23:45 +0200
  • 25a156ee1b Implement strikethrough extension. Martin Mitas 2017-07-12 23:30:14 +0200
  • d84dcec8f1 md4c/md4c.h: MD_DIALECT_GITHUB does not imply MD_FLAG_PERMISSIVEATXHEADERS. Martin Mitas 2017-07-12 22:53:54 +0200
  • aa51e86f9e md2html/md2html.c: Add options for Markdown dialect. Martin Mitas 2017-07-12 22:52:58 +0200
  • 71d74e9f55 Merge branch 'master' of https://github.com/mity/md4c Martin Mitas 2017-05-04 16:33:56 +0200
  • 921602b373 md_is_link_reference_definition: Do not store multiple link definitions with same label. Martin Mitas 2017-05-04 16:21:34 +0200
  • 1998090786 use typedef structs that are compatible with both c and c++ ale rimoldi 2017-03-19 22:19:28 +0100
  • aeaff18e87 Bump version to 0.2.2 Martin Mitas 2017-01-04 16:41:46 +0100
  • ea83b7f6e6 md_analyze_simple_pairing_mark: Fix gcc warning. Martin Mitas 2017-01-04 21:57:49 +0100
  • 8999e1844a Fix "rule of three" for emphasis resolution (issue #14). Martin Mitas 2017-01-04 14:40:44 +0100
  • c63909df8e When splitting emphasis opener mark, we have to retain 'dummy' marks available for more splitting in the future (issue #15). Martin Mitas 2017-01-04 15:04:09 +0100
  • 3c28a8b8db md_rollback: Do not play with the mark flag MD_MARK_LEAF. Martin Mitas 2017-01-04 14:29:50 +0100
  • 3688e0fc65 md_link_label_eq: Remove harmful anti-optimization. Martin Mitas 2017-01-01 23:52:27 +0100
  • ca5da63d4d md_collect_marks: Optimize in case of 8-bit encodings by eliminating some branches in the fast path. Martin Mitas 2017-01-01 22:02:33 +0100
  • 443ee51581 md_collect_marks: Optimize the fast path by making its loops tighter. Martin Mitas 2017-01-01 21:39:48 +0100
  • 7cb7f65cf0 md_collect_marks: Optimize fast path by some manual loop unrolling. Martin Mitas 2017-01-01 18:20:25 +0100
  • 2726b7cb5e Minor code cleanup. Martin Mitas 2017-01-01 17:40:02 +0100
  • 9c644b40dc md_analyze_line: Optimize scanning for end of line. Martin Mitas 2017-01-01 17:26:36 +0100
  • f1a63f1ca8 md_process_table_row: Fix possible errorneous free() on an error path. Martin Mitas 2017-01-01 16:18:42 +0100
  • 1a8ce93d6f Add macros MD_DIALECT_COMMONMARK and MD_DIALECT_GITHUB. Martin Mitas 2016-12-28 00:02:23 +0100
  • 5271238426 When parsing tables, pipes inside a link/image/code span cannot make cell boundary (issue #7). Martin Mitas 2016-12-27 22:47:03 +0100
  • 72173b3f8a Propagate to renderer more info about lists (issue #13). Martin Mitas 2016-12-21 19:17:07 +0100
  • a9582fa4f9 .travis.yml: Add md2html to coveralls upload. Martin Mitas 2016-12-16 11:23:34 +0100
  • ba686ec3f1 render_html.c: Fix build with MSVC. Martin Mitas 2016-12-16 10:16:17 +0100
  • c377f567af Add some versioning info. Martin Mitas 2016-12-16 10:06:07 +0100
  • c9ef8ccb2f render_html.c: Unify use of char versus MD_CHAR. Martin Mitas 2016-12-16 09:59:03 +0100
  • c850843c12 md2html: Isolate HTML renderer into render_html.c (issue #8). Martin Mitas 2016-12-16 09:47:06 +0100
  • 232ceeac24 md_analyze_line: A list item can begin with at most one blank line (issue #6). Martin Mitas 2016-12-16 00:11:23 +0100
  • 3ec2a19596 md_analyze_backtick: Ensire that code span opener and closer do not overlap. Martin Mitas 2016-12-15 23:57:58 +0100
  • f9b4cb8f6e md_process_inlines: Fix when an expanded mark shadows some nested marks (issue #11). Martin Mitas 2016-12-15 16:47:41 +0100
  • c235a02ee8 test/coverage.txt: Add some tests for higher code coverage. Martin Mitas 2016-12-15 13:18:48 +0100
  • a38c79db66 md_build_attr_append_substr: Fix leak on an error path (CID 1389262). Martin Mitas 2016-12-15 11:29:31 +0100
  • a725fee3f6 md_enter_child_containers: Fix crash (issue #10). Martin Mitas 2016-12-14 16:51:24 +0100
  • c085ab5cfe Implement support for entities outside normal text flow (issue #5). Martin Mitas 2016-12-12 23:23:51 +0100
  • ba29d0075e md_is_link_reference_definition: Fix handling of multiline label (issue #9). Martin Mitas 2016-12-12 23:31:59 +0100
  • a4d4f4638f README.md: Improve wording. Martin Mitas 2016-12-12 18:04:14 +0100
  • 09ae86095f Handle images more like links. Martin Mitas 2016-12-07 23:56:47 +0100
  • b7f37ae67f README.md: Minor update. Martin Mitas 2016-12-07 23:24:17 +0100