<?xml version="1.0" encoding="UTF-8"?>
<commits type="array">
  <commit>
    <parents type="array">
      <parent>
        <id>8452e4ee9ffc3aeb2c33378121271de1d3b05d0e</id>
      </parent>
    </parents>
    <author>
      <name>John MacFarlane</name>
      <email>jgm@berkeley.edu</email>
    </author>
    <url>http://github.com/jgm/peg-markdown/commit/feaa8025aa06e8ac5b6d32936b57c2147381b672</url>
    <id>feaa8025aa06e8ac5b6d32936b57c2147381b672</id>
    <committed-date>2009-07-12T22:31:27-07:00</committed-date>
    <authored-date>2009-07-12T22:31:27-07:00</authored-date>
    <message>Dual license GPL/MIT.  Bump version to 0.4.5.</message>
    <tree>bfa302d53723d1af48789a84cda8c35af2590732</tree>
    <committer>
      <name>John MacFarlane</name>
      <email>jgm@berkeley.edu</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>8c78ea7e3ce57bdd9f88dd305ad4f3b8b909cec0</id>
      </parent>
    </parents>
    <author>
      <name>John MacFarlane</name>
      <email>jgm@berkeley.edu</email>
    </author>
    <url>http://github.com/jgm/peg-markdown/commit/fb8d07d70bc1b64f3acfbd3b57f3c1d10abd073f</url>
    <id>fb8d07d70bc1b64f3acfbd3b57f3c1d10abd073f</id>
    <committed-date>2008-06-17T09:43:01-07:00</committed-date>
    <authored-date>2008-06-17T09:43:01-07:00</authored-date>
    <message>Added comment header to markdown_lib.c.</message>
    <tree>911cec854d70066565608e4d62e9fb2faf0b4057</tree>
    <committer>
      <name>John MacFarlane</name>
      <email>jgm@berkeley.edu</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>0f752d078700c674fcc2ab5a2182084d01805dbf</id>
      </parent>
    </parents>
    <author>
      <name>John MacFarlane</name>
      <email>jgm@berkeley.edu</email>
    </author>
    <url>http://github.com/jgm/peg-markdown/commit/fca315bee8d776685ea7e809137aee301e2a7821</url>
    <id>fca315bee8d776685ea7e809137aee301e2a7821</id>
    <committed-date>2008-06-17T09:34:10-07:00</committed-date>
    <authored-date>2008-06-17T09:34:10-07:00</authored-date>
    <message>Moved process_raw_blocks to before markdown_to_g_string.</message>
    <tree>4892acd40f0972a39a82e84730a1ffb870bd4bb1</tree>
    <committer>
      <name>John MacFarlane</name>
      <email>jgm@berkeley.edu</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>0162c4caa726a4d5b64b88f10c5af3ee192b501c</id>
      </parent>
    </parents>
    <author>
      <name>John MacFarlane</name>
      <email>jgm@berkeley.edu</email>
    </author>
    <url>http://github.com/jgm/peg-markdown/commit/e610dc69078c08181ab496c985f151aa10985662</url>
    <id>e610dc69078c08181ab496c985f151aa10985662</id>
    <committed-date>2008-06-17T08:16:17-07:00</committed-date>
    <authored-date>2008-06-17T08:16:17-07:00</authored-date>
    <message>Removed markdown_to_stream from markdown_lib.
Modified markdown.c to call markdown_to_string instead.</message>
    <tree>eea8126b66cd26fa211495950be201e40ef41267</tree>
    <committer>
      <name>John MacFarlane</name>
      <email>jgm@berkeley.edu</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>701e91f545877a8387f800fbefe71e25db087ec1</id>
      </parent>
    </parents>
    <author>
      <name>John MacFarlane</name>
      <email>jgm@berkeley.edu</email>
    </author>
    <url>http://github.com/jgm/peg-markdown/commit/382cf4cf3a8e8bbb762e7c4ce78d882d29624c7f</url>
    <id>382cf4cf3a8e8bbb762e7c4ce78d882d29624c7f</id>
    <committed-date>2008-06-11T18:38:32-07:00</committed-date>
    <authored-date>2008-06-11T18:38:32-07:00</authored-date>
    <message>Removed 'free_element_list(notes)' from markdown_lib.c.
