Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-08-12 | io: better error handling when writing stuff out | Timo Teras | 1 | -4/+9 | |
also have the output stream support writing to temporary file and do renameat/unlinkat on close depending on if all writes succeeded or not. | |||||
2009-07-22 | pkg: cleanup the signing code | Timo Teras | 1 | -3/+8 | |
smaller callback and less cases to check. also reintroduce the oneshot digest flag, hopefully correct this time. | |||||
2009-07-22 | various: more informative error messages | Timo Teras | 1 | -12/+12 | |
2009-07-22 | various: installation fixes | Timo Teras | 1 | -8/+8 | |
- extract everything as .apk-new and overwrite only after data has been checksummed - url construction fixes (to work with simple http servers) - end of gunzip stream fixed - remove oneshot digesting flag for now as it's usage was broken | |||||
2009-07-21 | pkg: fix indexing of multi-part apks | Timo Teras | 1 | -21/+27 | |
2009-07-21 | db: fixes to package checksumming while installing it | Timo Teras | 1 | -3/+10 | |
2009-07-20 | gzip: fix finalization of compressed output | Timo Teras | 1 | -5/+8 | |
the unflushed data when closing file can be several thousand kiloes, loop until all is written out. | |||||
2009-07-17 | digest: use oneshot context flag where approriate | Timo Teras | 1 | -25/+19 | |
speeds up digest calculation on some cases. | |||||
2009-07-17 | pkg: fix index generation | Timo Teras | 1 | -7/+10 | |
that got broke during verify implementation. | |||||
2009-07-16 | various: new style index generation | Timo Teras | 1 | -9/+89 | |
change the index generation to do old index, or the new style index where package identity is sha1 of control block and it's contained within an .tar.gz to allow signing in future. | |||||
2009-07-16 | gzip: always autoclose the inner stream | Timo Teras | 1 | -5/+2 | |
2009-07-14 | bstream: make tokenizable and load index using bstream | Timo Teras | 1 | -1/+5 | |
some fixes on index reading code too. | |||||
2009-07-13 | io: move csumming away from bstream to gunzip | Timo Teras | 1 | -8/+41 | |
in future we want to checksum on gzip boundary basis, not the full file. | |||||
2009-07-10 | gunzip: accept concatenated gzip streams | Timo Teras | 1 | -1/+11 | |
allow .apk to consist of multiple separate gzip streams which are just concatenated together. | |||||
2009-01-06 | io: fix some memory leaks | Timo Teras | 1 | -1/+5 | |
2009-01-06 | io: check inner stream existance before creating gunzip stream | Timo Teras | 1 | -0/+3 | |
2008-11-28 | io: apk_ostream stuff | Timo Teras | 1 | -1/+1 | |
2008-11-14 | db: checksum installed files, protect config files | Timo Teras | 1 | -1/+0 | |
Checksum of installed is computed on the fly when extracting them and it'll be saved to fdb. When installing config files those are diverted with suffix .apk-new if earlier version of same file with local changes exist. | |||||
2008-11-07 | use zlib internally to decompress | Timo Teras | 1 | -0/+93 | |