summaryrefslogtreecommitdiff
path: root/src/pacman
Commit message (Collapse)AuthorAge
* * A whole mess of backup changesAaron Griffin2007-02-17
| | | | | | | | | | | | - the code should be clearer, more organized, commented, and have worthwhile variable names now - proactive backup=()s now work. That is, adding a file to a backup array does what it should on the upgrade to that package, no longer forcing you to wait a full upgrade cycle for it to take effect * ldconfig was being run twice on an upgrade operation - fixed * fixed another pm_fprintf/printf output corruption with the progress bars * refactored some duplicate code for adjusting 'requiredby' lists * Added config.rpath to .cvsignore
* * Updated German translationDan McGee2007-02-16
| | | | | Pierre Schmitz <pierre@archlinux.de> * Added a blurb to 'translation-help' about wrapped messages in po files
* * Updated Italian translationDan McGee2007-02-16
| | | | Giovanni Scafora <linuxmania@gmail.com>
* * Bugfix FS#6422 - spacing for warning output. Due to the fact that we fixedAaron Griffin2007-02-16
| | | | | | | MSG/ERR usage earlier, the trailing '\n's are no longer needed * Oddly enough - *ADDED* some '\n's to the sync_info errors (last commit) as the package info output does not use the pm_fprintf facility and thus does not honor our newline/no-newline setup
* * Bugfix for FS#6427: Allow -Si to use "repository/package" syntaxAaron Griffin2007-02-16
| | | | * Also don't stop searching when one package is not found (output and continue)
* * Updated pt_BR translation (Douglas Soares de Andrade), and merged otherDan McGee2007-02-15
| | | | language files with latest pot file.
* * Updated Italian translationDan McGee2007-02-14
| | | | | | | | | * Updated pot translation templates * Located culprit of progress bar moving when unicode characters are used, added a TODO note about it * Removed '(target)' string from the sync.c error message, just like we did from add.c yesterday * Updated my TODO
* * strlen -> mbstowcs (multibyte str to wide char str) conversion where weDan McGee2007-02-14
| | | | | want the actual number of characters, not the number of bytes. * Added a TODO to take care of later in scriptlet processing.
* * pt_BR translation updates.Dan McGee2007-02-14
|
* * Updated a too-verbose message in pacman/add.c. (shouldn't be an issue withiDan McGee2007-02-14
| | | | | | translations, but may want to update at some point) * More libalpm/conflict.c changes. Optimized more, hopefully won't need too much more than this.
* Translation Update, pt_BR:Dan McGee2007-02-14
| | | | | | | Douglas Soares de Andrade <douglas@archlinux-br.org>, 2007. Hugo Doria <hugodoria@archlinux-br.org>, 2007. Lincoln de Sousa <lincoln@archlinux-br.org>, 2007. Leandro Inácio <leandro@archlinux-br.org>, 2007.
* Pierre Schmitz <pierre@archlinux.de>Dan McGee2007-02-13
| | | | Updated missing newlines in German translation.
* Adding official translations. Thanks a lot, guys!Dan McGee2007-02-13
| | | | | | | | | | * German Translation from: Pierre Schmitz <pierre@archlinux.de> Niclas Pfeifer <macwolf@archlinux.de> * Italian Translation from: Giovanni 'voidnull' Scafora <linuxmania@gmail.com> Alessio 'mOLOk' Bolognino <themolok@gmail.com> Lorenzo '^zanDarK' Masini <lorenxo86@gmail.com>
* * Refactored conflict checking within packages. Profiling from Dan showed anAaron Griffin2007-02-13
| | | | | | | | unbelievable amount of strcmp() calls (25 million) due to the list searching. This has been reimplemented with a set-intersection scheme, due to the fact that file lists are always ordered. - NEEDS TESTING * Minor clean up, "globalized" the str_cmp helper to match the alpm comparison signature, so we can use it elsewhere.
* Fixed locale setting issues in the frontend, and fixed description of ↵Dan McGee2007-02-13
| | | | --cachedir.
* Reverted the exit 2 -> exit 0 change. This was there for a reason (so thatAaron Griffin2007-02-13
| | | | pacman didn't check targets and spit out an error message).
* * Fixed an i18n bug; length of description string was hardcoded previously;Dan McGee2007-02-12
| | | | | now uses an strlen call. * Updates of the *.pot files.
* Exit status of 2 seems wrong for -VAaron Griffin2007-02-12
|
* * Added --cachedir commandline optionAaron Griffin2007-02-12
| | | | | * Removed usage of 'realpath'. From the manpage: "Avoid using this function. It is broken by design"
* * Removed the 'vercmp' op from pacman. The standalone 'vercmp' binary should beAaron Griffin2007-02-12
| | | | | used instead * Allow -T/--deptest to work without root privileges
* * Updated the README fileAaron Griffin2007-02-12
| | | | | * Removed the handle->needles param. It's not needed not that alpm_list_t is public
* Cleaned up some more outputAaron Griffin2007-02-10
| | | | | * Questions no longer start with "error:" * downloaded size is output as a float now
* * Fix compile errors/warnings.Dan McGee2007-02-09
| | | | * Update .cvsignore files a bit.
* * Remove "error: " text from ERR() call since it is appended by ERR anyway.Dan McGee2007-02-09
|
* * Cleaned up direct pm_fprintf usage (move to MSG/ERR macros for now)Aaron Griffin2007-02-09
| | | | | * Moved some stderr output to stdout * Remove "RETRIEVE_LOCAL" trans event as libdownload handles local files
* * Hopefully fixed the download progres bar for real. We should no longerDan McGee2007-02-08
| | | | | have issues with crazy speeds being displayed. * Minor string updates to remove unnecessary 1-off translations.
* * Oops. Added some files to make "make update-po" work.Dan McGee2007-02-08
|
* * Nice overhaul of manpages. It is at least a start.Dan McGee2007-02-08
| | | | * Alphabetized options in pacman usage.
* Fix newlines for real, and add a missing _() gettext wrapper.Dan McGee2007-02-08
|
* * Fix total transfered size on download barAaron Griffin2007-02-07
| | | | | * Fix -Qm segfault * Minor query cleanup
* I broke the progress bars earlier. Put that back to normal.Aaron Griffin2007-02-07
|
* Oops. Actuall add two new translation templates as requested on the ML-Dan McGee2007-02-07
| | | | 'it' and 'pt_BR'.
* * Update of all the *.po files and *.pot template files.Dan McGee2007-02-07
| | | | | | | | | | * Makefile targets to rebuild po files now work - use 'make update-po' in the po directories. * Added two new translation templates as requested on the ML- 'it' and 'pt_BR'. This commit might be a bit big for the mailing list to like on the commit message. :)
* * Makepkg updates, and small bugfix on man page compression.Dan McGee2007-02-06
| | | | | * Change libtool default to makepkg2 behavior. * Other small changes.
* Minor experimental changes to the download progress bar:Aaron Griffin2007-02-06
| | | | | | | * change to Mb and Gb for both total size and transfer rate if needed * round up to 1 second for downloads that were between 1s and 0.5s This function needs some serious looking at, as it's probably not 64bit safe (thus the "wrong calculation" problem on the list).
* Added the --upgrades option for -Qu (--query --upgrades)Aaron Griffin2007-02-04
|
* 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();
* * Added archive verification when loading package metadata for -u and -AAaron Griffin2007-02-04
| | | | | | | operations (now aborts on a corrupt archive) * Fixed the pm_fprintf newline error that was plaguing us. It seems a line resetting 'neednl' was removed a while back (by me). This causes all the output errors we've been seeing
* * unified the progress bars (fill_progress function)Aaron Griffin2007-02-04
| | | | | | | | * 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
* Add newlines to error messagesDan McGee2007-02-03
|
* * Tried to clean up newline display a bit in the frontend.Dan McGee2007-02-01
| | | | | | * Removed useless buildstring function from util.h; replaced all calls of it with list_display. * Made list_display output 2 spaces instead of 1 between each item.
* -Ql needs the 'root' prepended to each fileAaron Griffin2007-02-01
|
* Removed the extra newline based on general opinionAaron Griffin2007-01-31
|
* * Make -Qo work on multiple files againAaron Griffin2007-01-31
| | | | * no real sense in query_fileowner returning an int
* 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.
* More uninitialized stuff... I believe these were removed at some point. ShouldAaron Griffin2007-01-31
| | | | be fixed.
* * Refactored some functions to clean up variable declaration.Dan McGee2007-01-31
| | | | | | * Reduced magic number usage by fill_progress function (new). * Some switch indent fixing. * Remove use of log10 call.
* Fixing line spacings of download/install size messages.Dan McGee2007-01-30
|
* Well that silly memory clobber was plain old "uninitialized data" - fixedAaron Griffin2007-01-30
|
* * Remove -fno-strict-aliasing as it is now unnecessary to compile.Dan McGee2007-01-30
| | | | | | * Fix up add.c a bit better than it was in regards to FS #3492. * Optimized the sqrt call in dependency cycle checking to a single call. * Removal of an outdated comment.