Skip to content

libmdf v0.23.0

Choose a tag to compare

@sa6mwa sa6mwa released this 07 Nov 03:42
· 1 commit to trunk since this release

libmdf v0.23.0 adds on-demand paging of large Markdown and text/log files with a bounded, configurable rendered-content cache.

  • Keep the live parser for forward navigation and recover evicted content through seekable input.
  • Preserve document-wide search numbering, cyclic navigation, seam-spanning matches, and the viewed passage across resizing.
  • Expose cache configuration in C and Lua, and add seekable-source C receiver methods.
  • Return pager cancellation when the restored Ctrl-C handler returns or ignores SIGINT.
  • Preserve literal NBSP and plain intraword underscores, with regression-backed parity exceptions for Go differences.
  • Replace the oversized README with focused guides and complete public C API comments.

The default pager cache holds 1 MiB of rendered content and can be configured down to 64 KiB. Named files and seekable sources can be much larger than the cache.

Breaking change: the older forward-only mdf_pager_source / receiver pager_source API buffers at most 1 MiB of total input and rejects larger input. For large callback inputs, use mdf_pager_seekable_source or the receiver pager_seekable_source method. Shared-library ABI remains 7.

SDK and CLI archives cover x86_64, aarch64 and armhf Linux with glibc/musl, plus arm64 Darwin. Source, Lua archive, rockspec and source rock are included. Use the accompanying SHA-256 manifest to verify downloads.

The clean local release gate passed 102 Debug checks, 61 native Release checks, 19 Valgrind checks, both AFL smoke gates, full ANSI/HTML/stream parity, and final archive/consumer verification. Cross-target consumers were linked and inspected; cross-target runtime execution remains deferred under the project policy.