7 Commits
Author SHA1 Message Date
jessica parsons 8ddfb981ef redo the html5 flag option to make it a per-MMIOT thing, instead of being a global block that we have to deallocate when we're done; also take the opportunity to clean up mkd_initmmiot to have it set fags & html5 extraflags instead of duplicating that code in three places 2025-09-03 17:26:21 -07:00
jessica parsons 5e2f73aec4 update my name to the current one 2024-03-29 23:41:29 -07:00
David Seifert 7afa5c6242 Make C99 clean
* Clang 16 (and likely GCC 14) will enforce strict C99 semantics
  and break old K&R C declarations and require correct C89
  function prototypes.

Bug: https://bugs.gentoo.org/870952
Clang: https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213/9
2022-10-27 11:08:49 -07:00
david parsons e9bcf76b1f on systems that support it, use the 'destructor' attribute on mkd_shlib_destructor() so it will run automatically 2018-03-17 21:01:22 -07:00
david parsons 07c10928ba Optimize the html block tag list handler; standard html tags now live in a static array
and html5 (or other) tags are added to an extratags array that is only searched
if the tag can't be found in the standard one.
2011-07-22 00:21:10 -07:00
david parsons 0af211ea94 In initialize, do the initrng() and tag population separately, just in case
someone really wants to do multiple initialize/deallocate cycles.
2011-01-03 11:58:53 -08:00
david parsons 7b3cdea93a Add a library destructor function (mkd_shlib_destructor) to discard the kw array before unloading a shared library 2011-01-02 11:41:27 -08:00