summaryrefslogtreecommitdiff
path: root/src/blob.c
AgeCommit message (Collapse)AuthorFilesLines
2010-12-14various: use 'atoms' for certain package field and misc fixesTimo Teräs1-0/+67
- 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-11-23blob: fix segfault on x86_64 with --virtualNatanael Copa1-1/+1
blob.ptr might be non-null on empty field in /var/lib/apk/installed so we compare with blob length. This fixes a segfault on x86_64.
2010-06-01state: improve error messages from dependency failuresTimo Teräs1-0/+8
Print more information why installation changeset calculation failed. Fixes #187.
2009-07-15blob: base64 encoding and decodingTimo Teras1-17/+127
and prefer sha1 checksums to be stored in base64 encoded format.
2009-07-14db: live with sha1 and md5Timo Teras1-0/+49
this also convers scripts file to a tar archive.
2009-07-14blob: add some likelyness to help compiler optimizationsTimo Teras1-12/+12
2009-07-14blob: some helpers to replace snprintfTimo Teras1-36/+91
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-2/+7
2009-07-14bstream: make tokenizable and load index using bstreamTimo Teras1-17/+31
some fixes on index reading code too.
2009-07-08csum: use openssl insteadTimo Teras1-9/+0
instead of having static md5 implemenation, use the openssl library for digest functions.
2009-06-28blob: function to checksum a blobTimo Teras1-1/+10
And use it in couple of places. Some whitespace fixes too.
2009-04-14blob: add strspn helpersTimo Teras1-0/+28
2009-01-14db: keep only filename in file entries, hash by both directory and fileTimo Teras1-1/+1
2008-11-27hash, db: use apk_blob_t and list_*Timo Teras1-0/+20
2008-11-06db: parse new style .PKGINFOTimo Teras1-1/+18
2008-04-21Argument parsing. Some other stuff too.Timo Teras1-0/+3
2008-04-17Initial commit of some stuff written so far. Still in state of flux. ExpectTimo Teras1-0/+125
breakage and major changes.