summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Pacman side code consolidation- unify callback functions to one fileDan McGee2007-04-26
| | | | | | | | | | Some more major code reorginization here. The download progress callback function has been renamed and moved to callback.c, which is the former trans.c with the download and log callbacks added. In addition, this allows util.c to be cleaned up as fill_progress can now be static in callback.c. We've also cut two more source files out. Signed-off-by: Dan McGee <dan@archlinux.org>
* More pacman side cleanupDan McGee2007-04-26
| | | | | | | | | | | * Cleaned up more of the header #includes, and got rid of a lot of stuff that was due to trying to make it compile on BSD/Darwin/CYGWIN. We can add it later but lets keep it simple for now and do it in seperate files if possible later. * Removed a lot of #define MACROS. Some were not even used, and others were only used a few times. Signed-off-by: Dan McGee <dan@archlinux.org>
* Allow sync search to work without argumentsDan McGee2007-04-26
| | | | | | | Enable an -Ss operation to work without a target list. This allows all package information to be printed (as opposed to individual -Sl operations on repositories). Signed-off-by: Dan McGee <dan@archlinux.org>
* add.c and remove.c cleanupDan McGee2007-04-25
| | | | | | | Unification and cleanup of the add.c and remove.c code. It looks remarkably similar, so this may be a candidate for functionalization at a later time. Signed-off-by: Dan McGee <dan@archlinux.org>
* Remove more unnecessary stuffDan McGee2007-04-25
| | | | | | | | | * Remove libintl.h from most files, as we only need to include it once in util.h where _() is defined. * Remove other unnecessary header inclusions. * Remove a macro that was only used once and replaced it with actual code. Signed-off-by: Dan McGee <dan@archlinux.org>
* Remove unnecessary includes of downloadprog.hDan McGee2007-04-25
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Remove single-function upgrade.cDan McGee2007-04-25
| | | | | | | | Move pacman_upgrade into add.c, at least for now. It really doesn't need its own file. For the long term, we may want to move this whole file back to upgrade.c if we deprecate the add operation. Signed-off-by: Dan McGee <dan@archlinux.org>
* Merge single-function header files on pacman sideDan McGee2007-04-25
| | | | | | | Having a seperate header file for add, remove, query, etc. seemed overkill. Merge them all into a common pacman.h and fix the necessary #includes. Signed-off-by: Dan McGee <dan@archlinux.org>
* Update the pot language filesDan McGee2007-04-25
| | | | | | | It looks like it is easier if these get updated too, so lets do it for now. Signed-off-by: Dan McGee <dan@archlinux.org>
* Update all translation po filesDan McGee2007-04-25
| | | | | | | | | In order to get more reliable message statistics, I updated all of the po files by first doing a make *.pot-update followed by a make. I am holding off on committing the pot files as this causes issues with make constantly wanting to rebuild them. Signed-off-by: Dan McGee <dan@archlinux.org>
* Updated French TranslationNam2007-04-25
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Updating German TranslationPierre Schmitz2007-04-23
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Added Spanish translationJuan Pablo González T2007-04-22
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Update German translationMatthias Gorissen2007-04-16
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Add Polish language translationMateusz Jędrasik2007-04-16
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Forward port 3.0.2 branch fixesDan McGee2007-04-16
| | | | | | | Fix #6905- makepkg dependency checking error Fix #6915- add SUU mirror to mirrorlist.in Signed-off-by: Dan McGee <dan@archlinux.org>
* Add void to functions with empty parameter listDan McGee2007-04-14
| | | | | | | Adding void [eg foo(void) instead of foo()] makes the code more compliant with ANSI C. Signed-off-by: Dan McGee <dan@archlinux.org>
* Add replaces output to -Qi operationDan McGee2007-04-04
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Remove some debug print statements that were left in on accidentDan McGee2007-04-01
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Updated Italian TranslationGiovanni Scafora2007-04-01
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Clean up pacman.c, add localize functionDan McGee2007-03-31
| | | | | | | | * Add a localize function to do what was done before in main wrt i18n initialization. * Added Doxygen comments to all functions in pacman.c. Signed-off-by: Dan McGee <dan@archlinux.org>
* Make all paths and file locations configurableDan McGee2007-03-30
| | | | | | | | | | Several important paths, file locations, and extensions were #define-d in the source code instead of being configurable. This moves all of these to the configure script where they can be picked upon running ./configure. We may later want to make some of these even more visible and move them to pacman.conf. Signed-off-by: Dan McGee <dan@archlinux.org>
* Updated Hungarian Translation.Nagy Gabor2007-03-30
| | | | | Signed-off-by: Nagy Gabor <ngaba@petra.hos.u-szeged.hu> Signed-off-by: Dan McGee <dan@archlinux.org>
* Russian translation update.Владимир Байраковский2007-03-30
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Continue fixing usage instructions.Dan McGee2007-03-28
| | | | | | | | * Unify the main usage instructions to look a bit more like the rest with a usage and options line. * Fix some of the spacing from the de-gettexting done yesterday. Signed-off-by: Dan McGee <dan@archlinux.org>
* Move .cvsignore -> .gitignoreDan McGee2007-03-27
| | | | | | | | * Move all .cvsignore files to .gitignore for switch in VCS. In addition, delete ones that were unnecessary because they only contained Makefile and Makefile.am. Signed-off-by: Dan McGee <dan@archlinux.org>
* Improve pacman.c gettext usageDan McGee2007-03-27
| | | | | | | * Break out a few strings in pacman.c that are used repeatedly to reduce unnecessary translations. Signed-off-by: Dan McGee <dan@archlinux.org>
* * Fix NEWS typo. Oops.Dan McGee2007-03-26
| | | | | | * Updated Russian translation. Владимир Байраковский <4rayven@gmail.com> and Shild <sxp@bk.ru> * Removed a string from gettext that didn't need it.
* * Added a mirror list for [testing] (it appears most mirrors mirror testing)Aaron Griffin2007-03-24
| | | | | * Commented ftp.archlinux.org in the official mirror list * ran a make dist, which updated some translation files
* * Updated German translationDan McGee2007-03-23
| | | | Pierre Schmitz <pierre@archlinux.de>
* Clarify some English messages as suggested by Nagy Gabor. I even did the hardDan McGee2007-03-22
| | | | | | 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.
* * Updated Brazilian Portuguese translationDan McGee2007-03-22
| | | | Douglas Soares de Andrade <dsandrade@gmail.com>
* Lots of translation updates before we release.Dan McGee2007-03-22
| | | | | | | | | | | | | | | * Ran msgmerge on all po files from new pot files, but did not check in the updated pot files as that just causes problems. * Updated Italian translation Giovanni Scafora <linuxmania@gmail.com> * Updated Russian translation, added libalpm partial translation Владимир Байраковский <4rayven@gmail.com> * Updated Hungarian translation Nagy Gabor <ngaba@petra.hos.u-szeged.hu> * Updated French translation solsTiCe d'Hiver <solstice.dhiver@laposte.net> Thanks again guys!
* * -Qo now properly resolves paths when finding an ownerAaron Griffin2007-03-22
| | | | | NOTE that we do NOT want symlinked *files* resolved, only paths (i.e. /usr/lib/perl5/site_perl/*)
* * Quick fixup for the translations due to a typo fix committed earlier.Aaron Griffin2007-03-22
|
* Giovanni Scafora <linuxmania@gmail.com>Aaron Griffin2007-03-22
| | | | * Fix typo in pacman.c
* * Updated Italian translationDan McGee2007-03-21
| | | | | | Giovanni Scafora <linuxmania@gmail.com> * Added pactest test for -Se operation James Rosten <seinfeld90@gmail.com>
* * Typo fix.Dan McGee2007-03-21
|
* * pacman.c: Add CacheDir to -v --verbose output.Dan McGee2007-03-21
|
* * Fix asking the user to upgrade when using -SpAaron Griffin2007-03-21
| | | | | | * More significant error messages when -Qo fails * Potential fix for reported error that pacman indicates corrupt packages when space is full on the cache dir
* James Rosten <seinfeld90@gmail.com>Aaron Griffin2007-03-19
| | | | | | * Two new pactest test cases * Fix some "required by" / "requires" output by unifying all "dependency types" to a single value (PM_DEP_TYPE_DEPEND)
* * Updated Italian translationDan McGee2007-03-19
| | | | | | | | 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
* * Adding new Turkish mirror as posted on the forums.Dan McGee2007-03-19
| | | | | * Updated Italian translation Giovanni Scafora <linuxmania@gmail.com>
* James Rosten <seinfeld90@gmail.com>Dan McGee2007-03-18
| | | | * Add missing help line for --sync --list.
* * Updated Russian translationDan McGee2007-03-14
| | | | Владимир Байраковский <4rayven@gmail.com>
* * Fixed up broken translationDan McGee2007-03-14
|
* * Small updates to my TODO file.Dan McGee2007-03-13
| | | | * Updated fr.po courtesy of solsTiCe d'Hiver <solstice.dhiver@laposte.net>.
* * Resizing terminal while progress bars were displayed caused some weirdDan McGee2007-03-13
| | | | | | issues, this should fix it. Progress bars now go from displaying, to showing percent only, to not displaying at all. Changed unsigned -> signed to prevent wraparound errors in integer comparison.
* * Removed ${CFLAGS} from Makefile.am(s) as it was causing all CFLAGS to beDan McGee2007-03-12
| | | | | | | | duplicated. * Updated the util Makefile.am to link with the proper libalpm.la. * Fixed bitmasking issues in be_files.c and db.h. * Rankmirrors updates from James Rosten (with some cleaning up of my own). KeyboardInterrupts are now handled gracefully.
* * Fixed -Qil regression, now both flags are honored. (FS #1355)Dan McGee2007-03-12
|