summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.h
Commit message (Collapse)AuthorAge
...
* Implemented a crappy version of -Qu (query upgrades). This simply outputs theAaron Griffin2007-02-04
| | | | | | | | packages to be upgraded in a -Su operation. Much of the code is duplicated from sync.c. TODO: move the implementation to upgrades.c, and reimplement the sync_sysupgrade function in terms of this: trans->packages = alpm_get_upgrades();
* Debug logging changes:Aaron Griffin2007-01-31
| | | | | | | | | | | | | | | | * The --debug params were goofy. New setup allows --debug without params, --debug=<level> where level 1=debug output, 2=debug and download output, 3=debug, download, and function tracing output. This seems more sane to me. * Removed PM_LOG_FLOW1 and PM_LOG_FLOW2. They were just confusing. When adding new functions, it is near impossible to determin if your output should be "flow1" or "flow2" without tracking all the way up the call chain. Rarely would one ever say "ok, lets just show "flow2" output. These have both been replaced with PM_LOG_DEBUG * Removed the need for the root parameter on alpm_initialize. it is now defaulted to PM_ROOT just like dbpath and cachedir. This allows alpm to be initialized BEFORE option parsing in the front end, saving us some duplicate variables in the frontend. * Cleaned up front end variables due to early alpm_initialize call.
* slight line spacing/indent updatesDan McGee2007-01-31
|
* K. Piche <kpiche@rogers.com>Aaron Griffin2007-01-30
| | | | | | | * gcc visiblity changes Also modified _alpm_versioncmp -> alpm_versioncmp (public function) as per K. Piche's suggestions
* This mainly deals with code clarity- removing currently unneededAaron Griffin2007-01-24
| | | | | | | | | | optimizations in order to make the code much more readable and type-checkable. Every enum in the library now has it's own type that should be used instead of the generic 'unsigned char'. In addition, several #define statements dealing with constants were converted to enums. Signed-off-by: Dan McGee <dpmcgee@gmail.com>
* Preliminary checkin for alpm_list conversionAaron Griffin2007-01-19
| | | | | | | | | * 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
* Cleanup from Dan McGee <dpmcgee@gmail.com> and Jürgen Hötzel ↵Aaron Griffin2006-12-22
| | | | | | | <juergen@hoetzel.info> * configure swig check * misc libalpm cleanup
* * Completed getinfo api changes (pmmissing_t, pmtrans_t, etc)Aaron Griffin2006-11-22
| | | | | | | | * Modified some dependancy checking * Changed "performing local database upgrade" message to be more clear * Change 'usize' to 'isize' in database files * Scriptlet output is now sent to pacman's log file * Limited some debugging output to be more clear
* * repo-add script - to add entries to a db file directly from package data ↵Aaron Griffin2006-11-20
| | | | | | | | | | (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
* * Initial changes to gensync - makepkg changes were not checked in from anotherAaron Griffin2006-11-15
| | | | | | machine - still pending * Addition of _alpm_pkg_makefilename to simplify the with/without -ARCH prefix scheme we're going with for the interim
* * Numerous mini valgrind fixes.Aaron Griffin2006-11-14
| | | | | | | | | | * Addition of hacky architecture check in the _splitname function * Removal of libfetch from the archlinux proper - it has been renamed to libdownload and can be found at http://phraktured.net/libdownload * Merge of _some_ of the Frugalware makepkg change - this may still be incomplete * Removal of libftp from cvs proper * PKGBUILD manpage now says 'PKGBUILD' instead of FrugalBuild (he he)
* * Improved mcheck outputAaron Griffin2006-11-08
| | | | | * Added minor libalpm const correctness * Mini-memory fixes
* Fixed pacman -U:Aaron Griffin2006-11-01
| | | | | | * 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
* Numerous changes:Aaron Griffin2006-10-31
| | | | | | | | | | | | * 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.
* Added PM_DLFNM_LEN define, via VMiklosAaron Griffin2006-10-24
| | | | http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman;a=commitdiff;h=20061023154138-e2957-de4837230b091cbc2136306e1c55a4b79cc72fc8.gz
* Reverted the "out of memory" error to 1 to prevent API changes.Aaron Griffin2006-10-21
| | | | | | 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.
* More extern moving - keep extern decls in the headers makes for easier/betterAaron Griffin2006-10-21
| | | | reuse.
* A handful of minor changes:Aaron Griffin2006-10-20
| | | | | | | | * 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
* Applied Frugalware patch from Christian Hamar alias krix <krics@linuxforum.hu>Aaron Griffin2006-10-15
| | | | | | for file-conflict progress bar Also did some CVS cleanup, removing some of the autogenerated files that shouldn't have been there
* Merged frugalware changes (too many to list). Also added some config fileAaron Griffin2006-10-15
| | | | | handling changes (support [sections] to carry over to included files - this helps with backwards compatibility with existing pacman config files)
* removed libtar support in favour of libarchiveJudd Vinet2006-09-28
|
* removed an uneeded error code (DB_UPTODATE)Aurelien Foret2006-03-08
|
* added a NOSCRIPLET flag to transactions (patch from VMiklos ↵Aurelien Foret2006-03-07
| | | | <vmiklos@frugalware.org>)
* - changed flags type from char to intAurelien Foret2006-03-04
| | | | - downloadonly implies FLAG_NOCONFLICTS
* added a FLAG_NOCONFLICTAurelien Foret2006-03-04
|
* removed HoldPkg option (frontend only feature)Aurelien Foret2006-03-02
|
* - merged db_open and db_create into one single functionAurelien Foret2006-02-15
| | | | - moved the .lastupdate support to the frontend
* error codes cleanupAurelien Foret2006-02-07
|
* added alpm_pkg_checkmd5sum() to check md5sums for package from the cacheAurelien Foret2006-02-05
|
* added a pmconflict_t structure to handle file conflictsAurelien Foret2006-02-05
|
* reworked lock handling (patch from VMiklos <vmiklos@frugalware.fr>)Aurelien Foret2006-01-26
|
* resolvedeps: return the depmiss info to the frontend in case of failureAurelien Foret2006-01-21
|
* removed unuseful error codesAurelien Foret2006-01-13
|
* added ALLDEPS transaction flag mainly to handle "makepkg -s"Aurelien Foret2006-01-10
|
* removed all code related to PM_SYNC_TYPE_DEPENDAurelien Foret2006-01-07
|
* sync_commit can now return conflicting files with a trans_prepare like data ↵Aurelien Foret2006-01-07
| | | | structure (patch from VMiklos <vmiklos@frugalware.org>)
* code cleanup (mainly removed line spaces at the beginning of lines by ↵Aurelien Foret2006-01-07
| | | | tabulations)
* - fixed a regression with pacman 2.x (reworked patch from VMiklos ↵Aurelien Foret2006-01-06
| | | | | | | | <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
* patch from VMiklos - use PACKAGE_VERSION instead of PACMAN_VERSIONJudd Vinet2006-01-02
|
* code cleanupAurelien Foret2006-01-02
|
* code cleanupAurelien Foret2006-01-02
|
* Allowed C++ usage (patch from VMiklos <vmiklos@frugalware.org>)Aurelien Foret2005-12-28
|
* applied first try at sync conflict handling (VMiklos) plus a couple changesJudd Vinet2005-12-26
|
* fixed compilation warningsAurelien Foret2005-11-07
|
* added first part of the autoconf stuff - patch from Christian Hamar ↵Judd Vinet2005-10-17
| | | | <krics@linuxforum.hu>
* added PM_OPT_CACHEDIR library optionAurelien Foret2005-10-10
|
* - more sanity checksAurelien Foret2005-10-10
| | | | - alpm_pkg_free can now return an error code
* added conversation callback support for transactionsJudd Vinet2005-10-09
|
* added more error messages, enabled the db permission check in trans_commitJudd Vinet2005-10-08
|
* Moved the REPLACES and FORCE package fields from DESC to DEPENDS db entryAurelien Foret2005-10-08
|