Commit Graph

  • 1ce643b0c8
    chore: bump patch version main 1.7.6 apio 2023-12-12 23:29:23 +0100
  • ae7bf076dc
    fix: Avoid leaking all kinds of stuff in examples/pack apio 2023-12-12 23:27:05 +0100
  • 73c4dce573
    fix: Functions implemented in tar.c are no longer implemented in the README apio 2023-06-18 21:09:35 +0200
  • 7ef1c80fb6
    chore: bump patch version 1.7.5 apio 2023-06-18 20:53:56 +0200
  • 6b1b8fef55
    fix: Don't create . or .. in the untar example apio 2023-06-17 12:05:13 +0200
  • cd0c5df5f5
    chore: bump patch version 1.7.4 apio 2023-05-27 20:02:46 +0200
  • 1644ab59eb
    fix: Add support for my own OS to examples apio 2023-05-27 19:58:23 +0200
  • f12f58bacf
    fix: Make the untar example create parent directories for all entry types apio 2023-03-08 17:05:10 +0100
  • 702348a365
    chore: bump patch version 1.7.3 apio 2023-02-25 20:31:45 +0100
  • f6507e5461
    chore: add note to self apio 2023-02-25 20:30:31 +0100
  • 7e42b10078
    fix: Make the untar example create parent directories if they don't exist (like mkdir -p) apio 2023-02-25 20:28:23 +0100
  • cb432fd306
    docs: Fix potentially confusing statement apio 2023-02-18 22:34:17 +0100
  • a6d38efc7d
    chore: bump patch version 1.7.2 apio 2023-02-15 19:24:54 +0100
  • 85a6d79151
    fix: Shorten the 'name' field in minitar_entry_metadata apio 2023-02-09 16:41:26 +0100
  • 320231c70b
    fix: Make the 'list' example show more metadata apio 2023-02-09 16:40:57 +0100
  • 7571ef42c6
    fix: Cast time_t to a known type for snprintf() apio 2023-02-06 23:18:05 +0100
  • 88d6fbffb7
    fix: Check for _WIN32 instead of _MSC_VER apio 2023-02-06 23:17:28 +0100
  • 01d3c27d41
    chore: bump patch version 1.7.1 apio 2023-02-06 22:42:31 +0100
  • bf52d9e321
    fix: Handle malloc errors properly in pack.c apio 2023-02-05 14:38:31 +0100
  • 7339aeeae5
    chore: Add platform-specific example targets apio 2023-02-05 14:33:59 +0100
  • 40302ddd41
    fix: Do not define metadata twice in examples/pack.c apio 2023-02-05 14:30:29 +0100
  • 8cb5175630
    fix: Do not #include <sys/types.h> on Windows apio 2023-02-05 14:22:31 +0100
  • 5bfc7e45ac
    chore: Adjust comment in minitar_write_file_entry() apio 2023-02-05 14:14:37 +0100
  • 873f056cc3
    chore: bump minor version 1.7.0 apio 2023-02-04 19:42:12 +0100
  • 9b39f43595
    docs: Make it clearer that "minitar" and "minitar_w" are handle structs apio 2023-02-04 19:39:12 +0100
  • 9c43461e02
    docs: Remove section about unsupported entry types in API.md apio 2023-02-04 19:37:15 +0100
  • 53aa377bbb
    docs: Update docs/API.md with a proper link to the error handling section apio 2023-02-04 19:35:17 +0100
  • f09e6f2e85
    docs: Add documentation for the new "writing" API apio 2023-02-04 19:33:23 +0100
  • 845b357bef
    Update README.md apio 2023-02-04 19:03:55 +0100
  • 482ac6d949
    feat: Add write support apio 2023-02-04 19:02:08 +0100
  • 95700b6916
    docs: Update function signature of minitar_read_contents() 1.6.1 apio 2023-01-29 22:20:15 +0100
  • 45fbd789d6
    docs: Add APi documentation for MTAR_CHRDEV and MTAR_BLKDEV apio 2023-01-29 22:14:05 +0100
  • e96f7127bf
    chore: bump minor version 1.6.0 apio 2023-01-29 22:10:04 +0100
  • e9ca265068
    fix: Deprecate MINITAR_IGNORE_UNSUPPORTED_TYPES apio 2023-01-29 22:08:13 +0100
  • 5b0d597c09
    feat: Add support for block and character devices apio 2023-01-29 22:07:54 +0100
  • 1f08cf4b31
    feat: Add support for FIFOs apio 2023-01-27 23:00:53 +0100
  • 3772e9e3a6
    feat: Add support for hard links apio 2023-01-27 22:46:18 +0100
  • 94324c502e
    chore: Add a small shell script to generate release changelogs apio 2023-01-26 22:23:38 +0100
  • ce0db53a90
    chore: bump minor version 1.5.0 apio 2023-01-26 22:14:22 +0100
  • 599cac5811
    feat: Add support for symbolic links apio 2023-01-26 22:12:42 +0100
  • 4c90f9078b
    fix: Use memcpy() in minitar_strlcpy() apio 2023-01-26 21:40:57 +0100
  • 56250a226f
    chore: Add a CMake target to build all examples apio 2023-01-19 22:44:01 +0100
  • d8faf424ad
    fix: Skip the padding field when calculating header checksums apio 2023-01-19 22:32:01 +0100
  • 240a4f2f1a
    chore: Add examples to CMake as opt-in targets apio 2023-01-19 22:30:23 +0100
  • 9a7629459e
    chore: Add copyright headers to all source files apio 2023-01-12 21:04:52 +0100
  • bacc971007
    docs: Add build instructions apio 2023-01-12 20:45:46 +0100
  • 8e16524e1c
    docs: Add a note about examples to README.md apio 2023-01-12 20:06:22 +0100
  • e758012948
    feat: Add two examples apio 2023-01-12 20:04:28 +0100
  • 27dac123f4
    fix: Make minitar_read_contents() take a const pointer to entry apio 2023-01-12 20:03:42 +0100
  • 912b98d2d7
    fix: Include stddef.h in minitar.h to make sure we have size_t apio 2023-01-12 20:02:13 +0100
  • 5be3c7d684
    Enable syntax highlighting for the sample program apio 2023-01-12 19:34:33 +0100
  • dead1e3ee2
    feat: Move all internal structures to a minitar_entry_internal struct 1.4.0 apio 2023-01-12 19:20:32 +0100
  • 07c156c30b
    docs: Move API docs to docs/API.md and link there from README apio 2023-01-12 19:15:53 +0100
  • a790b6f960
    docs: Clarify some sentences apio 2023-01-12 19:13:31 +0100
  • d9b0dce41a
    Remove minitar_panic() wrapper around minitar_handle_panic() apio 2023-01-12 19:01:55 +0100
  • e568e88617
    Remove assertion that was not used apio 2023-01-12 19:00:12 +0100
  • 7b83dce96a
    feat: calculate header checksums and validate them against hdr->chksum apio 2023-01-11 21:02:37 +0100
  • f2f4d4ddab
    Update tar.h to use MSVC-compatible struct packing apio 2023-01-08 12:47:09 +0100
  • 087b099917
    Documentation update 1.3.1 apio 2022-12-31 12:57:24 +0100
  • 55276a78e2
    Add newlines at EOF so clang doesn't complain apio 2022-12-31 12:51:47 +0100
  • ab80b8ba45
    Correct includes apio 2022-12-31 12:48:53 +0100
  • 39d5ee5b9a
    Remove dependency on strtoul() and strtoull() by making our own specialized parse_octal() function apio 2022-12-31 12:40:21 +0100
  • 165352cdca
    Bounds checking :) apio 2022-12-30 11:13:55 +0100
  • d018d128a0
    Optionally ignore unsupported types instead of panicking apio 2022-12-30 11:13:21 +0100
  • 56d43f98ac
    Mention the fact that it is faster than GNU tar apio 2022-12-25 16:57:49 +0100
  • 7d4e774cf7
    Rewrite the entire API just to eliminate heap allocations 1.3.0 apio 2022-12-25 14:33:47 +0100
  • 89bc990725
    More optimization and heap elimination 1.2.1 apio 2022-12-25 13:31:11 +0100
  • 555059a742
    PERFORMANCE OPTIMIZATIONS apio 2022-12-25 13:21:09 +0100
  • 41a1e23abf
    Remove -ansi and make it compile under TCC apio 2022-12-25 13:06:02 +0100
  • 51b09f35ad
    MSVC does not have __attribute__((weak)) apio 2022-12-25 13:00:47 +0100
  • a04af496f0
    Use -ansi to build when using GCC/Clang apio 2022-12-25 12:59:09 +0100
  • 23c313d9cf
    Get rid of libgen.h in favor of our own basename :) apio 2022-12-25 12:50:57 +0100
  • 4ab1cd42c9 Update README.md apio 2022-12-01 18:39:03 +0000
  • c78566bb27 Split basename parsing into a helper function apio 2022-12-01 19:37:37 +0100
  • 125ec8f063 Provide strdup ourselves apio 2022-12-01 19:30:51 +0100
  • aff867f667 Add references to minitar_find_by_path() in README.md apio 2022-11-30 19:32:21 +0100
  • dd3d84be76 Update README.md apio 2022-11-30 19:25:55 +0100
  • 577f99cca6 Reorder function declarations in minitar.h apio 2022-11-30 11:20:36 +0100
  • 28d1eab1c1 Remove character and block devices from supported entry types apio 2022-11-30 11:20:13 +0100
  • eeb7bccda8 Skip null-terminating a result already null-terminated by strlcpy() apio 2022-11-30 11:14:11 +0100
  • e922cfe8b9 read_contents(): shortcircuit if an entry is empty apio 2022-11-30 10:36:19 +0100
  • e43f4d9a07 Add the root directory as an include directory for minitar.h apio 2022-11-23 21:22:40 +0100
  • 7b5e6196a7 Make some functions only used in util.c static apio 2022-11-23 20:59:15 +0100
  • f156f8472e attempt_read_entry -> try_to_read_valid_entry apio 2022-11-23 20:56:57 +0100
  • cdf1e0bcba Make minitar_read_contents cleaner apio 2022-11-23 20:56:08 +0100
  • 726afbae15 Update tar.h apio 2022-11-23 20:52:18 +0100
  • 400a51893e Update README.md apio 2022-11-23 20:50:40 +0100
  • 408342cb1d Remove shadow function apio 2022-11-23 20:41:44 +0100
  • 9420107a55 More commenting apio 2022-11-23 20:40:47 +0100
  • 9fe8159d5a More commenting + minitar_get_size_in_blocks -> minitar_align_up_to_block_size apio 2022-11-23 20:39:34 +0100
  • 653f9a90d0 Provide our own strndup + a lot more comments going on apio 2022-11-23 20:32:05 +0100
  • f929a860c4 Be more explicit about "what" is necessary to read the file properly apio 2022-11-23 18:32:42 +0100
  • fd85cf1c6a Full path is now metadata->path and basename metadata->name apio 2022-11-23 18:32:10 +0100
  • b7c27a25a6 Reorganize minitar_attempt_read_entry apio 2022-11-22 17:28:34 +0100
  • ba7b77bdae Rename internal function minitar_parse_tar_header -> minitar_parse_metadata_from_tar_header apio 2022-11-22 17:28:15 +0100
  • 0fbcdde399 Return fclose's status code apio 2022-11-22 17:25:17 +0100
  • d123c49946 Do not automatically read an entry's contents, leave it up to the user 1.0.0 apio 2022-11-21 20:20:37 +0100
  • 9695889040 Add FIXME apio 2022-11-21 19:17:29 +0100
  • e3fae29713 Safer string copying apio 2022-11-21 19:15:52 +0100
  • 54e1473aee Remove one more line apio 2022-11-21 19:08:10 +0100