1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-10 11:35:00 -05:00
Commit Graph

891 Commits

Author SHA1 Message Date
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
Dan McGee
d86bea5c8d * Added some improved debug output to file conflict checking.
* 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-19 03:18:59 +00:00
Aaron Griffin
119b3ab043 Moved the update_depends function to trans.c, as it depends on a transaction
object
2007-02-18 22:07:11 +00:00
Aaron Griffin
7b4e2cd25d Added new italian translation from Giovanni Scafora <linuxmania@gmail.com> 2007-02-18 18:31:24 +00:00
Aaron Griffin
d35e489499 * Fix version comparisons when one pkgrel doesn't exist (this ony fails on an ==
operation, technically, as 1.1.2-1 >= 1.1.2 is true.
2007-02-18 18:29:28 +00:00
Aaron Griffin
6e9c987857 Added a config file for the vim-project plugin for kicks. To use:
pacman -S vim-project and read :h project
enjoy
2007-02-17 10:19:09 +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
1dff742de8 Small updates, read diff for details 2007-02-17 05:06:13 +00:00
Dan McGee
9ebf500758 * Adding pacsearch - a script to search both the sync repos and locally
installed packages in color, and indicate those which are installed.
2007-02-17 04:39:59 +00:00
Dan McGee
8e34023bbd * Removed unnecessary #define
* Added comment for something I noticed while looking through code
2007-02-16 22:41:51 +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
0ca178fcd5 Updated NEWS file with some of Roman's suggestions. 2007-02-16 21:48:59 +00:00
Dan McGee
e6df40efd7 * Updated Italian translation
Giovanni Scafora <linuxmania@gmail.com>
2007-02-16 21:38:31 +00:00
Aaron Griffin
a1f36454c2 Added a 'contrib' directory for other stuff that might be a good idea to 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-16 19:37:00 +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
Aaron Griffin
3a2d87d61d * Fixed _alpm_pkg_compare_versions so that it does not output warnings if versions match. (reported by Travis Willard) 2007-02-14 16:15:09 +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
b347a7397a * Updated makepkg.8 manpage to reflect shift of -S to --usesudo. 2007-02-14 15:06:03 +00:00
Aaron Griffin
7e9fdfd44e While trying to change the number of missing deps output by makepkg, I noticed
some needless complication in a few of these functions (checkdeps required
stderr output due to the way it was called/used) so that's all cleaned up now.
Also, makepkg no longer outputs a single dep when they are missing, it lists all
at once, including makedeps
2007-02-14 05:52:49 +00:00
Dan McGee
98db5dcc23 * Removed needless checking of package infolevel- leave it to the
alpm_pkg_get functions to do this.
2007-02-14 05:34:21 +00:00
Aaron Griffin
f466a8df5a TODO update 2007-02-14 04:58:37 +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
d871b841fb Slightly optimized to remove duplicate strcmp operation. 2007-02-14 02:58:35 +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
Jürgen Hötzel
ac965ed401 * unset LC_ALL, LANG after sourcing /etc/profile.d/* 2007-02-13 20:47:34 +00:00
Aaron Griffin
473fee2f11 From Phil Dillon-Thiselton <dibblethewrecker@gmail.com>:
* Wording error in makepkg.conf
2007-02-13 19:02:35 +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
af48c695eb Removed desc_localized for the time being. We don't have localized
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-13 01:46:33 +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
Aaron Griffin
de4e3b4a69 These were in the wrong order, so errored for me. 2007-02-13 01:30:47 +00:00
Aaron Griffin
a7e610c37d Changed "MARCHFLAG" to "ARCHSWITCH" as the name was confusing (it's not a FLAG
and not always MARCH).  Also changes makepkg.conf.in to not have commented -mcpu
lines (due to the above), but to have a comment about the differences in -march
and -mcpu
2007-02-13 01:25:26 +00:00
Aaron Griffin
4d494a39e7 Fix some x86_64 configuration handling 2007-02-13 00:57:08 +00:00
Dan McGee
69d6e5a9eb * Updated translation-help guide with instructions for updating one po file. 2007-02-12 16:19:35 +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
2977764aa5 * Added long options (missing in patch)
* converted "sudosync" to "usesudo" to match makepkg
* Removed nostrip, as it was removed from makepkg as well
2007-02-12 09:37:02 +00:00
Aaron Griffin
e6efbc109f Added changes from Daniel YC Lin via bug #3266
- support for the 'BCemno' makepkg options
2007-02-12 09:28:36 +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
2a7c1de945 Wasn't clearing out the 'pkgname' variable, which was causing goofy output
issues - silly me.
Also removed config.rpath from CVS
2007-02-12 06:31:39 +00:00