Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-05-19 | make the atom functions not use global state | Timo Teräs | 1 | -1/+2 | |
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-07 | use SPDX-License-Identifier in source files | TBK | 1 | -3/+1 | |
2013-06-18 | all: various conversions to foreach_array_item, and simplifications of code | Timo Teräs | 1 | -3/+4 | |
2011-09-13 | all: update copyright year statement | Timo Teräs | 1 | -1/+1 | |
2010-06-05 | all: rework how arrays work | Timo Teräs | 1 | -2/+3 | |
Instead of having a null pointer, use a dummy array which just says the array is empty. This helps in multiple places of the code which would otherwise need explicitly need to check first if the array exists. This has been cause of multiple seg.faults in the past as the array check is easily omitted. This also removes (or fixes) all existing checks accordingly. | |||||
2009-07-14 | hash: allow caching of hash value | Timo Teras | 1 | -13/+6 | |
2009-01-17 | del: proper ordering of file db entry deletion | Timo Teras | 1 | -3/+2 | |
2009-01-16 | db, hash: fix package purging/upgrading to update filedb properly | Timo Teras | 1 | -0/+28 | |
2009-01-14 | db: keep only filename in file entries, hash by both directory and file | Timo Teras | 1 | -8/+18 | |
2009-01-06 | db, pkg: fix rest of memory leaks | Timo Teras | 1 | -1/+1 | |
2008-11-27 | hash, db: use apk_blob_t and list_* | Timo Teras | 1 | -20/+4 | |
2008-04-17 | Initial commit of some stuff written so far. Still in state of flux. Expect | Timo Teras | 1 | -0/+97 | |
breakage and major changes. |