summaryrefslogtreecommitdiff
path: root/lib/libalpm/db.c
Commit message (Collapse)AuthorAge
* Fixed pacman -U:Aaron Griffin2006-11-01
| | | | | | * 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
* Numerous changes:Aaron Griffin2006-10-31
| | | | | | | | | | | | * 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.
* Fixes from frugalware: few 'typos' included while patchingAaron Griffin2006-10-21
| | | | Also re-added Judd's dependancy fix in libalpm/deps.c
* Minor changes:Aaron Griffin2006-10-21
| | | | | * Moved the pmhandle_t extern decl around * Fixed a doxygen complaint
* A handful of minor changes:Aaron Griffin2006-10-20
| | | | | | | | * 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
* Merged frugalware changes (too many to list). Also added some config fileAaron Griffin2006-10-15
| | | | | handling changes (support [sections] to carry over to included files - this helps with backwards compatibility with existing pacman config files)
* first stage of i18n stuff from VMiklosJudd Vinet2006-05-15
|
* put back treename in db->pathAurelien Foret2006-03-14
|
* all _alpm_XXX_cmp functions are now publicAurelien Foret2006-03-08
|
* reworked the db object to prepare future integration with different backendsAurelien Foret2006-03-02
|
* improved _alpm_list_free handlingAurelien Foret2006-02-22
|
* dropped the MALLOC macroAurelien Foret2006-02-20
|
* FW: spaces -> tabs cosmetic fixJudd Vinet2006-02-20
|
* prepend library function names with _alpm (helped with the patch from ↵Aurelien Foret2006-02-17
| | | | | | VMiklos <vmiklos@frugalware.org>) added log and event callbacks to sync_commit internal transactions
* - db_write: add support to write both local and sync entriesAurelien Foret2006-02-16
| | | | - code cleanup
* - merged db_open and db_create into one single functionAurelien Foret2006-02-15
| | | | - moved the .lastupdate support to the frontend
* db_write: only write non-empty fields to databaseAurelien Foret2006-02-11
|
* cleaned up db_write error cases handlingAurelien Foret2006-01-27
|
* fixed potential file descriptor leaksAurelien Foret2006-01-27
|
* - merged pkg_new and pkg_dummy functionsAurelien Foret2006-01-09
| | | | - renamed _alpm_log_action to _alpm_logaction
* patch from VMiklos - use PACKAGE_VERSION instead of PACMAN_VERSIONJudd Vinet2006-01-02
|
* applied first try at sync conflict handling (VMiklos) plus a couple changesJudd Vinet2005-12-26
|
* Code update to make use of PKG_FULLNAME_LENAurelien Foret2005-10-08
|
* Reworked the cache handling to only load DEPENDS info by defaultAurelien Foret2005-10-08
|
* Moved the REPLACES and FORCE package fields from DESC to DEPENDS db entryAurelien Foret2005-10-08
|
* Added a missing include for CYGWIN targetAurelien Foret2005-10-06
|
* Fixed an error logAurelien Foret2005-10-06
|
* changed license package field to a listAurelien Foret2005-08-20
|
* added some debug logsAurelien Foret2005-05-03
|
* code cleanupAurelien Foret2005-05-02
|
* fixed the format of %REASON% entry when writing itAurelien Foret2005-04-24
|
* - fixed a cut'n'paste bug with %REASON% entryAurelien Foret2005-04-24
| | | | - factorized code between %SIZE% and %CSIZE% reading
* - added 'lastupdate' field to pmdb_tAurelien Foret2005-04-02
| | | | | - added a new public function alpm_db_getinfo - added a public parameter PM_PKG_DB for PM_PKG struct
* put back 3 _alpm_log() callsAurelien Foret2005-03-29
|
* clearer string length for a strncpy callAurelien Foret2005-03-29
|
* Replaced snprintf calls by the SNPRINTF macro to avoid buffer overflows when ↵Aurelien Foret2005-03-29
| | | | copying strings
* improved logs (use _alpm_log instead of fprintf)Aurelien Foret2005-03-28
|
* moved db_find_conflicts from db.c to conflict.cAurelien Foret2005-03-22
|
* - added db_setlastupdate to db.cAurelien Foret2005-03-22
| | | | - moved db_update from db.c to alpm.c
* replaced rewinddir() calls by db_rewind()Aurelien Foret2005-03-20
|
* Added support for .lastupdate files (from pacman 2.9.1)Aurelien Foret2005-03-20
|
* Removed an hardcoded string lengthAurelien Foret2005-03-19
|
* Removed an hardcoded string lengthAurelien Foret2005-03-19
|
* Bring back db_scan() modifications from pacman 2.9.1Aurelien Foret2005-03-16
| | | | (to cope with .lastupdate files in the db path)
* Added DB_TREENAME_LEN define to avoid hardcoded length for database stringAurelien Foret2005-03-16
|
* Added a missing argument in db_create()Aurelien Foret2005-03-16
|
* Removed a hardcoded reference to the 'local' database in db_create()Aurelien Foret2005-03-16
|
* Added a db_update() function to manage sync databases updates.Aurelien Foret2005-03-16
| | | | The API provides a wrapper alpm_db_update().
* Initial revisionJudd Vinet2005-03-15