summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2007-04-27Remove FREETRANS macro and correctly type _alpm_trans_freeDan McGee6-25/+19
Remove an unnecessary macro, and get rid of the void pointer. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-26Clean up gettext on the libalpm sideDan McGee21-25/+6
Remove inclusion of libintl.h from all files, because we can do it once in util.c where the _() macro is defined. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-26Remove output.c and output.hDan McGee13-116/+39
One function was left in this set of files after the earlier cleansing, so I moved yesno to util.c. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-26Start of the newline fixes after switching over the outputDan McGee3-44/+39
* A few quick newline fixes, mostly related to sync operations. * Moved get_update_timediff to callback.c as it is not used outside of that file. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-26Set the correct type on the log callback functionDan McGee4-4/+5
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 McGee3-3/+12
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 McGee7-65/+88
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 McGee2-71/+1
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 McGee10-183/+158
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 McGee12-24/+24
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-26Pacman side code consolidation- unify callback functions to one fileDan McGee13-359/+277
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 McGee9-86/+41
* 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 McGee2-29/+38
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-25Update Doxyfile for v1.5.2Dan McGee1-5/+7
Ran a doxygen -s -u as recommended on the Doxyfile. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-25add.c and remove.c cleanupDan McGee3-42/+74
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 McGee14-21/+7
* 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 McGee3-3/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-25Remove single-function upgrade.cDan McGee4-48/+10
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 McGee15-182/+37
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-25repo-add: Fix bug where desc info was omitted if package in a groupMarcus Habernehl1-2/+2
This fixes FS #7005. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-25Update the pot language filesDan McGee2-269/+207
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 McGee16-2151/+2139
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 TranslationNam2-832/+881
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-23Updating German TranslationPierre Schmitz2-118/+120
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-23Forward port NEWS file from 3.0.2Dan McGee1-0/+5
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-23Add a pactest for IgnorePkg and force on same packageDan McGee1-0/+14
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-23rankmirrors: download first 50KB of DB to get more reliable numbersScott Horowitz1-2/+18
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-22Using wrong variable for depend lookup in sortbydepsNagy Gabor1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-04-22New archlinuxppc.org mirror added to mirrorlistAaron Griffin1-0/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-04-22Let IgnorePkg superceed the FORCE package flagChantry Xavier1-7/+9
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-04-22Added Spanish translationJuan Pablo González T4-4/+2636
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-17Bug fix for FS#6944Alexander Baldeck1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-04-16makepkg: unset LC_MESSAGES during buildsDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-16Update German translationMatthias Gorissen2-149/+146
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-16Add Polish language translationMateusz Jędrasik4-0/+2586
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-16ldconfig changes from CVSAaron Griffin4-1/+43
forward-porting some 3.0.2 changes * Nagy's ldconfig fix * 3 new pactests to check if ldconfig runs Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-04-16makepkg: remove grep calls from stripping binariesAndrew Fyfe1-8/+9
Remove grep calls from stripping binaries and libraries, which will not work with localized strings. Clean up the find usage as well. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-16Forward port 3.0.2 branch fixesDan McGee3-3/+3
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 McGee2-3/+3
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-11Fix FS #6872- CFLAGS are not usedDan McGee1-2/+7
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-07Add pactest for pre_ and post_remove scriptlet events firingDan McGee1-0/+16
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-05Really run scriptlet on pre_remove and post_removeRoman Kyrylych1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-05makepkg: spelling fixRoman Kyrylych1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-04Add replaces output to -Qi operationDan McGee1-0/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-04Added easynews mirror to mirrorlist.inDan McGee1-0/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-04Enable support for other download protocols in makepkgDan McGee2-43/+71
This patch fixes FS #4404 as well as adding support for future protocols by generalizing the concept of a download agent and allowing a downloader to be specified for each protocol. Original work done by Andrew Fyfe <andrew@neptune-one.net>. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-04Testing git emailsAaron Griffin1-0/+2
Added a random line to my TODO list to see if I can get commit diffs. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-04-04pactest: remove001.pyAaron Griffin1-0/+10
* Test for duplicate remove targets (should succeed) Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-04-04Backport changes from 3.0.1Aaron Griffin6-19/+40
* Align makepkg -g checksums (Tom Killian <tom@archlinux.org>) * Use additional case-sensitive string compare to defeat locale issues (tr_TR) * Added Russian mirror * Fix a -R failure when trying to remove the same target twice * Bump configure.ac version to 3.0.1 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-04-01Tidy up usage of makepkg.confAndrew Fyfe6-26/+84
Moved the following variables into /etc/makepkg.conf * BUILDSCRIPT * PKGEXT * DB_COMPRESSION * DB_CHECKSUMS Cleaned up sourcing of /etc/makepkg.conf in scripts and source ~/.makepkg.conf if it exists. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>