summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* * 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.
* * 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 {}
* * 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
* * libtool fixes for building against the right libsAaron Griffin2007-03-04
|
* * 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
* * Just a note for future referenceAaron Griffin2007-03-01
|
* * Updated Italian translationDan McGee2007-03-01
| | | | | Giovanni Scafora <linuxmania@gmail.com> * Fixed FS #6442 - don't list directories in -Ql output.
* * pacman hidden arguments: removed -Y and -D. -T is the only hidden arg now, toAaron Griffin2007-02-26
| | | | | | | | 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
* * Updated Italian translationDan McGee2007-02-23
| | | | Giovanni Scafora <linuxmania@gmail.com>
* * conflicts are returned with the full path, so prepending root is redundantAaron Griffin2007-02-23
|
* We don't need this anymoreAaron Griffin2007-02-23
|
* * Modified the handling and output w.r.t. IgnorePkg entries. -Sy always ignoresAaron Griffin2007-02-23
| | | | these packages, but -S explicitly asks for confirmation.
* Big commit here, I'll try to cover all the bases.Dan McGee2007-02-22
| | | | | | | | | | | | * 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.
* * Update the translation POT files- I don't want to do this daily but theDan McGee2007-02-22
| | | | current ones were a bit out of date.
* * Updated German translations.Dan McGee2007-02-22
| | | | | | Pierre Schmitz <pierre@archlinux.de> * Updated Italian translations. Giovanni Scafora <linuxmania@gmail.com>
* * Forgot the second printf in the last commitAaron Griffin2007-02-22
|
* * A lot of Makefile.am updates to try to get 'make dist' and 'make distcheck'Dan McGee2007-02-22
| | | | to work as expected.
* * Using positional params (POSIX compliant, not C standard) for printfs thatAaron Griffin2007-02-22
| | | | | require a lot of duplicates - this may or may not be a good idea with regards to portability, but we'll see
* * Updated Italian translationDan McGee2007-02-21
| | | | Giovanni Scafora <linuxmania@gmail.com>
* * Slight message change for consistancy- add a ' ' (space char) at theDan McGee2007-02-21
| | | | | beginning to match the way other repos are displayed. * TODO updates.
* * Use the libtool'd .la file as a link target so we can run pactest properlyAaron Griffin2007-02-21
|
* * Looks like I left some debugging code in thereAaron Griffin2007-02-21
|
* * Update Italian TranslationDan McGee2007-02-20
| | | | Giovanni Scafora <linuxmania@gmail.com>
* * Updated conflict checking one last time. You can finally have a file moveDan McGee2007-02-20
| | | | | | | | | | 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.
* * Updated German translations.Dan McGee2007-02-19
| | | | Pierre Schmitz <pierre@archlinux.de>
* * Updated bash_completion script to 3.0 options.Dan McGee2007-02-19
| | | | | * Changed that removal message again, hopefully it sounds good now. * Shortened a usage option description so it would not wrap at 81 chars.
* * A whole mess of backup changesAaron Griffin2007-02-17
| | | | | | | | | | | | - 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
* * Updated German translationDan McGee2007-02-16
| | | | | Pierre Schmitz <pierre@archlinux.de> * Added a blurb to 'translation-help' about wrapped messages in po files
* * Updated Italian translationDan McGee2007-02-16
| | | | Giovanni Scafora <linuxmania@gmail.com>
* * Bugfix FS#6422 - spacing for warning output. Due to the fact that we fixedAaron Griffin2007-02-16
| | | | | | | 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
* * Bugfix for FS#6427: Allow -Si to use "repository/package" syntaxAaron Griffin2007-02-16
| | | | * Also don't stop searching when one package is not found (output and continue)
* * Updated pt_BR translation (Douglas Soares de Andrade), and merged otherDan McGee2007-02-15
| | | | language files with latest pot file.
* * Updated Italian translationDan McGee2007-02-14
| | | | | | | | | * 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
* * strlen -> mbstowcs (multibyte str to wide char str) conversion where weDan McGee2007-02-14
| | | | | want the actual number of characters, not the number of bytes. * Added a TODO to take care of later in scriptlet processing.
* * pt_BR translation updates.Dan McGee2007-02-14
|
* * Updated a too-verbose message in pacman/add.c. (shouldn't be an issue withiDan McGee2007-02-14
| | | | | | 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.
* Translation Update, pt_BR:Dan McGee2007-02-14
| | | | | | | 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.
* Pierre Schmitz <pierre@archlinux.de>Dan McGee2007-02-13
| | | | Updated missing newlines in German translation.
* Adding official translations. Thanks a lot, guys!Dan McGee2007-02-13
| | | | | | | | | | * 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>
* * Refactored conflict checking within packages. Profiling from Dan showed anAaron Griffin2007-02-13
| | | | | | | | 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.
* Fixed locale setting issues in the frontend, and fixed description of ↵Dan McGee2007-02-13
| | | | --cachedir.
* Reverted the exit 2 -> exit 0 change. This was there for a reason (so thatAaron Griffin2007-02-13
| | | | pacman didn't check targets and spit out an error message).
* * Fixed an i18n bug; length of description string was hardcoded previously;Dan McGee2007-02-12
| | | | | now uses an strlen call. * Updates of the *.pot files.
* Exit status of 2 seems wrong for -VAaron Griffin2007-02-12
|
* TODO update and .cvsignore additionDan McGee2007-02-12
|
* * Added --cachedir commandline optionAaron Griffin2007-02-12
| | | | | * Removed usage of 'realpath'. From the manpage: "Avoid using this function. It is broken by design"