Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   ArchLinux Pacman Development (http://www.linux-archive.org/archlinux-pacman-development/)
-   -   Pacman Color (http://www.linux-archive.org/archlinux-pacman-development/690763-pacman-color.html)

Daniel Wallace 08-05-2012 09:46 AM

Pacman Color
 
I wanted to fix up the pacman-color patch from the aur, as suggested by Allan. And I decided to put all of the
seperate color commands into color.c . Not being very experienced in C, please feel free to be as nitpicky as
you want, I did this mostly for the learning experience, as well as to start cleaning up the patch.

Thanks

Daniel Wallace (11):
load color into config
Add color commands for stuff in util
Load color configs
add color to callback
add color to package.c
Add color to pacman.c
add color to query.c
Add color to remove.c
Add color to sync.c
Add empty config file
Document color

contrib/bash_completion.in | 2 +-
contrib/zsh_completion.in | 1 +
doc/pacman.8.txt | 3 +
etc/Makefile.am | 5 +-
etc/color.conf.in | 46 +++
etc/pacman.conf.in | 1 +
src/pacman/Makefile.am | 3 +
src/pacman/callback.c | 164 ++++++++--
src/pacman/color.c | 796 +++++++++++++++++++++++++++++++++++++++++++++
src/pacman/color.h | 77 +++++
src/pacman/conf.c | 5 +
src/pacman/conf.h | 6 +-
src/pacman/package.c | 190 ++++++++---
src/pacman/pacman.c | 85 +++--
src/pacman/query.c | 57 +++-
src/pacman/remove.c | 7 +-
src/pacman/sync.c | 151 +++++++--
src/pacman/util.c | 35 +-
src/pacman/util.h | 6 +
19 files changed, 1467 insertions(+), 173 deletions(-)
create mode 100644 etc/color.conf.in
create mode 100644 src/pacman/color.c
create mode 100644 src/pacman/color.h

--
1.7.11.4


All times are GMT. The time now is 09:26 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.