summaryrefslogtreecommitdiff
path: root/src/pacman/pacman.c
AgeCommit message (Collapse)Author
2007-03-22Clarify some English messages as suggested by Nagy Gabor. I even did the hardDan McGee
work of fixing these in the translation files, and I removed a few fuzzys while doing so. If any more patches for translations come, try to do it against these files.
2007-03-22Giovanni Scafora <linuxmania@gmail.com>Aaron Griffin
* Fix typo in pacman.c
2007-03-21* pacman.c: Add CacheDir to -v --verbose output.Dan McGee
2007-03-19* Updated Italian translationDan McGee
Giovanni Scafora <linuxmania@gmail.com> * Many minor issues mentioned by Scott Horowitz <stonecrest@gmail.com>. - extra 'done' text in --noprogressbar output - missing flags in the pacman.8 manpage - unclear text in --noconfirm help description
2007-03-18James Rosten <seinfeld90@gmail.com>Dan McGee
* Add missing help line for --sync --list.
2007-03-07* Updated -V output to include the 2007 copyright date.Aaron Griffin
2007-03-05This commit looks much more monumental than it is. Almost all just #includeDan McGee
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 Griffin
* Added some {}
2007-02-26* pacman hidden arguments: removed -Y and -D. -T is the only hidden arg now, toAaron Griffin
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 Griffin
2007-02-22Big commit here, I'll try to cover all the bases.Dan McGee
* 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 Griffin
2007-02-19* Updated bash_completion script to 3.0 options.Dan McGee
* 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 McGee
language files with latest pot file.
2007-02-13Fixed locale setting issues in the frontend, and fixed description of ↵Dan McGee
--cachedir.
2007-02-13Reverted the exit 2 -> exit 0 change. This was there for a reason (so thatAaron Griffin
pacman didn't check targets and spit out an error message).
2007-02-12Exit status of 2 seems wrong for -VAaron Griffin
2007-02-12* Added --cachedir commandline optionAaron Griffin
* 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 Griffin
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 McGee
2007-02-09* Cleaned up direct pm_fprintf usage (move to MSG/ERR macros for now)Aaron Griffin
* 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 McGee
* Alphabetized options in pacman usage.
2007-02-04Added the --upgrades option for -Qu (--query --upgrades)Aaron Griffin
2007-02-04Implemented a crappy version of -Qu (query upgrades). This simply outputs theAaron Griffin
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 Griffin
* 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 Griffin
* 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 Griffin
* 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 Griffin
2007-01-19Preliminary checkin for alpm_list conversionAaron Griffin
* 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 Griffin
* remove getcols call in main()
2007-01-18Dan McGee <dpmcgee@gmail.com>Aaron Griffin
* 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 Griffin
* 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 Griffin
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 Griffin
2006-12-08Removed an extra call to alpm_option_set_root() - it is set by alpm_init()Aaron Griffin
2006-12-05Added dbpath validationAaron Griffin
2006-12-01* Cosmetic changes and typo fixesAaron Griffin
* 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 Griffin
2006-11-20* repo-add script - to add entries to a db file directly from package data ↵Aaron Griffin
(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 Griffin
* 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 Griffin
2006-11-09Last mtrace/setenv change, I swearAaron Griffin
2006-11-09Whoops - I fail at setenvAaron Griffin
2006-11-09mcheck() seems to cause segfaults. Annoying. Switched back to useing ↵Aaron Griffin
mtrace() - if anything valgrind is superior to mcheck anyway
2006-11-08* Improved mcheck outputAaron Griffin
* Added minor libalpm const correctness * Mini-memory fixes
2006-11-07Added mcheck support for memory debuggingAaron Griffin
2006-11-03* Modified some error output and loggingAaron Griffin
* 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 Griffin
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 Griffin
* 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 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