git/reftable
Junio C Hamano 6e2a3b8ae0 Merge branch 'ps/reftable-sans-compat-util'
Make the code in reftable library less reliant on the service
routines it used to borrow from Git proper, to make it easier to
use by external users of the library.

* ps/reftable-sans-compat-util:
  Makefile: skip reftable library for Coccinelle
  reftable: decouple from Git codebase by pulling in "compat/posix.h"
  git-compat-util.h: split out POSIX-emulating bits
  compat/mingw: split out POSIX-related bits
  reftable/basics: introduce `REFTABLE_UNUSED` annotation
  reftable/basics: stop using `SWAP()` macro
  reftable/stack: stop using `sleep_millisec()`
  reftable/system: introduce `reftable_rand()`
  reftable/reader: stop using `ARRAY_SIZE()` macro
  reftable/basics: provide wrappers for big endian conversion
  reftable/basics: stop using `st_mult()` in array allocators
  reftable: stop using `BUG()` in trivial cases
  reftable/record: don't `BUG()` in `reftable_record_cmp()`
  reftable/record: stop using `BUG()` in `reftable_record_init()`
  reftable/record: stop using `COPY_ARRAY()`
  reftable/blocksource: stop using `xmmap()`
  reftable/stack: stop using `write_in_full()`
  reftable/stack: stop using `read_in_full()`
2025-04-08 11:43:14 -07:00
..
LICENSE reftable: add LICENSE 2021-10-08 10:45:48 -07:00
basics.c reftable/basics: provide wrappers for big endian conversion 2025-02-18 10:55:37 -08:00
basics.h reftable/basics: introduce `REFTABLE_UNUSED` annotation 2025-02-18 10:55:38 -08:00
block.c Merge branch 'ps/reftable-sans-compat-util' 2025-04-08 11:43:14 -07:00
block.h reftable: propagate specific error codes in block_writer_add() 2025-03-21 01:51:07 -07:00
blocksource.c reftable/basics: introduce `REFTABLE_UNUSED` annotation 2025-02-18 10:55:38 -08:00
blocksource.h reftable/blocksource: adapt interface name 2024-10-17 16:59:56 -04:00
constants.h reftable: make the compaction factor configurable 2024-05-13 17:02:39 -07:00
error.c reftable/error: introduce out-of-memory error code 2024-10-02 07:53:50 -07:00
iter.c reftable/basics: introduce `REFTABLE_UNUSED` annotation 2025-02-18 10:55:38 -08:00
iter.h reftable: convert from `strbuf` to `reftable_buf` 2024-10-17 16:59:56 -04:00
merged.c reftable/basics: stop using `SWAP()` macro 2025-02-18 10:55:38 -08:00
merged.h reftable/system: stop depending on "hash.h" 2024-11-19 12:23:10 +09:00
pq.c reftable/basics: stop using `SWAP()` macro 2025-02-18 10:55:38 -08:00
pq.h reftable/record: don't `BUG()` in `reftable_record_cmp()` 2025-02-18 10:55:36 -08:00
reader.c Merge branch 'ps/reftable-sans-compat-util' 2025-04-08 11:43:14 -07:00
reader.h reftable/blocksource: adjust `read_block()` to return `ssize_t` 2025-01-21 14:20:30 -08:00
record.c Merge branch 'ps/reftable-sans-compat-util' 2025-04-08 11:43:14 -07:00
record.h reftable/record: don't `BUG()` in `reftable_record_cmp()` 2025-02-18 10:55:36 -08:00
reftable-basics.h reftable/system: stop depending on "hash.h" 2024-11-19 12:23:10 +09:00
reftable-blocksource.h reftable/blocksource: adjust `read_block()` to return `ssize_t` 2025-01-21 14:20:30 -08:00
reftable-error.h reftable: prevent 'update_index' changes after adding records 2025-01-22 09:51:36 -08:00
reftable-iterator.h reftable/generic: adapt interface to allow reuse of iterators 2024-05-13 17:04:18 -07:00
reftable-merged.h reftable/system: stop depending on "hash.h" 2024-11-19 12:23:10 +09:00
reftable-reader.h reftable/system: stop depending on "hash.h" 2024-11-19 12:23:10 +09:00
reftable-record.h reftable/basics: adjust `hash_size()` to return `uint32_t` 2025-01-21 14:20:29 -08:00
reftable-stack.h reftable/stack: add accessor for the hash ID 2024-11-26 17:18:36 +09:00
reftable-writer.h Merge branch 'kn/reflog-migration-fix-followup' 2025-02-14 17:53:48 -08:00
stack.c reftable/stack: stop using `sleep_millisec()` 2025-02-18 10:55:38 -08:00
stack.h reftable: make the compaction factor configurable 2024-05-13 17:02:39 -07:00
system.c reftable: decouple from Git codebase by pulling in "compat/posix.h" 2025-02-18 10:55:41 -08:00
system.h reftable: decouple from Git codebase by pulling in "compat/posix.h" 2025-02-18 10:55:41 -08:00
tree.c reftable/tree: handle allocation failures 2024-10-02 07:53:55 -07:00
tree.h reftable/tree: handle allocation failures 2024-10-02 07:53:55 -07:00
writer.c Merge branch 'ps/reftable-sans-compat-util' 2025-04-08 11:43:14 -07:00
writer.h reftable: rename scratch buffer 2024-11-26 08:39:38 +09:00