summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* Move the 100% progress bar call before remove scriptlet for output reasonsVMiklos2007-04-01
| | | | 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>
* Report an error on setmntent failureAaron Griffin2007-03-29
| | | | Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
* Fix a 0 and '/0' switchDan McGee2007-03-29
| | | | | | It looks like someone accidentally put a 0 instead of '/0', this fixes it. Signed-off-by: Dan McGee <dan@archlinux.org>
* Doxygen fixups for libalpmDan McGee2007-03-29
| | | | | | | | | | 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>
* Fix --ignore behavior on sysupgradeDan McGee2007-03-28
| | | | | | | | * --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>
* 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>
* * 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>
* Fixed alpm_log call- too many parameters passed. (bardo on #archlinux-pacman)Dan McGee2007-03-22
|
* 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.
* 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!
* I was mistaken, newpkg->data IS useful here, as the scriptlet isn't in the FS atAaron Griffin2007-03-22
| | | | this point
* * Correct install scriptlet usage (reuse of handle->root when not needed)Aaron Griffin2007-03-22
| | | | | * Skip running scriptlet when chroot fails - to prevent issues in the host filesystem
* * Fix conflict checking to ignore symlinks that were in previous version ofDan McGee2007-03-22
| | | | package. Regression from 2.9.8.
* * dont use XferCommand if retrieving local files, fixes wget error:Jürgen Hötzel2007-03-21
| | | | file:////....: Unsupported scheme.
* * 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
* * Fix pacman -Se which installs depends only, as it was brokenAaron Griffin2007-03-20
| | | | (Is this useful to anyone?)
* Nagy Gabor <ngaba@petra.hos.u-szeged.hu>Aaron Griffin2007-03-19
| | | | * correct _alpm_rmrf usage with regard to symlinks and directories
* 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 Hungarian translationDan McGee2007-03-14
| | | | Nagy Gabor <ngaba@petra.hos.u-szeged.hu>
* * Missed a path when requiring that all paths end with / - this caused -U not toAaron Griffin2007-03-12
| | | | work (it was downloading files as .package-name) at all.
* * Noted a misspelling for later (after we are not in string freeze).Dan McGee2007-03-12
|
* * Fix wrong filesize being recorded to local DB. Reported by Andreas Radke.Dan McGee2007-03-12
|
* * Fixed an error with 'cascade' removal due to creation of a new pmpkg_t structAaron Griffin2007-03-12
| | | | (and thus not copying pertinent data w.r.t. reading package files)
* * Fix an issue where the same dependency was recorded multiple times in theDan McGee2007-03-12
| | | | 'required by' field.
* * 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.
* * Fix group comparison issue and associated compilation warnings by usingDan McGee2007-03-11
| | | | | | | the alpm strcmp operation which takes void* references. * We had this great visibility patch, but never actually took advantage of it. Added the right compile flag to make it work and added some more SYMEXPORTs where necessary to have a successful compile.
* * Updated Italian translationDan McGee2007-03-10
| | | | | | Giovanni Scafora <linuxmania@gmail.com> * long -> float conversion for package size output (which still may be the wrong size, this needs to be looked at)
* fixed string comparison callback (patch from Nagy Gabor)Jürgen Hötzel2007-03-09
|
* * Two fixes when running under a new root (-r|--root)Aaron Griffin2007-03-09
| | | | | | | | | - Check EACCES in can_remove_file, to verify - we're only checking for a read-only FS here... if write permissions fail, we can still remove it - Switched the message when creating DB directories from an error to a debug message * Fix the dep tests once and for all (it wasn't working for provides=() packages)
* * Updated pot files for hopefully the last time before release.Dan McGee2007-03-07
| | | | | | * po files update themselves when a pot file update occurs, so you see that here as well. * Added a few more small notes to translation-help.
* * Updated German translationDan McGee2007-03-07
| | | | | | Pierre Schmitz <pierre@archlinux.de> * Added en_GB translation, thanks! Keep it 'synchronised'! Sorry, awful joke. Jeff Bailes <thepizzaking@gmail.com>
* * Bug fix for makepkg dependency testing. This requires that weAaron Griffin2007-03-07
| | | | | expose alpm_splitdep and alpm_depcmp as public symbols * Removed a duplicate strtrim for question responses
* * Updated Brazilian Portuguese translationDan McGee2007-03-07
| | | | Douglas Soares de Andrade <dsandrade@gmail.com>
* * Sorry tranlators, another string update. .pacorig was displayed twice inDan McGee2007-03-06
| | | | | the output of this message (simple fix- remove .pacorig from your translated message).
* * Updated Italian translationDan McGee2007-03-06
| | | | Giovanni Scafora <linuxmania@gmail.com>
* * Fix the double package name URL when using XferCommandAaron Griffin2007-03-06
| | | | * Fixed valgrind yelling about the sprintfs in md5/sha1 routines
* * Added missing header include guards in md5.h and sha1.h.Dan McGee2007-03-06
| | | | | | * Some header cleanup on the pacman side of things - we had alpm.h instead alpm_list.h in a few headers. * removed an extra slash in path-building snprintf in server.c.
* This commit looks much more monumental than it is. Almost all just #includeDan McGee2007-03-05
| | | | | | | | reordering and adding ones that were forgotten (noticed when trying to compile after reordering). * Updated the HACKING file to include information on #include usage. * print -> vprint in "making dir" function in pactest.
* * Failure to #include config.h cost us here, we lost all NLS in alpm.c.Dan McGee2007-03-05
|
* * Hopefully the LAST big update of the language files before release.Dan McGee2007-03-04
| | | | | | | Translators and developers should count this as the string freeze unless something REALLY essential comes up. Send in patches to these translations when you get a chance (and patches are appreciated, as they are much easier to deal with).
* * Fixed the handle realroot stuffAaron Griffin2007-03-04
| | | | * Added some {}
* * Fixed a whole mess of extra '/' pathing issues when a different root isAaron Griffin2007-03-04
| | | | | | | | | | | | | | specified * Use db->path when appropriate * Commented out the FAKEROOT checks in libalpm. This should never ever be done. TODO test this quite a bit, as this will never cause the transactions to fail if RW operations are requested... right now it is totally up to the front end to decide when to fail * Use realpath() to canonicalize the root path when specified, so _alpm_makepath() doesn't freak out * Fixed some output/indent of MDFile and SHAFile algorithms * More efficient sprintf() usage in MDFile/SHAFile * Added real error output to _alpm_makepath
* * handle changes: callbacks should check handle first, as there's a fewAaron Griffin2007-03-04
| | | | | | | | | occasions where some alpm stuff could be used without initializing the library (vercmp is one). TODO make these functions (handle accessors) better by returning "library not initialized" instead of failing. * Removed NoUpgrade lines from pacman.conf - we need to test this! * Re-corrected the lib targets for src/util/* * make dist seems to have updated the po files
* * Maybe that call to _alpm_trans_update_depends was necessary. Added it backDan McGee2007-03-04
| | | | in but did it right by duplicating the package first.
* * Remove unnecessary call to _alpm_trans_update_depends that was erroringDan McGee2007-03-03
| | | | | anyway. * Spelling/commenting etc.
* * Updated Italian translationDan McGee2007-03-03
| | | | | | Giovanni Scafora <linuxmania@gmail.com> * Updated German translation Pierre Schmitz <pierre@archlinux.de>
* * A little more hacking with wchar_t output, but nothing really changed inDan McGee2007-03-03
| | | | | | | it. Eventually we'll make progress. * Rewrote the _alpm_splitdep function to behave more like all our other function calls. Use heap instead of stack allocation for the depend struct, so now it needs to be freed by the caller.
* Big commit this time:Aaron Griffin2007-03-03
| | | | | | | | | | | | | | | | | | | | | | | * Moved entirely to alpm_pkg_get_* accessors, to read data on demand * Mostly removed the INFRQ_ parameters from outside the be_files backend (making the backend more extensible in the long run) * packages created from _alpm_db_scan now have the db and origin set (making accessors actually work for these packages) * removed _alpm_db_ensure_pkgcache * totally revamped the _alpm_checkconflicts function, making it cleaner and easier to read (and thus fix in the long run) - maintainable code ftw NOTE: feel free to rename the functions... I couldn't think of anything better * removed an extra loop in sync.c:find_replacements - no sense in looping over an entire DB while strcmp'ing the name, when we have get_pkgfromcache Other: * package struct "license" -> "licenses" * Created _alpm_sync_find (duplicate code in some places, find_pkginsync * Minor const correctness changes along the way * fixed a couple extra '/' pathing issues (non-issues really) * removed a duplicate pkg_cmp function