Commit Graph
7 Commits
Author SHA1 Message Date
david parsons 5c6115c601 1. Add the new amalloc module, which (if enabled with
--enable-amalloc) replaced malloc and its ilk with
    versions that attempt to maintain a linked list of
    allocated blocks that can be printed to stderr with
    the `adump()` function.

2.  Clean up a couple more places where I leak memory
    during the first level parse.

3.  tweak cstring.h to try to chase down places where
    the C compiler might optimize EXPAND() into producing
    broken code.
2008-04-03 11:22:07 -07:00
david parsons 3c6a7d88d0 Need to #include <string.h> for memmove() 2008-03-01 15:25:10 -08:00
david parsons 084e1df93a Revert the changes to cstring.h (blows up gcc on MacOS) 2008-03-01 15:23:33 -08:00
david parsons dd79f848b7 1. version[] -> markdown_version[]
2. clean up \-escapes so that only special characters will be escaped.
 3. Use the entity &#0; as a token break.
 4. check for the existance of goddamn gcc
2008-02-18 10:09:23 -08:00
David Parsons 880d338ffb 1. Trim back leading spaces when returning fields from the document header.
2. `#include <string.h>` in cstring.h so we can get the prototype for
   `memmove()`
3. Update the mkd2html test program.
2008-01-13 01:40:33 -08:00
david parsons c27ea14dd6 Import a mass of changes from boobook
1. Add the new method mkd_string(), which assembles a list from a string.
2. Add a tests directory and three test files.
3. Move the smartypants code out into a separate function, so I can
   (eventually) pass a /don't_be_clever/ flag in to the markdown()
   function.
4. Redo the mail address mangler so I can mangle the
   mailto: as well as the address.
5. Fix a bug in the DELETE() macro in cstring.h
6. Fix dependencies in the Makefile so that a reconfigure forces a
   complete recompile.
7. Code tweaks to make gcc stfu
8. Tweak the build dependencies again.
2007-12-21 12:03:00 -08:00
David Parsons bd7a799f35 Check all of the bits of markdown into version control before
some horrible catastrophe happens
2007-12-20 18:20:26 -08:00