summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.c
AgeCommit message (Collapse)Author
2006-10-31Numerous changes:Aaron Griffin
* 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-27Fri Oct 27 21:54:32 CEST 2006 VMiklos <vmiklos@frugalware.org>Aaron Griffin
* alpm_parse_config(): add missing sanity checks From: http://darcs.frugalware.org/patches/pacman/20061027195432-e2957-0dcda6bdb2d7516d6a5047185bc14ccdf3fb83fc.patch
2006-10-25Moved downloaded db unpacking to the backend files, to easier allow conversionAaron Griffin
from db to whatever format we need.
2006-10-24Added PM_DLFNM_LEN define, via VMiklosAaron Griffin
http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman;a=commitdiff;h=20061023154138-e2957-de4837230b091cbc2136306e1c55a4b79cc72fc8.gz
2006-10-21Fixes from frugalware: few 'typos' included while patchingAaron Griffin
Also re-added Judd's dependancy fix in libalpm/deps.c
2006-10-21Minor changes:Aaron Griffin
* Moved the pmhandle_t extern decl around * Fixed a doxygen complaint
2006-10-20A 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-10-19From VMiklos <vmiklos@frugalware.org>Aaron Griffin
* alpm_db_update() fix up the level parameter till now when it was "1", it meant false, which was not in sync with the C logic :)
2006-10-19Fixed doxygen commentsAaron Griffin
2006-10-15Merged frugalware changes (too many to list). Also added some config fileAaron Griffin
handling changes (support [sections] to carry over to included files - this helps with backwards compatibility with existing pacman config files)
2006-07-14Patch from FW: Better control over CTRL-C interruptions -- do not leave the ↵Judd Vinet
DB in an inconsistent state
2006-05-15first stage of i18n stuff from VMiklosJudd Vinet
2006-03-21fixed a regression (patch from VMiklos <vmiklos@frugalware.org>)Aurelien Foret
2006-03-14put back treename in db->pathAurelien Foret
2006-03-08all _alpm_XXX_cmp functions are now publicAurelien Foret
2006-03-07prepare code for cache loaded with only DEPENDSAurelien Foret
2006-03-04- changed flags type from char to intAurelien Foret
- downloadonly implies FLAG_NOCONFLICTS
2006-03-04fixed alpm_db_update extraction pathAurelien Foret
2006-03-02reworked the db object to prepare future integration with different backendsAurelien Foret
2006-02-20checkmd5sums enhancementsAurelien Foret
2006-02-17prepend 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-02-16- db_write: add support to write both local and sync entriesAurelien Foret
- code cleanup
2006-02-15removed a leftover commentAurelien Foret
2006-02-15- merged db_open and db_create into one single functionAurelien Foret
- moved the .lastupdate support to the frontend
2006-02-07error codes cleanupAurelien Foret
2006-02-05added alpm_pkg_checkmd5sum() to check md5sums for package from the cacheAurelien Foret
2006-02-05added a pmconflict_t structure to handle file conflictsAurelien Foret
2006-02-01doxygen support: added @brief field (patch from VMiklos ↵Aurelien Foret
<vmiklos@frugalware.org>)
2006-02-01Added a missing trans_release call upon lib shutdown (patch from VMiklos ↵Aurelien Foret
<vmiklos@frugalware.org>)
2006-01-29removed unlock code from alpm_release()Aurelien Foret
2006-01-26reworked lock handling (patch from VMiklos <vmiklos@frugalware.org>)Aurelien Foret
2006-01-26doxygen comments update (patch from VMiklos <vmiklos@frugalware.org>)Aurelien Foret
2006-01-21document package, group, sync and transaction functions (patch from VMiklos ↵Aurelien Foret
<vmiklos@frugalware.org>)
2006-01-11added more doxygen comments (patch from VMiklos <vmiklos@frugalware.org>)Aurelien Foret
2006-01-09- merged pkg_new and pkg_dummy functionsAurelien Foret
- renamed _alpm_log_action to _alpm_logaction
2006-01-07sync_commit can now return conflicting files with a trans_prepare like data ↵Aurelien Foret
structure (patch from VMiklos <vmiklos@frugalware.org>)
2006-01-07removed a restriction: the data parameter of XXX_prepare functions can be NULLAurelien Foret
2006-01-06- fixed a regression with pacman 2.x (reworked patch from VMiklos ↵Aurelien Foret
<vmiklos@frugalware.org>): if pacman is desiganted as a target in a sysupgrade operation, it should be able to upgrade itself first upon user request. - removed uneeded sanity checks in alpm interface calls - replaced printf by MSG in pacman
2006-01-05terminated .lastupdate implementation for HTTP protocolAurelien Foret
2006-01-02code cleanupAurelien Foret
2006-01-02more sanity checks: do not add or remove databases while a trasaction is runningAurelien Foret
2005-12-26renamed rpmvercmp to versioncmp, added some fixes from isteve@bofh.czJudd Vinet
2005-12-19patch from VMiklos: regarding the documentation, groups have to be renamed ↵Judd Vinet
from foo to alpm_foo
2005-11-07cleanupAurelien Foret
2005-10-22do not free the cache right before using it!Aurelien Foret
2005-10-10- more sanity checksAurelien Foret
- alpm_pkg_free can now return an error code
2005-10-09started some doxygen comment blocksJudd Vinet
2005-10-09added conversation callback support for transactionsJudd Vinet
2005-10-08added more error messages, enabled the db permission check in trans_commitJudd Vinet
2005-10-08Code update to make use of PKG_FULLNAME_LENAurelien Foret