It causes an error.  Needs more investigation.</message>
    <tree>7cf10a2fd018bba6f4a26f4f055ea40d15046901</tree>
    <committer>
      <name>John MacFarlane</name>
      <email>jgm@berkeley.edu</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>9721b18e44faafe9a42a698b3e4f3238b3425bf7</id>
      </parent>
    </parents>
    <author>
      <name>John MacFarlane</name>
      <email>jgm@berkeley.edu</email>
    </author>
    <url>http://github.com/jgm/peg-markdown/commit/c13c1b22a80bf5168ae168968b0f4b90c19d91e5</url>
    <id>c13c1b22a80bf5168ae168968b0f4b90c19d91e5</id>
    <committed-date>2008-06-11T16:15:57-07:00</committed-date>
    <authored-date>2008-06-11T16:15:57-07:00</authored-date>
    <message>Avoid an unnecessary strdup.</message>
    <tree>5a3edbc6eae1e5d5d418584e03af2094bfad5665</tree>
    <committer>
      <name>John MacFarlane</name>
      <email>jgm@berkeley.edu</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>330248dbe2aaea9f731dbf9c8f322f5ea993fb1d</id>
      </parent>
    </parents>
    <author>
      <name>John MacFarlane</name>
      <email>jgm@berkeley.edu</email>
    </author>
    <url>http://github.com/jgm/peg-markdown/commit/9721b18e44faafe9a42a698b3e4f3238b3425bf7</url>
    <id>9721b18e44faafe9a42a698b3e4f3238b3425bf7</id>
    <committed-date>2008-06-11T16:14:44-07:00</committed-date>
    <authored-date>2008-06-11T16:14:44-07:00</authored-date>
    <message>Correctly positioned freeing of current-&gt;contents.str in process_raw_blocks.
Massive reduction in memory leaks.</message>
    <tree>f7858b7f46af01c0dadc5fa3309388bbfbda872b</tree>
    <committer>
      <name>John MacFarlane</name>
      <email>jgm@berkeley.edu</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>3df086e218626d8cd5c382242996730978be7b90</id>
      </parent>
    </parents>
    <author>
      <name>John MacFarlane</name>
      <email>jgm@berkeley.edu</email>
    </author>
    <url>http://github.com/jgm/peg-markdown/commit/330248dbe2aaea9f731dbf9c8f322f5ea993fb1d</url>
    <id>330248dbe2aaea9f731dbf9c8f322f5ea993fb1d</id>
    <committed-date>2008-06-11T16:14:10-07:00</committed-date>
    <authored-date>2008-06-11T16:14:10-07:00</authored-date>
    <message>Made preformat_text return a GString.</message>
    <tree>e60b1293471a421ccf32e98873a71f2d3d6a7012</tree>
    <committer>
      <name>John MacFarlane</name>
      <email>jgm@berkeley.edu</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>a7843b7eb659b8f20bff4ced34fa47b05690a58c</id>
      </parent>
    </parents>
    <author>
      <name>John MacFarlane</name>
      <email>jgm@berkeley.edu</email>
    </author>
    <url>http://github.com/jgm/peg-markdown/commit/4483b2f8047b8ca5504ba5f507619ea6c9087d9f</url>
    <id>4483b2f8047b8ca5504ba5f507619ea6c9087d9f</id>
    <committed-date>2008-06-10T11:08:24-07:00</committed-date>
    <authored-date>2008-06-10T11:08:24-07:00</authored-date>
    <message>Streamlined construction of lists in parsers:
- 'StartList' now just returns a null pointer, rather than allocating
  a LIST element.
- 'pushelt' has been removed; list items are now just
  added to the list using 'cons'.
- 'mk_list' has been modified accordingly.
- 'print_element' has been replaced by 'print_element_list'.
- 'Doc' now returns a list of elements, rather than a pointer to a LIST element.
- 'parse_markdown' and 'markdown_to_g_string' modified accordingly.
- 'References' and 'Notes' now reverse the list they return.</message>
    <tree>13893d55589848d275676821a3ccc8b5b8540c8d</tree>
    <committer>
      <name>John MacFarlane</name>
      <email>jgm@berkeley.edu</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>332b562edb573a5c4a30b4494ca876c2ebed0374</id>
      </parent>
    </parents>
    <author>
      <name>John MacFarlane</name>
      <email>jgm@berkeley.edu</email>
    </author>
    <url>http://github.com/jgm/peg-markdown/commit/3ac63587252475fe752fec37f01f05945db2d501</url>
    <id>3ac63587252475fe752fec37f01f05945db2d501</id>
    <committed-date>2008-06-09T22:47:55-07:00</committed-date>
    <authored-date>2008-06-09T22:47:55-07:00</authored-date>
    <message>Split markdown function into three pieces:
 - parse_references
 - parse_notes (takes references as parameter)
 - parse_markdown (takes references and notes as parameter)

Added process_raw_blocks function, which goes through the element tree
and calls parse_markdown again, as needed, for RAW blocks.
This is no longer done in markdown_output functions.

This fixes a bug in which reference-style links would not work in
blockquotes and blocks embedded in lists.  It is also a cleaner
design.

