<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cmark/src/iterator.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>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>Add sourcepos info for inlines</title>
<updated>2017-08-09T05:56:21+00:00</updated>
<author>
<name>Yuki Izumi</name>
<email>ashe@kivikakk.ee</email>
</author>
<published>2017-08-09T05:56:21+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=919cdb2c583163411b3b15b2eae0ce72cf2d7981'/>
<id>919cdb2c583163411b3b15b2eae0ce72cf2d7981</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cmark: Implement support for custom allocators</title>
<updated>2016-06-06T22:39:05+00:00</updated>
<author>
<name>Vicent Marti</name>
<email>tanoku@gmail.com</email>
</author>
<published>2016-05-27T14:55:16+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=25429c96f6554ffac415f9d865934b1183f3398e'/>
<id>25429c96f6554ffac415f9d865934b1183f3398e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cmake: Global handler for OOM situations</title>
<updated>2016-06-06T22:39:05+00:00</updated>
<author>
<name>Vicent Marti</name>
<email>tanoku@gmail.com</email>
</author>
<published>2016-05-24T13:50:44+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=42b07cc9c8d2e6251d190e5ea0d13fd66cb51e6d'/>
<id>42b07cc9c8d2e6251d190e5ea0d13fd66cb51e6d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>iterator:  handle NULL root.</title>
<updated>2016-01-18T05:41:11+00:00</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2016-01-18T05:41:11+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=c50061bd0359ee1822b08a7c18ee4adf55d6fb1d'/>
<id>c50061bd0359ee1822b08a7c18ee4adf55d6fb1d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename NODE_HTML -&gt; NODE_HTML_BLOCK, NODE_INLINE_HTML -&gt; NODE_HTML_INLINE.</title>
<updated>2015-12-28T19:46:33+00:00</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2015-12-28T19:46:33+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=6e599f2ceb8ca1aee0cdb47d37aba16ac5938641'/>
<id>6e599f2ceb8ca1aee0cdb47d37aba16ac5938641</id>
<content type='text'>
API change.  Sorry, but this is the time to break things,
before 1.0 is released.  This matches the recent changes to
CommonMark.dtd.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
API change.  Sorry, but this is the time to break things,
before 1.0 is released.  This matches the recent changes to
CommonMark.dtd.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename hrule -&gt; thematic_break.</title>
<updated>2015-12-23T06:55:39+00:00</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2015-12-23T06:55:39+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=4811dc3ec2330f015444ac6f5ee4f8cbf3563808'/>
<id>4811dc3ec2330f015444ac6f5ee4f8cbf3563808</id>
<content type='text'>
CMARK_NODE_HRULE -&gt; CMARK_NODE_THEMATIC_BREAK.

However we've defined the former as the latter to keep
backwards compatibility.

See jgm/CommonMark 8fa94cb460f5e516b0e57adca33f50a669d51f6c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CMARK_NODE_HRULE -&gt; CMARK_NODE_THEMATIC_BREAK.

However we've defined the former as the latter to keep
backwards compatibility.

See jgm/CommonMark 8fa94cb460f5e516b0e57adca33f50a669d51f6c
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove need to disable MSVC warning 4800</title>
<updated>2015-08-10T16:53:46+00:00</updated>
<author>
<name>Kevin Wojniak</name>
<email>kainjow@kainjow.com</email>
</author>
<published>2015-08-10T16:53:46+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=59bcd222c3ef1a64045e27db24ffddeb99ee29d4'/>
<id>59bcd222c3ef1a64045e27db24ffddeb99ee29d4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use clang-format, llvm style, for formatting.</title>
<updated>2015-07-28T04:35:54+00:00</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2015-07-28T04:35:54+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=62cb38bf8a826125fba0034221343aa70dd3d415'/>
<id>62cb38bf8a826125fba0034221343aa70dd3d415</id>
<content type='text'>
* Reformatted all source files.
* Added 'format' target to Makefile.
* Removed 'astyle' target.
* Updated .editorconfig.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Reformatted all source files.
* Added 'format' target to Makefile.
* Removed 'astyle' target.
* Updated .editorconfig.
</pre>
</div>
</content>
</entry>
</feed>
