summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.h
AgeCommit message (Collapse)Author
2006-11-01Fixed pacman -U:Aaron Griffin
* 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 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-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-21Reverted the "out of memory" error to 1 to prevent API changes.Aaron Griffin
This should be changed later, or at least everything fixed up. Typically a 1 return indicates "an error occured" and some functions still might just return error on failure.
2006-10-21More extern moving - keep extern decls in the headers makes for easier/betterAaron Griffin
reuse.
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-15Applied Frugalware patch from Christian Hamar alias krix <krics@linuxforum.hu>Aaron Griffin
for file-conflict progress bar Also did some CVS cleanup, removing some of the autogenerated files that shouldn't have been there
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-09-28removed libtar support in favour of libarchiveJudd Vinet
2006-03-08removed an uneeded error code (DB_UPTODATE)Aurelien Foret
2006-03-07added a NOSCRIPLET flag to transactions (patch from VMiklos ↵Aurelien Foret
<vmiklos@frugalware.org>)
2006-03-04- changed flags type from char to intAurelien Foret
- downloadonly implies FLAG_NOCONFLICTS
2006-03-04added a FLAG_NOCONFLICTAurelien Foret
2006-03-02removed HoldPkg option (frontend only feature)Aurelien 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-01-26reworked lock handling (patch from VMiklos <vmiklos@frugalware.fr>)Aurelien Foret
2006-01-21resolvedeps: return the depmiss info to the frontend in case of failureAurelien Foret
2006-01-13removed unuseful error codesAurelien Foret
2006-01-10added ALLDEPS transaction flag mainly to handle "makepkg -s"Aurelien Foret
2006-01-07removed all code related to PM_SYNC_TYPE_DEPENDAurelien Foret
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-07code cleanup (mainly removed line spaces at the beginning of lines by ↵Aurelien Foret
tabulations)
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-02patch from VMiklos - use PACKAGE_VERSION instead of PACMAN_VERSIONJudd Vinet
2006-01-02code cleanupAurelien Foret
2006-01-02code cleanupAurelien Foret
2005-12-28Allowed C++ usage (patch from VMiklos <vmiklos@frugalware.org>)Aurelien Foret
2005-12-26applied first try at sync conflict handling (VMiklos) plus a couple changesJudd Vinet
2005-11-07fixed compilation warningsAurelien Foret
2005-10-17added first part of the autoconf stuff - patch from Christian Hamar ↵Judd Vinet
<krics@linuxforum.hu>
2005-10-10added PM_OPT_CACHEDIR library optionAurelien Foret
2005-10-10- more sanity checksAurelien Foret
- alpm_pkg_free can now return an error code
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-08Moved the REPLACES and FORCE package fields from DESC to DEPENDS db entryAurelien Foret
2005-10-07Merging in recent fixes/additions from 2.9.7Judd Vinet
2005-05-04event transaction callback rework to prepare the introduction of a ↵Aurelien Foret
conversation callback
2005-05-02updated REASON constants to be consistent with databases from pacman 2.9.xAurelien Foret
2005-04-17renamed PM_ERR_INVALID_NAME to PM_ERR_PKG_INVALID_NAMEAurelien Foret
2005-04-16- general cleanupAurelien Foret
- added alpm_trans_sysupgrade() function - relocated some defines
2005-04-13- updated sync featureAurelien Foret
- added 2 new transaction events
2005-04-06reverted back to trans->packages instead of install and remove queuesAurelien Foret
2005-04-06updated structure names (PM_SYNCPKG), and added transaction queues (install ↵Aurelien Foret
& remove)
2005-04-02- added 'lastupdate' field to pmdb_tAurelien Foret
- added a new public function alpm_db_getinfo - added a public parameter PM_PKG_DB for PM_PKG struct
2005-04-02added RESOLVEDEPS to the list of transaction eventsAurelien Foret
2005-03-30started the work on "pacman_sync"Aurelien Foret
2005-03-29changed alpm_db_register() prototypeAurelien Foret