Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/kivikakk/comrak

CommonMark + GFM compatible Markdown parser and renderer
https://github.com/kivikakk/comrak

Use footnote name for reference id

6a681f99d08ba81062976931c463126d3745c08b authored over 1 year ago by digitalMoksha <[email protected]>
Merge pull request #297 from kornelski/anchorize

Simplify anchorize()

2cac9d024cdfa36d7373459949be4dd8676725f4 authored over 1 year ago by Asherah Connor <[email protected]>
Simplify anchorize()

73ae43af0c6617432e8a2e36c92ebdf645ef86ff authored over 1 year ago by Kornel <[email protected]>
RELEASE_CHECKLIST: update

3aa4c74855199264d217e79013890efe2194e545 authored over 1 year ago by Asherah Connor <[email protected]>
0.18.0

8fc0bee486370f5a8512382745bb29b3ba713e97 authored over 1 year ago by Asherah Connor <[email protected]>
Merge pull request #232 from kivikakk/xml-sourcepos

xml, sourcepos

a11a4d48d82f83f54224903e77bbe18d6dc71a6d authored over 1 year ago by Asherah Connor <[email protected]>
sourcepos: remove and document unsound sourcepos calculations

586f1792389b349d200ac3c39ec56401679ac4f3 authored over 1 year ago by Asherah Connor <[email protected]>
inlines: fix smart next char check

EOF here means we bail out, not continue

44f501fda77343bcb07f11f98e5e9929d9963cdf authored over 1 year ago by Asherah Connor <[email protected]>
lib: add markdown_to_commonmark_xml_with_plugins

e7d19858caba6bf41e82e6e48e28175018c9c2e2 authored over 1 year ago by Asherah Connor <[email protected]>
html: extract and show

03a085b2d102a4ce6957c7023acf852d6697253c authored over 1 year ago by Asherah Connor <[email protected]>
sourcepos: slightly improve desc lists, document current/desired

e186adca57ee6902ab6ffd50fbf65d1daac3e59d authored over 1 year ago by Asherah Connor <[email protected]>
sourcepos: fix footnotes

ab4a7251fda036191da085adbcb9f0be5cdc03f4 authored over 1 year ago by Asherah Connor <[email protected]>
sourcepos: failing footnotes test

3a4b73deaf832ca9fab54f3861b8fde57ffa7e94 authored over 1 year ago by Asherah Connor <[email protected]>
sourcepos: not bothering with desc lists for now

575a9870f83fe7308a9a020f3a02e11bd2424220 authored over 1 year ago by Asherah Connor <[email protected]>
sourcepos: tasklist and consolidated text nodes

d5d067bc52c2310171169701925c91c87e52e192 authored over 1 year ago by Asherah Connor <[email protected]>
autolink: sourcepos adjustments

9d456cada1b58c66b802d6d2ad09deb9d72ca68f authored over 1 year ago by Asherah Connor <[email protected]>
sourcepos: add failing autolink test and AST match macro

f4e2e26cb7dfc96897d477bf8391595257267d8f authored over 1 year ago by Asherah Connor <[email protected]>
sourcepos: clear up some TODOs

aa630256437846e0adf4fb23ee8955ff9683d040 authored over 1 year ago by Asherah Connor <[email protected]>
sourcepos: clean up API thoroughly

17b3e8b0c56474d32d76664042f5237eebe0faea authored over 1 year ago by Asherah Connor <[email protected]>
tests: split up

Also go a little further on XML.

b6bb5fd481a9270e9555061f0462c795c3d606b7 authored over 1 year ago by Asherah Connor <[email protected]>
tasklist: rework AST to let XML output match

In the cmark-gfm AST, "tasklist"s actually replace list items, rather
than being nested within t...

a4670346712b1c2d282cbc27a5f7c9941e2579e7 authored over 1 year ago by Asherah Connor <[email protected]>
shortcode: rework API, expose via XML

252dec02e5ee12dd86c93ce6fe63a4cfaf75975c authored over 1 year ago by Asherah Connor <[email protected]>
xml: add last bits, remove dead

0388819bcc8171a886615188715bf0a3f2b9c496 authored over 1 year ago by Asherah Connor <[email protected]>
html: sourcepos

8e9e1b6d9fbb7a96342272f6ffe9b3dbd6262fa7 authored over 1 year ago by Asherah Connor <[email protected]>
main: adjust help text

cfcdcd19614d064b96c49c86473fe9cc733e907d authored over 1 year ago by Asherah Connor <[email protected]>
quadratic: add sourcepos

6510db0482b8937745d7c253f13c238fafeafa26 authored over 1 year ago by Asherah Connor <[email protected]>
fuzz: name this more usefully

