Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-10-09 | make apk_database optional for applets that don't need it | Timo Teräs | 1 | -2/+5 | |
The new v3 applets don't use it, and eventually all applets will use the new formats only. This prepares the code for this, and moves trust, id_cache, and root_fd to apk_ctx which is enough for v3 applets at this time. The generic code is made to not initialize apk_database if it's not needed. | |||||
2020-05-19 | make the atom functions not use global state | Timo Teräs | 1 | -3/+1 | |
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 | |
2020-02-14 | rename all applets sources to app_*.c | Timo Teräs | 1 | -0/+64 | |