summaryrefslogtreecommitdiff
path: root/src/pacman/downloadprog.c
Commit message (Collapse)AuthorAge
* Cleaned up some more outputAaron Griffin2007-02-10
| | | | | * Questions no longer start with "error:" * downloaded size is output as a float now
* * Hopefully fixed the download progres bar for real. We should no longerDan McGee2007-02-08
| | | | | have issues with crazy speeds being displayed. * Minor string updates to remove unnecessary 1-off translations.
* * Fix total transfered size on download barAaron Griffin2007-02-07
| | | | | * Fix -Qm segfault * Minor query cleanup
* I broke the progress bars earlier. Put that back to normal.Aaron Griffin2007-02-07
|
* Minor experimental changes to the download progress bar:Aaron Griffin2007-02-06
| | | | | | | * 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).
* * unified the progress bars (fill_progress function)Aaron Griffin2007-02-04
| | | | | | | | * 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
* Missed that 8)Aaron Griffin2007-01-26
|
* Dan McGee <dpmcgee@gmail.com>Aaron Griffin2007-01-26
| | | | | | * 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
* Preliminary checkin for alpm_list conversionAaron Griffin2007-01-19
| | | | | | | | | * 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
* Dan McGee <dpmcgee@gmail.com>Aaron Griffin2007-01-18
| | | | | | | | | | | | | | * 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
* Modified front end output routines to accept a "padding' setting, which pads anyAaron Griffin2006-12-22
| | | | | | 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.
* Removed global maxcols - it is looked up on the fly now, so the progress bar isAaron Griffin2006-11-22
| | | | resized. Also used ioctl in place of the COLUMNS env variable
* * repo-add script - to add entries to a db file directly from package data ↵Aaron Griffin2006-11-20
| | | | | | | | | | (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
* * autotool fixesAaron Griffin2006-11-14
* Renamed "download" files to "downloadprog" as it only holds the progress bar and to not confuse (myself) with <download.h>