summaryrefslogtreecommitdiff
path: root/reftable/record.c
AgeCommit message (Expand)AuthorFilesLines
2026-07-03reftable/record: don't abort when decoding invalid ref value typePatrick Steinhardt1-3/+3
2025-04-29Merge branch 'ps/reftable-api-revamp'Junio C Hamano1-26/+26
2025-04-08Merge branch 'ps/reftable-sans-compat-util'Junio C Hamano1-38/+46
2025-04-07reftable/constants: make block types part of the public interfacePatrick Steinhardt1-20/+20
2025-04-07reftable: fix formatting of the license headerPatrick Steinhardt1-6/+6
2025-03-21reftable: propagate specific error codes in block_writer_add()Meet Soni1-29/+24
2025-02-18reftable/basics: introduce `REFTABLE_UNUSED` annotationPatrick Steinhardt1-13/+13
2025-02-18reftable/basics: stop using `SWAP()` macroPatrick Steinhardt1-8/+8
2025-02-18reftable/basics: provide wrappers for big endian conversionPatrick Steinhardt1-4/+4
2025-02-18reftable/record: don't `BUG()` in `reftable_record_cmp()`Patrick Steinhardt1-4/+6
2025-02-18reftable/record: stop using `BUG()` in `reftable_record_init()`Patrick Steinhardt1-4/+4
2025-02-18reftable/record: stop using `COPY_ARRAY()`Patrick Steinhardt1-5/+11
2025-01-21reftable: address trivial -Wsign-compare warningsPatrick Steinhardt1-5/+2
2025-01-21reftable/basics: adjust `hash_size()` to return `uint32_t`Patrick Steinhardt1-29/+23
2025-01-21reftable/basics: adjust `common_prefix_size()` to return `size_t`Patrick Steinhardt1-2/+2
2025-01-21reftable/record: handle overflows when decoding varintsPatrick Steinhardt1-29/+31
2024-12-28reftable: avoid leaks on realloc errorRené Scharfe1-6/+6
2024-10-17reftable: handle trivial `reftable_buf` errorsPatrick Steinhardt1-8/+24
2024-10-17reftable/record: adapt `reftable_record_key()` to handle allocation failuresPatrick Steinhardt1-12/+20
2024-10-17reftable: convert from `strbuf` to `reftable_buf`Patrick Steinhardt1-40/+40
2024-10-17reftable: stop using `strbuf_addbuf()`Patrick Steinhardt1-3/+3
2024-10-02reftable: introduce `REFTABLE_FREE_AND_NULL()`Patrick Steinhardt1-5/+5
2024-10-02reftable/record: handle allocation failures when decoding recordsPatrick Steinhardt1-17/+63
2024-10-02reftable/record: handle allocation failures on copyPatrick Steinhardt1-24/+60
2024-08-29Merge branch 'ps/reftable-drop-generic'Junio C Hamano1-127/+0
2024-08-22t/helper: inline printing of reftable recordsPatrick Steinhardt1-127/+0
2024-08-17reftable: mark unused parameters in virtual functionsJeff King1-13/+18
2024-06-07global: improve const correctness when assigning string constantsPatrick Steinhardt1-3/+3
2024-04-03reftable/record: extract function to decode key lengthsPatrick Steinhardt1-9/+25
2024-03-21Merge branch 'ps/reftable-reflog-iteration-perf'Junio C Hamano1-79/+50
2024-03-21Merge branch 'ps/reftable-block-search-fix'Junio C Hamano1-0/+2
2024-03-07reftable/record: fix memory leak when decoding object recordsPatrick Steinhardt1-0/+2
2024-03-05reftable/record: use scratch buffer when decoding recordsPatrick Steinhardt1-28/+24
2024-03-05reftable/record: reuse message when decoding log recordsPatrick Steinhardt1-2/+3
2024-03-05reftable/record: reuse refnames when decoding log recordsPatrick Steinhardt1-1/+1
2024-03-05reftable/record: avoid copying author infoPatrick Steinhardt1-8/+21
2024-03-05reftable/record: convert old and new object IDs to arraysPatrick Steinhardt1-49/+10
2024-03-04reftable: allow inlining of a few functionsPatrick Steinhardt1-11/+0
2024-03-04reftable/record: decode keys in placePatrick Steinhardt1-10/+9
2024-03-04reftable/record: reuse refname when copyingPatrick Steinhardt1-3/+15
2024-03-04reftable/record: reuse refname when decodingPatrick Steinhardt1-4/+12
2024-02-26Merge branch 'ps/reftable-iteration-perf'Junio C Hamano1-3/+64
2024-02-12reftable/record: don't try to reallocate ref record namePatrick Steinhardt1-2/+3
2024-02-12reftable/record: introduce function to compare records by keyPatrick Steinhardt1-1/+61
2024-02-06reftable/record: improve semantics when initializing recordsPatrick Steinhardt1-33/+10
2024-02-06reftable: introduce macros to allocate arraysPatrick Steinhardt1-6/+8
2024-01-03reftable/record: store "val2" hashes as static arraysPatrick Steinhardt1-6/+0
2024-01-03reftable/record: store "val1" hashes as static arraysPatrick Steinhardt1-3/+0
2024-01-03reftable/record: constify some parts of the interfacePatrick Steinhardt1-4/+4
2022-01-20reftable: add print functions to the record typesHan-Wen Nienhuys1-14/+71