summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/alpm.c
AgeCommit message (Collapse)AuthorFilesLines
2006-11-01Fixed pacman -U:Aaron Griffin1-22/+22
* Accidental database read of a file-based package (whoops) * Proper fetching of url-based -U or -A Removed some newlines from _alpm_log calls, to make debug output more concise
2006-10-31Numerous changes:Aaron Griffin1-22/+19
* 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 Griffin1-1/+6
* 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 Griffin1-14/+3
from db to whatever format we need.
2006-10-24Added PM_DLFNM_LEN define, via VMiklosAaron Griffin1-0/+5
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 Griffin1-1/+2
Also re-added Judd's dependancy fix in libalpm/deps.c
2006-10-21Minor changes:Aaron Griffin1-1/+1
* Moved the pmhandle_t extern decl around * Fixed a doxygen complaint
2006-10-20A handful of minor changes:Aaron Griffin1-71/+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-19From VMiklos <vmiklos@frugalware.org>Aaron Griffin1-3/+3
* 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 Griffin1-6/+6
2006-10-15Merged frugalware changes (too many to list). Also added some config fileAaron Griffin1-84/+525
handling changes (support [sections] to carry over to included files - this helps with backwards compatibility with existing pacman config files)
2006-07-15Patch from FW: Better control over CTRL-C interruptions -- do not leave the ↵Judd Vinet1-0/+8
DB in an inconsistent state
2006-05-15first stage of i18n stuff from VMiklosJudd Vinet1-17/+18
2006-03-21fixed a regression (patch from VMiklos <vmiklos@frugalware.org>)Aurelien Foret1-3/+1
2006-03-14put back treename in db->pathAurelien Foret1-7/+10
2006-03-08all _alpm_XXX_cmp functions are now publicAurelien Foret1-13/+1
2006-03-07prepare code for cache loaded with only DEPENDSAurelien Foret1-4/+3
2006-03-04- changed flags type from char to intAurelien Foret1-1/+1
- downloadonly implies FLAG_NOCONFLICTS
2006-03-04fixed alpm_db_update extraction pathAurelien Foret1-1/+3
2006-03-02reworked the db object to prepare future integration with different backendsAurelien Foret1-25/+35
2006-02-20checkmd5sums enhancementsAurelien Foret1-3/+13
2006-02-17prepend library function names with _alpm (helped with the patch from ↵Aurelien Foret1-26/+26
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 Foret1-1/+11
- code cleanup
2006-02-15removed a leftover commentAurelien Foret1-1/+0
2006-02-15- merged db_open and db_create into one single functionAurelien Foret1-24/+3
- moved the .lastupdate support to the frontend
2006-02-07error codes cleanupAurelien Foret1-7/+9
2006-02-05added alpm_pkg_checkmd5sum() to check md5sums for package from the cacheAurelien Foret1-0/+38
2006-02-05added a pmconflict_t structure to handle file conflictsAurelien Foret1-2/+35
2006-02-01doxygen support: added @brief field (patch from VMiklos ↵Aurelien Foret1-1/+12
<vmiklos@frugalware.org>)
2006-02-01Added a missing trans_release call upon lib shutdown (patch from VMiklos ↵Aurelien Foret1-0/+5
<vmiklos@frugalware.org>)
2006-01-29removed unlock code from alpm_release()Aurelien Foret1-10/+0
2006-01-26reworked lock handling (patch from VMiklos <vmiklos@frugalware.org>)Aurelien Foret1-20/+23
2006-01-26doxygen comments update (patch from VMiklos <vmiklos@frugalware.org>)Aurelien Foret1-1/+34
2006-01-21document package, group, sync and transaction functions (patch from VMiklos ↵Aurelien Foret1-1/+62
<vmiklos@frugalware.org>)
2006-01-11added more doxygen comments (patch from VMiklos <vmiklos@frugalware.org>)Aurelien Foret1-1/+53
2006-01-09- merged pkg_new and pkg_dummy functionsAurelien Foret1-2/+5
- renamed _alpm_log_action to _alpm_logaction
2006-01-07sync_commit can now return conflicting files with a trans_prepare like data ↵Aurelien Foret1-2/+2
structure (patch from VMiklos <vmiklos@frugalware.org>)
2006-01-07removed a restriction: the data parameter of XXX_prepare functions can be NULLAurelien Foret1-1/+0
2006-01-06- fixed a regression with pacman 2.x (reworked patch from VMiklos ↵Aurelien Foret1-2/+7
<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 Foret1-5/+2
2006-01-02code cleanupAurelien Foret1-2/+2
2006-01-02more sanity checks: do not add or remove databases while a trasaction is runningAurelien Foret1-0/+6
2005-12-26renamed rpmvercmp to versioncmp, added some fixes from isteve@bofh.czJudd Vinet1-2/+2
2005-12-20patch from VMiklos: regarding the documentation, groups have to be renamed ↵Judd Vinet1-11/+11
from foo to alpm_foo
2005-11-07cleanupAurelien Foret1-2/+1
2005-10-22do not free the cache right before using it!Aurelien Foret1-14/+10
2005-10-10- more sanity checksAurelien Foret1-3/+8
- alpm_pkg_free can now return an error code
2005-10-09started some doxygen comment blocksJudd Vinet1-23/+41
2005-10-09added conversation callback support for transactionsJudd Vinet1-2/+2
2005-10-09added more error messages, enabled the db permission check in trans_commitJudd Vinet1-2/+2