summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/deps.c
AgeCommit message (Collapse)AuthorFilesLines
2007-01-19Preliminary checkin for alpm_list conversionAaron Griffin1-43/+43
* renamed pmlist_t -> alpm_list_t * made alpm_list_t a public type (alpm_list.h header) * removed additional storage for registered DBs in pacman source * some code cleanup * removed duplicate (pm)list_display functions from pacman source * misc code cleanup
2007-01-18Dan McGee <dpmcgee@gmail.com>Aaron Griffin1-0/+4
* Removed some unnecessary headers and library links * Made things static if possible * Cleaned up makefiles a bit * Fixed some old comments in the code * Fixed some errors the static code checker splint pointed out * Backwards arguments in a memset call in _alpm_db_read (could have been worse) * Other various small fixes Other: * Default to 80 columns when getcols cannot determine display width * Removal of ._install as a valid install file in packages
2006-12-05Corrected -Rsc operation - dependancy info was not being read from the DBAaron Griffin1-0/+3
2006-12-01* Fixed the bug where -R pkgA pkgB failed when pkgA depended on pkgBAaron Griffin1-9/+20
2006-12-01* Cosmetic changes and typo fixesAaron Griffin1-2/+3
* IgnorePkg and --ignore work again * Partial changes to support removal of conflicts for -U and -A (INCOMPLETE)
2006-11-24* Fixed some error output for "-Sd" and "-Rsc" dealing with missing/ignoredAaron Griffin1-1/+2
depends * Added valgrind suppression file
2006-11-22* Completed getinfo api changes (pmmissing_t, pmtrans_t, etc)Aaron Griffin1-90/+51
* Modified some dependancy checking * Changed "performing local database upgrade" message to be more clear * Change 'usize' to 'isize' in database files * Scriptlet output is now sent to pacman's log file * Limited some debugging output to be more clear
2006-10-31Numerous changes:Aaron Griffin1-2/+23
* 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 Griffin1-12/+28
Also re-added Judd's dependancy fix in libalpm/deps.c
2006-10-20A handful of minor changes:Aaron Griffin1-23/+23
* 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 Griffin1-37/+55
handling changes (support [sections] to carry over to included files - this helps with backwards compatibility with existing pacman config files)
2006-07-04bugfix: when looking at provides, defer to the new, to-be-installed ↵Judd Vinet1-12/+27
package's provisios instead of the the existing package's
2006-05-15first stage of i18n stuff from VMiklosJudd Vinet1-18/+19
2006-03-07removed an unexpected logAurelien Foret1-1/+0
2006-03-02reworked the db object to prepare future integration with different backendsAurelien Foret1-8/+6
2006-03-01added ERROR logs in case of malloc failures (patch from VMiklos ↵Aurelien Foret1-1/+4
<vmiklos@frugalware.org>)
2006-02-17prepend library function names with _alpm (helped with the patch from ↵Aurelien Foret1-57/+57
VMiklos <vmiklos@frugalware.org>) added log and event callbacks to sync_commit internal transactions
2006-02-07code cleanupAurelien Foret1-8/+0
2006-01-21resolvedeps: return the depmiss info to the frontend in case of failureAurelien Foret1-4/+23
2006-01-18more code cleanup yetAurelien Foret1-89/+53
2006-01-17fixed detection for duplicate entries in list of deps/conflictsAurelien Foret1-3/+18
2006-01-15pulled out conflict checkings from checkdeps() in its own function: ↵Aurelien Foret1-232/+102
checkconflicts()
2006-01-14checkdeps:Aurelien Foret1-9/+50
- merged missing chunks of code from pacman 2.9.7 - more debug logs
2006-01-09- merged pkg_new and pkg_dummy functionsAurelien Foret1-2/+2
- renamed _alpm_log_action to _alpm_logaction
2006-01-08cleanupJudd Vinet1-3/+0
2006-01-08removed old/disable provides-conflict checking codeJudd Vinet1-29/+1
2006-01-08In the database-against-targets conflict checks, scan db packages' providesJudd Vinet1-3/+52
fields and look for packages that want to exclusively provide a provisio that the target package also provides.
2006-01-07added more debug logs in the sync conflict/replace codeAurelien Foret1-4/+10
2006-01-05- started to rename list_XXX calls to _alpm_list_XXXAurelien Foret1-1/+0
- fixed 2 compilation warnings
2006-01-02fixed a segfault in removdepsAurelien Foret1-5/+31
updated removedeps to keep in sync with pacman 2.9.x
2006-01-02patch from VMiklos - use PACKAGE_VERSION instead of PACMAN_VERSIONJudd Vinet1-1/+1
2005-12-28Fixed a typo (spelling) fix (patch from VMiklos <vmiklos@frugalware.org>)Aurelien Foret1-1/+1
2005-12-26renamed rpmvercmp to versioncmp, added some fixes from isteve@bofh.czJudd Vinet1-5/+5
2005-10-21bugfix: before searching databases for a dependency, make sure one of the ↵Judd Vinet1-1/+17
packages in the final list doesn't already provide that dependency
2005-10-09added conversation callback support for transactionsJudd Vinet1-5/+5
2005-05-04fixed a memory leak and avoided to modify a read-only parameterAurelien Foret1-30/+25
2005-04-24got ride of an ORE tag in resolvedeps()Aurelien Foret1-6/+3
2005-04-24use the cache instead of calling db_scan()Aurelien Foret1-13/+8
2005-04-23renamed list_is_ptrin() in list_is_in()Aurelien Foret1-6/+6
2005-04-20avoided two calls to db_scan() in checkdeps()Aurelien Foret1-9/+5
2005-04-20- fixed args order in list_is_ptrin()Aurelien Foret1-6/+18
- fixed several memory leaks
2005-04-08removed a leftover commentAurelien Foret1-4/+0
2005-04-06updated structure names (PM_SYNCPKG), and added transaction queues (install ↵Aurelien Foret1-1/+1
& remove)
2005-04-02fixed a log levelAurelien Foret1-1/+1
2005-04-02reworked resolvedeps:Aurelien Foret1-18/+11
- used the cache instead of db_scan() calls - improved log messages - more sanity checks
2005-03-30started the work on "pacman_sync"Aurelien Foret1-69/+42
2005-03-29Turned pmdepmissing_t into an opaque structureAurelien Foret1-36/+35
2005-03-29Replaced snprintf calls by the SNPRINTF macro to avoid buffer overflows when ↵Aurelien Foret1-20/+20
copying strings
2005-03-28replaced occ of list_free() by FREELIST/FREELISTPTR macrosAurelien Foret1-19/+7
2005-03-28improved logs (use _alpm_log instead of fprintf)Aurelien Foret1-7/+5