The NetBSD Project

CVS log for pkgsrc/textproc/libfyaml/PLIST

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / textproc / libfyaml

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Mar 26 13:58:33 2026 UTC (7 months, 3 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, HEAD
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +26 -0 lines
libfyaml: update to 0.9.6.

## [0.9.6] - 2026-03-15

### Major: Public Header Split

The monolithic `libfyaml.h` has been split into focused sub-headers under `include/libfyaml/`. The main header still exists and includes everything, so **existing code requires no changes**. Projects can now include only the sub-headers they need for faster compilation:

- `libfyaml/libfyaml-core.h` — parser, emitter, document, node, path
- `libfyaml/libfyaml-composer.h` — composer interface
- `libfyaml/libfyaml-docbuild.h` — document builder
- `libfyaml/libfyaml-allocator.h` — allocator API
- `libfyaml/libfyaml-atomics.h`, `libfyaml-thread.h`, `libfyaml-util.h`, and more

All gaps in the API documentation have been filled as part of this work.

### Added

- `fy_node_sequence_sort()`: Sort a single sequence node's items using a custom comparator (mirrors `fy_node_mapping_sort()`)

### Changed

- Public API hardened against NULL arguments throughout (`fy_token_*`, `fy_emit_*`, `fy_doc_*`) — fixes #252, #254, #255
- fy-tool: Usage text cleaned up and colorized on TTYs
- Walk: Pathological YPath execution is now capped to prevent runaway resource use
- Dedup allocator: Improvements for split entries and content tags
- `indent_delta` refactored into atom layer for correctness

### Fixed

**Emitter:**
- Folded block scalar line breaks no longer get lost
- Fix comment indentation loss for block sequences inside mappings
- Fix memory leak in `fy_emit_mapping()`

**Parser:**
- Fix failure on empty merge key
- Fix `fy_parser_event_resolve_hook_merge_key_start()` error path
- Fix extent check in `fy_reader_fetch_flow_scalar_handle()`
- Use `HAVE_LLVM_C_CORE_H` to detect LLVM (portability fix)

**Walk (YPath):**
- Cap pathological YPath execution to prevent runaway resource use
- Guard numeric expression conversion against overflow

**Document API:**
- Avoid rehashing anchors during cleanup
- Fix `fy_node_copy_to_scalar()` mess
- Fix bogus condition in `fy_node_by_path_internal()`
- Keep remove-by-key lookup nodes caller-owned

**Threading:**
- Fix threading bug triggered when thread count hits 64

**Build / Portability:**
- cmake: Install canned man pages when Sphinx is not available
- cmake: Respect `DESTDIR` when creating symlinks to fy-tool
- cmake: Rework Windows CMake support for correctness
- cmake: Fix docs build after public header move
- windows: Fix compilation issues
- build: Link libm in autotools builds
- utils: Fix overflow implementations
- `.gitattributes`: Mark all text files as LF-terminated

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jan 18 10:50:26 2026 UTC (9 months, 4 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +7 -14 lines
libfyaml: update to 0.9.3.

0.9.3

A maintenance release focused on platform support, memory leak
fixes, and emitter improvements.

0.9.2

Addressing a couple of build related problems with v0.9.1 No
functionality changes.

0.9.1

This is libfyaml v0.9.1, a significant maintenance release focused
on licensing clarity, performance, stability, and build system
modernization.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Dec 8 19:16:20 2022 UTC (3 years, 11 months ago) by khorben
Branches: MAIN
CVS tags: pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4
libfyaml: import version 0.7.12

libfyaml is a fancy 1.2 YAML and JSON parser/writer.

Fully feature complete YAML parser and emitter, supporting the latest YAML spec
and passing the full YAML testsuite.

It is designed to be very efficient, avoiding copies of data, and has no
artificial limits like the 1024 character limit for implicit keys.

libfyaml is using https://github.com/yaml/yaml-test-suite as a core part of its
testsuite.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>