summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2007-03-06* Added missing header include guards in md5.h and sha1.h.Dan McGee11-8/+13
* 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.
2007-03-05This commit looks much more monumental than it is. Almost all just #includeDan McGee15-19/+52
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.
2007-03-04* Hopefully the LAST big update of the language files before release.v3.0.0-rc1Dan McGee6-48/+48
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).
2007-03-04* Fixed the handle realroot stuffAaron Griffin1-1/+2
* Added some {}
2007-03-04* handle changes: callbacks should check handle first, as there's a fewAaron Griffin7-457/+434
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
2007-03-04* libtool fixes for building against the right libsAaron Griffin1-2/+2
2007-03-03* Updated Italian translationDan McGee1-94/+62
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 McGee1-7/+17
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 Griffin2-4/+4
* 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 Griffin1-0/+4
2007-03-01* Updated Italian translationDan McGee1-3/+12
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 Griffin6-136/+37
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 McGee1-22/+27
Giovanni Scafora <linuxmania@gmail.com>
2007-02-23* conflicts are returned with the full path, so prepending root is redundantAaron Griffin2-9/+5
2007-02-23We don't need this anymoreAaron Griffin1-1/+1
2007-02-23* Modified the handling and output w.r.t. IgnorePkg entries. -Sy always ignoresAaron Griffin1-1/+5
these packages, but -S explicitly asks for confirmation.
2007-02-22Big commit here, I'll try to cover all the bases.Dan McGee6-259/+318
* 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-78/+93
current ones were a bit out of date.
2007-02-22* Updated German translations.Dan McGee1-77/+84
Pierre Schmitz <pierre@archlinux.de> * Updated Italian translations. Giovanni Scafora <linuxmania@gmail.com>
2007-02-22* Forgot the second printf in the last commitAaron Griffin1-1/+1
2007-02-22* A lot of Makefile.am updates to try to get 'make dist' and 'make distcheck'Dan McGee3-12/+25
to work as expected.
2007-02-22* Using positional params (POSIX compliant, not C standard) for printfs thatAaron Griffin1-2/+2
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 McGee1-66/+66
Giovanni Scafora <linuxmania@gmail.com>
2007-02-21* Slight message change for consistancy- add a ' ' (space char) at theDan McGee1-1/+3
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 Griffin1-1/+1
2007-02-21* Looks like I left some debugging code in thereAaron Griffin1-2/+0
2007-02-20* Update Italian TranslationDan McGee1-16/+21
Giovanni Scafora <linuxmania@gmail.com>
2007-02-20* Updated conflict checking one last time. You can finally have a file moveDan McGee1-37/+43
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-13/+13
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-17* A whole mess of backup changesAaron Griffin3-0/+14
- 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 McGee1-73/+68
Pierre Schmitz <pierre@archlinux.de> * Added a blurb to 'translation-help' about wrapped messages in po files
2007-02-16* Updated Italian translationDan McGee1-42/+51
Giovanni Scafora <linuxmania@gmail.com>
2007-02-16* Bugfix FS#6422 - spacing for warning output. Due to the fact that we fixedAaron Griffin2-6/+6
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 Griffin1-12/+54
* 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 McGee7-252/+307
language files with latest pot file.
2007-02-14* Updated Italian translationDan McGee4-62/+72
* 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 McGee2-3/+3
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 McGee1-58/+57
2007-02-14* Updated a too-verbose message in pacman/add.c. (shouldn't be an issue withiDan McGee1-1/+1
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 McGee1-206/+251
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 McGee1-5/+5
Updated missing newlines in German translation.
2007-02-13Adding official translations. Thanks a lot, guys!Dan McGee2-840/+553
* 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 Griffin5-939/+1022
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 McGee1-7/+9
--cachedir.
2007-02-13Reverted the exit 2 -> exit 0 change. This was there for a reason (so thatAaron Griffin1-1/+1
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 McGee2-172/+191
now uses an strlen call. * Updates of the *.pot files.
2007-02-12Exit status of 2 seems wrong for -VAaron Griffin1-1/+1
2007-02-12TODO update and .cvsignore additionDan McGee1-0/+1
2007-02-12* Added --cachedir commandline optionAaron Griffin1-44/+52
* Removed usage of 'realpath'. From the manpage: "Avoid using this function. It is broken by design"