pacman/lib/libalpm
Dan McGee c885a953eb Enhance and utilize database status flags
* Move is_local standalone field to status enum
* Create VALID/INVALID flag pair
* Create EXISTS/MISSING flag pair

With these additional fields, we can be more intelligent with database
loading and messages to the user. We now only warn once if a sync
database does not exist and do not continue to try to load it once we
have marked it as missing.

The reason for the flags existing in pairs is so the unknown case can be
represented. There should never be a time when both flags in the same
group are true, but if they are both false, it represents the unknown
case. Care is taken to always manipulate both flags at the same time.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-18 10:47:41 -05:00
..
po Update message catalogs 2011-08-15 16:09:45 -05:00
.gitignore Remove unnecessary entries from .gitignore files 2007-07-16 16:49:28 -04:00
Makefile.am Add sha2 (sha256) routines from PolarSSL 2011-08-15 07:07:13 -05:00
add.c Allow fileconflict if unowned file moving into backup array 2011-07-14 15:34:04 -05:00
add.h Rename pmhandle_t to alpm_handle_t 2011-06-28 14:04:00 +10:00
alpm.c Prefix _alpm_errno_t members with ALPM 2011-07-02 02:01:39 +10:00
alpm.h Parse conflicts/provides/replaces at database load time 2011-08-15 12:56:41 -05:00
alpm_list.c Convert package filelists to an array instead of linked list 2011-07-21 15:04:30 -05:00
alpm_list.h Convert package filelists to an array instead of linked list 2011-07-21 15:04:30 -05:00
backup.c Allow fileconflict if unowned file moving into backup array 2011-07-14 15:34:04 -05:00
backup.h Allow fileconflict if unowned file moving into backup array 2011-07-14 15:34:04 -05:00
base64.c Update base64 PolarSSL code 2011-08-15 06:24:49 -05:00
base64.h Update base64 PolarSSL code 2011-08-15 06:24:49 -05:00
be_local.c Enhance and utilize database status flags 2011-08-18 10:47:41 -05:00
be_package.c Only check necessary signatures and checksums 2011-08-15 15:15:11 -05:00
be_sync.c Enhance and utilize database status flags 2011-08-18 10:47:41 -05:00
conflict.c Parse conflicts/provides/replaces at database load time 2011-08-15 12:56:41 -05:00
conflict.h Convert package filelists to an array instead of linked list 2011-07-21 15:04:30 -05:00
db.c Enhance and utilize database status flags 2011-08-18 10:47:41 -05:00
db.h Enhance and utilize database status flags 2011-08-18 10:47:41 -05:00
delta.c Prefix alpm_loglevel_t members with ALPM 2011-07-02 02:01:38 +10:00
delta.h Rename pmdelta_t to alpm_delta_t 2011-06-28 23:28:23 +10:00
deps.c Parse conflicts/provides/replaces at database load time 2011-08-15 12:56:41 -05:00
deps.h Rename pmdepmissing_t to alpm_depmissing_t 2011-06-28 23:28:23 +10:00
diskspace.c libalpm: fix a remaining old syntax of RET_ERR() macro 2011-08-15 14:55:14 -05:00
diskspace.h Rename pmhandle_t to alpm_handle_t 2011-06-28 14:04:00 +10:00
dload.c lib/libalpm/dload.c: Use STRDUP() instead of strdup() 2011-08-18 10:47:41 -05:00
dload.h absorb fileinfo struct into dload_payload 2011-07-05 23:00:03 -04:00
error.c Attempt to fix up some of the brokenness around failed package loads 2011-08-08 19:42:52 -05:00
graph.c Rename pmgraph_t to alpm_graph_t 2011-06-28 23:28:24 +10:00
graph.h Rename pmgraph_t to alpm_graph_t 2011-06-28 23:28:24 +10:00
group.c Rename internal functions with grp in their name 2011-06-29 15:52:33 +10:00
group.h Rename internal functions with grp in their name 2011-06-29 15:52:33 +10:00
handle.c Fix test suite when GPGME is disabled 2011-07-18 21:06:24 -05:00
handle.h signing: move to new signing verification and return scheme 2011-07-05 10:13:20 -05:00
log.c Prefix _alpm_errno_t members with ALPM 2011-07-02 02:01:39 +10:00
log.h Rename pmloglevel_t to alpm_loglevel_t 2011-06-28 23:28:24 +10:00
md5.c Update MD5 routines with changes from PolarSSL 2011-08-11 20:17:21 -05:00
md5.h Update MD5 routines with changes from PolarSSL 2011-08-11 20:17:21 -05:00
package.c Enhance and utilize database status flags 2011-08-18 10:47:41 -05:00
package.h Validate the sha256sum if available 2011-08-15 12:13:35 -05:00
pkghash.c Rename pmpkghash_t to alpm_pkghash_t 2011-06-28 23:28:24 +10:00
pkghash.h Rename pmpkghash_t to alpm_pkghash_t 2011-06-28 23:28:24 +10:00
rawstr.c include util.h in rawstr.c 2011-07-05 22:36:40 -05:00
remove.c Dependency code style cleanups 2011-08-11 11:18:55 -05:00
remove.h Unify package removal code 2011-07-06 09:26:09 -05:00
sha2.c Add sha2 (sha256) routines from PolarSSL 2011-08-15 07:07:13 -05:00
sha2.h Add sha2 (sha256) routines from PolarSSL 2011-08-15 07:07:13 -05:00
signing.c Fix compilation using --without-gpgme 2011-08-16 19:51:21 -05:00
signing.h Only check necessary signatures and checksums 2011-08-15 15:15:11 -05:00
sync.c Enhance and utilize database status flags 2011-08-18 10:47:41 -05:00
sync.h Rename pmhandle_t to alpm_handle_t 2011-06-28 14:04:00 +10:00
trans.c replace access() calls for debug info where applicable 2011-07-18 10:44:28 -05:00
trans.h Rename pmtransstate_t to alpm_transstate_t 2011-06-28 23:28:24 +10:00
util.c Validate the sha256sum if available 2011-08-15 12:13:35 -05:00
util.h Validate the sha256sum if available 2011-08-15 12:13:35 -05:00
version.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00