summaryrefslogtreecommitdiffstats
path: root/src/pacman/conf.c
AgeCommit message (Collapse)AuthorFilesLines
2007-06-09Fix up things after the last few changesDan McGee1-0/+2
* Readd default logmask of ERROR and WARNING * Remove DOWNLOAD log level as it no longer applies * Add 'no targets' logic back in where it applies * Switch some prints in parseconfig to ERROR Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-26More pacman side cleanupDan McGee1-11/+7
* Cleaned up more of the header #includes, and got rid of a lot of stuff that was due to trying to make it compile on BSD/Darwin/CYGWIN. We can add it later but lets keep it simple for now and do it in seperate files if possible later. * Removed a lot of #define MACROS. Some were not even used, and others were only used a few times. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-25Remove more unnecessary stuffDan McGee1-3/+0
* Remove libintl.h from most files, as we only need to include it once in util.h where _() is defined. * Remove other unnecessary header inclusions. * Remove a macro that was only used once and replaced it with actual code. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-25Remove unnecessary includes of downloadprog.hDan McGee1-1/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-25Merge single-function header files on pacman sideDan McGee1-1/+1
Having a seperate header file for add, remove, query, etc. seemed overkill. Merge them all into a common pacman.h and fix the necessary #includes. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-14Add void to functions with empty parameter listDan McGee1-1/+1
Adding void [eg foo(void) instead of foo()] makes the code more compliant with ANSI C. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-05This commit looks much more monumental than it is. Almost all just #includeDan McGee1-1/+4
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.
2007-01-31Debug logging changes:Aaron Griffin1-3/+0
* The --debug params were goofy. New setup allows --debug without params, --debug=<level> where level 1=debug output, 2=debug and download output, 3=debug, download, and function tracing output. This seems more sane to me. * Removed PM_LOG_FLOW1 and PM_LOG_FLOW2. They were just confusing. When adding new functions, it is near impossible to determin if your output should be "flow1" or "flow2" without tracking all the way up the call chain. Rarely would one ever say "ok, lets just show "flow2" output. These have both been replaced with PM_LOG_DEBUG * Removed the need for the root parameter on alpm_initialize. it is now defaulted to PM_ROOT just like dbpath and cachedir. This allows alpm to be initialized BEFORE option parsing in the front end, saving us some duplicate variables in the frontend. * Cleaned up front end variables due to early alpm_initialize call.
2007-01-19Preliminary checkin for alpm_list conversionAaron Griffin1-13/+1
* renamed pmlist_t -> alpm_list_t * made alpm_list_t a public type (alpm_list.h header) * removed additional storage for registered DBs in pacman source * some code cleanup * removed duplicate (pm)list_display functions from pacman source * misc code cleanup
2006-12-08A few minor updates so --root works again.Aaron Griffin1-0/+1
2006-11-20* repo-add script - to add entries to a db file directly from package data ↵Aaron Griffin1-2/+1
(no PKGBUILD) * libalpm api changes - move from a _getinfo(p, WHAT_WE_WANT) scheme to a typesafe _get_what_we_want(p) scheme [not 100% complete yet] * some const correctness changes * removal of PM_* types in alpm.h in favor of the pm*_t types used throughout libalpm
2006-11-14* Numerous mini valgrind fixes.Aaron Griffin1-1/+1
* Addition of hacky architecture check in the _splitname function * Removal of libfetch from the archlinux proper - it has been renamed to libdownload and can be found at http://phraktured.net/libdownload * Merge of _some_ of the Frugalware makepkg change - this may still be incomplete * Removal of libftp from cvs proper * PKGBUILD manpage now says 'PKGBUILD' instead of FrugalBuild (he he)
2006-10-15Merged frugalware changes. Added a few other minor things too, but there's alotAaron Griffin1-290/+6
to list. The diff should show you 8)
2006-05-15first stage of i18n stuff from VMiklosJudd Vinet1-40/+41
2006-03-13- removed pacman.hAurelien Foret1-1/+0
- removed unuseful extern declarations - set pacman.c internal functions as static
2006-02-14used MALLOC macro when possibleAurelien Foret1-13/+3
2006-01-02patch from VMiklos - use PACKAGE_VERSION instead of PACMAN_VERSIONJudd Vinet1-1/+1
2005-10-29fixed parseconfig usageAurelien Foret1-3/+3
2005-10-29renamed pmconfig_t to config_tAurelien Foret1-6/+6
2005-10-28added pmconfig_t structure to hold all the configurationAurelien Foret1-28/+58
(patch from VMiklos <vmiklos@frugalware.org>)
2005-10-20added a default cachedirJudd Vinet1-0/+9
2005-10-10pacman should work without its configuration file!Aurelien Foret1-2/+1
2005-10-08Merging in recent fixes/additions from 2.9.7Judd Vinet1-0/+18
2005-03-20- added pmo_chomp support (from pacman 2.9.3)Aurelien Foret1-0/+3
- fixed a typo with pmo_proxyport usage
2005-03-20added support for the XFERCOMMAND optionAurelien Foret1-3/+6
2005-03-20removed a deprecated placeholderAurelien Foret1-4/+1
2005-03-19Relocated log and transaction stuffs from pacman.c to log.c and trans.cAurelien Foret1-1/+1
2005-03-16Added missing extern declarationAurelien Foret1-3/+4
2005-03-15Initial revisionJudd Vinet1-0/+308