This patch also includes some whitespace cleanups.</message>
    <tree>0d37ce4aa2f7d53f388937caad299d46a0e0a9d6</tree>
    <committer>
      <name>John MacFarlane</name>
      <email>jgm@berkeley.edu</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>e830badec6c39938944f87d8c1548d8d2b48d328</id>
      </parent>
    </parents>
    <author>
      <name>John MacFarlane</name>
      <email>jgm@berkeley.edu</email>
    </author>
    <url>http://github.com/jgm/peg-markdown/commit/332b562edb573a5c4a30b4494ca876c2ebed0374</url>
    <id>332b562edb573a5c4a30b4494ca876c2ebed0374</id>
    <committed-date>2008-06-09T10:07:21-07:00</committed-date>
    <authored-date>2008-06-09T10:07:21-07:00</authored-date>
    <message>Change semantic values of parse actions to pointers (element *),
for better memory management.  Use mk_element to properly
allocate memory in StartList, AtxHeader.
Significant reduction of memory leaks.</message>
    <tree>594696792b9a2f8ba5edbee7b88e46de95617320</tree>
    <committer>
      <name>John MacFarlane</name>
      <email>jgm@berkeley.edu</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>2dfff24fb877bca11efe2cf91316f4abd3ef016a</id>
      </parent>
    </parents>
    <author>
      <name>John MacFarlane</name>
      <email>jgm@berkeley.edu</email>
    </author>
    <url>http://github.com/jgm/peg-markdown/commit/f21b1c1af65f1668a7e7cb4b0d56969604b645a0</url>
    <id>f21b1c1af65f1668a7e7cb4b0d56969604b645a0</id>
    <committed-date>2008-06-07T10:14:05-07:00</committed-date>
    <authored-date>2008-06-07T10:14:05-07:00</authored-date>
    <message>Modified code to use glib (GString functions, option parsing).

- Modified output and lib functions to use GString from glib.
  Output buffer is now a parameter, rather than a global, in
  markdown_output functions.
- Added markdown_to_g_string.
- Use a GString for inputbuf in markdown.c, instead of manual allocation.
- Modified preformat_text to use GString buffer.
- Deleted no-longer-needed bufopen.{c,h}.
- Use glib option parsing in markdown.c.
  Removed my_getopt-1.5 - no longer needed because of glib.
- Use explicit 'output' variable instead of reassigning stdout.
- Changed concat_string_list to use a GString buffer.
- Added leak-check target to Makefile.
- Added GCC_OPTS to Makefile.
- Modified README to note the glib dependency.</message>
    <tree>9045d8104962f7a015b11e1c47404b4883eaf7bd</tree>
    <committer>
      <name>John MacFarlane</name>
      <email>jgm@berkeley.edu</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>2e15d5ee1081223fa3fc37eb86ed9a827518beac</id>
      </parent>
    </parents>
    <author>
      <name>Ryan Tomayko</name>
      <email>rtomayko@gmail.com</email>
    </author>
    <url>http://github.com/jgm/peg-markdown/commit/2dfff24fb877bca11efe2cf91316f4abd3ef016a</url>
    <id>2dfff24fb877bca11efe2cf91316f4abd3ef016a</id>
    <committed-date>2008-05-30T09:22:55-07:00</committed-date>
    <authored-date>2008-05-30T09:22:55-07:00</authored-date>
    <message>Various C90 compatibility fixes.</message>
    <tree>fe02062f89a8f47662ffceb2f4b11c019299c154</tree>
    <committer>
      <name>Ryan Tomayko</name>
      <email>rtomayko@gmail.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>4070417d17422ac578477e88d8caef1006aa651b</id>
      </parent>
    </parents>
    <author>
      <name>Ryan Tomayko</name>
      <email>rtomayko@gmail.com</email>
    </author>
    <url>http://github.com/jgm/peg-markdown/commit/2e15d5ee1081223fa3fc37eb86ed9a827518beac</url>
    <id>2e15d5ee1081223fa3fc37eb86ed9a827518beac</id>
    <committed-date>2008-05-29T13:25:16-07:00</committed-date>
    <authored-date>2008-05-29T07:38:53-07:00</authored-date>
    <message>add markdown_lib.c: markdown library-level functions

markdown_lib exports functions useful for use in libraries.  Right
now there's only two: markdown_to_stream and markdown_to_string.
These functions handle the parsing the input into a tree and
generating the appropriate output.

Also worth noting is bufopen.c: this is a light implementation of a
stdio FILE stream on top of a character buffer. The bufopen function
takes a pointer to a char pointer and returns a FILE pointer. When
the FILE is closed, a pointer to the underlying buffer is set at the
address provided when bufopen was called.

bufopen is very similar to GNU's open_memstream function but
requires only that the platform support funopen, which is
non-standard but widely implemented (according to Google).</message>
    <tree>ec8586b144f9a019f648098791f890046a8f5e35</tree>
    <committer>
      <name>Ryan Tomayko</name>
      <email>rtomayko@gmail.com</email>
    </committer>
  </commit>
</commits>
