summaryrefslogtreecommitdiff
path: root/lib/libalpm/deps.c
Commit message (Collapse)AuthorAge
* This mainly deals with code clarity- removing currently unneededAaron Griffin2007-01-24
| | | | | | | | | | optimizations in order to make the code much more readable and type-checkable. Every enum in the library now has it's own type that should be used instead of the generic 'unsigned char'. In addition, several #define statements dealing with constants were converted to enums. Signed-off-by: Dan McGee <dpmcgee@gmail.com>
* Preliminary checkin for alpm_list conversionAaron Griffin2007-01-19
| | | | | | | | | * 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
* Dan McGee <dpmcgee@gmail.com>Aaron Griffin2007-01-18
| | | | | | | | | | | | | | * 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
* Corrected -Rsc operation - dependancy info was not being read from the DBAaron Griffin2006-12-05
|
* * Fixed the bug where -R pkgA pkgB failed when pkgA depended on pkgBAaron Griffin2006-12-01
|
* * Cosmetic changes and typo fixesAaron Griffin2006-12-01
| | | | | * IgnorePkg and --ignore work again * Partial changes to support removal of conflicts for -U and -A (INCOMPLETE)
* * Fixed some error output for "-Sd" and "-Rsc" dealing with missing/ignoredAaron Griffin2006-11-24
| | | | | depends * Added valgrind suppression file
* * Completed getinfo api changes (pmmissing_t, pmtrans_t, etc)Aaron Griffin2006-11-22
| | | | | | | | * 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
* 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
* 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)
* bugfix: when looking at provides, defer to the new, to-be-installed ↵Judd Vinet2006-07-04
| | | | package's provisios instead of the the existing package's
* first stage of i18n stuff from VMiklosJudd Vinet2006-05-15
|
* removed an unexpected logAurelien Foret2006-03-07
|
* reworked the db object to prepare future integration with different backendsAurelien Foret2006-03-02
|
* added ERROR logs in case of malloc failures (patch from VMiklos ↵Aurelien Foret2006-03-01
| | | | <vmiklos@frugalware.org>)
* 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
* code cleanupAurelien Foret2006-02-07
|
* resolvedeps: return the depmiss info to the frontend in case of failureAurelien Foret2006-01-21
|
* more code cleanup yetAurelien Foret2006-01-18
|
* fixed detection for duplicate entries in list of deps/conflictsAurelien Foret2006-01-17
|
* pulled out conflict checkings from checkdeps() in its own function: ↵Aurelien Foret2006-01-15
| | | | checkconflicts()
* checkdeps:Aurelien Foret2006-01-14
| | | | | - merged missing chunks of code from pacman 2.9.7 - more debug logs
* - merged pkg_new and pkg_dummy functionsAurelien Foret2006-01-09
| | | | - renamed _alpm_log_action to _alpm_logaction
* cleanupJudd Vinet2006-01-08
|
* removed old/disable provides-conflict checking codeJudd Vinet2006-01-08
|
* In the database-against-targets conflict checks, scan db packages' providesJudd Vinet2006-01-08
| | | | | fields and look for packages that want to exclusively provide a provisio that the target package also provides.
* added more debug logs in the sync conflict/replace codeAurelien Foret2006-01-07
|
* - started to rename list_XXX calls to _alpm_list_XXXAurelien Foret2006-01-05
| | | | - fixed 2 compilation warnings
* fixed a segfault in removdepsAurelien Foret2006-01-02
| | | | updated removedeps to keep in sync with pacman 2.9.x
* patch from VMiklos - use PACKAGE_VERSION instead of PACMAN_VERSIONJudd Vinet2006-01-02
|
* Fixed a typo (spelling) fix (patch from VMiklos <vmiklos@frugalware.org>)Aurelien Foret2005-12-28
|
* renamed rpmvercmp to versioncmp, added some fixes from isteve@bofh.czJudd Vinet2005-12-26
|
* bugfix: before searching databases for a dependency, make sure one of the ↵Judd Vinet2005-10-21
| | | | packages in the final list doesn't already provide that dependency
* added conversation callback support for transactionsJudd Vinet2005-10-09
|
* fixed a memory leak and avoided to modify a read-only parameterAurelien Foret2005-05-04
|
* got ride of an ORE tag in resolvedeps()Aurelien Foret2005-04-24
|
* use the cache instead of calling db_scan()Aurelien Foret2005-04-24
|
* renamed list_is_ptrin() in list_is_in()Aurelien Foret2005-04-23
|
* avoided two calls to db_scan() in checkdeps()Aurelien Foret2005-04-20
|
* - fixed args order in list_is_ptrin()Aurelien Foret2005-04-20
| | | | - fixed several memory leaks
* removed a leftover commentAurelien Foret2005-04-08
|
* updated structure names (PM_SYNCPKG), and added transaction queues (install ↵Aurelien Foret2005-04-06
| | | | & remove)
* fixed a log levelAurelien Foret2005-04-02
|
* reworked resolvedeps:Aurelien Foret2005-04-02
| | | | | | - used the cache instead of db_scan() calls - improved log messages - more sanity checks
* started the work on "pacman_sync"Aurelien Foret2005-03-30
|
* Turned pmdepmissing_t into an opaque structureAurelien Foret2005-03-29
|
* Replaced snprintf calls by the SNPRINTF macro to avoid buffer overflows when ↵Aurelien Foret2005-03-29
| | | | copying strings
* replaced occ of list_free() by FREELIST/FREELISTPTR macrosAurelien Foret2005-03-28
|