a08ccc9060801659cf2c43b9c5f159de5f6d1272 authored over 1 year ago by Asherah Connor <[email protected]>
sourcepos: big wip

cfbc1a3115ff201c0f05a2bfb5bf304516f501cb authored over 1 year ago by Asherah Connor <[email protected]>
table: fix crash when adding empty cells

dbb9adeca87bf8e4ce60b76a3c517c4b3f615707 authored over 1 year ago by Asherah Connor <[email protected]>
inlines: bracket match sourcepos miss

e91c43682d7588a2dc40d96e2568fc1a44ee712d authored over 1 year ago by Asherah Connor <[email protected]>
sourcepos: finish first pass

e8467366e2be2d4d007a12818b0f335ff9788ba7 authored over 1 year ago by Asherah Connor <[email protected]>
misc: fuzzing target, clippy, fix gemoji

9f4b04fab6a6eeef7b721ef402824b6bdce2bef8 authored over 1 year ago by Asherah Connor <[email protected]>
inlines: fix some more sourcepos calcs

9232c4fb3d5e6d0974938d67da2ea23addb1fb9c authored over 1 year ago by Asherah Connor <[email protected]>
xml, sourcepos: wip

503c5b08ab51f4f6a37aa27bff4a822c4747d50a authored over 1 year ago by Asherah Connor <[email protected]>
Merge pull request #293 from silverpill/no-enum-default

Implement Default for enums without using #[default] attribute

93a94858168536704c5772d5573cdfce0e4e7ed4 authored over 1 year ago by Asherah Connor <[email protected]>
Implement Default for enums without using #[default] attribute

f8fde6124b3192189c9a4861441be0464048e377 authored over 1 year ago by silverpill <[email protected]>
Merge pull request #295 from philipturnbull/quadratic-fuzzer

Add quadratic fuzz target

bda53b130a1a00e33622b5521722116115b42c00 authored over 1 year ago by Asherah Connor <[email protected]>
Add quadratic fuzz target

The fuzzer can be run with `cargo fuzz run quadratic`.

1e66109aa30a35bd1326f116ea7623e742c867ac authored over 1 year ago by Phil Turnbull <[email protected]>
CODE_OF_CONDUCT: use @Xe's Creator's Code

584aba37a6e1e8b016401955e99f02daeca522e7 authored over 1 year ago by Asherah Connor <[email protected]>
Merge pull request #288 from kivikakk/plugin-opt

optimise plugins

6df11521ac0cd4febb23a0ecd71f91533fe3872b authored over 1 year ago by Asherah Connor <[email protected]>
lib: use BufWriter in public methods that return String

e527f7302f2b45550575e818dc23ae36947d0095 authored over 1 year ago by Asherah Connor <[email protected]>
main: batch writes

This can really add up! We also weren't lock()ing stdout, which is a
big miss.

e4faf5eaf86d86f3137bd5c2f7efd2a06a4ac216 authored over 1 year ago by Asherah Connor <[email protected]>
fuzz: add cli_default, gfm targets

6ba5b20ac56b33c7caa7feb5d0a77437f36a77dc authored over 1 year ago by Asherah Connor <[email protected]>
plugins: first-pass optimisations

47bdcb60963aa2e0d52137651d5f86db8fb98744 authored over 1 year ago by Asherah Connor <[email protected]>
fuzz: Cargo.lock update

b2428c3ebebd94d782e0293f4524d90964119d17 authored over 1 year ago by Asherah Connor <[email protected]>
0.17.1

2771eb496364331be183b014888a6be721d136d6 authored over 1 year ago by Asherah Connor <[email protected]>
Cargo.toml: update tempfile, drop remove_dir_all

Fixes https://github.com/kivikakk/comrak/security/dependabot/8.

1e05b8c760fc4a9046f296606d7263c60023e5b7 authored over 1 year ago by Asherah Connor <[email protected]>
Merge pull request #287 from kivikakk/fuzzing

fuzzing, and fixes from it

5837332bca003fd8cbe4455509720c0bdba01e52 authored over 1 year ago by Asherah Connor <[email protected]>
fuzz: fuzz with all options, and also fuzz a variety of options

76e9cef58f0525e3acc0eac6f3b9307000318f57 authored over 1 year ago by Asherah Connor <[email protected]>
scanners: special care required with EOF match

a86f667ce3a29cfee4770a230b424788f3ecbfd5 authored over 1 year ago by Asherah Connor <[email protected]>
inlines: use peek_char_n here

Upstream relies on there being a trailing NUL; we do not have the
luxury.

3c45d592093f47557f61be51ae6fc3119931adf7 authored over 1 year ago by Asherah Connor <[email protected]>
fuzz: start with one case

