summaryrefslogtreecommitdiffstats
path: root/src/pacman/util.h
AgeCommit message (Collapse)AuthorFilesLines
2007-03-06* Added missing header include guards in md5.h and sha1.h.Dan McGee1-1/+0
* Some header cleanup on the pacman side of things - we had alpm.h instead alpm_list.h in a few headers. * removed an extra slash in path-building snprintf in server.c.
2007-02-04Implemented a crappy version of -Qu (query upgrades). This simply outputs theAaron Griffin1-1/+1
packages to be upgraded in a -Su operation. Much of the code is duplicated from sync.c. TODO: move the implementation to upgrades.c, and reimplement the sync_sysupgrade function in terms of this: trans->packages = alpm_get_upgrades();
2007-02-04* unified the progress bars (fill_progress function)Aaron Griffin1-0/+6
* fixed progress output (needs an fflush to move cursor properly) * broke display_targets function out, to display a list of syncpkgs in preparation for a -Qu option * added get_update_time function to deal with progress functions that shouldn't update too fast due to output redraw speeds
2007-02-01* Tried to clean up newline display a bit in the frontend.Dan McGee1-1/+0
* Removed useless buildstring function from util.h; replaced all calls of it with list_display. * Made list_display output 2 spaces instead of 1 between each item.
2007-01-19Preliminary checkin for alpm_list conversionAaron Griffin1-2/+8
* 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
2007-01-18Dan McGee <dpmcgee@gmail.com>Aaron Griffin1-3/+3
* Removed some unnecessary headers and library links * Made things static if possible * Cleaned up makefiles a bit * Fixed some old comments in the code * Fixed some errors the static code checker splint pointed out * Backwards arguments in a memset call in _alpm_db_read (could have been worse) * Other various small fixes Other: * Default to 80 columns when getcols cannot determine display width * Removal of ._install as a valid install file in packages
2006-11-20* repo-add script - to add entries to a db file directly from package data ↵Aaron Griffin1-2/+2
(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-10-15Merged frugalware changes. Added a few other minor things too, but there's alotAaron Griffin1-1/+1
to list. The diff should show you 8)
2006-05-15first stage of i18n stuff from VMiklosJudd Vinet1-0/+2
2006-03-13- removed pacman.hAurelien Foret1-1/+4
- removed unuseful extern declarations - set pacman.c internal functions as static
2006-02-04- moved yesno() from util.c to log.cAurelien Foret1-1/+0
- fixed a missing line feed in yesno when printing the message
2006-01-07code cleanup (mainly removed line spaces at the beginning of lines by ↵Aurelien Foret1-4/+11
tabulations)
2006-01-02patch from VMiklos - use PACKAGE_VERSION instead of PACMAN_VERSIONJudd Vinet1-1/+1
2005-12-21VMiklos: add STRNCPY macro from alpm to pacmanJudd Vinet1-0/+5
2005-10-08Merging in recent fixes/additions from 2.9.7Judd Vinet1-0/+1
2005-03-16- reworked sync_synctree() to make use of alpm_db_update()Aurelien Foret1-3/+1
- dropped unpack()
2005-03-15Initial revisionJudd Vinet1-0/+42