<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cmark/api_test/main.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>Add cmark_get_default_mem_allocator().</title>
<updated>2020-02-09T17:03:16+00:00</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2020-02-09T17:03:16+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=fdbdbf7ecc8597d2b6ae329ecbdabebaf0793fba'/>
<id>fdbdbf7ecc8597d2b6ae329ecbdabebaf0793fba</id>
<content type='text'>
API change: This adds a new exported function in cmark.h.

Closes #330.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
API change: This adds a new exported function in cmark.h.

Closes #330.
</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 link URL and title</title>
<updated>2020-01-23T16:25:54+00:00</updated>
<author>
<name>Nick Wellnhofer</name>
<email>wellnhofer@aevum.de</email>
</author>
<published>2020-01-18T22:12:37+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=b237924585e61532ada774bf9e70eadff00666dc'/>
<id>b237924585e61532ada774bf9e70eadff00666dc</id>
<content type='text'>
Use zero-terminated C strings instead of cmark_chunks without storing
the length. This introduces a few additional strlen computations,
but overhead should be low.

Allows to reduce size of struct cmark_node later.
</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. This introduces a few additional strlen computations,
but overhead should be low.

Allows to reduce size of struct cmark_node later.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix entity parser (and api test) to respect length limit on numeric entities.</title>
<updated>2019-11-11T20:52:35+00:00</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2019-11-11T20:52:35+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=cb1cd888cce0cae20a33663d6d17ef7630c5d4d7'/>
<id>cb1cd888cce0cae20a33663d6d17ef7630c5d4d7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make rendering safe by default.</title>
<updated>2019-03-18T05:43:38+00:00</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2019-03-18T05:43:38+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=325a1471d2a32bcc1e2d2580b973ff4ba1df85e8'/>
<id>325a1471d2a32bcc1e2d2580b973ff4ba1df85e8</id>
<content type='text'>
Removes CMARK_OPT_SAFE from options.

Adds CMARK_OPT_UNSAFE, with the opposite meaning.
The new default behavior is to suppress raw HTML and
potentially dangerous links.  The CMARK_OPT_UNSAFE
option has to be set explicitly to prevent this.

--------------------------------------------------------
NOTE: This change will require modifications in
bindings for cmark and in most libraries and programs
that use cmark.
--------------------------------------------------------

Closes #239, #273.

Borrows heavily from @kivikakk's patch in github/cmark-gfm#123.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removes CMARK_OPT_SAFE from options.

Adds CMARK_OPT_UNSAFE, with the opposite meaning.
The new default behavior is to suppress raw HTML and
potentially dangerous links.  The CMARK_OPT_UNSAFE
option has to be set explicitly to prevent this.

--------------------------------------------------------
NOTE: This change will require modifications in
bindings for cmark and in most libraries and programs
that use cmark.
--------------------------------------------------------

Closes #239, #273.

Borrows heavily from @kivikakk's patch in github/cmark-gfm#123.
</pre>
</div>
</content>
</entry>
<entry>
<title>expand tests</title>
<updated>2018-11-13T00:06:47+00:00</updated>
<author>
<name>Ashe Connor</name>
<email>ashe@kivikakk.ee</email>
</author>
<published>2018-11-13T00:06:47+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=cfba1fc382c54c625eb7ccdfd38ba1c5caf1ca97'/>
<id>cfba1fc382c54c625eb7ccdfd38ba1c5caf1ca97</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add failing test</title>
<updated>2018-11-12T05:09:46+00:00</updated>
<author>
<name>Ashe Connor</name>
<email>ashe@kivikakk.ee</email>
</author>
<published>2018-11-12T04:44:11+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=462cab48390ba73123a2f882f43d6e0bc4d0053c'/>
<id>462cab48390ba73123a2f882f43d6e0bc4d0053c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add xml:space="preserve" in XML output when appropriate</title>
<updated>2018-07-07T17:30:34+00:00</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2017-08-01T12:28:16+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=55afc6fd496de4e75c27d725c2bf1470cc3cf5aa'/>
<id>55afc6fd496de4e75c27d725c2bf1470cc3cf5aa</id>
<content type='text'>
With current HTML escaping, sometimes we may produce an XML tag like

    &lt;code_block&gt;  &lt;/code_block&gt;

Many XML parsers consider these spaces insignificant and strip them
out but we need this. There's actually a test case like this in
spec.txt (search "A code block can have all empty lines as its
content:") and without proper hinting, an external xml-&gt;html converter
will fail the spec.

XML standard covers this case. If xml:space is "preserve", then
whitespaces are significant and should be kept. Add this hint for
text, code, code_block, html_inline and html_block tags.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With current HTML escaping, sometimes we may produce an XML tag like

    &lt;code_block&gt;  &lt;/code_block&gt;

Many XML parsers consider these spaces insignificant and strip them
out but we need this. There's actually a test case like this in
spec.txt (search "A code block can have all empty lines as its
content:") and without proper hinting, an external xml-&gt;html converter
will fail the spec.

XML standard covers this case. If xml:space is "preserve", then
whitespaces are significant and should be kept. Add this hint for
text, code, code_block, html_inline and html_block tags.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix inlines spanning newlines, text in non-para</title>
<updated>2017-08-10T03:29:40+00:00</updated>
<author>
<name>Yuki Izumi</name>
<email>ashe@kivikakk.ee</email>
</author>
<published>2017-08-09T07:13:16+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=e22d1b42ce7f860c51c261ea9d42c0b77245fde5'/>
<id>e22d1b42ce7f860c51c261ea9d42c0b77245fde5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>
</feed>
