head 1.6; access; symbols pkgsrc-2023Q4:1.4.0.8 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.6 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.4 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.2 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.3.0.6 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.3.0.4 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.2 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.2.0.12 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.10 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.8 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.6 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.4 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.2 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.1.0.10 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.8 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.4 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.6 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.2 pkgsrc-2019Q3-base:1.1; locks; strict; comment @# @; 1.6 date 2024.02.04.19.12.41; author schmonz; state Exp; branches; next 1.5; commitid tNBmX2xQocgFj9XE; 1.5 date 2024.02.04.08.16.38; author adam; state Exp; branches; next 1.4; commitid 81cCNF6AINZxG5XE; 1.4 date 2023.03.15.14.34.45; author adam; state Exp; branches; next 1.3; commitid j3GtIryR2yURfehE; 1.3 date 2022.04.12.22.36.02; author tnn; state Exp; branches; next 1.2; commitid pMZamjHMS1iKKXzD; 1.2 date 2020.10.22.20.19.39; author tnn; state Exp; branches; next 1.1; commitid Mnd6ldsBRF5MfWsC; 1.1 date 2019.08.23.17.14.45; author agc; state Exp; branches; next ; commitid iAFi6ptbUrosVaAB; desc @@ 1.6 log @libcbor: fix PLIST (and hopefully stay fixed on next update). @ text @@@comment $NetBSD$ include/cbor.h include/cbor/arrays.h include/cbor/bytestrings.h include/cbor/callbacks.h include/cbor/cbor_export.h include/cbor/common.h include/cbor/configuration.h include/cbor/data.h include/cbor/encoding.h include/cbor/floats_ctrls.h include/cbor/internal/builder_callbacks.h include/cbor/internal/encoders.h include/cbor/internal/loaders.h include/cbor/internal/memory_utils.h include/cbor/internal/stack.h include/cbor/internal/unicode.h include/cbor/ints.h include/cbor/maps.h include/cbor/serialization.h include/cbor/streaming.h include/cbor/strings.h include/cbor/tags.h lib/cmake/libcbor/libcborConfig.cmake lib/cmake/libcbor/libcborConfigVersion.cmake lib/libcbor.so lib/libcbor.so.${PKGVERSION_SANS_TEENY} lib/libcbor.so.${PKGVERSION} lib/pkgconfig/libcbor.pc @ 1.5 log @libcbor: updated to 0.11.0 0.11.0 (2024-02-04) --------------------- - [Updated documentation to refer to RFC 8949](https://github.com/PJK/libcbor/issues/269) - Improvements to `cbor_describe` - [Bytestring data will now be printed as well](https://github.com/PJK/libcbor/pull/281) by [akallabeth](https://github.com/akallabeth) - [Formatting consistency and clarity improvements](https://github.com/PJK/libcbor/pull/285) - [Fix `cbor_string_set_handle` not setting the codepoint count](https://github.com/PJK/libcbor/pull/286) - BREAKING: [`cbor_load` will no longer fail on input strings that are well-formed but not valid UTF-8](https://github.com/PJK/libcbor/pull/286) - If you were relying on the validation, please check the result using `cbor_string_codepoint_count` instead - BREAKING: [All decoders like `cbor_load` and `cbor_stream_decode` will accept all well-formed tag values](https://github.com/PJK/libcbor/pull/308) (bug discovered by [dskern-github](https://github.com/dskern-github)) - Previously, decoding of certain values would fail with `CBOR_ERR_MALFORMATED` or `CBOR_DECODER_ERROR` - This also makes decoding symmetrical with serialization, which already accepts all values @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.4 2023/03/15 14:34:45 adam Exp $ d27 1 a28 1 lib/libcbor.so.0.10 @ 1.4 log @libcbor: updated to 0.10.2 0.10.2 (2023-01-31) Fixed minor test bug causing failures for x86 Linux (discovered by trofi) Actual libcbor functionality not affected, bug was in the test suite Made tests platform-independent 0.10.1 (2022-12-30) Fix a regression in cbor_serialize_alloc that caused serialization of zero-length strings and bytestrings or byte/strings with zero-length chunks to fail (discovered by martelletto) 0.10.0 (2022-12-29) Make the buffer_size optional in cbor_serialize_alloc BREAKING: Improved half-float encoding for denormalized numbers. Denormalized half-floats will now preserve data in the mantissa Note: Half-float NaNs still lose data BUILD BREAKING: Minimum CMake version is 3.0 See https://repology.org/project/cmake/versions for support; the vast majority of users should not be affected. Fix a potential memory leak when the allocator fails during array or map decoding Fix a memory leak when the allocator fails when adding chunks to indefinite bytestrings. (discovered by James-ZHANG) Fix a memory leak when the allocator fails when adding chunks to indefinite strings Potentially BUILD BREAKING: Add nodiscard attributes to most functions Warning: This may cause new build warnings and (in rare cases, depending on your configuration) errors BREAKING: Fix cbor_copy leaking memory and creating invalid items when the allocator fails. Previously, the failures were not handled in the interface. Now, cbor_copy may return NULL upon failure; clients should check the return value Fix cbor_build_tag illegal memory behavior when the allocator fails Add a new cbor_serialized_size API Reworked cbor_serialize_alloc to allocate the exact amount of memory necessary upfront This should significantly speed up cbor_serialize_alloc for large items by avoiding multiple reallocation iterations Clients should not use the return value of cbor_serialize_alloc. It may be removed in the future. BUILD BREAKING: Deprecate CBOR_CUSTOM_ALLOC cbor_set_allocs will always be enabled from now on Note: The flag will be kept as a no-op triggering a warning when used for one version and then removed completely @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.3 2022/04/12 22:36:02 tnn Exp $ d24 2 @ 1.3 log @libcbor: update to 0.9.0 Improved pkg-config paths handling Use explicit math.h linkage Fixed handling of items that exceed the host size_t range @ text @d1 1 a1 1 @@comment $NetBSD$ a24 1 lib/libcbor.so.0.9 d26 1 @ 1.2 log @libcbor: update to 0.8.0 This is an ABI breaking update so security/libfido2 must also be updated. v0.8.0 BREAKING: Fix cbor_tag_item not increasing the reference count on the tagged item reference it returns [Fixes #109] (discovered bt JohnGilmour) BREAKING: CBOR_DECODER_EBUFFER removed from cbor_decoder_status Fixed several minor manpage issues [#159] (discovered by kloczek@@) v0.7.0 Fix bad encoding of NaN half-floats [Fixes #53] (discovered by BSipos-RKF) Fix potentially bad encoding of negative half-float with exponent < -14 [Fixes #112] (discovered by yami36) BREAKING: Improved bool support [Fixes #63] Fix memory_allocation_test breaking the build without CBOR_CUSTOM_ALLOC [Fixes #128] (by panlinux) Fix a potential build issue where cJSON includes may be misconfigured Breaking: Add a limit on the size of the decoding context stack (by James-ZHANG) Enable LTO/IPO based on CheckIPOSupported [#143] (by xanderlent) v0.6.1 Fix bad shared library version number v0.6.0 Correctly set .so version [Fixes #52]. Fix & prevent heap overflow error in example code [#74] [#76] (by @@nevun) Correctly set OSX dynamic library version [Fixes #75] Fix misplaced 0xFF bytes in maps possibly causing memory corruption BREAKING: Fix handling & cleanup of failed memory allocation in constructor and builder helper functions [Fixes #84] Globally enforced code style [Fixes #83] Fix issue possible memory corruption bug on repeated cbor_(byte)string_add_chunk calls with intermittently failing realloc calls Fix possibly misaligned reads and writes when endian.h is uses or when running on a big-endian machine [Fixes #99, #100] @ text @d25 1 a25 1 lib/libcbor.so.0.8 @ 1.1 log @Add libcbor version 0.5.0 to the packages collection libcbor is a C library for parsing and generating CBOR, the general-purpose schema-less binary data format. From cbor.io: RFC 7049 Concise Binary Object Representation "The Concise Binary Object Representation (CBOR) is a data format whose design goals include the possibility of extremely small code size, fairly small message size, and extensibility without the need for version negotiation." @ text @d6 1 a23 1 lib/libcbor.a d25 2 a26 2 lib/libcbor.so.0 lib/libcbor.so.0.0.0 @