Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-06-17 | Renamed entities.h -> entities.inc. | John MacFarlane | |
Also tools/make_entities_h.py -> tools/make_entitis_inc.py. | |||
2015-06-16 | Replace gperf-based entity lookup with binary tree lookup. | John MacFarlane | |
The primary advantage is a big reduction in the size of the compiled library and executable (> 100K). There should be no measurable performance difference in normal documents. I detected a slight performance hit (around 5%) in a file containing 1,000,000 entities. * Removed `src/html_unescape.gperf` and `src/html_unescape.h`. * Added `src/entities.h` (generated by `tools/make_entities_h.py`). * Added binary tree lookup functions to `houdini_html_u.c`, and use the data in `src/entities.h`. | |||
2015-05-31 | Merge pull request #45 from nwellnhof/windows_snprintf | John MacFarlane | |
Cope with broken snprintf on Windows | |||
2015-05-31 | Removed -pg from Debug build flags. | John MacFarlane | |
Closes #47. | |||
2015-05-29 | Cope with broken snprintf on Windows | Nick Wellnhofer | |
On Windows, snprintf returns -1 if the output was truncated. Fall back to Windows-specific _scprintf. | |||
2015-05-29 | Revert "Ubsan: add -fsanitize=undefined to link flags too." | John MacFarlane | |
This reverts commit 678bdab4a4421e64f7c36991a098ae6db730140b. This commit led to two -fsanitized=undefined in the same linker invocation. | |||
2015-05-29 | Ubsan: add -fsanitize=undefined to link flags too. | John MacFarlane | |
2015-05-29 | Added Ubsan build target, to check for undefined behavior. | John MacFarlane | |
2015-04-26 | Suppress warnings about Windows runtime library files | Nick Wellnhofer | |
Visual Studio Express editions do not include the redistributable files. Set CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS to suppress warnings. | |||
2015-04-26 | Compile static library with -DCMARK_STATIC_DEFINE | Nick Wellnhofer | |
Fixes warnings on Windows. | |||
2015-04-25 | Revert "CMakeLists.txt: quote variable to avoid warning." | John MacFarlane | |
This reverts commit 890a926dec02d8f024a4492248dbff4f84d37ff2. Conflicts: src/CMakeLists.txt | |||
2015-04-25 | Really fixed cmake warning. | John MacFarlane | |
2015-04-25 | CMakeLists.txt: quote variable to avoid warning. | John MacFarlane | |
2015-04-01 | Include patch level in soname | Nick Wellnhofer | |
Minor version is tied to spec version, so this allows to break the ABI between spec releases. | |||
2015-03-31 | Install compiler-provided system runtime libraries. | Changjiang Yang | |
2015-03-21 | Added commonmark renderer. | John MacFarlane | |
This is still incomplete. (See TODOs in the source.) | |||
2015-03-09 | Check for CMAKE_C_COMPILER (not CC_COMPILER) when setting C flags. | John MacFarlane | |
2015-03-09 | Use libcmark.a for static library on *nix. | John MacFarlane | |
Use cmark_static on Windows as before. See #11. | |||
2015-03-07 | Build static version of library in default build. | John MacFarlane | |
The static library will be named (lib)cmark_static. Closes #11. | |||
2015-02-15 | Moved handling of --smart from renderer to parser. | John MacFarlane | |
This allows backslash escapes to disable smart quote transformations in particular cases. Closes #8. | |||
2015-02-14 | Added smart.c, smart.h with function abstracting smart punct rendering. | John MacFarlane | |
Also fixed some bugs in earlier smart handling. Now handles UTF-8. | |||
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. |