summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-04-29Remove STRNCPY macro from libalpmDan McGee9-33/+29
Replaced calls to the STRNCPY macro with the actual strncpy function, and pacman passes all pactests. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-29Remove 'removes' array from libalpmDan McGee4-40/+1
We don't use this functionality for now, so get rid of it and the functions associated with it. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-28Remove FREELISTPTR macroDan McGee7-22/+20
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-28Remove FREEPKG macro and correctly type _alpm_pkg_freeDan McGee9-26/+35
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-28Remove FREEHANDLE macro and correctly type _alpm_handle_freeDan McGee3-8/+6
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-28Remove FREESERVER macro and correctly type _alpm_server_freeDan McGee4-8/+7
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-28Remove FREEGRP macro and correctly type _alpm_grp_freeDan McGee5-13/+7
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-27Remove FREESYNC macro and correctly type _alpm_sync_freeDan McGee4-11/+14
Signed-off-by: Dan McGee <dan@archlinux.org>
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-27Clean up gettext on the libalpm sideDan McGee20-25/+2
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-27Set the correct type on the log callback functionDan McGee1-1/+1
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-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 McGee1-2/+2
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-25Update the pot language filesDan McGee1-100/+110
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 McGee8-730/+811
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 TranslationNam1-400/+414
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-23Updating German TranslationPierre Schmitz1-100/+104
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-23Using wrong variable for depend lookup in sortbydepsNagy Gabor1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-04-23Let IgnorePkg superceed the FORCE package flagChantry Xavier1-7/+9
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-04-23Added Spanish translationJuan Pablo González T2-2/+1518
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-17Update German translationMatthias Gorissen1-111/+110
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-17Add Polish language translationMateusz Jędrasik2-0/+1508
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-17ldconfig changes from CVSAaron Griffin1-1/+1
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-05Really run scriptlet on pre_remove and post_removeRoman Kyrylych1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-04Backport changes from 3.0.1Aaron Griffin2-17/+27
* 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-02Move the 100% progress bar call before remove scriptlet for output reasonsVMiklos1-4/+6
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-30Make all paths and file locations configurableDan McGee1-10/+0
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-30Report an error on setmntent failureAaron Griffin1-1/+3
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-03-29Fix a 0 and '/0' switchDan McGee1-1/+1
It looks like someone accidentally put a 0 instead of '/0', this fixes it. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-29Doxygen fixups for libalpmDan McGee5-96/+287
We haven't done a whole lot with Doxygen so far, so this updates some of the things that have changed a lot- namely, the now public exposure of alpm_list. All functions in this file have now been Doxygen commented, and a few other things in alpm.c were fixed as well. In addition, the Doxygen config file was updated. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-28Fix --ignore behavior on sysupgradeDan McGee1-5/+13
* --ignore was being ignored (haha) on sysupgrade when a package was listed as being a force upgrade. This adds a prompt to the user in this case asking what to do. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-28Move .cvsignore -> .gitignoreDan McGee2-0/+0
* 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-24* Added a mirror list for [testing] (it appears most mirrors mirror testing)Aaron Griffin8-124/+124
* Commented ftp.archlinux.org in the official mirror list * ran a make dist, which updated some translation files
2007-03-23* Updated German translationDan McGee1-1/+1
Pierre Schmitz <pierre@archlinux.de>
2007-03-22Fixed alpm_log call- too many parameters passed. (bardo on #archlinux-pacman)Dan McGee1-1/+1
2007-03-22Clarify some English messages as suggested by Nagy Gabor. I even did the hardDan McGee8-114/+109
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-22Lots of translation updates before we release.Dan McGee8-958/+2474
* 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-22I was mistaken, newpkg->data IS useful here, as the scriptlet isn't in the FS atAaron Griffin1-2/+2
this point
2007-03-22* Correct install scriptlet usage (reuse of handle->root when not needed)Aaron Griffin3-14/+15
* Skip running scriptlet when chroot fails - to prevent issues in the host filesystem
2007-03-22* Fix conflict checking to ignore symlinks that were in previous version ofDan McGee1-8/+30
package. Regression from 2.9.8.
2007-03-21* dont use XferCommand if retrieving local files, fixes wget error:Jürgen Hötzel1-1/+1
file:////....: Unsupported scheme.
2007-03-21* Fix asking the user to upgrade when using -SpAaron Griffin2-2/+27
* 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-20* Fix pacman -Se which installs depends only, as it was brokenAaron Griffin1-5/+11
(Is this useful to anyone?)
2007-03-19Nagy Gabor <ngaba@petra.hos.u-szeged.hu>Aaron Griffin1-5/+4
* correct _alpm_rmrf usage with regard to symlinks and directories
2007-03-19James Rosten <seinfeld90@gmail.com>Aaron Griffin2-3/+2
* 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-15* Updated Hungarian translationDan McGee1-442/+281
Nagy Gabor <ngaba@petra.hos.u-szeged.hu>
2007-03-13* Missed a path when requiring that all paths end with / - this caused -U not toAaron Griffin1-1/+1
work (it was downloading files as .package-name) at all.
2007-03-12* Noted a misspelling for later (after we are not in string freeze).v3.0.0-rc2Dan McGee1-0/+2
2007-03-12* Fix wrong filesize being recorded to local DB. Reported by Andreas Radke.Dan McGee1-1/+2
2007-03-12* Fixed an error with 'cascade' removal due to creation of a new pmpkg_t structAaron Griffin1-2/+2
(and thus not copying pertinent data w.r.t. reading package files)