59a312b4428fb54c5469a36a75245014878247d7 authored over 1 year ago by Asherah Connor <[email protected]>
README: update "other libraries"

0ce75b107611e7c0d547e031b12c7721c87e634a authored over 1 year ago by Asherah Connor <[email protected]>
README, COPYING, etc.

60f09492595dbc7eedd5e50e0c98459fc3eb932e authored over 1 year ago by Asherah Connor <[email protected]>
changelog: three missed attributions

9b7759c9cbfa00afd0eac8d49fe54f1c9d42ef86 authored over 1 year ago by Asherah Connor <[email protected]>
0.17.0

aad5b0544ffbc07feb18f4fed5adb91fb7c80763 authored over 1 year ago by Asherah Connor <[email protected]>
Merge pull request #286 from kivikakk/cleanups

cleanup: tasklist, front matter

036b9436c715ea17e5bbe087813c905d8e34de43 authored over 1 year ago by Asherah Connor <[email protected]>
clippy

a8cfb1db205155a8dffe22d9c86ab6695b463ff3 authored over 1 year ago by Asherah Connor <[email protected]>
parser: tasklist with re2c

f489fd6c4ec80574fd4534a29af61d5b46c79f00 authored over 1 year ago by Asherah Connor <[email protected]>
parser: clean up front matter parse

* We only want to try parsing front matter once, not on every feed.
* Replace regex with somethi...

193538597c1b2c1c8245d2e9fdedcffe8f71884d authored over 1 year ago by Asherah Connor <[email protected]>
Merge pull request from GHSA-5r3x-p7xx-x6q5

store/expose String in AST, not Vec<u8>

9ff5f8df0ac951f5742d22a72c39b89a15f56639 authored over 1 year ago by Asherah Connor <[email protected]>
cargo clippy

22aeda8ae21d3c506ce1de878825a7510357b873 authored over 1 year ago by Asherah Connor <[email protected]>
scanners: remove comment; 5dff0f8 actioned it

ab1cd001fe132a895c8eda6c4cc7590c8f1466eb authored over 1 year ago by Asherah Connor <[email protected]>
all: nodes store strings

I've added some unsafe from_utf8s where it took no effort at all to
recognise that it would alwa...

1fedc644eb354beeacbf8045e67ce00b87a576da authored over 1 year ago by Asherah Connor <[email protected]>
strings: shift_buf_left on String::as_bytes_mut is unsound

You can't truncate the String after like you can a Vec<u8>; the char
boundary check will complai...

50c7d1d706b0b1898f255b7f261f8673223c322c authored over 1 year ago by Asherah Connor <[email protected]>
nodes: change u8 arrays to strings

643532a20b973ae749e69e3177d170acb263f077 authored over 1 year ago by Asherah Connor <[email protected]>
TaskItem: clean up the API here a little

edf50dff511f0bc19ebcb4dfa0a92e4b72b9acfa authored over 1 year ago by Asherah Connor <[email protected]>
Merge pull request from GHSA-xxmq-4vph-956w

refmap: port github/cmark-gfm@b4f01062

70f97f3ea4eae30ffbd1b94c764a3de2f1c41d2a authored over 1 year ago by Asherah Connor <[email protected]>
strings: HashMap only used by syntect feature

7ce375dd5ffc675f3769c4589a17d4800d948e5d authored over 1 year ago by Asherah Connor <[email protected]>
refmap: port github/cmark-gfm@b4f01062

a90cbef7946f1f7d6fa76ff0b3ee2f150f4b3842 authored over 1 year ago by Asherah Connor <[email protected]>
Merge pull request from GHSA-8hqf-xjwp-p67v

Address quadratic complexity issues from upstream, pest

ce795b7f471b01589f842dc09af38b025701178d authored over 1 year ago by Asherah Connor <[email protected]>
cargo fmt

c8e4ac7348c6c91e4989c79f33c8c90598d7819f authored over 1 year ago by Asherah Connor <[email protected]>
parser: fix the feed interface

Maintain a linebuffer between all calls, not just the last one and
finalise.

44b6c62d95d16eb6369b304c6fb4937c6728e05e authored over 1 year ago by Asherah Connor <[email protected]>
scanners: remove inlines

5dff0f8fc5eb8e5c480b0a049bf8921e60210d4a authored over 1 year ago by Asherah Connor <[email protected]>
tests: add unit test for NUL check

08f53b49d83924a306bf3de6688eccc865ab53c8 authored over 1 year ago by Asherah Connor <[email protected]>
parser: remove this dead assert

It's obviously unnecessary; just superstitiously wondered why it was
still there in upstream, 8 ...

80206832fcbb1adb1d7960072486d8a34d329724 authored over 1 year ago by Asherah Connor <[email protected]>
full-info-string, cibuild: fix lack of escaping, run (nearly) full suite of tests

