]> git.saurik.com Git - apt.git/log
apt.git
14 years agoRefactor TryToInstall to look a bit saner by splitting the Remove
David Kalnischkies [Sat, 3 Jul 2010 18:09:17 +0000 (20:09 +0200)] 
Refactor TryToInstall to look a bit saner by splitting the Remove
and the Virtual packages part out of the loop.
The function still exists unchanged as TryToInstallBuildDep through
for the BuildDep installation method

14 years agoadd a ConstructedBy member to the PackageSet which can be used by the
David Kalnischkies [Fri, 2 Jul 2010 05:06:53 +0000 (07:06 +0200)] 
add a ConstructedBy member to the PackageSet which can be used by the
e.g. FromString to tell the caller if the string was an exact match
or found by regex or task. The two later ones can match packages for
which we want to ignore failures in the VersionSet

14 years agoif the package has no installed & candidate but is virtual see if only
David Kalnischkies [Tue, 29 Jun 2010 17:21:35 +0000 (19:21 +0200)] 
if the package has no installed & candidate but is virtual see if only
one package provides it - if it is only one use this package instead

14 years agorename AddSelectedVersion() to a better public FromPackage()
David Kalnischkies [Tue, 29 Jun 2010 17:10:47 +0000 (19:10 +0200)] 
rename AddSelectedVersion() to a better public FromPackage()

14 years agoFix the atomic replace.
Julian Andres Klode [Tue, 29 Jun 2010 15:28:33 +0000 (17:28 +0200)] 
Fix the atomic replace.

14 years ago* apt-pkg/contrib/fileutl.cc:
Julian Andres Klode [Tue, 29 Jun 2010 15:23:24 +0000 (17:23 +0200)] 
* apt-pkg/contrib/fileutl.cc:
  - Make FileFd replace files atomically in WriteTemp mode (for cache, etc).

14 years agofor install, do all installs first and then the removes and vice versa
David Kalnischkies [Tue, 29 Jun 2010 15:14:45 +0000 (17:14 +0200)] 
for install, do all installs first and then the removes and vice versa

14 years agodebian/control: Set Standards-Version to 3.9.0
Julian Andres Klode [Tue, 29 Jun 2010 13:21:24 +0000 (15:21 +0200)] 
debian/control: Set Standards-Version to 3.9.0

14 years ago - factor out code to get a single package FromName()
David Kalnischkies [Mon, 28 Jun 2010 20:13:17 +0000 (22:13 +0200)] 
  - factor out code to get a single package FromName()
  - check in Grouped* first without modifier interpretation

14 years agoAlso free regular expressions.
Julian Andres Klode [Mon, 28 Jun 2010 15:38:08 +0000 (17:38 +0200)] 
Also free regular expressions.

14 years agoUse _error->Warning() instead of writing to std::cerr.
Julian Andres Klode [Mon, 28 Jun 2010 15:34:54 +0000 (17:34 +0200)] 
Use _error->Warning() instead of writing to std::cerr.

14 years agoRemove debugging stuff, this was not meant to be here.
Julian Andres Klode [Mon, 28 Jun 2010 15:30:40 +0000 (17:30 +0200)] 
Remove debugging stuff, this was not meant to be here.

14 years agoAlso support regular expressions and glob() patterns in "Pin: version".
Julian Andres Klode [Mon, 28 Jun 2010 15:29:11 +0000 (17:29 +0200)] 
Also support regular expressions and glob() patterns in "Pin: version".

14 years ago* apt-pkg/versionmatch.cc:
Julian Andres Klode [Mon, 28 Jun 2010 15:21:14 +0000 (17:21 +0200)] 
* apt-pkg/versionmatch.cc:
  - Support matching pins by regular expressions or glob() like patterns,
    regular expressions have to be put between to slashes; for example,
    /.*/.

14 years agodeblistparser: Special-case *-armel, lpia and powerpcspe architectures.
Julian Andres Klode [Sun, 27 Jun 2010 19:04:53 +0000 (21:04 +0200)] 
deblistparser: Special-case *-armel, lpia and powerpcspe architectures.

