summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-11-16Export enums for inline, block types, list and list delim types.John MacFarlane
Also switched from `bullet`, `ordered`, `parens`, `period` to `CMARK_BULLET_LIST`, `CMARK_ORDERED_LIST`, `CMARK_PAREN_DELIM`, `CMARK_PERIOD_DELIM`.
2014-11-16Fixed cmake add_test syntax.John MacFarlane
2014-11-16Travis: use 'make testtarball', install pandoc.John MacFarlane
2014-11-16Improved archive, test archive targets.John MacFarlane
Added separate testtarball and testziparchive.
2014-11-16Added .travis.yml for continuous integration testing.John MacFarlane
2014-11-16Moved MAX_LINK_LABEL_LENGTH out of public header.John MacFarlane
Put it in ast.h.
2014-11-16Removed CMARK_CODE_INDENT, CODE_INDENT from public header.John MacFarlane
Now it's in blocks.c, the only module that uses it.
2014-11-16Added targets to regenerate html_unescape.h and case_fold_switch.inc.John MacFarlane
For now these are just in the regular Makefile, not in CMakeLists.txt, since the generated files are in the repo and shouldn't ordinarily be regenerated. Note that html_unescape.h is a bit different on regeneration, and this removes error messages we were getting with Clang.
2014-11-16Removed tarball target; replaced with archive, which also builds zip.John MacFarlane
2014-11-16Include Makefile.nmake and nmake.bat in release tarball.John MacFarlane
2014-11-16Updated tarball target.John MacFarlane
2014-11-16Move inline function definitions to header filesNick Wellnhofer
Inline functions must be defined in header files in order to be inlined in other compilation units. This also fixes the MSVC build where out-of-line versions weren't created and allows to remove the -fgnu89-inline flag.
2014-11-16Add Makefile and wrapper for nmakeNick Wellnhofer
2014-11-16Set correct binmode in mkcasefold.plNick Wellnhofer
This makes sure that UNIX line endings are generated when running mkcasefold.pl on Windows.
2014-11-16Feature test for GCC attributesNick Wellnhofer
2014-11-16Look for re2c in path when compiling with MSVCNick Wellnhofer
2014-11-16Feature test for __builtin_expectNick Wellnhofer
2014-11-16Remove unneeded va_copyNick Wellnhofer
va_copy isn't needed here. See http://stackoverflow.com/questions/26953289 Remove it because it isn't part of C89 and not implemented by MSVC.
2014-11-16Compile as C++ under MSVCNick Wellnhofer
2014-11-16Declare all functions as extern "C"Nick Wellnhofer
2014-11-16Probe for stdbool.hNick Wellnhofer
Let cmake create a cmark_config.h file to deal with platforms missing stdbool.h.
2014-11-16Don't use variable-length arraysNick Wellnhofer
They're not supported by MSVC.
2014-11-16Remove unneeded #includesNick Wellnhofer
Fixes cross-platform issues.
2014-11-16Use named enum typesNick Wellnhofer
Needed for C++ compatibility.
2014-11-16Create html_unescape.h as ANSI CNick Wellnhofer
Pass -L ANSI-C to gperf to create more compatible code.
2014-11-16Rename variables named 'new'Nick Wellnhofer
Needed for C++ compatibility.
2014-11-16Cast void pointers explicitlyNick Wellnhofer
Needed for C++ compatibility.
2014-11-16We don't need to include stdbool in the public header.John MacFarlane
2014-11-16Moved inline/block-making functions to ast.h.John MacFarlane
Now we no longer depend on buffer.h or chunk.h in the public API. Install cmark.h and cmark_export.h into PREFIX/include instead of PREFIX/include/cmark.
2014-11-16cmark_render_html now just returns a regular C string.John MacFarlane
This way, we don't have to expose buffer.h; it is just used internally.
2014-11-16Moved AST details from public header cmark.h to private ast.h.John MacFarlane
2014-11-16Merge pull request #200 from craigbarnes/incguard-fixJohn MacFarlane
Rename include guards for consistency and to avoid reserved identifiers
2014-11-16Rename include guards for consistency and to avoid reserved identifiersCraig Barnes
2014-11-15'make bench' - don't require rebuilding each time.John MacFarlane
2014-11-15Fixed 'make bench' again.John MacFarlane
2014-11-15Make 'bench' target depend on BUILDDIR.John MacFarlane
2014-11-15Workaround to add -fvisibility=hidden for older versions of cmake.John MacFarlane
2014-11-15Don't expose append_inlines.John MacFarlane
2014-11-15bench target: Added BENCHPATT.John MacFarlane
2014-11-15Added a 'bench' target which does some basic stats on multiple runs.John MacFarlane
2014-11-15Fixed install target in src/CMakeLists.John MacFarlane
Use proper include directory, include needed headers chunk.h and references.h.
2014-11-15Updated man page for multiple file inputs.John MacFarlane
2014-11-15Expose lower-level parsing API.John MacFarlane
The new functions cmark_new_doc_parser, cmark_free_doc_parser, cmark_process_line, and cmark_finish allow you to feed lines one by one (possibly from several files) to the parser and call finish when you're done. This is now used in main for mulitple files.
2014-11-14Disable warnings about inline with mingw.John MacFarlane
2014-11-14inline make_autolink.John MacFarlane
2014-11-14Moved code from buffer.h to buffer.c. Make strbuf_cstr static.John MacFarlane
2014-11-14Disable PUBLIC declarations when we're compiling the executable.John MacFarlane
2014-11-14Added some includes of buffer.hJohn MacFarlane
2014-11-14buffer: Name functions with cmark_ prefix.John MacFarlane
2014-11-14Exported some functions from buffer that are used elsewhere.John MacFarlane