summaryrefslogtreecommitdiffstats
path: root/lib/libalpm
AgeCommit message (Collapse)AuthorFilesLines
2007-03-01* Oops- I need to learn to count in hex.Dan McGee1-1/+1
2007-03-01* Updated Italian translationDan McGee1-89/+126
Giovanni Scafora <linuxmania@gmail.com>
2007-03-01* Modified values of INFRQ_* options so we start at 0x01 and not 0x00. ThisDan McGee6-17/+35
allows for the same bit operators to be used across the board on pkg_get operations. * Changed name of INFRQ_NONE -> INFRQ_BASE to more clearly reflect what it does (loads pkg name and version). * Added a few missing things on package functions, such as SYMEXPORT and ALPM_LOG_FUNC. * Slight updates to pmenv to print 'pass' and 'fail' instead of 'passed' and 'failed'. Keeps output a bit more concise. * Fixed a doxygen comment spelling error. :P
2007-03-01* Comment clarificationAaron Griffin1-1/+2
2007-03-01* Switched some functions to alpm_pkg_get_* usage as I came across themAaron Griffin6-20/+113
* Added some provision switching hackery. This could probably use some refactoring,.. it solves the following case: pkg1 and pkg2 provide 'foo' and are both installed pkg3 depends on 'foo' and so lists 'pkg1' in the REQUIREDBY db section pkg1 is upgraded and no longer provides 'foo' ** This code ensures that the REQUIREDBY of pkg3 is updated to require pkg2 now instead of pkg1
2007-03-01*** empty log message ***Aaron Griffin2-5/+23
2007-03-01* Updated Italian translationDan McGee1-90/+90
Giovanni Scafora <linuxmania@gmail.com> * Fixed FS #6442 - don't list directories in -Ql output.
2007-03-01* Fix up _alpm_db_free, remove use of void*.Dan McGee3-6/+3
2007-02-28* Unifying placement of REPLACES in desc file, as pacman2 does. We'll worryDan McGee2-12/+12
about bigger DB changes later, but lets not screw anything up for release. * Removed some weird uses of "not ... ==" usage in pactest- correct me if I'm wrong, but isn't "!=" a lot more clean and concise? * Print description of failed tests in the pactest summary. This could get dirty with a lot of failed tests though, so watch out.
2007-02-28* Added another test as suggested by Nagy on the ML- a package both providesDan McGee1-30/+19
for and is a dependency of another package. (upgrade057) * Removed man2html stuff from doc/Makefile.am. * Patch: improved depends checking in _alpm_checkdeps Nagy Gabor <ngaba@petra.hos.u-szeged.hu> * Slight revisions to pmrule.py to allow for a PKG_PROVIDES test. * Very quick updates to the pactest README. * Added rules to some of the newer upgrade tests. Note: upgrade055 now fails due to requiredby entries not being written packages that are dependencies in a provides role.
2007-02-27* db search optimization- why don't we compile the regex once instead of onceDan McGee1-7/+11
per package.
2007-02-26* Enforce const char* params when using stringsAaron Griffin17-107/+54
* Unified some functions names "package" -> "pkg" for consistency * Removed the goofy 'faketarget' stuff used for dep testing * Renamed alpm_pkg_isin -> alpm_pkg_find * Renamed alpm_db_readpkg -> alpm_db_get_pkg
2007-02-24* Updated Italian translationDan McGee1-102/+98
Giovanni Scafora <linuxmania@gmail.com> * added '-fstack-protector' flag to debug compile, to catch any buffer overflows we may have in stack variables.
2007-02-23* The info level for this was wrong, causing replacements to not really workAaron Griffin1-2/+2
2007-02-23* Too much debugging output in the alpm_pkg_compare_versions functionAaron Griffin2-10/+13
* Using the wrong info level for replacements
2007-02-23* Modified the handling and output w.r.t. IgnorePkg entries. -Sy always ignoresAaron Griffin3-25/+29
these packages, but -S explicitly asks for confirmation.
2007-02-22Big commit here, I'll try to cover all the bases.Dan McGee6-669/+884
* Updated all of the language files, as the POT file was updated. NOTE FOR TRANSLATORS, try to base your next contribution off of these, notice how some msgids and messages have been wrapped to the next line- it makes it easier to read anyway. * More Makefile.am/configure.ac updates. 'make dist' and 'make distclean' now work properly, with only one caveat- the automatic testing in distclean doesn't do so hot as it is compiled with a default configure, which includes the fakeroot-proof code (which does not cooperate with pactest). * Added a Makefile.am for the pactest directory.
2007-02-22* Update the translation POT files- I don't want to do this daily but theDan McGee1-210/+267
current ones were a bit out of date.
2007-02-22* Updated German translations.Dan McGee2-229/+306
Pierre Schmitz <pierre@archlinux.de> * Updated Italian translations. Giovanni Scafora <linuxmania@gmail.com>
2007-02-22* debug cleanup (more)Aaron Griffin2-26/+31
* Fixed conflict checking. I had mistakenly assumed that the transaction packages were of type 'pmsyncpkg_t', but that is not the case. Reverted back to pmpkg_t's and fixed some checking a bit. * pactest results: PASSED = 71 (100.00%)
2007-02-22* Cleaned up some debug outputAaron Griffin5-18/+41
* Fixed a segfault in the conflict checking code * Added an automatic failure in the case of -A/-U for a replacement of an existing package. This requires a large amount of work and is postponed for now. Example: If ncmpc is installed, pacman -U /path/to/ncmpc-svn.pkg.tar.gz will fail with and appropriate error message
2007-02-22* A lot of Makefile.am updates to try to get 'make dist' and 'make distcheck'Dan McGee1-32/+33
to work as expected.
2007-02-21* Updated Italian translationDan McGee1-87/+138
Giovanni Scafora <linuxmania@gmail.com>
2007-02-21* Fixed inconsistency of args- _alpm_db_read, _alpm_db_write.Dan McGee6-37/+37
2007-02-21* Re-added a compare function for syncpkg's - it was removed without thinkingAaron Griffin9-62/+114
properly * Error when re-reading the DB for replacements, wrong info level * Removed an duplicate debug message "checking for package replacements" * Check ignorepkg for REAL upgrades... * Properly check the NOSAVE flag * some unlink_file (remove.c) cleanup * fix indent level on handle.c * Force libalpm paths to end with a '/' char * Fixed 'target' looping in conflict.c (pmsyncpkg_t, not pmpkg_t) * Added some debug output to cache and db scanning ** All pactest tests succeed again, yay **
2007-02-20* Update Italian TranslationDan McGee1-113/+127
Giovanni Scafora <linuxmania@gmail.com>
2007-02-20* Some cascade removal changes. Mainly code cleanup, but this is an attempt toAaron Griffin2-46/+53
track down the great "Codemac Segfault" * Fixed sortdeps - use the alpm_pkg_get functions to ensure data
2007-02-20* Updated conflict checking one last time. You can finally have a file moveDan McGee6-77/+74
from one package to another seemlessly (knock on wood). This is implemented through the use of two skip lists in the trans struct- skip_add and skip_remove, which replace the former trans->skiplist. * Removed an unnecessary function parameter, added a necessary one. * If a package has no backup files, print '(none)' under the heading so it is more obvious. * Updated my TODO list.
2007-02-19* Updated German translations.Dan McGee1-175/+154
Pierre Schmitz <pierre@archlinux.de>
2007-02-19* Updated bash_completion script to 3.0 options.Dan McGee1-1/+1
* Changed that removal message again, hopefully it sounds good now. * Shortened a usage option description so it would not wrap at 81 chars.
2007-02-19* Added some improved debug output to file conflict checking.Dan McGee2-28/+31
* Small change to string in remove.c (translators may or may not have to worry about this, depending on their already existing translation).
2007-02-18Moved the update_depends function to trans.c, as it depends on a transactionAaron Griffin6-91/+96
object
2007-02-18Added new italian translation from Giovanni Scafora <linuxmania@gmail.com>Aaron Griffin1-146/+138
2007-02-18* Fix version comparisons when one pkgrel doesn't exist (this ony fails on an ==Aaron Griffin2-4/+4
operation, technically, as 1.1.2-1 >= 1.1.2 is true.
2007-02-17* A whole mess of backup changesAaron Griffin10-941/+986
- the code should be clearer, more organized, commented, and have worthwhile variable names now - proactive backup=()s now work. That is, adding a file to a backup array does what it should on the upgrade to that package, no longer forcing you to wait a full upgrade cycle for it to take effect * ldconfig was being run twice on an upgrade operation - fixed * fixed another pm_fprintf/printf output corruption with the progress bars * refactored some duplicate code for adjusting 'requiredby' lists * Added config.rpath to .cvsignore
2007-02-16* Removed unnecessary #defineDan McGee2-1/+1
* Added comment for something I noticed while looking through code
2007-02-16* Updated German translationDan McGee1-107/+102
Pierre Schmitz <pierre@archlinux.de> * Added a blurb to 'translation-help' about wrapped messages in po files
2007-02-16Added a 'contrib' directory for other stuff that might be a good idea to ↵Aaron Griffin1-2/+0
maintain here. * moved bash_completion from the "archlinux" script in the official bash_completion package * moved zsh_completion from the AUR zsh-pacman package
2007-02-14* Updated Italian translationDan McGee2-336/+326
* Updated pot translation templates * Located culprit of progress bar moving when unicode characters are used, added a TODO note about it * Removed '(target)' string from the sync.c error message, just like we did from add.c yesterday * Updated my TODO
2007-02-14* Fixed _alpm_pkg_compare_versions so that it does not output warnings if ↵Aaron Griffin1-10/+13
versions match. (reported by Travis Willard)
2007-02-14* strlen -> mbstowcs (multibyte str to wide char str) conversion where weDan McGee2-5/+14
want the actual number of characters, not the number of bytes. * Added a TODO to take care of later in scriptlet processing.
2007-02-14* Removed needless checking of package infolevel- leave it to theDan McGee2-25/+8
alpm_pkg_get functions to do this.
2007-02-14* Updated a too-verbose message in pacman/add.c. (shouldn't be an issue withiDan McGee1-102/+123
translations, but may want to update at some point) * More libalpm/conflict.c changes. Optimized more, hopefully won't need too much more than this.
2007-02-14Slightly optimized to remove duplicate strcmp operation.Dan McGee1-7/+14
2007-02-13Adding official translations. Thanks a lot, guys!Dan McGee2-670/+615
* German Translation from: Pierre Schmitz <pierre@archlinux.de> Niclas Pfeifer <macwolf@archlinux.de> * Italian Translation from: Giovanni 'voidnull' Scafora <linuxmania@gmail.com> Alessio 'mOLOk' Bolognino <themolok@gmail.com> Lorenzo '^zanDarK' Masini <lorenxo86@gmail.com>
2007-02-13* Refactored conflict checking within packages. Profiling from Dan showed anAaron Griffin12-1135/+1323
unbelievable amount of strcmp() calls (25 million) due to the list searching. This has been reimplemented with a set-intersection scheme, due to the fact that file lists are always ordered. - NEEDS TESTING * Minor clean up, "globalized" the str_cmp helper to match the alpm comparison signature, so we can use it elsewhere.
2007-02-13Removed desc_localized for the time being. We don't have localizedAaron Griffin4-25/+41
descriptions, nor do we actually build them with the newest makepkg. The actual implementation in here seems like it could be done better, and it soaks a large amount of CPU time according to profilers.
2007-02-12* Fixed an i18n bug; length of description string was hardcoded previously;Dan McGee1-216/+244
now uses an strlen call. * Updates of the *.pot files.
2007-02-12Wasn't clearing out the 'pkgname' variable, which was causing goofy outputAaron Griffin1-3/+6
issues - silly me. Also removed config.rpath from CVS
2007-02-12* Updated the README fileAaron Griffin4-17/+3
* Removed the handle->needles param. It's not needed not that alpm_list_t is public