summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-03-03* Updated Italian translationDan McGee
Giovanni Scafora <linuxmania@gmail.com> * Updated German translation Pierre Schmitz <pierre@archlinux.de>
2007-03-03* A little more hacking with wchar_t output, but nothing really changed inDan McGee
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.
2007-03-03Big commit this time:Aaron Griffin
* 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
2007-03-01* Just a note for future referenceAaron Griffin
2007-03-01* Updated Italian translationDan McGee
Giovanni Scafora <linuxmania@gmail.com> * Fixed FS #6442 - don't list directories in -Ql output.
2007-02-26* pacman hidden arguments: removed -Y and -D. -T is the only hidden arg now, toAaron Griffin
be used in place of -Y. Also, -D was rather silly, as it does mostly what -S does. * Cleaned up pacman_deptest - removed the goofy faketarget stuff (NEEDS testing still) * libalpm function renames
2007-02-23* Updated Italian translationDan McGee
Giovanni Scafora <linuxmania@gmail.com>
2007-02-23* conflicts are returned with the full path, so prepending root is redundantAaron Griffin
2007-02-23We don't need this anymoreAaron Griffin
2007-02-23* Modified the handling and output w.r.t. IgnorePkg entries. -Sy always ignoresAaron Griffin
these packages, but -S explicitly asks for confirmation.
2007-02-22Big commit here, I'll try to cover all the bases.Dan McGee
* 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 McGee
current ones were a bit out of date.
2007-02-22* Updated German translations.Dan McGee
Pierre Schmitz <pierre@archlinux.de> * Updated Italian translations. Giovanni Scafora <linuxmania@gmail.com>
2007-02-22* Forgot the second printf in the last commitAaron Griffin
2007-02-22* A lot of Makefile.am updates to try to get 'make dist' and 'make distcheck'Dan McGee
to work as expected.
2007-02-22* Using positional params (POSIX compliant, not C standard) for printfs thatAaron Griffin
require a lot of duplicates - this may or may not be a good idea with regards to portability, but we'll see
2007-02-21* Updated Italian translationDan McGee
Giovanni Scafora <linuxmania@gmail.com>
2007-02-21* Slight message change for consistancy- add a ' ' (space char) at theDan McGee
beginning to match the way other repos are displayed. * TODO updates.
2007-02-21* Use the libtool'd .la file as a link target so we can run pactest properlyAaron Griffin
2007-02-21* Looks like I left some debugging code in thereAaron Griffin
2007-02-20* Update Italian TranslationDan McGee
Giovanni Scafora <linuxmania@gmail.com>
2007-02-20* Updated conflict checking one last time. You can finally have a file moveDan McGee
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 McGee
Pierre Schmitz <pierre@archlinux.de>
2007-02-19* Updated bash_completion script to 3.0 options.Dan McGee
* 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-17* A whole mess of backup changesAaron Griffin
- 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* Updated German translationDan McGee
Pierre Schmitz <pierre@archlinux.de> * Added a blurb to 'translation-help' about wrapped messages in po files
2007-02-16* Updated Italian translationDan McGee
Giovanni Scafora <linuxmania@gmail.com>
2007-02-16* Bugfix FS#6422 - spacing for warning output. Due to the fact that we fixedAaron Griffin
MSG/ERR usage earlier, the trailing '\n's are no longer needed * Oddly enough - *ADDED* some '\n's to the sync_info errors (last commit) as the package info output does not use the pm_fprintf facility and thus does not honor our newline/no-newline setup
2007-02-16* Bugfix for FS#6427: Allow -Si to use "repository/package" syntaxAaron Griffin
* Also don't stop searching when one package is not found (output and continue)
2007-02-15* Updated pt_BR translation (Douglas Soares de Andrade), and merged otherDan McGee
language files with latest pot file.
2007-02-14* Updated Italian translationDan McGee
* 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* strlen -> mbstowcs (multibyte str to wide char str) conversion where weDan McGee
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* pt_BR translation updates.Dan McGee
2007-02-14* Updated a too-verbose message in pacman/add.c. (shouldn't be an issue withiDan McGee
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-14Translation Update, pt_BR:Dan McGee
Douglas Soares de Andrade <douglas@archlinux-br.org>, 2007. Hugo Doria <hugodoria@archlinux-br.org>, 2007. Lincoln de Sousa <lincoln@archlinux-br.org>, 2007. Leandro Inácio <leandro@archlinux-br.org>, 2007.
2007-02-13Pierre Schmitz <pierre@archlinux.de>Dan McGee
Updated missing newlines in German translation.
2007-02-13Adding official translations. Thanks a lot, guys!Dan McGee
* 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 Griffin
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-13Fixed locale setting issues in the frontend, and fixed description of ↵Dan McGee
--cachedir.
2007-02-13Reverted the exit 2 -> exit 0 change. This was there for a reason (so thatAaron Griffin
pacman didn't check targets and spit out an error message).
2007-02-12* Fixed an i18n bug; length of description string was hardcoded previously;Dan McGee
now uses an strlen call. * Updates of the *.pot files.
2007-02-12Exit status of 2 seems wrong for -VAaron Griffin
2007-02-12TODO update and .cvsignore additionDan McGee
2007-02-12* Added --cachedir commandline optionAaron Griffin
* Removed usage of 'realpath'. From the manpage: "Avoid using this function. It is broken by design"
2007-02-12* Removed the 'vercmp' op from pacman. The standalone 'vercmp' binary should beAaron Griffin
used instead * Allow -T/--deptest to work without root privileges
2007-02-12* Updated the README fileAaron Griffin
* Removed the handle->needles param. It's not needed not that alpm_list_t is public
2007-02-12Added 'testpkg' binary to test for validity of a package:Aaron Griffin
testpkg <package file>, returns 0 on success, 1 on failure failure will also output error messages to stdout
2007-02-10Cleaned up some more outputAaron Griffin
* Questions no longer start with "error:" * downloaded size is output as a float now
2007-02-09* Fix compile errors/warnings.Dan McGee
* Update .cvsignore files a bit.
2007-02-09* I made "alpm_versioncmp" public a while back, without noticing this was ↵Aaron Griffin
already done (alpm_pkg_vercmp). I dropped this change, making versioncmp "private" again. (alpm_versioncmp -> _alpm_versioncmp, hidden symbol) * Make alpm_get_upgrades use the same version check that -Su and -S use.