<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cmark/src/scanners.h, 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>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>Allow balanced nested parens in link destinations (#166)</title>
<updated>2016-12-01T09:52:42+00:00</updated>
<author>
<name>Yuki Izumi</name>
<email>kivikakk@github.com</email>
</author>
<published>2016-12-01T09:52:42+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=a9da6782761e4d3ac7dfd3193fa43b73824afef4'/>
<id>a9da6782761e4d3ac7dfd3193fa43b73824afef4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reformat sources.</title>
<updated>2015-12-29T00:05:42+00:00</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2015-12-29T00:05:42+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=11a29f6219ab9c72c0863e47ba386d7b3e1162d5'/>
<id>11a29f6219ab9c72c0863e47ba386d7b3e1162d5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>Rename 'header' -&gt; 'heading'.</title>
<updated>2015-12-23T06:18:03+00:00</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2015-12-23T06:07:38+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=a74295a1ea686611498a75dd45597d224ce99287'/>
<id>a74295a1ea686611498a75dd45597d224ce99287</id>
<content type='text'>
See jgm/CommonMark commit 0cdbcee4e840abd0ac7db93797b2b75ca4104314

Note that we have defined

cmark_node_get_header_level = cmark_node_get_heading_level
and
cmark_node_set_header_level = camrk_node_set_heading_level

for backwards compatibility in the API.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See jgm/CommonMark commit 0cdbcee4e840abd0ac7db93797b2b75ca4104314

Note that we have defined

cmark_node_get_header_level = cmark_node_get_heading_level
and
cmark_node_set_header_level = camrk_node_set_heading_level

for backwards compatibility in the API.
</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>
<entry>
<title>Added `CMARK_OPT_SAFE` option and `--safe` command-line flag.</title>
<updated>2015-07-13T17:15:55+00:00</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2015-07-13T16:21:35+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=ac39623d667999cfae1444b46508a9a423b0df1b'/>
<id>ac39623d667999cfae1444b46508a9a423b0df1b</id>
<content type='text'>
* Added `CMARK_OPT_SAFE`.  This option disables rendering of raw HTML
  and potentially dangerous links.
* Added `--safe` option in command-line program.
* Updated `cmark.3` man page.
* Added `scan_dangerous_url` to scanners.
* In HTML, suppress rendering of raw HTML and potentially dangerous
  links if `CMARK_OPT_SAFE`.  Dangerous URLs are those that begin
  with `javascript:`, `vbscript:`, `file:`, or `data:` (except for
  `image/png`, `image/gif`, `image/jpeg`, or `image/webp` mime types).
* Added `api_test` for `OPT_CMARK_SAFE`.
* Rewrote `README.md` on security.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Added `CMARK_OPT_SAFE`.  This option disables rendering of raw HTML
  and potentially dangerous links.
* Added `--safe` option in command-line program.
* Updated `cmark.3` man page.
* Added `scan_dangerous_url` to scanners.
* In HTML, suppress rendering of raw HTML and potentially dangerous
  links if `CMARK_OPT_SAFE`.  Dangerous URLs are those that begin
  with `javascript:`, `vbscript:`, `file:`, or `data:` (except for
  `image/png`, `image/gif`, `image/jpeg`, or `image/webp` mime types).
* Added `api_test` for `OPT_CMARK_SAFE`.
* Rewrote `README.md` on security.
</pre>
</div>
</content>
</entry>
<entry>
<title>Updates for new HTML block spec.</title>
<updated>2015-07-10T21:24:22+00:00</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2015-07-09T00:42:22+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=17e6720dd9b5d25aeb906bb23915a6ee13a07e3d'/>
<id>17e6720dd9b5d25aeb906bb23915a6ee13a07e3d</id>
<content type='text'>
* Rewrote spec for HTML blocks.  A few other spec examples
  also changed as a result.

* Removed old `html_block_tag` scanner.  Added new
  `html_block_start` and `html_block_start_7`, as well
  as `html_block_end_n` for n = 1-5.

* Rewrote block parser for new HTML block spec.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Rewrote spec for HTML blocks.  A few other spec examples
  also changed as a result.

* Removed old `html_block_tag` scanner.  Added new
  `html_block_start` and `html_block_start_7`, as well
  as `html_block_end_n` for n = 1-5.

* Rewrote block parser for new HTML block spec.
</pre>
</div>
</content>
</entry>
<entry>
<title>Convert code base to strbuf_t</title>
<updated>2015-06-07T19:42:15+00:00</updated>
<author>
<name>Nick Wellnhofer</name>
<email>wellnhofer@aevum.de</email>
</author>
<published>2015-06-07T14:52:44+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=7382fd5eba48107a8190bd2d6232cc3b6e20d8fc'/>
<id>7382fd5eba48107a8190bd2d6232cc3b6e20d8fc</id>
<content type='text'>
There are probably a couple of places I missed. But this will only
be a problem if we use a 64-bit bufsize_t at some point. Then, we'll
get warnings from -Wshorten-64-to-32.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are probably a couple of places I missed. But this will only
be a problem if we use a 64-bit bufsize_t at some point. Then, we'll
get warnings from -Wshorten-64-to-32.
</pre>
</div>
</content>
</entry>
<entry>
<title>Scanners:  added _scan_scheme, scan_scheme.</title>
<updated>2015-03-30T05:13:55+00:00</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2015-03-30T05:13:24+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=f99a680b089eee01797e085a6d9f5c5398907a57'/>
<id>f99a680b089eee01797e085a6d9f5c5398907a57</id>
<content type='text'>
This is used in the commonmark renderer.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is used in the commonmark renderer.
</pre>
</div>
</content>
</entry>
</feed>
