Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-17 | Switch cmark_node_inl over to cmark_node | Nick Wellnhofer | |
2014-11-17 | Switch cmark_node_block over to cmark_node | Nick Wellnhofer | |
2014-11-17 | Start with unified nodes | Nick Wellnhofer | |
2014-11-16 | Free the string returned by html renderer in main program. | John MacFarlane | |
2014-11-16 | Moved refmap from the top-level block node to the doc_parser. | John MacFarlane | |
2014-11-16 | Added some basic functions for traversing/editing blocks in AST. | John MacFarlane | |
2014-11-16 | Export 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-16 | Moved MAX_LINK_LABEL_LENGTH out of public header. | John MacFarlane | |
Put it in ast.h. | |||
2014-11-16 | Removed CMARK_CODE_INDENT, CODE_INDENT from public header. | John MacFarlane | |
Now it's in blocks.c, the only module that uses it. | |||
2014-11-16 | Added 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-16 | Move inline function definitions to header files | Nick 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-16 | Feature test for GCC attributes | Nick Wellnhofer | |
2014-11-16 | Look for re2c in path when compiling with MSVC | Nick Wellnhofer | |
2014-11-16 | Feature test for __builtin_expect | Nick Wellnhofer | |
2014-11-16 | Remove unneeded va_copy | Nick 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-16 | Compile as C++ under MSVC | Nick Wellnhofer | |
2014-11-16 | Declare all functions as extern "C" | Nick Wellnhofer | |
2014-11-16 | Probe for stdbool.h | Nick Wellnhofer | |
Let cmake create a cmark_config.h file to deal with platforms missing stdbool.h. | |||
2014-11-16 | Don't use variable-length arrays | Nick Wellnhofer | |
They're not supported by MSVC. | |||
2014-11-16 | Remove unneeded #includes | Nick Wellnhofer | |
Fixes cross-platform issues. | |||
2014-11-16 | Use named enum types | Nick Wellnhofer | |
Needed for C++ compatibility. | |||
2014-11-16 | Create html_unescape.h as ANSI C | Nick Wellnhofer | |
Pass -L ANSI-C to gperf to create more compatible code. | |||
2014-11-16 | Rename variables named 'new' | Nick Wellnhofer | |
Needed for C++ compatibility. | |||
2014-11-16 | Cast void pointers explicitly | Nick Wellnhofer | |
Needed for C++ compatibility. | |||
2014-11-16 | We don't need to include stdbool in the public header. | John MacFarlane | |
2014-11-16 | Moved 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-16 | cmark_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-16 | Moved AST details from public header cmark.h to private ast.h. | John MacFarlane | |
2014-11-16 | Rename include guards for consistency and to avoid reserved identifiers | Craig Barnes | |
2014-11-15 | Workaround to add -fvisibility=hidden for older versions of cmake. | John MacFarlane | |
2014-11-15 | Don't expose append_inlines. | John MacFarlane | |
2014-11-15 | Fixed install target in src/CMakeLists. | John MacFarlane | |
Use proper include directory, include needed headers chunk.h and references.h. | |||
2014-11-15 | Expose 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-14 | Disable warnings about inline with mingw. | John MacFarlane | |
2014-11-14 | inline make_autolink. | John MacFarlane | |
2014-11-14 | Moved code from buffer.h to buffer.c. Make strbuf_cstr static. | John MacFarlane | |
2014-11-14 | Disable PUBLIC declarations when we're compiling the executable. | John MacFarlane | |
2014-11-14 | Added some includes of buffer.h | John MacFarlane | |
2014-11-14 | buffer: Name functions with cmark_ prefix. | John MacFarlane | |
2014-11-14 | Exported some functions from buffer that are used elsewhere. | John MacFarlane | |
2014-11-14 | Changed internal library name to something without a hyphen. | John MacFarlane | |
This caused problems with macros. | |||
2014-11-14 | Use cmake's generate_export_header. | John MacFarlane | |
2014-11-14 | Use time.h, not sys/time.h. | John MacFarlane | |
2014-11-13 | Made buffer functions visible in shared library. | John MacFarlane | |
2014-11-13 | Added cmark_append_blocks, exposed more functions. | John MacFarlane | |
2014-11-13 | Removed ast modules, moved these defs back to cmark.h. | John MacFarlane | |
2014-11-13 | Make basic functions in cmark.h visible. | John MacFarlane | |
2014-11-13 | Compile with -fvisibility=hidden. | John MacFarlane | |
We'll mark public functions as "default". | |||
2014-11-13 | Moved scan_at out of scanners.h, renamed to _scan_at. | John MacFarlane | |
2014-11-13 | Moved ast-manipulating functions from inlines to ast. | John MacFarlane | |