summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-16Rename include guards for consistency and to avoid reserved identifiersCraig Barnes
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-15Fixed install target in src/CMakeLists.John MacFarlane
Use proper include directory, include needed headers chunk.h and references.h.
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
2014-11-14Changed internal library name to something without a hyphen.John MacFarlane
This caused problems with macros.
2014-11-14Use cmake's generate_export_header.John MacFarlane
2014-11-14Use time.h, not sys/time.h.John MacFarlane
2014-11-13Made buffer functions visible in shared library.John MacFarlane
2014-11-13Added cmark_append_blocks, exposed more functions.John MacFarlane
2014-11-13Removed ast modules, moved these defs back to cmark.h.John MacFarlane
2014-11-13Make basic functions in cmark.h visible.John MacFarlane
2014-11-13Compile with -fvisibility=hidden.John MacFarlane
We'll mark public functions as "default".
2014-11-13Moved scan_at out of scanners.h, renamed to _scan_at.John MacFarlane
2014-11-13Moved ast-manipulating functions from inlines to ast.John MacFarlane
2014-11-13bench.h - adjusted timing width.John MacFarlane
2014-11-13Moved the timing macros to get finer-grained information.John MacFarlane
2014-11-13inline static -> static inline for consistency.John MacFarlane
2014-11-13Added bench.h and inserted timing macros in main.John MacFarlane
`make TIMER=1` to build with timings.
2014-11-13Moved cmark_free_inlines from inlines to ast.John MacFarlane
2014-11-13Rename cmark_free_nodes -> cmark_free_blocks.John MacFarlane
2014-11-13Added ast.[c,h] for AST definitions and AST-manipulating functions.John MacFarlane
2014-11-12Merge pull request #195 from nwellnhof/fix_namespace_pollutionJohn MacFarlane
Fix namespace pollution
2014-11-12Mark some functions as staticNick Wellnhofer
2014-11-12Prefix names in cmark.hNick Wellnhofer
2014-11-12Prefix names in references.hNick Wellnhofer
2014-11-12Prefix names in inlines.hNick Wellnhofer
2014-11-12Prefix names in chunk.hNick Wellnhofer
2014-11-12Prefix names in buffer.hNick Wellnhofer
2014-11-12Removed some no-longer-used code in C impl.John MacFarlane
2014-11-12Moved man install target to main CMakeLists.txt.John MacFarlane
2014-11-11Improved cmark_markdown_to_html.John MacFarlane
Added length parameter so we can avoid strlen. Properly free buffer.
2014-11-11Added cmark_markdown_to_html with a simple interface.John MacFarlane
See #70.
2014-11-11Added macro def needed for cpp.John MacFarlane