summaryrefslogtreecommitdiff
path: root/src/io.c
AgeCommit message (Expand)AuthorFilesLines
2021-07-30extract: use extraction api, and implement it for v3 packagesTimo Teräs1-0/+55
2021-07-26adb: fix some error handling pathsTimo Teräs1-1/+1
2021-07-23db: allow read-only operations without cacheTimo Teräs1-0/+15
2021-07-22io: make apk_istream_get/read() fail on incomplete readTimo Teräs1-33/+27
2021-07-22io: formalize apk_ostream_write() always writing full dataTimo Teräs1-27/+18
2021-07-22rework apk_istream_splice and apk_istream_teeTimo Teräs1-104/+54
2021-07-22io: rework apk_istream_get_* to not return erros in blob valueTimo Teräs1-16/+18
2021-07-22adb: unify various interfaces to adb_m_processTimo Teräs1-8/+45
2021-07-22adb: support seamless de/compression of adb filesTimo Teräs1-2/+8
2021-06-23mkpkg, extract: implement support for symlinks, devices and fifosTimo Teräs1-1/+1
2021-06-21print: handle write() errors in apk_print_progress()Timo Teräs1-18/+18
2021-06-19reduce misuse of error codes from errno.hTimo Teräs1-3/+3
2021-06-11extract: new applet to extract v2 packagesTimo Teräs1-16/+11
2021-06-11add basic abstraction for cryptographic operationsTimo Teräs1-42/+29
2021-06-11mkpkg: new applet to create v2 packages with basic functionalityTimo Teräs1-90/+112
2021-04-12io_archive: add bounds limit for uname and gname tar header fieldsTimo Teräs1-6/+6
2021-04-11io: fix fd leak in error handling pathsTimo Teräs1-5/+20
2021-02-04io: Handle really long linesOlliver Schinagl1-1/+1
2021-01-11io: Handle long linesthibault.ferrante1-1/+1
2021-01-11database: Propagate errors when loading an APKINDEXthibault.ferrante1-5/+13
2020-10-09make apk_database optional for applets that don't need itTimo Teräs1-4/+4
2020-10-09io: make ostream_file always use tmpnameTimo Teräs1-19/+22
2020-10-09adb: introduce apk-tools database format, and few appletsTimo Teräs1-5/+4
2020-05-19make the atom functions not use global stateTimo Teräs1-7/+4
2020-05-07use SPDX-License-Identifier in source filesTBK1-3/+1
2020-02-14io: add stream copy helperTimo Teräs1-4/+30
2020-01-25don't ignore md parameter to apk_fileinfo_hash_xattr_array()Reid Rankin1-1/+1
2020-01-11io: use min() instead of MIN()Timo Teräs1-5/+4
2020-01-11io: convert bstream mmap to istream, remove the now obsolete bstream machineryTimo Teräs1-197/+65
2020-01-11convert remaining locations to use istream instead of bstreamTimo Teräs1-87/+110
2020-01-11istream, archive, db: convert db and tar function to use istreamTimo Teräs1-7/+157
2020-01-11istream: add buffering capabilityTimo Teräs1-33/+47
2020-01-06io: remove the now unused pid association with istreamTimo Teräs1-21/+6
2020-01-06io: remove unused size parameter from bstream closeTimo Teräs1-32/+22
2019-12-18io: use proper base struct types for method implementationsTimo Teräs1-50/+33
2018-10-30fix xattr hash to be sha1Timo Teräs1-1/+1
2018-10-26add support for openssl 1.1Timo Teräs1-19/+26
2018-01-04enable automatic update of indexes controlled by --cache-max-ageTimo Teräs1-5/+7
2017-10-12io: fix skip and splice to detect unexpected end-of-fileTimo Teräs1-28/+19
2017-08-23fix comparison of unsigned expression < 0 is always falseDmitry Golovin1-3/+5
2017-06-23io: make io vtables const struct, and add accessors for themTimo Teräs1-36/+58
2017-02-15add support for pre and post commit hooksHenrik Riomar1-3/+4
2015-11-09io, database: preserve [am]time for cached and fetched filesTimo Teräs1-0/+58
2015-10-08io: fix posix_fallocate failure handlingNatanael Copa1-1/+1
2015-09-03io: use posix_fallocate to allocate disk spaceTimo Teräs1-3/+8
2015-06-12fix bstream_from_fd to use mmap when availableTimo Teräs1-1/+2
2015-05-26detect failures in writing to file during final flush of buffersAlex Dowad1-1/+3
2015-04-22io: fix compiler error by including stdint.hAlex Dowad1-0/+1
2015-04-13fix tee io error handlingTimo Teräs1-3/+5
2015-04-08use memmove for copying buffer leftovers, as the ranges may overlapTimo Teräs1-1/+1