summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/progress.cc
AgeCommit message (Collapse)AuthorFilesLines
2018-05-28Use a steady clock source for progress reportingDavid Kalnischkies1-5/+12
Clock changes while apt is running can result in strange reports confusing (and amusing) users. Sadly, to keep the ABI for now the code is a bit more ugly than it would need to be.
2018-05-07Remove obsolete RCS keywordsGuillem Jover1-1/+0
Prompted-by: Jakub Wilk <jwilk@debian.org>
2018-05-05Avoid implicitly promotion of float to doubleDavid Kalnischkies1-1/+1
Reported-By: gcc -Wdouble-promotion Gbp-Dch: Ignore
2017-12-13deal with floats without old-style castDavid Kalnischkies1-2/+3
We have no speed problem with handling floats/doubles in our progress handling, but that shouldn't prevent us from cleaning up the handling slightly to avoid unclean casting to ints. Reported-By: gcc -Wdouble-promotion -Wold-style-cast
2017-07-12Reformat and sort all includes with clang-formatJulian Andres Klode1-5/+5
This makes it easier to see which headers includes what. The changes were done by running git grep -l '#\s*include' \ | grep -E '.(cc|h)$' \ | xargs sed -i -E 's/(^\s*)#(\s*)include/\1#\2 include/' To modify all include lines by adding a space, and then running ./git-clang-format.sh.
2015-11-04new quiet level -qq for apt to hide progress outputDavid Kalnischkies1-1/+1
-q is for logging and -qqq (old -qq) basically kills every output expect errors, so there should be a way of declaring a middleground in which the output of e.g. 'update' isn't as verbose, but still shows some things. The test framework was actually making use of by accident as it ignored the quiet level in output setup for apt before. Eventually we should figure out some better quiet levels for all tools…
2014-03-13cleanup headers and especially #includes everywhereDavid Kalnischkies1-0/+2
Beside being a bit cleaner it hopefully also resolves oddball problems I have with high levels of parallel jobs. Git-Dch: Ignore Reported-By: iwyu (include-what-you-use)
2014-03-13warning: extra ‘;’ [-Wpedantic]David Kalnischkies1-6/+6
Git-Dch: Ignore Reported-By: gcc -Wpedantic
2013-03-01include two missing patches to really fix bug #696225, thanks toMichael Vogt1-1/+1
Guillem Jover
2013-01-09* apt-pkg/contrib/progress.cc:Michael Vogt1-2/+2
- Make "..." translatable to fix inconsistencies in the output of e.g. apt-get update. While this adds new translatable strings, not having translations for them will not break anything. Thanks to Guillem Jover. Closes: #696225
2011-09-13Support large files in the complete toolset. Indexes of thisDavid Kalnischkies1-4/+4
size are pretty unlikely for now, but we need it for deb packages which could become bigger than 4GB now (LP: #815895)
2011-09-13reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies1-2/+4
2011-05-10fix SubProgress to accept a Percent parameter to update the CurrentDavid Kalnischkies1-18/+9
with the text as otherwise the update will be ignored
2010-11-30add the possibility to disable only the progress reporting stuff as theDavid Kalnischkies1-1/+1
quiet level 1 does this, but also disables other stuff we might want to test against in a testcase
2007-09-10* make apt build with g++ 4.3Michael Vogt1-0/+1
2007-06-08* Removed the more leftover #pragma interface/implementationMichael Vogt1-3/+0
closes: #306937 (thanks to Andreas Henriksson for the patch)
2007-06-08* remove all the remaining #pragma implementationMichael Vogt1-3/+0
2006-12-07* apt-pkg/contrib/progress.ccMichael Vogt1-1/+2
- only check time on precent boundaries (seems to make a real difference on ARM, see debian #398381) * apt-pkg/contrib/sha256.cc: - added #pragma interface * apt-pkg/contrib/sha256.h: - remove unneeded stdint.h include * apt-pkg/vendorlist.cc: - fix qualifier to make it build with -O0 * po/: - make update-po
2005-11-23* applied parts of the string speedup patch from debian #319377 (ABI change)Michael Vogt1-2/+2
2004-09-20Remove \r escape sequence for the sake of gettextArch Librarian1-3/+3
Author: jgg Date: 2003-01-11 07:17:04 GMT Remove \r escape sequence for the sake of gettext
2004-09-20G++3 fixes from RandolphArch Librarian1-2/+5
Author: jgg Date: 2001-05-07 05:25:13 GMT G++3 fixes from Randolph
2004-09-20Join with aliencodeArch Librarian1-4/+10
Author: jgg Date: 2001-02-20 07:03:16 GMT Join with aliencode
2004-09-20Floating point error. Bug #64394Arch Librarian1-5/+17
Author: jgg Date: 2000-06-05 04:22:25 GMT Floating point error. Bug #64394
2004-09-20SyncArch Librarian1-3/+29
Author: jgg Date: 1998-10-02 04:39:42 GMT Sync
2004-09-20SyncArch Librarian1-2/+4
Author: jgg Date: 1998-09-07 05:28:32 GMT Sync
2004-09-20More progress updatesArch Librarian1-1/+11
Author: jgg Date: 1998-08-26 04:52:23 GMT More progress updates
2004-09-20Big changesArch Librarian1-2/+8
Author: jgg Date: 1998-08-23 03:52:22 GMT Big changes
2004-09-20Progress and combined cache generatorArch Librarian1-2/+3
Author: jgg Date: 1998-07-26 04:51:45 GMT Progress and combined cache generator
2004-09-20Progress and combined cache generatorArch Librarian1-3/+6
Author: jgg Date: 1998-07-26 04:49:26 GMT Progress and combined cache generator
2004-09-20Fixed some display glitchesArch Librarian1-2/+2
Author: jgg Date: 1998-07-22 01:45:38 GMT Fixed some display glitches
2004-09-20Generic progress meterArch Librarian1-0/+151
Author: jgg Date: 1998-07-21 05:33:18 GMT Generic progress meter