Commit Graph

316 Commits

Author SHA1 Message Date
Dan McGee 3595201f5f * A lot of Makefile.am updates to try to get 'make dist' and 'make distcheck'
to work as expected.
2007-02-22 04:36:02 +00:00
Aaron Griffin 3b95de655b * Using positional params (POSIX compliant, not C standard) for printfs that
require a lot of duplicates - this may or may not be a good idea with regards
  to portability, but we'll see
2007-02-22 04:32:09 +00:00
Dan McGee 4bb58ef117 * Updated Italian translation
Giovanni Scafora <linuxmania@gmail.com>
2007-02-21 19:27:38 +00:00
Dan McGee 829ac8369b * Slight message change for consistancy- add a ' ' (space char) at the
beginning to match the way other repos are displayed.
* TODO updates.
2007-02-21 08:16:26 +00:00
Aaron Griffin 1334f5c56c * Use the libtool'd .la file as a link target so we can run pactest properly 2007-02-21 06:35:07 +00:00
Aaron Griffin a8dd8d5770 * Looks like I left some debugging code in there 2007-02-21 01:50:46 +00:00
Dan McGee 74f4fe9fe9 * Update Italian Translation
Giovanni Scafora <linuxmania@gmail.com>
2007-02-20 19:33:13 +00:00
Dan McGee 03f034ef0e * Updated conflict checking one last time. You can finally have a file move
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-20 02:14:27 +00:00
Dan McGee 3f802fb38e * Updated German translations.
Pierre Schmitz <pierre@archlinux.de>
2007-02-19 19:28:30 +00:00
Dan McGee bd6adec40b * Updated bash_completion script to 3.0 options.
* 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 04:13:13 +00:00
Aaron Griffin 92ad556512 * A whole mess of backup changes
- 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-17 08:55:05 +00:00
Dan McGee c40c2e1137 * Updated German translation
Pierre Schmitz <pierre@archlinux.de>
* Added a blurb to 'translation-help' about wrapped messages in po files
2007-02-16 22:04:23 +00:00
Dan McGee e6df40efd7 * Updated Italian translation
Giovanni Scafora <linuxmania@gmail.com>
2007-02-16 21:38:31 +00:00
Aaron Griffin 17e72ff882 * Bugfix FS#6422 - spacing for warning output. Due to the fact that we fixed
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 02:21:13 +00:00
Aaron Griffin 4b2e236a35 * Bugfix for FS#6427: Allow -Si to use "repository/package" syntax
* Also don't stop searching when one package is not found (output and continue)
2007-02-16 01:58:51 +00:00
Dan McGee 01726a74e4 * Updated pt_BR translation (Douglas Soares de Andrade), and merged other
language files with latest pot file.
2007-02-15 14:32:01 +00:00
Dan McGee c557fa589d * Updated Italian translation
* 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 19:35:41 +00:00
Dan McGee cd34ced4ad * strlen -> mbstowcs (multibyte str to wide char str) conversion where we
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 15:54:35 +00:00
Dan McGee 97f3a52a9b * pt_BR translation updates. 2007-02-14 15:14:42 +00:00
Dan McGee 7e6350a9af * Updated a too-verbose message in pacman/add.c. (shouldn't be an issue withi
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-14 04:52:17 +00:00
Dan McGee c8aa0d8139 Translation Update, pt_BR:
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-14 02:54:30 +00:00
Dan McGee f69c48bdfd Pierre Schmitz <pierre@archlinux.de>
Updated missing newlines in German translation.
2007-02-13 22:35:09 +00:00
Dan McGee a6f2cb3ffd Adding official translations. Thanks a lot, guys!
* 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 21:19:48 +00:00
Aaron Griffin 103dbb9fd1 * Refactored conflict checking within packages. Profiling from Dan showed an
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-13 08:15:38 +00:00
Dan McGee 3da9fb537a Fixed locale setting issues in the frontend, and fixed description of --cachedir. 2007-02-13 01:50:18 +00:00
Aaron Griffin 89099871a4 Reverted the exit 2 -> exit 0 change. This was there for a reason (so that
pacman didn't check targets and spit out an error message).
2007-02-13 01:37:48 +00:00
Dan McGee 8cb0758beb * Fixed an i18n bug; length of description string was hardcoded previously;
now uses an strlen call.
* Updates of the *.pot files.
2007-02-12 15:39:29 +00:00
Aaron Griffin b623b98882 Exit status of 2 seems wrong for -V 2007-02-12 07:23:36 +00:00
Dan McGee b9803b719a TODO update and .cvsignore addition 2007-02-12 07:03:43 +00:00
Aaron Griffin 62cd381894 * Added --cachedir commandline option
* Removed usage of 'realpath'.  From the manpage:
  "Avoid  using this function. It is broken by design"
2007-02-12 07:03:08 +00:00
Aaron Griffin be85600dfd * Removed the 'vercmp' op from pacman. The standalone 'vercmp' binary should be
used instead
* Allow -T/--deptest to work without root privileges
2007-02-12 06:44:00 +00:00
Aaron Griffin dfb1f1e237 * Updated the README file
* Removed the handle->needles param.  It's not needed not that alpm_list_t is
  public
2007-02-12 04:45:21 +00:00
Aaron Griffin 9803ec3066 Added 'testpkg' binary to test for validity of a package:
testpkg <package file>, returns 0 on success, 1 on failure
  failure will also output error messages to stdout
2007-02-12 01:30:02 +00:00
Aaron Griffin a382d33d45 Cleaned up some more output
* Questions no longer start with "error:"
* downloaded size is output as a float now
2007-02-10 09:34:59 +00:00
Dan McGee 73402a1459 * Fix compile errors/warnings.
* Update .cvsignore files a bit.
2007-02-09 21:54:57 +00:00
Aaron Griffin f8cd4858ca * I made "alpm_versioncmp" public a while back, without noticing this was 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.
2007-02-09 21:08:10 +00:00
Dan McGee 79d18c2617 * Remove "error: " text from ERR() call since it is appended by ERR anyway. 2007-02-09 17:58:19 +00:00
Aaron Griffin d8fd645c4c * Cleaned up direct pm_fprintf usage (move to MSG/ERR macros for now)
* Moved some stderr output to stdout
* Remove "RETRIEVE_LOCAL" trans event as libdownload handles local files
2007-02-09 16:02:01 +00:00
Dan McGee b67e10d6b3 * Hopefully fixed the download progres bar for real. We should no longer
have issues with crazy speeds being displayed.
* Minor string updates to remove unnecessary 1-off translations.
2007-02-08 20:44:47 +00:00
Dan McGee 2df13b6e8f * Oops. Added some files to make "make update-po" work. 2007-02-08 05:36:26 +00:00
Dan McGee a7df172bee * Nice overhaul of manpages. It is at least a start.
* Alphabetized options in pacman usage.
2007-02-08 05:24:17 +00:00
Dan McGee 306914793c Fix newlines for real, and add a missing _() gettext wrapper. 2007-02-08 01:12:48 +00:00
Aaron Griffin ad224b2703 * Fix total transfered size on download bar
* Fix -Qm segfault
* Minor query cleanup
2007-02-07 05:25:45 +00:00
Aaron Griffin ca4078b115 I broke the progress bars earlier. Put that back to normal. 2007-02-07 03:15:18 +00:00
Dan McGee da637c79e5 Oops. Actuall add two new translation templates as requested on the ML-
'it' and 'pt_BR'.
2007-02-07 02:24:13 +00:00
Dan McGee f05b6c152b * Update of all the *.po files and *.pot template files.
* Makefile targets to rebuild po files now work - use 'make update-po' in
  the po directories.
* Added two new translation templates as requested on the ML- 'it' and
  'pt_BR'.

This commit might be a bit big for the mailing list to like on the commit
message. :)
2007-02-07 02:22:53 +00:00
Dan McGee 4de804d157 * Makepkg updates, and small bugfix on man page compression.
* Change libtool default to makepkg2 behavior.
* Other small changes.
2007-02-06 22:36:13 +00:00
Aaron Griffin dd7f1d95b1 Minor experimental changes to the download progress bar:
* change to Mb and Gb for both total size and transfer rate if needed
* round up to 1 second for downloads that were between 1s and 0.5s

This function needs some serious looking at, as it's probably not 64bit safe (thus the "wrong calculation" problem on the list).
2007-02-06 21:54:39 +00:00
Aaron Griffin 1bb3cd34bf Added the --upgrades option for -Qu (--query --upgrades) 2007-02-04 08:30:13 +00:00
Aaron Griffin 63000584b6 Implemented a crappy version of -Qu (query upgrades). This simply outputs the
packages to be upgraded in a -Su operation.  Much of the code is duplicated from
sync.c.
TODO: move the implementation to upgrades.c, and reimplement the sync_sysupgrade
function in terms of this:
    trans->packages = alpm_get_upgrades();
2007-02-04 08:26:52 +00:00