Commit Graph

23 Commits

Author SHA1 Message Date
TapTap c4aeed9f4d feat: implement chunk serialization protocol with -s flag
- Extract chunk_serialize/chunk_deserialize from chunk_compress/chunk_decompress
- Add STATUS_CHUNK to wire protocol for chunk-mode transfers
- Client: -s sends chunk via STATUS_CHUNK (serialized or compressed+serialized)
- Server: handle STATUS_CHUNK in both single-threaded and multithreaded paths
- Fix memory leak in receive_file_receive (free->data_destroy)
- Remove dead declarations: file_receive_from_buffer, file_receive_decompress,
  file_compress, chunk_data_to_disk, unused #defines
2026-07-04 21:38:46 +02:00
TapTap e0f64e8d43 Merge pull request 'Add compression round-trip and scanner tests; fix 2 bugs found along the way' (#4) from add-tests into main
Reviewed-on: #4
2026-07-04 21:29:29 +02:00
TapTap 43c0a1395d Add compression and scanner tests; fix chunk_decompress data ownership bug, data_destroy NULL safety, chunk_compress memory leak 2026-07-04 21:25:34 +02:00
TapTap 38019e7e32 Merge pull request 'Fix config protocol mismatch and format string bugs' (#3) from fix-proto-and-format into main
Reviewed-on: #3
2026-07-04 21:12:10 +02:00
TapTap f189adcbff fix: config_send proto mismatch (use_compression→compression_level) and format string %d→%zu for size_t 2026-07-04 21:11:34 +02:00
TapTap a242a6c031 Merge pull request 'Fix critical issues and all tests' (#2) from fix-critical-issues into main
Reviewed-on: #2
2026-07-04 21:09:21 +02:00
TapTap fe8fca47b4 fix: re-apply socket.c file descriptor check after merge 2026-07-04 21:08:30 +02:00
TapTap fefa968945 Merge remote-tracking branch 'origin/main' into fix-critical-issues
# Conflicts:
#	src/shared/chunk.c
2026-07-04 21:07:45 +02:00
TapTap 1486ac7088 fix: chunk_decompress compilation, chunk_compress data ptr, chunk_format serialization, file_destroy leak, test_chunk memcmp 2026-07-04 21:02:59 +02:00
TapTap 7c02b16325 Revert "Merge pull request 'Fix critical issues: implement chunk_decompress and fix socket file descriptor check' (#1) from fix-critical-issues into main"
This reverts commit d176507047, reversing
changes made to ae4c8ff9f0.
2026-07-04 20:51:35 +02:00
TapTap d176507047 Merge pull request 'Fix critical issues: implement chunk_decompress and fix socket file descriptor check' (#1) from fix-critical-issues into main
Reviewed-on: #1
2026-07-04 20:48:04 +02:00
TapTap ae4c8ff9f0 fix: remove some benchmarks so that its faster 2026-07-04 20:45:47 +02:00
TapTap f4f9adb007 Update opencode.json 2026-07-04 20:29:57 +02:00
TapTap 95e3bded60 Update shell.nix 2026-07-04 20:28:00 +02:00
TapTap e6c55356c8 Fix critical issues: implement chunk_decompress and fix file descriptor check in server_listen 2026-07-04 20:24:16 +02:00
TapTap 95568ae34e Add technical README file 2026-07-04 18:18:48 +02:00
TapTap 12ca9e736b feat: add rules for opencode and remove old irrelevant files 2026-07-04 18:09:16 +02:00
TapTap 1b7d623dfe fix: change to right compression level 2026-07-04 18:03:22 +02:00
Theo Tappe 4d6171d6bf fix: bring project back to a working state 2026-07-04 17:55:03 +02:00
Theo Tappe 75d5f91c6a add data compression and decompression 2026-06-14 16:52:07 +00:00
Theo Tappe 7478d050e3 Improved testing capabilities and fixed missing finished status in multithreading 2026-06-11 15:41:37 +02:00
Theo Tappe f3e93d3fd9 improved testing capabilities and fixed bug that pre ended chunk sending 2026-06-10 22:11:12 +02:00
Theo Tappe 1e5eeb704f First Commit 2026-06-10 16:58:35 +02:00