index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-05-13 | Cleanup usages of alpm_list_find and alpm_list_remove. | Chantry Xavier | |
* remove obsolete and unused *_cmp helper functions like deppkg_cmp and _alpm_grp_cmp * new alpm_list_remove_str function, used 6 times in handle.c * remove _alpm_prov_cmp / _alpm_db_whatprovides and replace them by a more general alpm_find_pkg_satisfiers with a cleaner implementation. before: alpm_db_whatprovides(db, targ) after: alpm_find_pkg_satisfiers(alpm_db_getpkgcache(db), targ) * remove satisfycmp and replace alpm_list_find + satisfycmp usage by _alpm_find_dep_satisfiers. before : alpm_list_find(_alpm_db_get_pkgcache(db), dep, satisfycmp) after : _alpm_find_dep_satisfiers(_alpm_db_get_pkgcache(db), dep) * remove _alpm_pkgname_pkg_cmp, which was used with alpm_list_remove, and use _alpm_pkg_find + alpm_list_remove with _alpm_pkg_cmp instead. This commit actually get rids of all complicated and asymmetric _cmp functions. I first thought these functions were worth it, be caused it allowed us to reuse list_find and list_remove. But this was at the detriment of the clarity and also the ease of use of these functions, dangerous because of their asymmetricity. Signed-off-by: Chantry Xavier <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org> | |||
2008-03-23 | Switch pmgrp_t to dynamic allocation, general group cleanup | Dan McGee | |
Signed-off-by: Dan McGee <dan@archlinux.org> | |||
2007-12-10 | Update GNU GPL boilerplate and copyright dates | Dan McGee | |
Update the GPL boilerplate to direct people to the GNU website for a copy of the license, as well as bump all of Judd's copyrights to 2007. Signed-off-by: Dan McGee <dan@archlinux.org> | |||
2007-11-16 | War on whitespace | Dan McGee | |
Run the kernel's cleanfile script on all of our source files. Signed-off-by: Dan McGee <dan@archlinux.org> | |||
2007-04-27 | Remove FREEGRP macro and correctly type _alpm_grp_free | Dan McGee | |
Signed-off-by: Dan McGee <dan@archlinux.org> | |||
2007-01-19 | Preliminary checkin for alpm_list conversion | Aaron Griffin | |
* 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 | |||
2006-11-20 | * repo-add script - to add entries to a db file directly from package data ↵ | Aaron Griffin | |
(no PKGBUILD) * libalpm api changes - move from a _getinfo(p, WHAT_WE_WANT) scheme to a typesafe _get_what_we_want(p) scheme [not 100% complete yet] * some const correctness changes * removal of PM_* types in alpm.h in favor of the pm*_t types used throughout libalpm | |||
2006-10-20 | A 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-02-22 | improved _alpm_list_free handling | Aurelien Foret | |
2006-02-17 | prepend 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-01-02 | patch from VMiklos - use PACKAGE_VERSION instead of PACMAN_VERSION | Judd Vinet | |
2005-11-07 | fixed compilation warnings | Aurelien Foret | |
2005-03-29 | Replaced snprintf calls by the SNPRINTF macro to avoid buffer overflows when ↵ | Aurelien Foret | |
copying strings | |||
2005-03-15 | Initial revision | Judd Vinet | |