Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/db.c
AgeCommit message (Collapse)Author
2006-11-01Fixed pacman -U:Aaron Griffin
* Accidental database read of a file-based package (whoops) * Proper fetching of url-based -U or -A Removed some newlines from _alpm_log calls, to make debug output more concise
2006-10-31Numerous changes:Aaron Griffin
* Furthered the "lazy caching" to force the pkgcache to read nothing (INFRQ_NONE) by default. Anything requiring package data should now check the infolevel of each package and attempt to update it. This could be ironed out a bit more later (by using the front-end get_info function * Switched to libfetch. Drastic changes to the download code and the callback progress bar functions. Also fixed the return value of _alpm_downloadfiles_forreal. Downloading now supports http, ftp, https, and files urls, along with 'mtime's and numerous other fancy features from libfetch.
2006-10-21Fixes from frugalware: few 'typos' included while patchingAaron Griffin
Also re-added Judd's dependancy fix in libalpm/deps.c
2006-10-21Minor changes:Aaron Griffin
* Moved the pmhandle_t extern decl around * Fixed a doxygen complaint
2006-10-20A handful of minor changes:Aaron Griffin
* Removed the PMList typedef, in favor of the same naming scheme other structs use 'pmlist_t' * Added a time stamp on debug output, to make it more informational * Moved alpm_db_register to _alpm_db_register, making the public function not take a callback parameter
2006-10-15Merged frugalware changes (too many to list). Also added some config fileAaron Griffin
handling changes (support [sections] to carry over to included files - this helps with backwards compatibility with existing pacman config files)
2006-05-15first stage of i18n stuff from VMiklosJudd Vinet
2006-03-14put back treename in db->pathAurelien Foret
2006-03-08all _alpm_XXX_cmp functions are now publicAurelien Foret
2006-03-02reworked the db object to prepare future integration with different backendsAurelien Foret
2006-02-22improved _alpm_list_free handlingAurelien Foret
2006-02-20dropped the MALLOC macroAurelien Foret
2006-02-20FW: spaces -> tabs cosmetic fixJudd Vinet
2006-02-17prepend library function names with _alpm (helped with the patch from ↵Aurelien Foret
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 Foret
- code cleanup
2006-02-15- merged db_open and db_create into one single functionAurelien Foret
- moved the .lastupdate support to the frontend
2006-02-11db_write: only write non-empty fields to databaseAurelien Foret
2006-01-27cleaned up db_write error cases handlingAurelien Foret
2006-01-27fixed potential file descriptor leaksAurelien Foret
2006-01-09- merged pkg_new and pkg_dummy functionsAurelien Foret
- renamed _alpm_log_action to _alpm_logaction
2006-01-02patch from VMiklos - use PACKAGE_VERSION instead of PACMAN_VERSIONJudd Vinet
2005-12-26applied first try at sync conflict handling (VMiklos) plus a couple changesJudd Vinet
2005-10-08Code update to make use of PKG_FULLNAME_LENAurelien Foret
2005-10-08Reworked the cache handling to only load DEPENDS info by defaultAurelien Foret
2005-10-08Moved the REPLACES and FORCE package fields from DESC to DEPENDS db entryAurelien Foret
2005-10-06Added a missing include for CYGWIN targetAurelien Foret
2005-10-06Fixed an error logAurelien Foret
2005-08-20changed license package field to a listAurelien Foret
2005-05-03added some debug logsAurelien Foret
2005-05-02code cleanupAurelien Foret
2005-04-24fixed the format of %REASON% entry when writing itAurelien Foret
2005-04-24- fixed a cut'n'paste bug with %REASON% entryAurelien Foret
- factorized code between %SIZE% and %CSIZE% reading
2005-04-02- added 'lastupdate' field to pmdb_tAurelien Foret
- 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 Foret
2005-03-29clearer string length for a strncpy callAurelien Foret
2005-03-29Replaced snprintf calls by the SNPRINTF macro to avoid buffer overflows when ↵Aurelien Foret
copying strings
2005-03-28improved logs (use _alpm_log instead of fprintf)Aurelien Foret
2005-03-22moved db_find_conflicts from db.c to conflict.cAurelien Foret
2005-03-22- added db_setlastupdate to db.cAurelien Foret
- moved db_update from db.c to alpm.c
2005-03-20replaced rewinddir() calls by db_rewind()Aurelien Foret
2005-03-20Added support for .lastupdate files (from pacman 2.9.1)Aurelien Foret
2005-03-19Removed an hardcoded string lengthAurelien Foret
2005-03-19Removed an hardcoded string lengthAurelien Foret
2005-03-16Bring back db_scan() modifications from pacman 2.9.1Aurelien Foret
(to cope with .lastupdate files in the db path)
2005-03-16Added DB_TREENAME_LEN define to avoid hardcoded length for database stringAurelien Foret
2005-03-16Added a missing argument in db_create()Aurelien Foret
2005-03-16Removed a hardcoded reference to the 'local' database in db_create()Aurelien Foret
2005-03-16Added a db_update() function to manage sync databases updates.Aurelien Foret
The API provides a wrapper alpm_db_update().
2005-03-15Initial revisionJudd Vinet