Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-02-02 | Don't rely on strnlen being available | Nick Wellnhofer | |
2015-01-28 | Added Profile build type, 'make prof' target. | John MacFarlane | |
2015-01-23 | Add version information to shared library | Nick Wellnhofer | |
2015-01-23 | Let cmake update version | Nick Wellnhofer | |
Add a new template cmark_version.h.in to generate cmark_version.h containing version information. | |||
2015-01-12 | Reduce size of gperf entity table | Nick Wellnhofer | |
Don't store length of UTF-8 string. It can be computed by NULL-terminating strings shorter than 4 bytes and using strnlen. Use gperf's string pool option. This allows to use an 'int' index into the string pool instead of a pointer and is helpful on 64-bit systems. Shaves about 75 KB off the 32-bit binaries on Linux and 128 KB off the 64-bit binaries on OS X. | |||
2014-12-31 | Recreate scanners.c only on demand | Nick Wellnhofer | |
2014-12-31 | Feature test for va_copy | Nick Wellnhofer | |
MSVC doesn't support va_copy. | |||
2014-12-29 | Added cmark_ctype.h with locale-independent isspace, ispunct, etc. | John MacFarlane | |
Otherwise cmark's behavior varies unpredictably with the locale. `is_punctuation` in utf8.h has also been adjusted so that everything that counts all ASCII symbol characters count as punctuation, even though some are not in P* character classes. | |||
2014-12-28 | Removed old 'ast' format, now that we have 'xml'. | John MacFarlane | |
The xml representation of the AST is not quite as pretty, but it contains the same information and is not in an ad hoc format. See #53. | |||
2014-12-28 | Added xml writer, to dump the AST in XML. | John MacFarlane | |
This is a work-in-progress. CommonMark.dtd gives the DTD for the generated XML. Closes #53. | |||
2014-12-14 | Added GNU profiler flags to debug build. | John MacFarlane | |
2014-12-13 | Added cmark_render_man (man page writer). | John MacFarlane | |
cmark: Replaced `--man` and `--ast` with generic `--to` option. | |||
2014-12-13 | Added iterator interface to API, removed cmark_walk. | John MacFarlane | |
* Added `iterator.c`, `iterator.h`. * Removed `cmark_walk`. * Replaced `cmark_walk` with iterator in HTML renderer. * Replaced API test for `cmark_walk` with simple iterator test. | |||
2014-12-08 | Compile with -Wextra | Nick Wellnhofer | |
2014-12-04 | Moved source files from src/html into src. | John MacFarlane | |
The separate directory presents problems for some simple extension building systems, like luarocks. | |||
2014-12-04 | Create pkg-config file as part of build procedure. | John MacFarlane | |
Closes #234. | |||
2014-12-01 | Use `--no-generation-date` with `re2c`. | John MacFarlane | |
2014-12-01 | Changed build procedure so that an empty scanners.c is not created | John MacFarlane | |
if `re2c` is missing. Closes #231. | |||
2014-11-24 | Fix MSVC options | Nick Wellnhofer | |
Also disable some warnings. | |||
2014-11-22 | Fix debug flags | Nick Wellnhofer | |
2014-11-17 | Set CMARK_DEBUG_NODES for debug builds. | John MacFarlane | |
2014-11-17 | Rename ast.h to parser.h | Nick Wellnhofer | |
2014-11-17 | Start with unified nodes | Nick Wellnhofer | |
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 | Compile as C++ under MSVC | 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 | 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-15 | Workaround to add -fvisibility=hidden for older versions of cmake. | 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-14 | Disable warnings about inline with mingw. | John MacFarlane | |
2014-11-14 | Disable PUBLIC declarations when we're compiling the executable. | 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-13 | Removed ast modules, moved these defs back to cmark.h. | John MacFarlane | |
2014-11-13 | Compile with -fvisibility=hidden. | John MacFarlane | |
We'll mark public functions as "default". | |||
2014-11-13 | Added bench.h and inserted timing macros in main. | John MacFarlane | |
`make TIMER=1` to build with timings. | |||
2014-11-13 | Added ast.[c,h] for AST definitions and AST-manipulating functions. | John MacFarlane | |
2014-11-12 | Moved man install target to main CMakeLists.txt. | John MacFarlane | |
2014-11-11 | Added cmark_markdown_to_html with a simple interface. | John MacFarlane | |
See #70. | |||
2014-11-10 | html_unescape: Made find_entity static | John MacFarlane | |
2014-11-07 | Shared library is again libcmark. | John MacFarlane | |
2014-11-07 | More cmake cleanup. | John MacFarlane | |
2014-11-07 | Fixed compiler warnings in cmake. | John MacFarlane | |
2014-11-07 | Moved include file check to src/CMakeLists.txt. | John MacFarlane | |
2014-11-07 | Removed old man/CMakeLists.txt. | John MacFarlane | |