summaryrefslogtreecommitdiff
path: root/methods/mirror.h
AgeCommit message (Collapse)Author
2016-05-28use std::locale::global instead of setlocaleDavid Kalnischkies
We use a wild mixture of C and C++ ways of generating output, so having a consistent world-view in both styles sounds like a good idea and should help in preventing regressions.
2015-08-10add c++11 override marker to overridden methodsDavid Kalnischkies
C++11 adds the 'override' specifier to mark that a method is overriding a base class method and error out if not. We hide it in the APT_OVERRIDE macro to ensure that we keep compiling in pre-c++11 standards. Reported-By: clang-modernize -add-override -override-macros Git-Dch: Ignore
2014-03-13cleanup headers and especially #includes everywhereDavid Kalnischkies
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-02-22Fix typos in documentation (codespell)Michael Vogt
2011-09-19use forward declaration in headers if possible instead of includesDavid Kalnischkies
2011-06-07append the dist (e.g. sid, wheezy) as a query string whenMichael Vogt
asking for a suitable mirror
2011-03-14randomize mirror list to ensure more even loadMichael Vogt
2010-06-02methods/mirrors.cc: make cycle through the mirrors work properlyMichael Vogt
2010-06-02* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- add missing include * methods/mirror.{cc,h}: - add SelectNextMirror() and InitMirrors() functions - read all mirrors into the AllMirrors vector
2007-11-28methods/mirror.{cc,h}:Michael Vogt
- improve the mirror method so that it only updates the mirror list from the server if we get new indexfiles - code cleanup
2007-02-01* commited the latest mirror failure detection codeMichael Vogt
2007-01-17* basic error reporting from apt in place now (ReportMirrorFailures())Michael Vogt
2007-01-08* apt-pkg/init.cc:Michael Vogt
- added Dir::State::Mirrors * doc/examples/configure-index: - added Acquire::mirror::RefreshInterval * methods/mirror.{cc,h}: - download the mirror file into Dir::State::Mirrors - added RefreshInterval option to not ask for the mirror file too often
2006-11-29* todo addedMichael Vogt
2006-11-29* working mirror implementation based on http methodMichael Vogt
2006-11-29* prototype of mirror method addedMichael Vogt