summaryrefslogtreecommitdiff
path: root/src/apk_blob.h
AgeCommit message (Collapse)AuthorFilesLines
2020-05-19make the atom functions not use global stateTimo Teräs1-5/+0
This greatly helps with memory management on applications that may want to daemonize and open/close database several times. Also the lifetime and "owner" of memory for all data is now explicitly bound to owning struct apk_database, which might be helpful when writing language bindings. As side effect, the interned "atoms" are unique only within what apk_database, so comparing packages from different apk_database may not work as expected. Fixes #10697
2020-05-07use SPDX-License-Identifier in source filesTBK1-3/+1
2020-01-25don't use hardcoded checksum buffer sizesReid Rankin1-3/+6
2019-02-13fix strncpy bounds errorsTimo Teräs1-0/+4
error: 'strncpy' specified bound 4096 equals destination size [-Werror=stringop-truncation] Based on patch by Elan Ruusamäe <glen@delfi.ee>
2018-10-26add support for openssl 1.1Timo Teräs1-1/+1
2015-04-08ignore .apk-new files for overlaysTimo Teräs1-0/+1
2014-11-01support extended pax header in tar extractorTimo Teräs1-0/+1
2012-02-27solver, test: implements more provides things, add testsTimo Teräs1-0/+1
ref #574
2012-02-08blob: optimize spn and cspnTimo Teräs1-2/+5
2012-01-12db: support line feed as 'world' dependency separatorTimo Teräs1-0/+14
* default writing the world with spaces if a space is found (for backwards compatibility) for now
2011-09-13all: update copyright year statementTimo Teräs1-1/+1
2011-09-09print: minor cleanup to indented writerTimo Teräs1-8/+0
2010-12-14various: use 'atoms' for certain package field and misc fixesTimo Teräs1-0/+7
- implement a hash table for commonly shared fields such as license, version and architecture - use macroes to print blobs or pkgname-pkgver strings - fix some old cruft
2010-12-09io: enhance istream/bstreams with pipe to forked childTimo Teräs1-1/+2
* prunes the child pid to avoid zombies * handles the errors so e.g. file-not-found is reported properly
2010-06-01state: improve error messages from dependency failuresTimo Teräs1-0/+1
Print more information why installation changeset calculation failed. Fixes #187.
2009-08-13db: implement triggers (fixes #45)Timo Teras1-0/+2
2009-08-11db, audit: audit symlinks (by hash of the link target)Timo Teras1-6/+7
2009-08-06state: indent package listsTimo Teras1-0/+8
2009-07-15blob: base64 encoding and decodingTimo Teras1-0/+2
and prefer sha1 checksums to be stored in base64 encoded format.
2009-07-14db: live with sha1 and md5Timo Teras1-0/+44
this also convers scripts file to a tar archive.
2009-07-14blob: some helpers to replace snprintfTimo Teras1-5/+7
snprintf is dog slow. make the blob stuff have some helper functions so we can use them in code paths that are executed often.
2009-07-14hash: allow caching of hash valueTimo Teras1-0/+1
2009-07-14bstream: make tokenizable and load index using bstreamTimo Teras1-3/+4
some fixes on index reading code too.
2009-07-08csum: use openssl insteadTimo Teras1-1/+0
instead of having static md5 implemenation, use the openssl library for digest functions.
2009-06-28blob: function to checksum a blobTimo Teras1-0/+2
And use it in couple of places. Some whitespace fixes too.
2009-06-25help: auto construct helpTimo Teras1-2/+3
And add some more verbosity to the help message.
2009-04-14blob: add strspn helpersTimo Teras1-1/+9
2008-11-27hash, db: use apk_blob_t and list_*Timo Teras1-1/+3
2008-11-27various: use apk_istream apiTimo Teras1-0/+2
2008-11-06db: parse new style .PKGINFOTimo Teras1-1/+4
2008-04-17Initial commit of some stuff written so far. Still in state of flux. ExpectTimo Teras1-0/+37
breakage and major changes.