[pacman-dev] [GIT] The official pacman repository branch, master, updated. v4.0.0-28-ga33424f
Dan McGee
dan at archlinux.org
Fri Oct 14 09:18:57 EDT 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The official pacman repository".
The branch, master has been updated
via a33424f87955c43652a61fcef5817df07e17bee3 (commit)
via 020bdb4298cd1bc53df7ca4d911cda7aaa65329c (commit)
via dbd54c0cb95c5d9c914e5d99b23556d2528ee9b9 (commit)
via 0d2600c575033774485f84ad67cbc602592237ab (commit)
via 185cbb8a44d9e084580d6a9f4ca004c20ee90103 (commit)
via 8605284e0d1b70d9845ca4c6362d7d451f503d32 (commit)
via 9934052b54fd4dcd2339a2beb87ccc81b5e144bd (commit)
via 5b5b250443ed416a2c2315c28a034501603cd003 (commit)
via 86bc36412e2619e0e05d61cf6216ef68814cf1cd (commit)
via 1ebe5dc1979e90c37d6534d6b1e0173a884326b1 (commit)
via 43cad9c871f32da7a5342ba8b68aa316d7e47e9e (commit)
from 53e525c4f3a6b0bfdc346b4563c6c8fc0e1b5b11 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a33424f87955c43652a61fcef5817df07e17bee3
Merge: dbd54c0 020bdb4
Author: Dan McGee <dan at archlinux.org>
Date: Fri Oct 14 08:16:18 2011 -0500
Merge branch 'maint'
commit dbd54c0cb95c5d9c914e5d99b23556d2528ee9b9
Author: Dan McGee <dan at archlinux.org>
Date: Thu Oct 13 12:34:58 2011 -0500
Use fputs and putchar in callback progress display
When we have fixed strings or output, printf overhead is unnecessary.
Signed-off-by: Dan McGee <dan at archlinux.org>
commit 0d2600c575033774485f84ad67cbc602592237ab
Author: Dan McGee <dan at archlinux.org>
Date: Tue Oct 11 12:35:33 2011 -0500
Remove -f short option for --force
This is not something that should be used on a frequent basis, and
giving it a short option encourages use without making the drawbacks
obvious. For the 1% of situations that require it, the 5 extra
keystrokes are a fair price to pay.
Signed-off-by: Dan McGee <dan at archlinux.org>
commit 8605284e0d1b70d9845ca4c6362d7d451f503d32
Author: Dan McGee <dan at archlinux.org>
Date: Mon Oct 3 10:54:08 2011 -0500
Use puts() instead of no-op printf() where applicable
This replaces several printf calls of the following styles:
printf("%s", ...);
printf("some fixed string");
printf("x");
We can use either fputs() or putchar() here to do the same thing
without incurring the overhead of the printf format parser.
The biggest gain here comes when we are calling the print function in a
loop repeatedly; notably when printing local package files.
$ /usr/bin/time ./pacman-before -Ql | md5sum
0.25user 0.04system 0:00.30elapsed 98%CPU
$ /usr/bin/time ./pacman-after -Ql | md5sum
0.17user 0.06system 0:00.25elapsed 94%CPU
$ /usr/bin/time ./pacman-before -Qlq | md5sum
0.20user 0.05system 0:00.26elapsed 98%CPU
$ /usr/bin/time ./pacman-after -Qlq | md5sum
0.15user 0.05system 0:00.23elapsed 93%CPU
So '-Ql' shows a 17% improvement while '-Qlq' shows a 13% improvement on
382456 total files.
Signed-off-by: Dan McGee <dan at archlinux.org>
commit 9934052b54fd4dcd2339a2beb87ccc81b5e144bd
Author: Dan McGee <dan at archlinux.org>
Date: Thu Oct 13 18:03:10 2011 -0500
Remove mcheck.h support
When was the last time anyone used this? That's what I thought.
Signed-off-by: Dan McGee <dan at archlinux.org>
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 2 -
contrib/bash_completion.in | 4 +-
contrib/zsh_completion.in | 4 +-
doc/.gitignore | 4 +-
doc/Makefile.am | 12 ++--
doc/asciidoc-override.css | 7 ++
doc/index.txt | 135 +++++++++++++++++++++++++++------------
doc/pacman.8.txt | 2 +-
lib/libalpm/dload.c | 24 ++++---
lib/libalpm/dload.h | 2 +
scripts/makepkg.sh.in | 20 +++---
src/pacman/callback.c | 34 +++++-----
src/pacman/conf.h | 3 +-
src/pacman/package.c | 15 +++--
src/pacman/pacman.c | 16 +----
src/pacman/query.c | 10 ++--
src/pacman/sync.c | 10 ++--
src/pacman/util.c | 18 +++---
test/pacman/tests/upgrade012.py | 2 +-
test/pacman/tests/upgrade014.py | 2 +-
test/pacman/tests/upgrade015.py | 2 +-
test/pacman/tests/upgrade016.py | 2 +-
test/pacman/tests/upgrade046.py | 2 +-
23 files changed, 198 insertions(+), 134 deletions(-)
create mode 100644 doc/asciidoc-override.css
hooks/post-receive
--
The official pacman repository
More information about the pacman-dev
mailing list