Up to [cvs.NetBSD.org] / pkgsrc / devel / libcbor
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.6 / (download) - annotate - [select for diffs], Wed Mar 15 14:34:45 2023 UTC (6 months, 2 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
HEAD
Changes since 1.5: +4 -4
lines
Diff to previous 1.5 (colored)
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
Revision 1.5 / (download) - annotate - [select for diffs], Tue Apr 12 22:36:02 2022 UTC (17 months, 2 weeks ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2
Changes since 1.4: +4 -4
lines
Diff to previous 1.4 (colored)
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
Revision 1.4 / (download) - annotate - [select for diffs], Tue Oct 26 10:15:15 2021 UTC (23 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
pkgsrc-2021Q4-base,
pkgsrc-2021Q4
Changes since 1.3: +2 -2
lines
Diff to previous 1.3 (colored)
archivers: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Could not be committed due to merge conflict: devel/py-traitlets/distinfo The following distfiles were unfetchable (note: some may be only fetched conditionally): ./devel/pvs/distinfo pvs-3.2-solaris.tgz ./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
Revision 1.3 / (download) - annotate - [select for diffs], Thu Oct 7 13:40:09 2021 UTC (23 months, 3 weeks ago) by nia
Branch: MAIN
Changes since 1.2: +1 -2
lines
Diff to previous 1.2 (colored)
devel: Remove SHA1 hashes for distfiles
Revision 1.2 / (download) - annotate - [select for diffs], Thu Oct 22 20:19:39 2020 UTC (2 years, 11 months ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4
Changes since 1.1: +5 -5
lines
Diff to previous 1.1 (colored)
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]
Revision 1.1 / (download) - annotate - [select for diffs], Fri Aug 23 17:14:45 2019 UTC (4 years, 1 month ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
pkgsrc-2020Q1-base,
pkgsrc-2020Q1,
pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3
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."