summaryrefslogtreecommitdiffstats
path: root/src/pacman/query.c
AgeCommit message (Collapse)AuthorFilesLines
2007-03-12* Fixed -Qil regression, now both flags are honored. (FS #1355)Dan McGee1-12/+11
2007-03-06* -Qs was returning an error if no package found, which is not the same ↵Dan McGee1-1/+1
behavior as -Ss.
2007-03-05This commit looks much more monumental than it is. Almost all just #includeDan McGee1-1/+4
reordering and adding ones that were forgotten (noticed when trying to compile after reordering). * Updated the HACKING file to include information on #include usage. * print -> vprint in "making dir" function in pactest.
2007-02-26* pacman hidden arguments: removed -Y and -D. -T is the only hidden arg now, toAaron Griffin1-4/+4
be used in place of -Y. Also, -D was rather silly, as it does mostly what -S does. * Cleaned up pacman_deptest - removed the goofy faketarget stuff (NEEDS testing still) * libalpm function renames
2007-02-12* Updated the README fileAaron Griffin1-4/+1
* Removed the handle->needles param. It's not needed not that alpm_list_t is public
2007-02-07* Fix total transfered size on download barAaron Griffin1-45/+34
* Fix -Qm segfault * Minor query cleanup
2007-02-06* Makepkg updates, and small bugfix on man page compression.Dan McGee1-1/+1
* Change libtool default to makepkg2 behavior. * Other small changes.
2007-02-04Implemented a crappy version of -Qu (query upgrades). This simply outputs theAaron Griffin1-0/+13
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();
2007-01-31* Make -Qo work on multiple files againAaron Griffin1-9/+7
* no real sense in query_fileowner returning an int
2007-01-31Debug logging changes:Aaron Griffin1-1/+1
* 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.
2007-01-24* Shuffled some of the alpm_list free funtions - still not perfect, but betterAaron Griffin1-5/+12
* Added alpm_list_remove_node for single list node removal * Proper error checking/output for failed db_read/db_write (missing files) * Invalid packages (missing files) are now removed from the package cache * -Qs and -Ss output now look the same * config.rpath causes errors on one machine I had, so I added it to CVS * Fixed a "clobbered memory" issue when installing groups - only the outer list should be free'd, not the contained data
2007-01-19Preliminary checkin for alpm_list conversionAaron Griffin1-61/+40
* 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-22* Completed getinfo api changes (pmmissing_t, pmtrans_t, etc)Aaron Griffin1-3/+8
* 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
2006-11-20* repo-add script - to add entries to a db file directly from package data ↵Aaron Griffin1-53/+50
(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-11-14* Numerous mini valgrind fixes.Aaron Griffin1-0/+1
* 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)
2006-11-02* Fixed some alpm_get_option calls (long params were used for C99 compliance,Aaron Griffin1-4/+5
but were used in error) * Cleaned up some output newlines * Added "local database is up to date" when no packages are upgraded
2006-10-31Numerous changes:Aaron Griffin1-3/+7
* Added 'ILoveCandy' support to all progress bars * Changed download callback with regards to libfetch libalpm changes * libfetch error output on failed sync * Misc others I may have forgot to name (check the diff, heh)
2006-10-15Merged frugalware changes. Added a few other minor things too, but there's alotAaron Griffin1-19/+30
to list. The diff should show you 8)
2006-05-15first stage of i18n stuff from VMiklosJudd Vinet1-10/+11
2006-01-02patch from VMiklos - use PACKAGE_VERSION instead of PACMAN_VERSIONJudd Vinet1-1/+1
2005-12-14added Frugalware patch: -Q --foreign to display packages not found in sync reposJudd Vinet1-1/+46
2005-10-29renamed pmconfig_t to config_tAurelien Foret1-1/+1
2005-10-28added pmconfig_t structure to hold all the configurationAurelien Foret1-22/+17
(patch from VMiklos <vmiklos@frugalware.org>)
2005-10-10improved query_fileowner() functionAurelien Foret1-12/+5
2005-10-08Merging in recent fixes/additions from 2.9.7Judd Vinet1-2/+2
2005-04-02fixed a compilation warningAurelien Foret1-1/+1
2005-03-19Relocated log and transaction stuffs from pacman.c to log.c and trans.cAurelien Foret1-1/+1
2005-03-18Avoided extern references to pmo_root.Aurelien Foret1-2/+4
Better use PM_OPT_ROOT to know the root.
2005-03-15Initial revisionJudd Vinet1-0/+247