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