af5be309152e01eb188ba14ec6796267b98b10ae authored over 1 year ago by Asherah Connor <[email protected]>
Merge branch 're2c' into ghsl-head

d643ea219ddc03d7164d963a8c9f8379b6ce3b67 authored over 1 year ago by Asherah Connor <[email protected]>
benches: fix benchmark build

e6e43b55ba6c013dbf7bdcb5c62b0c0652b038dd authored over 1 year ago by Asherah Connor <[email protected]>
scanners: don't overrun

NULs are not allowed in the input stream (which re2c handily enforces
for us), so we can return ...

05bb8066f0bb33e2cf00ddb0c246a6f1979dc513 authored over 1 year ago by Asherah Connor <[email protected]>
scanners: complete re2c port

A few specs to fix up now.

03eb61d57a5f74f638cc30099ac29254fa4d3e3c authored over 1 year ago by Asherah Connor <[email protected]>
🦐

3a523652279c51709e61156de83bc7161d9fe2a9 authored over 1 year ago by Asherah Connor <[email protected]>
scanners: begin port to re2c

3f070259fe79ad2d73a63ba1b2e9d92ef816f38b authored over 1 year ago by Asherah Connor <[email protected]>
vendor: update our spec diff

8e6f1934911446eeb53ae70d046238321994406c authored over 1 year ago by Asherah Connor <[email protected]>
inlines: port commonmark/cmark#425

9c4804f5c66ff67142d7bfcda98fc2c6a7dea9f5 authored over 1 year ago by Asherah Connor <[email protected]>
table: fix incompatible nested borrow

c2a76c3f65d15b61e76d253ce125fd53f6506746 authored over 1 year ago by Asherah Connor <[email protected]>
inlines: HTML comment spec fixes

35840f3524e2072740b230360ff1e398b0253812 authored over 1 year ago by Asherah Connor <[email protected]>
autolink: port various fixes

The design of Comrak's autolink module only vaguely matches that of
upstream's, but we can still...

f61e8bbb763382027a6bc12cb9bb9f099929749c authored over 1 year ago by Asherah Connor <[email protected]>
autolink: port github/cmark-gfm@23abdedb

2f9b43f7bf0a94292ec1d65d9a517de130a60141 authored over 1 year ago by Asherah Connor <[email protected]>
table: port github/cmark-gfm@9f02cba2

06294eec4e7675c66c4229cc148c005dff020776 authored over 1 year ago by Asherah Connor <[email protected]>
Merge branch 'table-quadratic' into ghsl-head

a4ddcaeab2adf939cba6e304f9ef79f9fa960142 authored over 1 year ago by Asherah Connor <[email protected]>
table: port github/cmark-gfm@ddf21bb5

This fixes the regression back up.

8dd98f76b9981ab74f3b05d4ece0e9fd62b39b35 authored over 1 year ago by Asherah Connor <[email protected]>
table: port github/cmark-gfm@db111875

Fixes the quadratic behaviour, but one regression test fails. More
ports to come.

0be8227ee71b05cb84b0ca2f9f95b39db3e1a592 authored over 1 year ago by Asherah Connor <[email protected]>
Cargo.toml: use new no_line_index pest feature

Removes quadratic behaviour in number of successful parses in one line.

844430bc8d2cf4c0127b851cced92bac3ff47da3 authored over 1 year ago by Asherah Connor <[email protected]>
strings: marginally speed up *trim_slice

Adapted from core::slice::ascii::trim_ascii_start/end. I thought
perhaps the quadratic behaviou...

e1bb1fdcfd9830cbf35468cf06cce21ebb545a50 authored over 1 year ago by Asherah Connor <[email protected]>
inlines: roll back unwrap fix (wrong), port commonmark/cmark@58dd044

9d714718a1e63c366ebb4b647e81dca1a65e3ca2 authored over 1 year ago by Asherah Connor <[email protected]>
lexer: link_title easier to read (no functional change)

65fc5daf60d2f38fecc61d6cc80c3bad837cccd0 authored over 1 year ago by Asherah Connor <[email protected]>
inlines: port commonmark/cmark@7606801 and remove incorrect URL scan

We were still doing the manual_scan_link_url even when the spacechars
scan had failed.

3b47bcabb39688620bd375efd99fe9d0d481716b authored over 1 year ago by Asherah Connor <[email protected]>
inlines: port commonmark/cmark#390

6edb77354bbd871a43961fba81c60f2f1cab0126 authored over 1 year ago by Asherah Connor <[email protected]>
inlines: port commonmark/cmark#380

e4df331d79e178afd9101fcb148264b0d07c007d authored over 1 year ago by Asherah Connor <[email protected]>