pacman/lib/libalpm
Nagy Gabor 544bcbe664 Implement simple topological sort algorithm for sortbydeps
Based on the "depth first search" algorithm, for more infos visit:
http://en.wikipedia.org/wiki/Topological_sorting

The previous algorithm used by sortbydeps was too slow, and to work around
it the number of steps needed to get correct result was reduced greatly.
So it produced wrong results in several cases :
1) smoke001.py
2) http://bugs.archlinux.org/task/7229

More here: http://archlinux.org/pipermail/pacman-dev/2007-April/008057.html

Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-06-10 22:13:58 -04:00
..
po Update the pot language files 2007-04-25 02:58:00 -04:00
.gitignore Move .cvsignore -> .gitignore 2007-03-27 21:06:31 -04:00
Doxyfile Update Doxyfile for v1.5.2 2007-04-25 11:07:48 -04:00
Makefile.am Implement simple topological sort algorithm for sortbydeps 2007-06-10 22:13:58 -04:00
add.c Const correctness! 2007-06-05 17:34:33 -04:00
add.h Preliminary checkin for alpm_list conversion 2007-01-19 09:28:44 +00:00
alpm.c Clean up unnecessary headers and macros from alpm.c 2007-06-05 17:32:53 -04:00
alpm.h Implement simple topological sort algorithm for sortbydeps 2007-06-10 22:13:58 -04:00
alpm_list.c Const correctness! 2007-06-05 17:34:33 -04:00
alpm_list.h Const correctness! 2007-06-05 17:34:33 -04:00
backup.c Const correctness! 2007-06-05 17:34:33 -04:00
backup.h Const correctness! 2007-06-05 17:34:33 -04:00
be_files.c be_files.c: Fix compilation bug since I removed unnecessary LOG_STR_LEN 2007-06-09 13:37:47 -04:00
cache.c Const correctness! 2007-06-05 17:34:33 -04:00
cache.h Big commit this time: 2007-03-03 08:13:59 +00:00
conflict.c Remove STRNCPY macro from libalpm 2007-04-29 12:03:09 -04:00
conflict.h This commit looks much more monumental than it is. Almost all just #include 2007-03-05 22:13:33 +00:00
db.c Add a alpm_db_test() function to the backend for checking DB consistency 2007-06-09 12:58:12 -04:00
db.h Add a alpm_db_test() function to the backend for checking DB consistency 2007-06-09 12:58:12 -04:00
deps.c Implement simple topological sort algorithm for sortbydeps 2007-06-10 22:13:58 -04:00
deps.h Implement simple topological sort algorithm for sortbydeps 2007-06-10 22:13:58 -04:00
error.c Const correctness! 2007-06-05 17:34:33 -04:00
error.h * Cosmetic changes and typo fixes 2006-12-01 09:32:29 +00:00
group.c Const correctness! 2007-06-05 17:34:33 -04:00
group.h Remove FREEGRP macro and correctly type _alpm_grp_free 2007-04-27 20:38:54 -04:00
handle.c Allow multiple CacheDirs to be specified 2007-06-09 13:03:25 -04:00
handle.h Allow multiple CacheDirs to be specified 2007-06-09 13:03:25 -04:00
log.c Remove logmask stuff from backend; switch logging callback to new pm_printf 2007-06-09 12:57:50 -04:00
log.h Remove logmask stuff from backend; switch logging callback to new pm_printf 2007-06-09 12:57:50 -04:00
md5.c This commit looks much more monumental than it is. Almost all just #include 2007-03-05 22:13:33 +00:00
md5.h * Added missing header include guards in md5.h and sha1.h. 2007-03-06 01:21:41 +00:00
md5driver.c Move functions out of alpm.c to where they belong 2007-06-04 22:52:04 -04:00
package.c Allow multiple CacheDirs to be specified 2007-06-09 13:03:25 -04:00
package.h Remove 'removes' array from libalpm 2007-04-28 19:56:29 -04:00
provide.c This commit looks much more monumental than it is. Almost all just #include 2007-03-05 22:13:33 +00:00
provide.h * Enforce const char* params when using strings 2007-02-26 08:38:48 +00:00
remove.c Ensure correct and consistent usage of depmiss 2007-06-10 21:41:06 -04:00
remove.h Preliminary checkin for alpm_list conversion 2007-01-19 09:28:44 +00:00
server.c Remove logmask stuff from backend; switch logging callback to new pm_printf 2007-06-09 12:57:50 -04:00
server.h Const correctness! 2007-06-05 17:34:33 -04:00
sha1.c Move functions out of alpm.c to where they belong 2007-06-04 22:52:04 -04:00
sha1.h * Added missing header include guards in md5.h and sha1.h. 2007-03-06 01:21:41 +00:00
sync.c Ensure correct and consistent usage of depmiss 2007-06-10 21:41:06 -04:00
sync.h Remove FREESYNC macro and correctly type _alpm_sync_free 2007-04-27 14:53:01 -04:00
trans.c Move functions out of alpm.c to where they belong 2007-06-04 22:52:04 -04:00
trans.h Remove freespace checking code 2007-06-02 13:17:26 -04:00
util.c Remove logmask stuff from backend; switch logging callback to new pm_printf 2007-06-09 12:57:50 -04:00
util.h Remove logmask stuff from backend; switch logging callback to new pm_printf 2007-06-09 12:57:50 -04:00
versioncmp.c Clean up gettext on the libalpm side 2007-04-26 19:39:53 -04:00
versioncmp.h * Bug fix for makepkg dependency testing. This requires that we 2007-03-07 07:45:30 +00:00