Граф коммитов

2778 Коммитов

Автор SHA1 Сообщение Дата
Bas Alberts 587a12bb54
Merge pull request #343 from github/anticomputer-bump-version-0.29.0.13
Changelog and version bump for 0.29.0.13
2023-07-21 11:19:43 -04:00
Bas Alberts 808bcfbac3
Changelog and version bump for 0.29.0.13 2023-07-20 12:19:53 -04:00
Bas Alberts 63dd7b72e0
Merge pull request #273 from waldyrious/marker-vs-delimiter
Normalize nomenclature: marker row vs. delimiter row
2023-07-20 12:15:27 -04:00
Bas Alberts c123e68e81
Merge pull request #336 from ioquatix/expose-footnote-def-literal
Expose CMARK_NODE_FOOTNOTE_DEFINITION literal value.
2023-07-20 12:14:55 -04:00
Bas Alberts 049a6e389c
Merge pull request #340 from kevinbackhouse/printf-size_t
Fix format specifier for printing a size_t
2023-07-20 12:14:28 -04:00
Kevin Backhouse 33ab1cddb8
Fix format specifier for printing a size_t 2023-07-14 11:42:25 +01:00
Bas Alberts f94b7ed311
Merge pull request #339 from github/anticomputer-bump-version-0.29.0.12
Changelog and version bump for 0.29.0.12
2023-07-13 10:38:03 -04:00
Bas Alberts f2bf883700
Changelog and version bump for 0.29.0.12 2023-07-12 10:44:29 -04:00
Bas Alberts 38d1cfeba3
Merge pull request from GHSA-w4qg-3vf7-m9x5
Fix GHSL-2023-117, GHSL-2023-118, GHSL-2023-119
2023-07-12 10:33:58 -04:00
Kevin Backhouse a4cf959d77
Merge pull request #337 from github/kevinbackhouse-patch-1
Create codeql.yml
2023-07-12 11:09:15 +01:00
Kevin Backhouse abf94eef4d
Create codeql.yml 2023-06-21 08:04:26 -04:00
Kevin Backhouse 580f02178b
Remove unnecessary scope. 2023-06-20 17:30:08 +01:00
Kevin Backhouse ed8f2fec2c
Add newline 2023-06-20 17:28:28 +01:00
Kevin Backhouse d4a5cc1397
Rename custom_int -> cell_index. 2023-06-20 17:23:23 +01:00
Kevin Backhouse 94f38eb1e4
Update src/node.h
Co-authored-by: Phill MV <phillmv@github.com>
2023-06-20 12:16:49 -04:00
Samuel Williams 85d2eb9d53
Expose CMARK_NODE_FOOTNOTE_DEFINION literal value.
In addition, fix a bug where the length of the literal value was
calculated AFTER the actual literal string (null terminated) was
allocated.
2023-06-20 07:59:23 +09:00
Kevin Backhouse 2c5212e050
Fix GHSL-2023-118: limit number of autocompleted table cells to prevent DOS. 2023-06-08 22:44:00 +01:00
Kevin Backhouse 5e8ad61d0a
Fix GHSL-2023-117: store cell index on node so that it doesn't need to be recomputed during rendering. 2023-06-08 22:41:25 +01:00
Kevin Backhouse 2d65cd3c4b
Merge pull request #330 from ioquatix/patch-1
warning: passing argument 1 of ‘validate_protocol’ discards ‘const’ qualifier from pointer target type
2023-06-06 12:11:01 +01:00
Kevin Backhouse 6913733079
Merge pull request #331 from ioquatix/patch-2
warning: assignment discards ‘const’ qualifier from pointer target type
2023-06-06 12:06:18 +01:00
Kevin Backhouse 1d17fa9d5a
Fix GHSL-2023-119: prevent quadratic performance by not allowing very deeply nested footnote definitions. 2023-05-26 11:48:13 +01:00
Samuel Williams a9c127ca97
Update commonmark.c
```
../../../../ext/markly/commonmark.c:405:18: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  405 |       emph_delim = "_";
      |                  ^
```
2023-05-01 21:39:16 +12:00
Samuel Williams bcdba88483
Update autolink.c
```
../../../../ext/markly/autolink.c: In function ‘postprocess_text’:
../../../../ext/markly/autolink.c:364:31: warning: passing argument 1 of ‘validate_protocol’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  364 |         if (validate_protocol("mailto:", data + start + offset + max_rewind, rewind, max_rewind)) {
      |                               ^~~~~~~~~
../../../../ext/markly/commonmark.c: In function ‘S_render_node’:
../../../../ext/markly/autolink.c:299:36: note: expected ‘char *’ but argument is of type ‘const char *’
  299 | static bool validate_protocol(char protocol[], uint8_t *data, size_t rewind, size_t max_rewind) {
      |                               ~~~~~^~~~~~~~~~
```
2023-05-01 21:37:31 +12:00
Bas Alberts 1e230827a5
Merge pull request #325 from github/0.29.0.gfm.11-changelog
Bump version and start Changelog for 0.29.0.gfm.11
2023-04-06 15:23:59 -04:00
Bas Alberts fe3e84688f
Update changelog.txt 2023-04-06 12:41:44 -04:00
Bas Alberts 5ddc775d5a
Update changelog.txt 2023-04-06 12:08:23 -04:00
Kevin Backhouse c8dcdc71ce
Merge pull request #327 from kevinbackhouse/fuzz-other-output-formats
Add other output formats to the quadratic fuzzer
2023-04-06 16:47:13 +01:00
Kevin Backhouse 9d9f630705
Add other output formats to the quadratic fuzzer. 2023-04-06 12:21:32 +01:00
Kevin Backhouse ef63acf34a
Merge pull request #326 from kevinbackhouse/fuzz-quadratic-brackets-overflow
Fix bug in fuzz harness
2023-04-05 23:14:48 +01:00
Kevin Backhouse f6e3ee1754
Don't copy if endlen is too big. 2023-04-05 20:28:05 +01:00
Kevin Backhouse 889867be62
Update changelog.txt
Co-authored-by: Bas Alberts <13686387+anticomputer@users.noreply.github.com>
2023-04-03 13:14:54 -04:00
Bas Alberts 9f8945c965
Bump version and start Changelog for 0.29.0.gfm.11 2023-04-03 12:29:46 -04:00
Kevin Backhouse 2aad29d23a
Merge pull request #324 from kevinbackhouse/list-depth-limit-cmark-gfm
Limit the depth of nested lists
2023-04-03 15:42:36 +01:00
Kevin Backhouse 1971f30fb0
Merge pull request #323 from kevinbackhouse/list-depth-limit
Revert bad fix for GHSA-66g8-4hjf-77xh
2023-04-03 15:42:19 +01:00
Kevin Backhouse 97fdfb1a2b
Merge pull request #322 from kevinbackhouse/list-item-index
Fix quadratic list indexing in commonmark/man/plaintext output formats
2023-04-03 15:41:55 +01:00
Kevin Backhouse e8b58649b1
Merge pull request #313 from vassudanagunta/issue-312
fix test/regression.txt regression
2023-04-03 15:39:40 +01:00
Kevin Backhouse e5040b12ee
Merge pull request #310 from huven/prototype-warning
Fix strict prototype clang warning
2023-04-03 15:39:13 +01:00
Kevin Backhouse 1eda738d8e
Revert "Keep a count of the number of open blocks."
This reverts commit c72487d7a2.
2023-04-03 14:17:29 +01:00
Kevin Backhouse 0656bf98ef
Revert "Early-terminate the loop in check_open_blocks when the current line is blank."
This reverts commit aa73711d67.
2023-04-03 14:17:25 +01:00
Kevin Backhouse 7f567e2292
Revert "Also handle CMARK_NODE_LIST"
This reverts commit 27ba3a4b24.
2023-04-03 14:17:22 +01:00
Kevin Backhouse 66a36c4386
Revert "Also handle CMARK_NODE_CODE_BLOCK"
This reverts commit e27a52f81e.
2023-04-03 14:17:19 +01:00
Kevin Backhouse dc01f7167d
Revert "Also handle CMARK_NODE_HTML_BLOCK"
This reverts commit b44f4795ed.
2023-04-03 14:17:15 +01:00
Kevin Backhouse f040422cd7
Store list item index on the node during rendering, to avoid quadratic performance. 2023-04-02 15:51:23 +01:00
Kevin Backhouse 36f81124db
Revert "Fix quadratic performance issue in list numbering."
This reverts commit 763587e877.
2023-04-02 12:51:39 +01:00
Kevin Backhouse 6ab3e99a9a
Partially revert "Remove dead code"
This partially reverts commit bd4f96e7fd.
2023-04-02 12:51:13 +01:00
Bas Alberts c4de25253b
Merge pull request #318 from kevinbackhouse/fuzz-quadratic-brackets
Fuzz target for bracketed patterns, such as [[[[x]]]]
2023-03-31 16:40:01 -04:00
Kevin Backhouse d5b0cfb6a0
Fuzz target for bracketed patterns, such as [[[[x]]]]. 2023-03-31 21:25:57 +01:00
Phill MV dcf6b3862d
Merge pull request #317 from github/0.29.0.gfm.10
0.29.0.gfm.10
2023-03-31 13:52:59 -04:00
Phill MV bdabba4766
Update changelog.txt 2023-03-31 13:50:13 -04:00
Bas Alberts 07a66c9bc3
Merge pull request from GHSA-r8vr-c48j-fcc5
Fix quadratic behavior in rendering
2023-03-31 13:29:29 -04:00