summaryrefslogtreecommitdiffstats
path: root/src/pacman/pacman.c
AgeCommit message (Collapse)AuthorFilesLines
2007-03-07* Updated -V output to include the 2007 copyright date.Aaron Griffin1-1/+1
2007-03-05This commit looks much more monumental than it is. Almost all just #includeDan McGee1-0/+2
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-03-04* Fixed the handle realroot stuffAaron Griffin1-1/+2
* Added some {}
2007-02-26* pacman hidden arguments: removed -Y and -D. -T is the only hidden arg now, toAaron Griffin1-10/+1
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-23We don't need this anymoreAaron Griffin1-1/+1
2007-02-22Big commit here, I'll try to cover all the bases.Dan McGee1-1/+1
* Updated all of the language files, as the POT file was updated. NOTE FOR TRANSLATORS, try to base your next contribution off of these, notice how some msgids and messages have been wrapped to the next line- it makes it easier to read anyway. * More Makefile.am/configure.ac updates. 'make dist' and 'make distclean' now work properly, with only one caveat- the automatic testing in distclean doesn't do so hot as it is compiled with a default configure, which includes the fakeroot-proof code (which does not cooperate with pactest). * Added a Makefile.am for the pactest directory.
2007-02-21* Looks like I left some debugging code in thereAaron Griffin1-2/+0
2007-02-19* Updated bash_completion script to 3.0 options.Dan McGee1-1/+1
* Changed that removal message again, hopefully it sounds good now. * Shortened a usage option description so it would not wrap at 81 chars.
2007-02-15* Updated pt_BR translation (Douglas Soares de Andrade), and merged otherDan McGee1-1/+1
language files with latest pot file.
2007-02-13Fixed locale setting issues in the frontend, and fixed description of ↵Dan McGee1-7/+9
--cachedir.
2007-02-13Reverted the exit 2 -> exit 0 change. This was there for a reason (so thatAaron Griffin1-1/+1
pacman didn't check targets and spit out an error message).
2007-02-12Exit status of 2 seems wrong for -VAaron Griffin1-1/+1
2007-02-12* Added --cachedir commandline optionAaron Griffin1-44/+52
* Removed usage of 'realpath'. From the manpage: "Avoid using this function. It is broken by design"
2007-02-12* Removed the 'vercmp' op from pacman. The standalone 'vercmp' binary should beAaron Griffin1-4/+2
used instead * Allow -T/--deptest to work without root privileges
2007-02-09* Remove "error: " text from ERR() call since it is appended by ERR anyway.Dan McGee1-3/+3
2007-02-09* Cleaned up direct pm_fprintf usage (move to MSG/ERR macros for now)Aaron Griffin1-3/+4
* Moved some stderr output to stdout * Remove "RETRIEVE_LOCAL" trans event as libdownload handles local files
2007-02-08* Nice overhaul of manpages. It is at least a start.Dan McGee1-2/+2
* Alphabetized options in pacman usage.
2007-02-04Added the --upgrades option for -Qu (--query --upgrades)Aaron Griffin1-0/+1
2007-02-04Implemented a crappy version of -Qu (query upgrades). This simply outputs theAaron Griffin1-1/+1
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-02-04* unified the progress bars (fill_progress function)Aaron Griffin1-1/+5
* fixed progress output (needs an fflush to move cursor properly) * broke display_targets function out, to display a list of syncpkgs in preparation for a -Qu option * added get_update_time function to deal with progress functions that shouldn't update too fast due to output redraw speeds
2007-01-31Debug logging changes:Aaron Griffin1-32/+40
* 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-26Dan McGee <dpmcgee@gmail.com>Aaron Griffin1-2/+2
* Lots of code cleanup, and type fixes * Make 'makeworld' a bit more in-line with the other stuff * Make -Si and -Qi operations appear the same
2007-01-24Cleanup 'neednl' usage - make it staticAaron Griffin1-15/+3
2007-01-19Preliminary checkin for alpm_list conversionAaron Griffin1-18/+9
* 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
2007-01-18* remove static neednl - no accessor functions (yet)Aaron Griffin1-2/+0
* remove getcols call in main()
2007-01-18Dan McGee <dpmcgee@gmail.com>Aaron Griffin1-10/+7
* Removed some unnecessary headers and library links * Made things static if possible * Cleaned up makefiles a bit * Fixed some old comments in the code * Fixed some errors the static code checker splint pointed out * Backwards arguments in a memset call in _alpm_db_read (could have been worse) * Other various small fixes Other: * Default to 80 columns when getcols cannot determine display width * Removal of ._install as a valid install file in packages
2007-01-17Dan McGee <dpmcgee@gmail.com>Aaron Griffin1-19/+19
* fix for -Qii regression * package.c cleanup * some refactoring changes Moved split_pkgname as per Dan's suggestion
2006-12-14* Dan McGee's makepkg updates ↵Aaron Griffin1-2/+1
http://www.archlinux.org/pipermail/pacman-dev/2006-December/000792.html * configure fixes (CFLAGS) * no-strict-aliasing hacks until full C99 compliance * --with-config-file configure option
2006-12-08A few minor updates so --root works again.Aaron Griffin1-1/+3
2006-12-08Removed an extra call to alpm_option_set_root() - it is set by alpm_init()Aaron Griffin1-2/+0
2006-12-05Added dbpath validationAaron Griffin1-1/+7
2006-12-01* Cosmetic changes and typo fixesAaron Griffin1-0/+1
* IgnorePkg and --ignore work again * Partial changes to support removal of conflicts for -U and -A (INCOMPLETE)
2006-11-20libalpm appends the trailing / to the config root, no need to do it hereAaron Griffin1-16/+1
2006-11-20* repo-add script - to add entries to a db file directly from package data ↵Aaron Griffin1-41/+23
(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-4/+4
* 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-10Skip root check on -SpAaron Griffin1-1/+2
2006-11-09Last mtrace/setenv change, I swearAaron Griffin1-4/+1
2006-11-09Whoops - I fail at setenvAaron Griffin1-1/+1
2006-11-09mcheck() seems to cause segfaults. Annoying. Switched back to useing ↵Aaron Griffin1-27/+5
mtrace() - if anything valgrind is superior to mcheck anyway
2006-11-08* Improved mcheck outputAaron Griffin1-14/+6
* Added minor libalpm const correctness * Mini-memory fixes
2006-11-07Added mcheck support for memory debuggingAaron Griffin1-6/+29
2006-11-03* Modified some error output and loggingAaron Griffin1-0/+1
* Changed the initial log mask (added PM_LOG_ERROR) * Fixed -Syu so it now works if any databases were downloaded (it was working like a -Su)
2006-11-02* Fixed some alpm_get_option calls (long params were used for C99 compliance,Aaron Griffin1-2/+2
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-39/+13
* 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-20A handful of minor changes:Aaron Griffin1-1/+1
* 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-15Added alpm function docs alongAaron Griffin1-2/+1
pacman.c : Removed link to frugalware wiki sync.c : do not display Uncompressed size if 0 (archlinux has no USIZE)
2006-10-15Merged frugalware changes. Added a few other minor things too, but there's alotAaron Griffin1-88/+157
to list. The diff should show you 8)
2006-07-15Patch from FW: Better control over CTRL-C interruptions -- do not leave the ↵Judd Vinet1-0/+3
DB in an inconsistent state
2006-06-28i18n stuffJudd Vinet1-1/+13
2006-05-15first stage of i18n stuff from VMiklosJudd Vinet1-78/+79