summaryrefslogtreecommitdiff
path: root/lib/libalpm/util.c
AgeCommit message (Collapse)Author
2007-01-17* Misc logging changesAaron Griffin
Addition of a forced fflush in an attempt to diagnose mutli-logging Removal of varargs from the internal logaction function, they are handled in alpm_logaction just fine
2007-01-17Jürgen Hötzel <juergen@hoetzel.info>Aaron Griffin
* avoid repeated regex compilations (regex for search string do not change while scanning the package database) * remove needless string duplication (regex function do not change target string nor free them) * code cleanup This patch improves search performance: bash-3.2$ time ./src/pacman/pacman.static.old -Ss "(database|web).*server" >/dev/null real 0m1.026s user 0m0.544s sys 0m0.208s bash-3.2$ time ./src/pacman/pacman.static -Ss "(database|web).*server" >/dev/null real 0m0.777s user 0m0.456s sys 0m0.128s bash-3.2$
2006-11-22* Completed getinfo api changes (pmmissing_t, pmtrans_t, etc)Aaron Griffin
* 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-11-20* repo-add script - to add entries to a db file directly from package data ↵Aaron Griffin
(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-16* makepkg.conf.in variable changes (missed the checkin)Aaron Griffin
* Better error reporting when unpacking an archive fails * Fixed -Sc and -Scc cache dir opening/reading
2006-11-15* Initial changes to gensync - makepkg changes were not checked in from anotherAaron Griffin
machine - still pending * Addition of _alpm_pkg_makefilename to simplify the with/without -ARCH prefix scheme we're going with for the interim
2006-11-14* Numerous mini valgrind fixes.Aaron Griffin
* 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-31Numerous changes:Aaron Griffin
* Furthered the "lazy caching" to force the pkgcache to read nothing (INFRQ_NONE) by default. Anything requiring package data should now check the infolevel of each package and attempt to update it. This could be ironed out a bit more later (by using the front-end get_info function * Switched to libfetch. Drastic changes to the download code and the callback progress bar functions. Also fixed the return value of _alpm_downloadfiles_forreal. Downloading now supports http, ftp, https, and files urls, along with 'mtime's and numerous other fancy features from libfetch.
2006-10-25Moved downloaded db unpacking to the backend files, to easier allow conversionAaron Griffin
from db to whatever format we need.
2006-10-20A handful of minor changes:Aaron Griffin
* Removed the PMList typedef, in favor of the same naming scheme other structs use 'pmlist_t' * Added a time stamp on debug output, to make it more informational * Moved alpm_db_register to _alpm_db_register, making the public function not take a callback parameter
2006-10-15Merged frugalware changes (too many to list). Also added some config fileAaron Griffin
handling changes (support [sections] to carry over to included files - this helps with backwards compatibility with existing pacman config files)
2006-09-28removed libtar support in favour of libarchiveJudd Vinet
2006-05-15first stage of i18n stuff from VMiklosJudd Vinet
2006-02-16fixed directory roots when running scripletsAurelien Foret
2006-02-16- grep is now a static functionAurelien Foret
- code cleanup
2006-01-26reworked lock handling (patch from VMiklos <vmiklos@frugalware.org>)Aurelien Foret
2006-01-09- merged pkg_new and pkg_dummy functionsAurelien Foret
- renamed _alpm_log_action to _alpm_logaction
2006-01-07code cleanup (mainly removed line spaces at the beginning of lines by ↵Aurelien Foret
tabulations)
2006-01-02patch from VMiklos - use PACKAGE_VERSION instead of PACMAN_VERSIONJudd Vinet
2006-01-01- fixed a regression with pacman 2.x (patch from VMiklos ↵Aurelien Foret
<vmiklos@frugalware.org>) - code reowrk to ensure the /tmp/alpm_foo directory is always removed
2005-11-05Used the chroot syscall instead of the chroot binaryAurelien Foret
(patch from Christian Hamaer <krics@linuxforum.hu>)
2005-10-09added conversation callback support for transactionsJudd Vinet
2005-10-07Merging in recent fixes/additions from 2.9.7Judd Vinet
2005-10-06Added a CYGWIN define to include header files required to build in a Cygwin ↵Aurelien Foret
environment
2005-10-05Applied reworked patch from VMiklos (vmiklos@frugalware.org)Aurelien Foret
Close the lock file descriptor upon handle release
2005-04-24fixed some potential resource leaksAurelien Foret
2005-03-29fixed a log maskAurelien Foret
2005-03-29backport from pacman 2.9.5 - chdirAurelien Foret
2005-03-29put back 5 _alpm_log() callsAurelien Foret
2005-03-29Replaced snprintf calls by the SNPRINTF macro to avoid buffer overflows when ↵Aurelien Foret
copying strings
2005-03-28improved logs (use _alpm_log instead of fprintf)Aurelien Foret
2005-03-26More backport from pacman 2.9.5 (mainly for resolvedeps)Aurelien Foret
2005-03-26updated commentsAurelien Foret
2005-03-25backported fixes for trim() from pacman 2.9.5Aurelien Foret
2005-03-19Rework for fixed length stringsAurelien Foret
2005-03-16Code reformattingAurelien Foret
2005-03-15Initial revisionJudd Vinet