Path to this page:
./
devel/libcbor,
Parsing and generate schema-less binary data format
Branch: CURRENT,
Version: 0.11.0,
Package name: libcbor-0.11.0,
Maintainer: pkgsrc-userslibcbor is a C library for parsing and generating CBOR, the
general-purpose schema-less binary data format.
From cbor.io:
RFC 8949 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."
Required to build:[
pkgtools/cwrappers]
Master sites:
Filesize: 286.683 KB
Version history: (Expand)
- (2024-02-04) Updated to version: libcbor-0.11.0
- (2023-03-15) Updated to version: libcbor-0.10.2
- (2022-04-13) Updated to version: libcbor-0.9.0
- (2020-10-23) Updated to version: libcbor-0.8.0
- (2019-08-23) Package added to pkgsrc.se, version libcbor-0.5.0 (created)
CVS history: (Expand)
2024-02-04 20:13:16 by Amitai Schleier | Files touched by this commit (1) |
Log message:
libcbor: oops, didn't mean to leave in a PKGREVISION bump.
|
2024-02-04 20:12:41 by Amitai Schleier | Files touched by this commit (2) | |
Log message:
libcbor: fix PLIST (and hopefully stay fixed on next update).
|
2024-02-04 09:16:38 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
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
|
2023-11-07 23:36:23 by Thomas Klausner | Files touched by this commit (1) | |
Log message:
libcbor: update DESCR
From Alex Crooks in PR 57686
|
2023-03-15 15:34:45 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
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
|
2022-08-05 22:21:21 by Adam Ciarcinski | Files touched by this commit (1) |
Log message:
libcbor: do not build examples
|
2022-07-25 13:12:30 by Thomas Klausner | Files touched by this commit (102) |
Log message:
*: remove pkg-config from tools where no buildlink3.mk file is included
Bulk build on NetBSD of these packages had the same result as before
(build succeeds, no PLIST change).
|
2022-04-13 00:36:03 by Tobias Nygren | Files touched by this commit (3) | |
Log message:
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
|