summaryrefslogtreecommitdiffstats
path: root/src/util
AgeCommit message (Collapse)AuthorFilesLines
2007-08-16src/util: Clean up headers and a few fixesDan McGee3-19/+14
Remove some unnecessary headers in the two utilities as well as fix a possible non-null termination issue in vercmp. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-07-16Remove unnecessary entries from .gitignore filesDan McGee1-2/+0
.gitignore works recursively, so we don't need Makefile and Makefile.in in all of the subdirectory .gitignore files. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-06-09Remove logmask stuff from backend; switch logging callback to new pm_printfDan McGee1-3/+4
Remove the logmask functionality from the backend as it has been moved to the frontend, and change the logging callback function to use pm_printf. In addition, make much better use of va_list- use the args list instead of a arbitrarily chosen string to print to in the logging functions. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-06-05Autotool clean up.Andrew Fyfe1-0/+2
* Add vim modeline to Makefile.am and configure.ac * Fix white space in Makefile.am and configure.ac * Add contrib/wget-xdelta.sh to EXTRA_DIST in Makefile.am Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-27Set the correct type on the log callback functionDan McGee1-1/+2
Somehow missed this earlier when changing everything to types. unsigned short -> pmloglevel_t wherever necessary. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-26Add -pedantic flag to pacman (frontend) CFLAGSDan McGee1-0/+2
Now that we got rid of the ERR and WARN macros, compilation with -pedantic turned on works with only minor changes. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-28Move .cvsignore -> .gitignoreDan McGee1-0/+0
* Move all .cvsignore files to .gitignore for switch in VCS. In addition, delete ones that were unnecessary because they only contained Makefile and Makefile.am. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-12* Removed ${CFLAGS} from Makefile.am(s) as it was causing all CFLAGS to beDan McGee1-2/+2
duplicated. * Updated the util Makefile.am to link with the proper libalpm.la. * Fixed bitmasking issues in be_files.c and db.h. * Rankmirrors updates from James Rosten (with some cleaning up of my own). KeyboardInterrupts are now handled gracefully.
2007-03-05This commit looks much more monumental than it is. Almost all just #includeDan McGee2-0/+6
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-03-04* handle changes: callbacks should check handle first, as there's a fewAaron Griffin1-2/+2
occasions where some alpm stuff could be used without initializing the library (vercmp is one). TODO make these functions (handle accessors) better by returning "library not initialized" instead of failing. * Removed NoUpgrade lines from pacman.conf - we need to test this! * Re-corrected the lib targets for src/util/* * make dist seems to have updated the po files
2007-03-04* libtool fixes for building against the right libsAaron Griffin1-2/+2
2007-02-22* A lot of Makefile.am updates to try to get 'make dist' and 'make distcheck'Dan McGee1-1/+1
to work as expected.
2007-02-12TODO update and .cvsignore additionDan McGee1-0/+1
2007-02-12Added 'testpkg' binary to test for validity of a package:Aaron Griffin2-2/+74
testpkg <package file>, returns 0 on success, 1 on failure failure will also output error messages to stdout
2007-02-09* Fix compile errors/warnings.Dan McGee1-1/+0
* Update .cvsignore files a bit.
2007-02-09* I made "alpm_versioncmp" public a while back, without noticing this was ↵Aaron Griffin1-1/+1
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-01-30K. Piche <kpiche@rogers.com>Aaron Griffin1-2/+2
* gcc visiblity changes Also modified _alpm_versioncmp -> alpm_versioncmp (public function) as per K. Piche's suggestions
2007-01-29* Fix building outside $(srcdir).Jürgen Hötzel1-1/+1
* Removed ./gen-mirrorlist.sh invocation from configure script: Mirror-files are generated by make, not configure.
2006-11-23-std=c99 seems to undefine PATH_MAX in this case. I don't care enough to fix itAaron Griffin2-4/+4
at the moment, so this workaround works.
2006-11-22* Whoops util MakefileAaron Griffin1-1/+1
* Slight modification to depcmp debug output
2006-11-22* Completed getinfo api changes (pmmissing_t, pmtrans_t, etc)Aaron Griffin2-0/+4
* Modified some dependancy checking * Changed "performing local database upgrade" message to be more clear * Change 'usize' to 'isize' in database files * Scriptlet output is now sent to pacman's log file * Limited some debugging output to be more clear
2006-10-16Whoops, actually remove convertdb this timeAaron Griffin1-1/+1
2006-10-16Removed convertdbAaron Griffin2-150/+0
2006-10-15include changes so that this compilesAaron Griffin1-3/+8
2006-03-27added .cvsignore filesAurelien Foret1-0/+6
2006-02-22improved _alpm_list_free handlingAurelien Foret1-1/+1
2006-02-17prepend library function names with _alpm (helped with the patch from ↵Aurelien Foret2-2/+2
VMiklos <vmiklos@frugalware.org>) added log and event callbacks to sync_commit internal transactions
2006-02-07copyright updateAurelien Foret1-1/+1
2006-01-07code cleanup (mainly removed line spaces at the beginning of lines by ↵Aurelien Foret1-1/+1
tabulations)
2006-01-05- started to rename list_XXX calls to _alpm_list_XXXAurelien Foret1-1/+1
- fixed 2 compilation warnings
2005-12-31removed an uneeded call to strtrimAurelien Foret1-1/+0
2005-12-26renamed rpmvercmp to versioncmp, added some fixes from isteve@bofh.czJudd Vinet1-2/+2
2005-11-07removed the declaration of an unused variableAurelien Foret1-2/+0
2005-10-17added first part of the autoconf stuff - patch from Christian Hamar ↵Judd Vinet1-0/+11
<krics@linuxforum.hu>
2005-10-06Applied patch from Christian Hamar (krics@linuxforum.hu)Aurelien Foret1-8/+8
2005-03-15Initial revisionJudd Vinet2-0/+191