Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-04-26Set the correct type on the log callback functionDan McGee
Somehow missed this earlier when changing everything to types. unsigned short -> pmloglevel_t wherever necessary. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-26Add -pedantic flag to pacman (frontend) CFLAGSDan McGee
Now that we got rid of the ERR and WARN macros, compilation with -pedantic turned on works with only minor changes. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-26Remove ERR calls from the codeDan McGee
All ERR() calls have been replaced with fprintf(stderr, ...). Still to be done- fix all the newline issues that are sure to pop up. What fun! Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-26Remove ERR, WARN, and pm_fprintf macros/functionsDan McGee
Rip out this stuff from output.c and output.h for the next step of ripping all ERR output from the pacman front end. This commit will NOT compile. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-26Remove MSG output macro (#define and in code)Dan McGee
This is the first step of converting output to standard functions such as printf, and eventually allowing compiliation with the -pedantic flag as is done on the libalpm side. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-26Move log.c/h -> output.c/h to properly reflect what is containedDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-26Pacman side code consolidation- unify callback functions to one fileDan McGee
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>
2007-04-26More pacman side cleanupDan McGee
* 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>
2007-04-26Allow sync search to work without argumentsDan McGee
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>
2007-04-25add.c and remove.c cleanupDan McGee
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>
2007-04-25Remove more unnecessary stuffDan McGee
* 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>
2007-04-25Remove unnecessary includes of downloadprog.hDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-25Remove single-function upgrade.cDan McGee
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>
2007-04-25Merge single-function header files on pacman sideDan McGee
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>
2007-04-25Update the pot language filesDan McGee
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>
2007-04-25Update all translation po filesDan McGee
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>
2007-04-25Updated French TranslationNam
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-23Updating German TranslationPierre Schmitz
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-22Added Spanish translationJuan Pablo González T
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-16Update German translationMatthias Gorissen
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-16Add Polish language translationMateusz Jędrasik
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-16Forward port 3.0.2 branch fixesDan McGee
Fix #6905- makepkg dependency checking error Fix #6915- add SUU mirror to mirrorlist.in Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-14Add void to functions with empty parameter listDan McGee
Adding void [eg foo(void) instead of foo()] makes the code more compliant with ANSI C. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-04Add replaces output to -Qi operationDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-01Remove some debug print statements that were left in on accidentDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-01Updated Italian TranslationGiovanni Scafora
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-31Clean up pacman.c, add localize functionDan McGee
* 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>
2007-03-30Make all paths and file locations configurableDan McGee
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>
2007-03-30Updated Hungarian Translation.Nagy Gabor
Signed-off-by: Nagy Gabor <ngaba@petra.hos.u-szeged.hu> Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-30Russian translation update.Владимир Байраковский
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-28Continue fixing usage instructions.Dan McGee
* 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>
2007-03-27Move .cvsignore -> .gitignoreDan McGee
* 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>
2007-03-27Improve pacman.c gettext usageDan McGee
* Break out a few strings in pacman.c that are used repeatedly to reduce unnecessary translations. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-26* Fix NEWS typo. Oops.Dan McGee
* Updated Russian translation. Владимир Байраковский <4rayven@gmail.com> and Shild <sxp@bk.ru> * Removed a string from gettext that didn't need it.
2007-03-24* Added a mirror list for [testing] (it appears most mirrors mirror testing)Aaron Griffin
* Commented ftp.archlinux.org in the official mirror list * ran a make dist, which updated some translation files
2007-03-23* Updated German translationDan McGee
Pierre Schmitz <pierre@archlinux.de>
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-22* Updated Brazilian Portuguese translationDan McGee
Douglas Soares de Andrade <dsandrade@gmail.com>
2007-03-22Lots of translation updates before we release.Dan McGee
* 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!
2007-03-22* -Qo now properly resolves paths when finding an ownerAaron Griffin
NOTE that we do NOT want symlinked *files* resolved, only paths (i.e. /usr/lib/perl5/site_perl/*)
2007-03-22* Quick fixup for the translations due to a typo fix committed earlier.Aaron Griffin
2007-03-22Giovanni Scafora <linuxmania@gmail.com>Aaron Griffin
* Fix typo in pacman.c
2007-03-21* Updated Italian translationDan McGee
Giovanni Scafora <linuxmania@gmail.com> * Added pactest test for -Se operation James Rosten <seinfeld90@gmail.com>
2007-03-21* Typo fix.Dan McGee
2007-03-21* pacman.c: Add CacheDir to -v --verbose output.Dan McGee
2007-03-21* Fix asking the user to upgrade when using -SpAaron Griffin
* 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
2007-03-19James Rosten <seinfeld90@gmail.com>Aaron Griffin
* Two new pactest test cases * Fix some "required by" / "requires" output by unifying all "dependency types" to a single value (PM_DEP_TYPE_DEPEND)
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-19* Adding new Turkish mirror as posted on the forums.Dan McGee
* Updated Italian translation Giovanni Scafora <linuxmania@gmail.com>
2007-03-18James Rosten <seinfeld90@gmail.com>Dan McGee
* Add missing help line for --sync --list.