aboutsummaryrefslogtreecommitdiffstats
path: root/src/blob.c
Commit message (Collapse)AuthorAgeFilesLines
* fix murmur3 hash unaligned memory accessTimo Teräs2020-02-181-29/+39
| | | | | | | - do not do unaligned accesses on non-x86 hardware - clean up the code a little bit (cherry picked from commit 3694dc5fa2660e2b241d706ec1672beb0a9c24b8)
* Fix compile with glibcIan Douglas Scott2019-05-281-1/+1
|
* fix strncpy bounds errorsTimo Teräs2019-02-131-0/+13
| | | | | | error: 'strncpy' specified bound 4096 equals destination size [-Werror=stringop-truncation] Based on patch by Elan Ruusamäe <glen@delfi.ee>
* blob: fix sign extension in test_bitTimo Teräs2016-04-031-1/+1
|
* blob: Add missing headerAndrew Wilcox2015-10-081-0/+1
|
* add simple stats appletTimo Teräs2015-06-121-1/+1
|
* free atoms when VALGRIND is definedTimo Teräs2015-06-121-0/+10
|
* optimize base64 decoding a bitTimo Teräs2015-06-121-20/+16
| | | | it's a hot path for decoding checksums in fdb
* use murmur3_32 hashTimo Teräs2015-06-111-6/+45
| | | | it is more efficient than the previously used djb hash
* ignore .apk-new files for overlaysTimo Teräs2015-04-081-0/+6
|
* support extended pax header in tar extractorTimo Teräs2014-11-011-0/+9
|
* libapk, apk(8): fix header inclusion issues with musl's headersWilliam Pitcock2013-06-121-1/+1
|
* solver, test: implements more provides things, add testsTimo Teräs2012-02-271-3/+4
| | | | ref #574
* blob: fix base64 decoding after previous optimizationsTimo Teräs2012-02-101-1/+1
|
* blob: optimize spn and cspnTimo Teräs2012-02-081-4/+87
|
* blob: optimize digit and base64 decodingTimo Teräs2012-02-081-41/+110
|
* solver, db: implement repository pinningTimo Teräs2011-10-291-4/+8
| | | | | | | | | | | | | | | | | | Improves /etc/apk/repositories format so you can say: http://nl.alpinelinux.org/alpine/v2.3/main @edge http://nl.alpinelinux.org/alpine/edge/main @testing http://nl.alpinelinux.org/alpine/edge/testing After which you can pin dependencies to these tags using: apk add stableapp newapp@edge bleedingapp@testing Apk will now by default only use the untagged repositories, but adding a tag to specific dependency: 1. will prefer that tag for the name 2. allowing pulling in dependencies from that tag (though, it prefers untagged packages to satisfy deps if possible) fixes #575
* all: update copyright year statementTimo Teräs2011-09-131-1/+1
|
* various: use 'atoms' for certain package field and misc fixesTimo Teräs2010-12-141-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
* blob: fix segfault on x86_64 with --virtualNatanael Copa2010-11-231-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.
* state: improve error messages from dependency failuresTimo Teräs2010-06-011-0/+8
| | | | | Print more information why installation changeset calculation failed. Fixes #187.
* blob: base64 encoding and decodingTimo Teras2009-07-151-17/+127
| | | | and prefer sha1 checksums to be stored in base64 encoded format.
* db: live with sha1 and md5Timo Teras2009-07-141-0/+49
| | | | this also convers scripts file to a tar archive.
* blob: add some likelyness to help compiler optimizationsTimo Teras2009-07-141-12/+12
|
* blob: some helpers to replace snprintfTimo Teras2009-07-141-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.
* hash: allow caching of hash valueTimo Teras2009-07-141-2/+7
|
* bstream: make tokenizable and load index using bstreamTimo Teras2009-07-141-17/+31
| | | | some fixes on index reading code too.
* csum: use openssl insteadTimo Teras2009-07-081-9/+0
| | | | | instead of having static md5 implemenation, use the openssl library for digest functions.
* blob: function to checksum a blobTimo Teras2009-06-281-1/+10
| | | | And use it in couple of places. Some whitespace fixes too.
* blob: add strspn helpersTimo Teras2009-04-141-0/+28
|
* db: keep only filename in file entries, hash by both directory and fileTimo Teras2009-01-141-1/+1
|
* hash, db: use apk_blob_t and list_*Timo Teras2008-11-271-0/+20
|
* db: parse new style .PKGINFOTimo Teras2008-11-061-1/+18
|
* Argument parsing. Some other stuff too.Timo Teras2008-04-211-0/+3
|
* Initial commit of some stuff written so far. Still in state of flux. ExpectTimo Teras2008-04-171-0/+125
breakage and major changes.