summaryrefslogtreecommitdiffstats
path: root/src/pacman/downloadprog.c
AgeCommit message (Collapse)AuthorFilesLines
2007-03-05This commit looks much more monumental than it is. Almost all just #includeDan McGee1-1/+3
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-02-17* A whole mess of backup changesAaron Griffin1-0/+5
- the code should be clearer, more organized, commented, and have worthwhile variable names now - proactive backup=()s now work. That is, adding a file to a backup array does what it should on the upgrade to that package, no longer forcing you to wait a full upgrade cycle for it to take effect * ldconfig was being run twice on an upgrade operation - fixed * fixed another pm_fprintf/printf output corruption with the progress bars * refactored some duplicate code for adjusting 'requiredby' lists * Added config.rpath to .cvsignore
2007-02-10Cleaned up some more outputAaron Griffin1-9/+11
* Questions no longer start with "error:" * downloaded size is output as a float now
2007-02-08* Hopefully fixed the download progres bar for real. We should no longerDan McGee1-36/+36
have issues with crazy speeds being displayed. * Minor string updates to remove unnecessary 1-off translations.
2007-02-07* Fix total transfered size on download barAaron Griffin1-1/+1
* Fix -Qm segfault * Minor query cleanup
2007-02-07I broke the progress bars earlier. Put that back to normal.Aaron Griffin1-1/+1
2007-02-06Minor experimental changes to the download progress bar:Aaron Griffin1-12/+38
* change to Mb and Gb for both total size and transfer rate if needed * round up to 1 second for downloads that were between 1s and 0.5s This function needs some serious looking at, as it's probably not 64bit safe (thus the "wrong calculation" problem on the list).
2007-02-04* unified the progress bars (fill_progress function)Aaron Griffin1-67/+22
* 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-01-26Missed that 8)Aaron Griffin1-1/+0
2007-01-26Dan McGee <dpmcgee@gmail.com>Aaron Griffin1-3/+3
* Lots of code cleanup, and type fixes * Make 'makeworld' a bit more in-line with the other stuff * Make -Si and -Qi operations appear the same
2007-01-19Preliminary checkin for alpm_list conversionAaron Griffin1-1/+0
* 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-15/+16
* 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-12-22Modified front end output routines to accept a "padding' setting, which pads anyAaron Griffin1-0/+2
statement with ' ' until the size of the terminal. The rationale is that, when a log message is emitted during progress bar display, the terminal is artifacted. This prevents that messiness.
2006-11-22Removed global maxcols - it is looked up on the fly now, so the progress bar isAaron Griffin1-2/+1
resized. Also used ioctl in place of the COLUMNS env variable
2006-11-20* repo-add script - to add entries to a db file directly from package data ↵Aaron Griffin1-1/+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* autotool fixesAaron Griffin1-0/+177
* Renamed "download" files to "downloadprog" as it only holds the progress bar and to not confuse (myself) with <download.h>