14 years agoapt-pkg/deb/deblistparser.cc: Fix bug in architecture wildcard support.
Julian Andres Klode [Sat, 26 Jun 2010 21:01:49 +0000 (23:01 +0200)] 
apt-pkg/deb/deblistparser.cc: Fix bug in architecture wildcard support.

Previously, linux-any was always matched, because the code simply
appended linux- to the APT::Architecture value. Now, it does this
only if the APT::Architecture value does not contain "-".

14 years ago - only print errors if all tries to get a package by string failed
David Kalnischkies [Sat, 26 Jun 2010 19:17:34 +0000 (21:17 +0200)] 
  - only print errors if all tries to get a package by string failed
*

14 years agodebian/changelog: Fix a typo
Julian Andres Klode [Sat, 26 Jun 2010 19:16:20 +0000 (21:16 +0200)] 
debian/changelog: Fix a typo

14 years ago* apt-pkg/deb/deblistparser.cc:
Julian Andres Klode [Sat, 26 Jun 2010 18:56:44 +0000 (20:56 +0200)] 
* apt-pkg/deb/deblistparser.cc:
  - Handle architecture wildcards (Closes: #547724).

14 years agoalways mark the all package if a pseudo package is marked for install
David Kalnischkies [Sat, 26 Jun 2010 18:49:47 +0000 (20:49 +0200)] 
always mark the all package if a pseudo package is marked for install

14 years agogive the APT::Cache::Generate option her effect back
David Kalnischkies [Sat, 26 Jun 2010 17:22:23 +0000 (19:22 +0200)] 
give the APT::Cache::Generate option her effect back

14 years agodo not override the user set quiet setting even if the target is not a tty
David Kalnischkies [Sat, 26 Jun 2010 17:04:20 +0000 (19:04 +0200)] 
do not override the user set quiet setting even if the target is not a tty

14 years agomake the MMap Grow Error a fatal one as while in theory the code should
David Kalnischkies [Sat, 26 Jun 2010 16:42:42 +0000 (18:42 +0200)] 
make the MMap Grow Error a fatal one as while in theory the code should
never segfault it still tend to do it so better show it directly

14 years ago* apt-pkg/contrib/fileutl.cc:
David Kalnischkies [Sat, 26 Jun 2010 16:40:15 +0000 (18:40 +0200)] 
* apt-pkg/contrib/fileutl.cc:
  - show notice about ignored file instead of being always silent
  - add a Dir::Ignore-Files-Silently list option to control the notice
*

14 years ago - use the new MatchAgainstConfig for the DefaultRootSetFunc
David Kalnischkies [Sat, 26 Jun 2010 11:29:24 +0000 (13:29 +0200)] 
  - use the new MatchAgainstConfig for the DefaultRootSetFunc
* apt-pkg/contrib/configuration.{cc,h}:
  - add a wrapper to match strings against configurable regex patterns

14 years ago* apt-pkg/aptconfiguration.cc:
David Kalnischkies [Sat, 26 Jun 2010 07:03:26 +0000 (09:03 +0200)] 
* apt-pkg/aptconfiguration.cc:
  - show a deprecation notice for APT::Acquire::Translation

14 years agoprint all messages if the application is in an interactive run
David Kalnischkies [Fri, 25 Jun 2010 18:11:11 +0000 (20:11 +0200)] 
print all messages if the application is in an interactive run

14 years agoadd a simple stack handling to be able to delay error handling
David Kalnischkies [Fri, 25 Jun 2010 17:16:12 +0000 (19:16 +0200)] 
add a simple stack handling to be able to delay error handling

14 years ago* apt-pkg/contrib/error.{cc,h}:
David Kalnischkies [Fri, 25 Jun 2010 06:01:48 +0000 (08:01 +0200)] 
* apt-pkg/contrib/error.{cc,h}:
  - complete rewrite but use the same API
  - add NOTICE and DEBUG as new types of a message

14 years agotest-indexes.sh: EXFAIL: file:/ URIs currently decompress even with the GzipIndexes...
martin@piware.de [Thu, 24 Jun 2010 20:59:48 +0000 (22:59 +0200)] 
test-indexes.sh: EXFAIL: file:/ URIs currently decompress even with the GzipIndexes option; not a big deal for now

14 years agoapt-pkg/acquire-item.cc: Fix handling of local (file:/) sources
martin@piware.de [Thu, 24 Jun 2010 20:43:07 +0000 (22:43 +0200)] 
apt-pkg/acquire-item.cc: Fix handling of local (file:/) sources

14 years agotest-indexes.sh: Test handling of local file:// archives
martin@piware.de [Thu, 24 Jun 2010 19:27:59 +0000 (21:27 +0200)] 
test-indexes.sh: Test handling of local file:// archives

14 years agoSwitch FileFd to not transparently gunzip, since that breaks code which expects the...
martin@piware.de [Thu, 24 Jun 2010 19:27:27 +0000 (21:27 +0200)] 
Switch FileFd to not transparently gunzip, since that breaks code which expects the compressed contents to stay (such as the copy backend, or when using file:// repositories. Instead, introduce a new ReadOnlyGzip mode and use that where needed

14 years agomethods/ftp.h: Handle different logins are on the same server (Closes: #586904).
Julian Andres Klode [Thu, 24 Jun 2010 08:57:45 +0000 (10:57 +0200)] 
methods/ftp.h: Handle different logins are on the same server (Closes: #586904).

14 years agoUse an abstract helper for error handling and output
David Kalnischkies [Tue, 22 Jun 2010 16:01:11 +0000 (18:01 +0200)] 
Use an abstract helper for error handling and output
instead of doing this directly in the CacheSets.
With this method an application like apt-get can change
the behavior of the CacheSets to his liking.
It can for example easily keep track of how packages
were added to the set: by names or with regex's…

14 years agodebian/changelog: it is an ABI break after all
martin@piware.de [Mon, 21 Jun 2010 11:22:40 +0000 (13:22 +0200)] 
debian/changelog: it is an ABI break after all

14 years ago* cmdline/apt-get.cc:
David Kalnischkies [Sat, 19 Jun 2010 12:16:40 +0000 (14:16 +0200)] 
* cmdline/apt-get.cc:
  - use the cachsets in the install commands

14 years agoget packages by task^ with FromTask()
David Kalnischkies [Sat, 19 Jun 2010 09:49:38 +0000 (11:49 +0200)] 
get packages by task^ with FromTask()

14 years agofix the gcc warning about the initialisation order of variables caused
David Kalnischkies [Sat, 19 Jun 2010 07:13:33 +0000 (09:13 +0200)] 
fix the gcc warning about the initialisation order of variables caused
by moving Policy to public again (and therefore after SrcList)

14 years agotest-indexes.sh: quiesce apt-get source; we know that we cannot verify package signatures
martin@piware.de [Thu, 17 Jun 2010 11:58:39 +0000 (13:58 +0200)] 
test-indexes.sh: quiesce apt-get source; we know that we cannot verify package signatures

14 years agotest-indexes.sh: Also test compressed index mode with apt.conf.d file
martin@piware.de [Thu, 17 Jun 2010 11:41:48 +0000 (13:41 +0200)] 
test-indexes.sh: Also test compressed index mode with apt.conf.d file

14 years agotest-indexes.sh: Just for paranoia, test that apt-cache is still working after apt...
martin@piware.de [Thu, 17 Jun 2010 11:38:42 +0000 (13:38 +0200)] 
test-indexes.sh: Just for paranoia, test that apt-cache is still working after apt-get update with previously existing indexes

14 years agopkgAcqIndex::Done(): If we have an IMS-Hit, also rename the destination file in GzipI...
martin@piware.de [Thu, 17 Jun 2010 11:36:52 +0000 (13:36 +0200)] 
pkgAcqIndex::Done(): If we have an IMS-Hit, also rename the destination file in GzipIndexes mode, to avoid it being cleaned

14 years agotest-indexes.sh: fix check_indexes call in compressed mode
martin@piware.de [Thu, 17 Jun 2010 11:35:23 +0000 (13:35 +0200)] 
test-indexes.sh: fix check_indexes call in compressed mode

14 years agotest-indexes.sh: Actually test for non/pre-existing indexes in compressed mode
martin@piware.de [Thu, 17 Jun 2010 11:18:19 +0000 (13:18 +0200)] 
test-indexes.sh: Actually test for non/pre-existing indexes in compressed mode

14 years agotest-indexes: Use /etc/apt from temporary work dir, not from system
martin@piware.de [Thu, 17 Jun 2010 10:18:54 +0000 (12:18 +0200)] 
test-indexes: Use /etc/apt from temporary work dir, not from system

14 years agotest-indexes.sh: Refactor common code into functions
martin@piware.de [Thu, 17 Jun 2010 09:47:51 +0000 (11:47 +0200)] 
test-indexes.sh: Refactor common code into functions

14 years agotest-indexes.sh: More verbose failures on wrong/missing indexes
martin@piware.de [Thu, 17 Jun 2010 09:17:13 +0000 (11:17 +0200)] 
test-indexes.sh: More verbose failures on wrong/missing indexes

14 years ago* apt-pkg/depcache.cc:
David Kalnischkies [Wed, 16 Jun 2010 15:48:37 +0000 (17:48 +0200)] 
* apt-pkg/depcache.cc:
  - SetCandidateVer for all pseudo packages
  - SetReInstall for the "all" package of a pseudo package

14 years agoadd a simple method to VerIterator to check if two Versions are similar
David Kalnischkies [Wed, 16 Jun 2010 15:19:21 +0000 (17:19 +0200)] 
add a simple method to VerIterator to check if two Versions are similar

14 years ago* cmdline/cacheset.cc:
David Kalnischkies [Tue, 15 Jun 2010 18:46:09 +0000 (20:46 +0200)] 
* cmdline/cacheset.cc:
  - doesn't include it in the library for now as it is too volatile

14 years agoAdd a GroupedFromCommandLine for the VersionSet similar to the
David Kalnischkies [Tue, 15 Jun 2010 18:29:50 +0000 (20:29 +0200)] 
Add a GroupedFromCommandLine for the VersionSet similar to the
one for PackageSet and refactor the existing VersionSet methods
to simplify that.

14 years agotest/test-indexes.sh: Stop hardcoding archive gpg key ID, get it from first failed...
martin@piware.de [Tue, 15 Jun 2010 11:17:33 +0000 (13:17 +0200)] 
test/test-indexes.sh: Stop hardcoding archive gpg key ID, get it from first failed apt-get update output

14 years agoapt-pkg/deb/debindexfile.cc: Fix one more place to check for gzipped indexes, to...
martin@piware.de [Fri, 11 Jun 2010 17:23:08 +0000 (19:23 +0200)] 
apt-pkg/deb/debindexfile.cc: Fix one more place to check for gzipped indexes, to work with apt-get source as well

14 years ago* apt-pkg/acquire-item.cc:
martin@piware.de [Fri, 11 Jun 2010 16:59:06 +0000 (18:59 +0200)] 
* apt-pkg/acquire-item.cc:
  - Fix return value of pkgAcqFile::Custom600Headers() in the non-index
    case, to avoid returning NULL and causing crashers in callers. This also
    fixes a compiler warning.

14 years agotest-indexes.sh: Add source related tests, which uncovers two regressions
martin@piware.de [Fri, 11 Jun 2010 16:22:48 +0000 (18:22 +0200)] 
test-indexes.sh: Add source related tests, which uncovers two regressions

14 years agochangelog: clarify abi break, it's not external
martin@piware.de [Fri, 11 Jun 2010 10:34:26 +0000 (12:34 +0200)] 
changelog: clarify abi break, it's not external

14 years ago* configure.in:
martin@piware.de [Fri, 11 Jun 2010 09:16:22 +0000 (11:16 +0200)] 
* configure.in:
  - Check for zlib library and headers.

14 years ago* doc/po/apt-doc.pot, doc/po/de.po:
martin@piware.de [Fri, 11 Jun 2010 09:04:12 +0000 (11:04 +0200)] 
* doc/po/apt-doc.pot, doc/po/de.po:
  - German translation of new Acquire::GzipIndexes option.

14 years ago* doc/apt.conf.5.xml:
martin@piware.de [Fri, 11 Jun 2010 08:56:56 +0000 (10:56 +0200)] 
* doc/apt.conf.5.xml:
  - Document the new Acquire::GzipIndexes option.

14 years agoFix compressed index retrieval for current timestamps
martin@piware.de [Fri, 11 Jun 2010 08:43:43 +0000 (10:43 +0200)] 
Fix compressed index retrieval for current timestamps

Fix a thinko in r1973, which did the Acquire::GzipIndexes test ealier than the
IMS-Hit test. This led to rename errors.

14 years ago* debian/rules:
martin@piware.de [Fri, 11 Jun 2010 08:01:27 +0000 (10:01 +0200)] 
* debian/rules:
  - Make DEB_BUILD_OPTIONS=noopt actually work by passing the right
    CXXFLAGS.

14 years ago* debian/control:
David Kalnischkies [Fri, 11 Jun 2010 06:51:01 +0000 (08:51 +0200)] 
* debian/control:
  - remove intltool's dependency as it is an ubuntu artefact

14 years agomerge with debian-experimental-ma to get the public policy back
David Kalnischkies [Thu, 10 Jun 2010 14:37:18 +0000 (16:37 +0200)] 
merge with debian-experimental-ma to get the public policy back

14 years ago* apt-pkg/cachefile.h:
Michael Vogt [Thu, 10 Jun 2010 14:15:57 +0000 (16:15 +0200)] 
* apt-pkg/cachefile.h:
  - make pkgPolicy public again, libapt-pkg-perl (and probably
    others) get unhappy without that

14 years ago* Add test/test-indexes.sh:
martin@piware.de [Thu, 10 Jun 2010 13:19:10 +0000 (15:19 +0200)] 
* Add test/test-indexes.sh:
  - Test behaviour of index retrieval and usage, in particular with
    uncompressed and gzip compressed indexes.

14 years ago* apt-pkg/orderlist.cc:
David Kalnischkies [Thu, 10 Jun 2010 13:10:38 +0000 (15:10 +0200)] 
* apt-pkg/orderlist.cc:
  - untouched packages are never missing
* apt-pkg/packagemanager.cc:
  - packages that are not touched doesn't need to be unpacked

14 years agoreleasing version 0.7.26~exp6
Michael Vogt [Thu, 10 Jun 2010 12:35:23 +0000 (14:35 +0200)] 
releasing version 0.7.26~exp6

14 years agomention abi break in changelog
martin@piware.de [Thu, 10 Jun 2010 12:23:24 +0000 (14:23 +0200)] 
mention abi break in changelog

14 years agomerged from david
Michael Vogt [Thu, 10 Jun 2010 12:01:18 +0000 (14:01 +0200)] 
merged from david

14 years ago* apt-pkg/acquire-item.cc:
martin@piware.de [Thu, 10 Jun 2010 11:20:27 +0000 (13:20 +0200)] 
* apt-pkg/acquire-item.cc:
  - If the Acquire::GzipIndexes option is true and we download a gzipped
    index file, keep it as it is (and rename to .gz) instead of
    uncompressing it.

14 years ago* apt-pkg/cacheset.cc:
David Kalnischkies [Thu, 10 Jun 2010 11:09:23 +0000 (13:09 +0200)] 
* apt-pkg/cacheset.cc:
  - get the candidate either from an already built depcache
    or use the policy which is a bit faster than depcache generation

14 years agocorrect a minor spelling mistake in the changelog
David Kalnischkies [Thu, 10 Jun 2010 08:03:14 +0000 (10:03 +0200)] 
correct a minor spelling mistake in the changelog

14 years agoreadd the autoremove protection for the kfreebsd-image as it was lost
David Kalnischkies [Thu, 10 Jun 2010 00:04:03 +0000 (02:04 +0200)] 
readd the autoremove protection for the kfreebsd-image as it was lost
in Michaels merge with the ubuntu branch

14 years agoenhance the split out of the gpgv commandline mangling by splitting out
David Kalnischkies [Wed, 9 Jun 2010 21:20:26 +0000 (23:20 +0200)] 
enhance the split out of the gpgv commandline mangling by splitting out
the call completely

14 years agosent Last-Modified header also for Translation files
David Kalnischkies [Wed, 9 Jun 2010 19:15:52 +0000 (21:15 +0200)] 
sent Last-Modified header also for Translation files

14 years agobe sure that the RFC1123StrToTime method is run in a LANG=C environment
David Kalnischkies [Wed, 9 Jun 2010 16:23:23 +0000 (18:23 +0200)] 
be sure that the RFC1123StrToTime method is run in a LANG=C environment

14 years ago* apt-pkg/indexcopy.cc:
David Kalnischkies [Wed, 9 Jun 2010 15:19:40 +0000 (17:19 +0200)] 
* apt-pkg/indexcopy.cc:
  - move the gpg codecopy to a new method and use it also in methods/gpgv.cc

14 years agofix compiler warning in the new mirror code
David Kalnischkies [Wed, 9 Jun 2010 15:13:40 +0000 (17:13 +0200)] 
fix compiler warning in the new mirror code

14 years ago* apt-pkg/policy.cc:
David Kalnischkies [Wed, 9 Jun 2010 12:20:27 +0000 (14:20 +0200)] 
* apt-pkg/policy.cc:
  - get the candidate right for a not-installed pseudo package if
    his non-pseudo friend is installed

14 years agoremove the "typename" from the const_iterators as gcc-4.4 doesn't like
David Kalnischkies [Wed, 9 Jun 2010 12:18:56 +0000 (14:18 +0200)] 
remove the "typename" from the const_iterators as gcc-4.4 doesn't like
them and gcc-4.5 does the right thing (TM) with and without them

14 years ago* apt-pkg/deb/debindexfile.cc:
martin@piware.de [Wed, 9 Jun 2010 12:09:42 +0000 (14:09 +0200)] 
* apt-pkg/deb/debindexfile.cc:
  - If we do not find uncompressed package/source/translation indexes, look
    for gzip compressed ones.

14 years ago* apt-pkg/contrib/fileutl.{h,cc}:
martin@piware.de [Wed, 9 Jun 2010 12:08:20 +0000 (14:08 +0200)] 
* apt-pkg/contrib/fileutl.{h,cc}:
  - Add support for transparent reading of gzipped files.
  - Link against zlib (in apt-pkg/makefile) and add zlib build dependency.

14 years agomerged from lp:~donkult/apt/sid
Michael Vogt [Wed, 9 Jun 2010 11:15:34 +0000 (13:15 +0200)] 
merged from lp:~donkult/apt/sid

14 years agodebian/rules: remove two more leftovers fromthe ubuntu merge
Michael Vogt [Wed, 9 Jun 2010 11:03:41 +0000 (13:03 +0200)] 
debian/rules: remove two more leftovers fromthe ubuntu merge

14 years agomerge lp:~mvo/apt/ubuntu-mirror-method-improvements
Michael Vogt [Wed, 9 Jun 2010 10:08:54 +0000 (12:08 +0200)] 
merge  lp:~mvo/apt/ubuntu-mirror-method-improvements

14 years ago* merge the remaining Ubuntu change:
Michael Vogt [Wed, 9 Jun 2010 09:51:21 +0000 (11:51 +0200)] 
* merge the remaining Ubuntu change:
  - on gpg verification failure warn and restore the last known
    good state
  - on failure display the IP of the server (useful for servers
    that use round robin DNS)
  - support Original-Maintainer in RewritePackageOrder
  - enable cdrom autodetection via libudev by default
  - show messsage about Vcs in use when apt-get source is run for
    packages maintained in a Vcs
  - better support transitional packages with mark auto-installed.
    when the transitional package is in "oldlibs" the new package
    is not marked auto installed (same is true for section
    metapackages)
  - provide new "deb mirror://archive.foo/mirrors.list sid main"
    method expects a list of mirrors (generated on the server e.g.
    via geoip) and will use that, including cycle on failure
  - write apport crash file on package failure (disabled by default
    on debian until apport is available)
  - support mirror failure reporting (disabled by default on debian)

14 years ago - backport forgotten Valid-Until patch from the obsolete experimental
David Kalnischkies [Wed, 9 Jun 2010 08:52:45 +0000 (10:52 +0200)] 
  - backport forgotten Valid-Until patch from the obsolete experimental
    branch to prevent replay attacks better, thanks to Thomas Viehmann
    for the initial patch! (Closes: #499897)
* doc/apt.conf.5.xml:
  - document the new Valid-Until related options
* apt-pkg/contrib/strutl.cc:
  - split StrToTime() into HTTP1.1 and FTP date parser methods and
    use strptime() instead of some self-made scanf mangling
  - use the portable timegm shown in his manpage instead of a strange
    looking code copycat from wget
* ftparchive/writer.cc:
  - add ValidTime option to generate a Valid-Until header in Release file

14 years ago* apt-pkg/pkgcache.h:
David Kalnischkies [Wed, 9 Jun 2010 08:50:32 +0000 (10:50 +0200)] 
* apt-pkg/pkgcache.h:
  - switch {,Install-}Size to unsigned long long
  - deal with long long, not with int to remove 2GB Limit (LP: #250909)
  - deprecate AddSize with Multiplier as it is unused and switch to
    boolean instead to handle the sizes more gracefully.
  - switch i{Download,Usr}Size from double to (un)signed long long
* cmdline/apt-get.cc:
  - use unsigned long long instead of double to store values it gets

14 years agorename the options, document them and reorder the changelog a bit
David Kalnischkies [Wed, 9 Jun 2010 08:46:35 +0000 (10:46 +0200)] 
rename the options, document them and reorder the changelog a bit

14 years agomove the users away from the deprecated StrToTime() method
David Kalnischkies [Tue, 8 Jun 2010 22:53:44 +0000 (00:53 +0200)] 
move the users away from the deprecated StrToTime() method

14 years agouse the portable timegm shown in his manpage instead of a strange
David Kalnischkies [Tue, 8 Jun 2010 22:27:22 +0000 (00:27 +0200)] 
use the portable timegm shown in his manpage instead of a strange
looking code copycat from wget

14 years ago* ftparchive/writer.cc:
David Kalnischkies [Tue, 8 Jun 2010 22:12:14 +0000 (00:12 +0200)] 
* ftparchive/writer.cc:
  - add ValidTime option to generate a Valid-Until header in Release file

14 years agouse the Valid-Until header from the Release file but if the user
David Kalnischkies [Tue, 8 Jun 2010 21:38:34 +0000 (23:38 +0200)] 
use the Valid-Until header from the Release file but if the user
provides a setting in the configuration prefer the date which is
earlier.

14 years agoenhance the Valid-Until code a bit by using the correct RFC1123StrToTime
David Kalnischkies [Tue, 8 Jun 2010 20:55:42 +0000 (22:55 +0200)] 
enhance the Valid-Until code a bit by using the correct RFC1123StrToTime
method and allow for better translations of the error messages

14 years ago* apt-pkg/contrib/strutl.cc:
David Kalnischkies [Tue, 8 Jun 2010 20:46:42 +0000 (22:46 +0200)] 
* apt-pkg/contrib/strutl.cc:
  - split StrToTime() into HTTP1.1 and FTP date parser methods and
    use strptime() instead of some selfmade scanf mangling

14 years ago* apt-pkg/indexrecords.cc:
David Kalnischkies [Tue, 8 Jun 2010 17:27:49 +0000 (19:27 +0200)] 
* apt-pkg/indexrecords.cc:
  - backport forgotten Valid-Until patch from the obsolete experimental
    branch to prevent replay attacks better, thanks to Thomas Viehmann
    for the initial patch! (Closes: #499897)

14 years agouse the GroupedFromCommandLine() method in the dotty and xvcg command
David Kalnischkies [Sun, 6 Jun 2010 19:49:28 +0000 (21:49 +0200)] 
use the GroupedFromCommandLine() method in the dotty and xvcg command
to get all the funky features in less lines

14 years agoadd a GroupedFromCommandLine method to the PackageSet to split the
David Kalnischkies [Sun, 6 Jun 2010 19:41:27 +0000 (21:41 +0200)] 
add a GroupedFromCommandLine method to the PackageSet to split the
packages on the commandline into groups based on modifiers

14 years agodo not fail if an unrelated error is pending in DisplayRecord()
David Kalnischkies [Sat, 5 Jun 2010 17:14:32 +0000 (19:14 +0200)] 
do not fail if an unrelated error is pending in DisplayRecord()