aboutsummaryrefslogtreecommitdiff
path: root/changelog.c.txt
blob: 50f1c7d1a8e5244af1bd04811742c63f479c8672 (plain)
  1. [0.17]
  2.   * Stripped out all JavaScript related code and documentation, moving
  3. it to a separate repository (<https://github.com/jgm/commonmark.js>).
  4. * Improved Makefile targets, so that `cmake` is run again only when
  5. necessary (Nick Wellnhofer).
  6. * Added `INSTALL_PREFIX` to the Makefile, allowing installation to a
  7. location other than `/usr/local` without invoking `cmake`
  8. manually (Nick Wellnhofer).
  9. * `make test` now guarantees that the project will
  10. be rebuilt before tests are run (Nick Wellnhofer).
  11. * Prohibited overriding of some Makefile variables (Nick Wellnhofer).
  12. * Provide version number and string, both as macros
  13. (`CMARK_VERSION`, `CMARK_VERSION_STRING`) and as symbols
  14. (`cmark_version`, `cmark_version_string`) (Nick Wellnhofer). All of
  15. these come from `cmark_version.h`, which is constructed from a
  16. template `cmark_version.h.in` and data in `CMakeLists.txt`.
  17. * Avoid calling `free` on null pointer.
  18. * Added an accessor for an iterator's root node (`cmark_iter_get_root`).
  19. * Added user data field for nodes (Nick Wellnhofer). This is
  20. intended mainly for use in bindings for dynamic languages, where
  21. it could store a pointer to a target language object (#287). But
  22. it can be used for anything.
  23. * Man renderer: properly escape multiline strings.
  24. * Added assertion to raise error if finalize is called on a closed block.
  25. * Implemented the new spec rule for emphasis and strong emphasis with `_`.
  26. * Moved the check for fence-close with the other checks for end-of-block.
  27. * Fixed a bug with loose list detection with items containings
  28. fenced code blocks (#285).
  29. * Removed recursive algorithm in `ends_with_blank_line` (#286).
  30. * Minor code reformatting: renamed parameters.
  31. [0.16]
  32. * Added xml renderer (XML representation of the CommonMark AST,
  33. which is described in `CommonMark.dtd`).
  34. * Reduced size of gperf entity table (Nick Wellnhofer).
  35. * Reworked iterators to allow deletion of nodes during iteration
  36. (Nick Wellnhofer).
  37. * Optimized `S_is_leaf`.
  38. * Added `cmark_iter_reset` to iterator API.
  39. * Added `cmark_consolidate_text_nodes` to API to combine adjacent
  40. text nodes.
  41. * Added `CMARK_OPT_NORMALIZE` to options (this combines adjacent
  42. text nodes).
  43. * Added `--normalize` option to command-line program.
  44. * Improved regex for HTML comments in inline parsing.
  45. * Python is no longer required for a basic build from the
  46. repository.