<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cmark/test/cmark.py, 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>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>Revert "Change types for source map offsets (#174)"</title>
<updated>2017-01-04T06:08:38+00:00</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2017-01-04T06:08:38+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=60b6962db0b0488667180e11cc6cfb1cec1b41ea'/>
<id>60b6962db0b0488667180e11cc6cfb1cec1b41ea</id>
<content type='text'>
This reverts commit 4fbe344df43ed7f60a3d3a53981088334cb709fc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 4fbe344df43ed7f60a3d3a53981088334cb709fc.
</pre>
</div>
</content>
</entry>
<entry>
<title>Change types for source map offsets (#174)</title>
<updated>2016-12-31T01:25:16+00:00</updated>
<author>
<name>Nick Wellnhofer</name>
<email>wellnhofer@aevum.de</email>
</author>
<published>2016-12-31T01:25:16+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=4fbe344df43ed7f60a3d3a53981088334cb709fc'/>
<id>4fbe344df43ed7f60a3d3a53981088334cb709fc</id>
<content type='text'>
* Improve strbuf guarantees

Introduce BUFSIZE_MAX macro and make sure that the strbuf implementation
can handle strings up to this size.

* Abort early if document size exceeds internal limit

* Change types for source map offsets

Switch to size_t for the public API, making the public headers
C89-compatible again.

Switch to bufsize_t internally, reducing memory usage and improving
performance on 32-bit platforms.

* Make parser return NULL on internal index overflow

Make S_parser_feed set an error and ignore subsequent chunks if the
total input document size exceeds an internal limit. Make
cmark_parser_finish return NULL if an error was encountered. Add
public API functions to retrieve error code and error message.

strbuf overflow in renderers and OOM in parser or renderers still
cause an abort.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Improve strbuf guarantees

Introduce BUFSIZE_MAX macro and make sure that the strbuf implementation
can handle strings up to this size.

* Abort early if document size exceeds internal limit

* Change types for source map offsets

Switch to size_t for the public API, making the public headers
C89-compatible again.

Switch to bufsize_t internally, reducing memory usage and improving
performance on 32-bit platforms.

* Make parser return NULL on internal index overflow

Make S_parser_feed set an error and ignore subsequent chunks if the
total input document size exceeds an internal limit. Make
cmark_parser_finish return NULL if an error was encountered. Add
public API functions to retrieve error code and error message.

strbuf overflow in renderers and OOM in parser or renderers still
cause an abort.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix ctypes in Python FFI calls</title>
<updated>2016-06-06T16:36:52+00:00</updated>
<author>
<name>Nick Wellnhofer</name>
<email>wellnhofer@aevum.de</email>
</author>
<published>2016-06-06T16:36:15+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=73829be73e3c77eb75c6b234c6626815da7da7bc'/>
<id>73829be73e3c77eb75c6b234c6626815da7da7bc</id>
<content type='text'>
This didn't cause problems so far because

- all types are 32-bit on 32-bit systems and
- arguments are passed in registers on x86-64.

The wrong types could cause crashes on other platforms, though.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This didn't cause problems so far because

- all types are 32-bit on 32-bit systems and
- arguments are passed in registers on x86-64.

The wrong types could cause crashes on other platforms, though.
</pre>
</div>
</content>
</entry>
<entry>
<title>cmark.py:  added to_commonmark (for round-trip tests).</title>
<updated>2016-06-02T17:43:33+00:00</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2016-06-02T17:38:10+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=f4a82cf6a5f553c2c886de02c23b41f06f8a19c6'/>
<id>f4a82cf6a5f553c2c886de02c23b41f06f8a19c6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix tests under MinGW</title>
<updated>2016-05-17T18:39:53+00:00</updated>
<author>
<name>Nick Wellnhofer</name>
<email>wellnhofer@aevum.de</email>
</author>
<published>2016-05-17T18:39:53+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=6ac50ca5f3edc478a9593f721c8f1b095a5cdb18'/>
<id>6ac50ca5f3edc478a9593f721c8f1b095a5cdb18</id>
<content type='text'>
- Fix PATH for api_test, see:
  https://cmake.org/pipermail/cmake/2009-May/029423.html
- DLL is named libcmark.dll under MinGW.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Fix PATH for api_test, see:
  https://cmake.org/pipermail/cmake/2009-May/029423.html
- DLL is named libcmark.dll under MinGW.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use os.path.join in test/cmark.py.</title>
<updated>2015-04-26T18:01:01+00:00</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2015-04-26T18:01:01+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=f26d60deacc2d4cbce37fb54602f491e12494557'/>
<id>f26d60deacc2d4cbce37fb54602f491e12494557</id>
<content type='text'>
For proper cross-platform paths.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For proper cross-platform paths.
</pre>
</div>
</content>
</entry>
<entry>
<title>test/cmark.py:  set default options for markdown_to_html.</title>
<updated>2015-03-22T00:28:09+00:00</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2015-03-21T21:34:00+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=3d46c2b594c1230cebb89c48c86b8a80aee43553'/>
<id>3d46c2b594c1230cebb89c48c86b8a80aee43553</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix spec tests on Windows</title>
<updated>2014-12-31T16:14:00+00:00</updated>
<author>
<name>Nick Wellnhofer</name>
<email>wellnhofer@aevum.de</email>
</author>
<published>2014-12-31T15:24:55+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=e9e8fa617a666b9ef36fb47dedb3d0fe96dfca48'/>
<id>e9e8fa617a666b9ef36fb47dedb3d0fe96dfca48</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Updated tests to use python3.</title>
<updated>2014-12-30T00:42:26+00:00</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2014-12-27T21:39:47+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=d1922eb6f17578774866a13fd5428cdd3bc2280d'/>
<id>d1922eb6f17578774866a13fd5428cdd3bc2280d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
