summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/db.c
AgeCommit message (Collapse)AuthorFilesLines
2006-02-20dropped the MALLOC macroAurelien Foret1-2/+9
2006-02-20FW: spaces -> tabs cosmetic fixJudd Vinet1-12/+12
2006-02-17prepend library function names with _alpm (helped with the patch from ↵Aurelien Foret1-24/+24
VMiklos <vmiklos@frugalware.org>) added log and event callbacks to sync_commit internal transactions
2006-02-16- db_write: add support to write both local and sync entriesAurelien Foret1-40/+69
- code cleanup
2006-02-15- merged db_open and db_create into one single functionAurelien Foret1-81/+12
- moved the .lastupdate support to the frontend
2006-02-11db_write: only write non-empty fields to databaseAurelien Foret1-52/+82
2006-01-27cleaned up db_write error cases handlingAurelien Foret1-7/+15
2006-01-27fixed potential file descriptor leaksAurelien Foret1-12/+21
2006-01-09- merged pkg_new and pkg_dummy functionsAurelien Foret1-1/+1
- renamed _alpm_log_action to _alpm_logaction
2006-01-02patch from VMiklos - use PACKAGE_VERSION instead of PACMAN_VERSIONJudd Vinet1-1/+1
2005-12-26applied first try at sync conflict handling (VMiklos) plus a couple changesJudd Vinet1-0/+14
2005-10-08Code update to make use of PKG_FULLNAME_LENAurelien Foret1-2/+2
2005-10-08Reworked the cache handling to only load DEPENDS info by defaultAurelien Foret1-11/+7
2005-10-08Moved the REPLACES and FORCE package fields from DESC to DEPENDS db entryAurelien Foret1-10/+10
2005-10-06Added a missing include for CYGWIN targetAurelien Foret1-0/+3
2005-10-06Fixed an error logAurelien Foret1-1/+1
2005-08-20changed license package field to a listAurelien Foret1-4/+6
2005-05-03added some debug logsAurelien Foret1-0/+4
2005-05-02code cleanupAurelien Foret1-13/+11
2005-04-24fixed the format of %REASON% entry when writing itAurelien Foret1-1/+1
2005-04-24- fixed a cut'n'paste bug with %REASON% entryAurelien Foret1-9/+2
- factorized code between %SIZE% and %CSIZE% reading
2005-04-02- added 'lastupdate' field to pmdb_tAurelien Foret1-0/+5
- added a new public function alpm_db_getinfo - added a public parameter PM_PKG_DB for PM_PKG struct
2005-03-29put back 3 _alpm_log() callsAurelien Foret1-6/+3
2005-03-29clearer string length for a strncpy callAurelien Foret1-1/+1
2005-03-29Replaced snprintf calls by the SNPRINTF macro to avoid buffer overflows when ↵Aurelien Foret1-4/+4
copying strings
2005-03-28improved logs (use _alpm_log instead of fprintf)Aurelien Foret1-14/+20
2005-03-22moved db_find_conflicts from db.c to conflict.cAurelien Foret1-131/+0
2005-03-22- added db_setlastupdate to db.cAurelien Foret1-48/+14
- moved db_update from db.c to alpm.c
2005-03-20replaced rewinddir() calls by db_rewind()Aurelien Foret1-2/+2
2005-03-20Added support for .lastupdate files (from pacman 2.9.1)Aurelien Foret1-10/+68
2005-03-19Removed an hardcoded string lengthAurelien Foret1-1/+1
2005-03-19Removed an hardcoded string lengthAurelien Foret1-1/+1
2005-03-16Bring back db_scan() modifications from pacman 2.9.1Aurelien Foret1-12/+19
(to cope with .lastupdate files in the db path)
2005-03-16Added DB_TREENAME_LEN define to avoid hardcoded length for database stringAurelien Foret1-1/+1
2005-03-16Added a missing argument in db_create()Aurelien Foret1-1/+1
2005-03-16Removed a hardcoded reference to the 'local' database in db_create()Aurelien Foret1-1/+1
2005-03-16Added a db_update() function to manage sync databases updates.Aurelien Foret1-0/+32
The API provides a wrapper alpm_db_update().
2005-03-15Initial revisionJudd Vinet1-0/+651