<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cmark/src/blocks.c, branch master</title>
<subtitle>My own fork of cmark for commonmark conversion</subtitle>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/'/>
<entry>
<title>Treat textarea like script, style, pre (type 1 HTML block)...</title>
<updated>2020-07-12T23:21:17+00:00</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2020-07-12T23:21:17+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=06e3af57a1ed7b07560974877b5280504eaefb63'/>
<id>06e3af57a1ed7b07560974877b5280504eaefb63</id>
<content type='text'>
in accordance with spec change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
in accordance with spec change.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add needed include in blocks.c</title>
<updated>2020-05-13T23:15:16+00:00</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2020-05-13T23:15:16+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=d8abed93b8639b4c1adf758bf10e4c45f337df8c'/>
<id>d8abed93b8639b4c1adf758bf10e4c45f337df8c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Skip UTF-8 BOM if present at beginning of buffer.</title>
<updated>2020-03-03T23:05:32+00:00</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2020-03-03T23:05:32+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=74e8f638ad1b5f259208e07621255a9e098cc4f3'/>
<id>74e8f638ad1b5f259208e07621255a9e098cc4f3</id>
<content type='text'>
Closes #334.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #334.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rearrange struct cmark_node</title>
<updated>2020-01-23T16:25:54+00:00</updated>
<author>
<name>Nick Wellnhofer</name>
<email>wellnhofer@aevum.de</email>
</author>
<published>2020-01-19T12:46:10+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=f3f50b29d615d2678d8047dc277b108cc5143167'/>
<id>f3f50b29d615d2678d8047dc277b108cc5143167</id>
<content type='text'>
Introduce multi-purpose data/len members in struct cmark_node. This
is mainly used to store literal text for inlines, code and HTML blocks.

Move the content strbuf for blocks from cmark_node to cmark_parser.
When finalizing nodes that allow inlines (paragraphs and headings),
detach the strbuf and store the block content in the node's data/len
members. Free the block content after processing inlines.

Reduces size of struct cmark_node by 8 bytes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce multi-purpose data/len members in struct cmark_node. This
is mainly used to store literal text for inlines, code and HTML blocks.

Move the content strbuf for blocks from cmark_node to cmark_parser.
When finalizing nodes that allow inlines (paragraphs and headings),
detach the strbuf and store the block content in the node's data/len
members. Free the block content after processing inlines.

Reduces size of struct cmark_node by 8 bytes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use C string instead of chunk for literal text</title>
<updated>2020-01-23T16:25:54+00:00</updated>
<author>
<name>Nick Wellnhofer</name>
<email>wellnhofer@aevum.de</email>
</author>
<published>2020-01-18T23:51:02+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=b0a4cfa36e99c27dd2b20be8f8888fa7721bad58'/>
<id>b0a4cfa36e99c27dd2b20be8f8888fa7721bad58</id>
<content type='text'>
Use zero-terminated C strings and a separate length field instead of
cmark_chunks. Literal inline text will now be copied from the parent
block's content buffer, slowing the benchmark down by 10-15%.

The node struct never references memory of other nodes now, fixing #309.
Node accessors don't have to check for delayed creation of C strings,
so parsing and iterating all literals using the public API should
actually be faster than before.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use zero-terminated C strings and a separate length field instead of
cmark_chunks. Literal inline text will now be copied from the parent
block's content buffer, slowing the benchmark down by 10-15%.

The node struct never references memory of other nodes now, fixing #309.
Node accessors don't have to check for delayed creation of C strings,
so parsing and iterating all literals using the public API should
actually be faster than before.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use C string instead of chunk for code info and literal</title>
<updated>2020-01-23T16:25:54+00:00</updated>
<author>
<name>Nick Wellnhofer</name>
<email>wellnhofer@aevum.de</email>
</author>
<published>2020-01-18T21:27:13+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=3acbdf0965859c55fa36c65a4c0e17e92012687c'/>
<id>3acbdf0965859c55fa36c65a4c0e17e92012687c</id>
<content type='text'>
Use zero-terminated C strings instead of cmark_chunks without storing
the length. The length of code literals will be readded in a later
commit. strlen overhead for code info should be negligible.

Reduces size of struct cmark_node by 8 bytes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use zero-terminated C strings instead of cmark_chunks without storing
the length. The length of code literals will be readded in a later
commit. strlen overhead for code info should be negligible.

Reduces size of struct cmark_node by 8 bytes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Resolve link references before creating setext header.</title>
<updated>2019-04-06T18:25:47+00:00</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2019-04-06T18:17:07+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=7126694b85bd1f5ba6533b81b2565f276d1da503'/>
<id>7126694b85bd1f5ba6533b81b2565f276d1da503</id>
<content type='text'>
A setext header line after a link reference should not
create a header, according to the spec.

See commonmark/commonmark-spec#395.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A setext header line after a link reference should not
create a header, according to the spec.

See commonmark/commonmark-spec#395.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use hand-rolled scanner for thematic break.</title>
<updated>2019-03-17T20:01:29+00:00</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2019-03-17T18:22:29+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=a308cf9fd8d116e1235bc5933b9a759f2224ebc9'/>
<id>a308cf9fd8d116e1235bc5933b9a759f2224ebc9</id>
<content type='text'>
Keep track of the last position where a thematic break
failed to match on a line, to avoid rescanning unnecessarily.

See commonmark/cmark#284.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Keep track of the last position where a thematic break
failed to match on a line, to avoid rescanning unnecessarily.

See commonmark/cmark#284.
</pre>
</div>
</content>
</entry>
<entry>
<title>Do cheaper test first.</title>
<updated>2019-03-17T19:52:57+00:00</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2019-03-17T19:52:57+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=fbb5d9ad8d288a1d3b1abfde7c8660facb3b9b04'/>
<id>fbb5d9ad8d288a1d3b1abfde7c8660facb3b9b04</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename ends_with_blank_line with S_ prefix.</title>
<updated>2019-03-17T19:49:27+00:00</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2019-03-17T19:49:27+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=d602943b9c4cc94d5809224ec8ecf45cdc8f559e'/>
<id>d602943b9c4cc94d5809224ec8ecf45cdc8f559e</id>
<content type='text'>
As with other static functions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As with other static functions.
</pre>
</div>
</content>
</entry>
</feed>
