David Kalnischkies
3c0929ecbe
* apt-pkg/contrib/error.{cc,h}:
- remove constness of va_list parameter to fix build on amd64 and co
Thanks Eric Valette! (Closes : #588610 )
13 years ago
Michael Vogt
137a73dc58
releasing version 0.7.26~exp9
13 years ago
Michael Vogt
68f3081559
* doc/apt.conf.5.xml:
- add and document APT::Cache-{Start,Grow,Limit} options for mmap control
13 years ago
David Kalnischkies
62d073d937
check the state of the FileFd before renaming as otherwise the rename
will be tried twice e.g. in an "apt-get update" run and every other piece
of code closing the FileFd manual before the destructor will do it again.
13 years ago
Michael Vogt
5d062ce08e
releasing version 0.7.26~exp8
13 years ago
David Kalnischkies
7635093c1c
switch from std::set to std::vector as it is way more simple, a bit
faster and still provides everything we need for the Cache generator
13 years ago
Michael Vogt
115ba31b90
* apt-pkg/deb/dpkgpm.cc:
- make the apt/term.log output unbuffered (thanks to Matt Zimmerman)
13 years ago
Michael Vogt
358f10d9d4
merged from donkult
13 years ago
David Kalnischkies
dcdf1ef18b
* doc/apt.conf.5.xml:
- add and document APT::Cache-{Start,Grow,Limit} options for mmap control
13 years ago
David Kalnischkies
a9fe592842
* apt-pkg/pkgcachegen.{cc,h}:
- make the used MMap moveable (and therefore dynamic resizeable) by
applying (some) mad pointer magic (Closes : #195018 )
13 years ago
David Kalnischkies
32b9a14cb4
use references instead of copies in the Cache generation methods
13 years ago
Michael Vogt
24baab5c47
* apt-pkg/deb/dpkgpm.cc:
- make the apt/term.log output unbuffered (thanks to Matt Zimmerman)
13 years ago
David Kalnischkies
7e58ab0c0d
wrap the mmap actions in the CacheGenerator in their own methods to
be able to react on condition changes later then we can move mmap
13 years ago
David Kalnischkies
af5cf9299f
extends the ParseDepends testcase to have a look also at the Wildcards
13 years ago
David Kalnischkies
7ea4af9da2
merge with debian-experimental-ma
13 years ago
David Kalnischkies
9643d533f3
fix typos and add a proper Closes tag after the unmerge in debbugs
13 years ago
David Kalnischkies
3b5272950a
Try to use NotEquals for the MultiArch Breaks dependencies instead of
Less and Greater -> half the dependencies :)
13 years ago
David Kalnischkies
6806db8ac0
make the specify order of packages irrelevant (half-close #196021 )
13 years ago
David Kalnischkies
dcfa253fa4
clean deblistparser a bit by get the Architectures at one place
instead of distributed in a few methods
13 years ago
David Kalnischkies
e841200b93
* apt-pkg/policy.h:
- add another round of const& madness as the previous round accidently
NOT override the virtual GetCandidateVer() method (Closes : #587725 )
13 years ago
David Kalnischkies
2fbfb11131
prefer the Policy if it is built instead of the DepCache and
if DepCache is not available as fallback built the Policy
13 years ago
David Kalnischkies
21d4c9f192
reorder classes a bit and make TryToInstallBuildDep use them
13 years ago
David Kalnischkies
b8ad551295
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
13 years ago
David Kalnischkies
c8db3fff87
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
13 years ago
David Kalnischkies
cf28bcadb3
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
13 years ago
David Kalnischkies
fb83c1d078
rename AddSelectedVersion() to a better public FromPackage()
13 years ago
Julian Andres Klode
fd3b761e8c
Fix the atomic replace.
13 years ago
Julian Andres Klode
3010fb0e06
* apt-pkg/contrib/fileutl.cc:
- Make FileFd replace files atomically in WriteTemp mode (for cache, etc).
13 years ago
David Kalnischkies
e67c08344d
for install, do all installs first and then the removes and vice versa
13 years ago
Julian Andres Klode
9055046760
debian/control: Set Standards-Version to 3.9.0
13 years ago
David Kalnischkies
bd63159562
- factor out code to get a single package FromName()
- check in Grouped* first without modifier interpretation
13 years ago
Julian Andres Klode
cec9f4f4bb
Also free regular expressions.
13 years ago
Julian Andres Klode
4213f040ac
Use _error->Warning() instead of writing to std::cerr.
13 years ago
Julian Andres Klode
01934fb1fe
Remove debugging stuff, this was not meant to be here.
13 years ago
Julian Andres Klode
0500286453
Also support regular expressions and glob() patterns in "Pin: version".
13 years ago
Julian Andres Klode
ae4a4f91e9
* 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,
/.*/.
13 years ago
Julian Andres Klode
5143f36100
deblistparser: Special-case *-armel, lpia and powerpcspe architectures.
13 years ago
Julian Andres Klode
3b20aef1a2
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 "-".
13 years ago
David Kalnischkies
48c39e3246
- only print errors if all tries to get a package by string failed
*
13 years ago
Julian Andres Klode
7ecb5be707
debian/changelog: Fix a typo
13 years ago
Julian Andres Klode
d4af23c2d8
* apt-pkg/deb/deblistparser.cc:
- Handle architecture wildcards (Closes : #547724 ).
13 years ago
David Kalnischkies
5c640e864f
always mark the all package if a pseudo package is marked for install
13 years ago
David Kalnischkies
320352e004
give the APT::Cache::Generate option her effect back
13 years ago
David Kalnischkies
c340d18512
do not override the user set quiet setting even if the target is not a tty
13 years ago
David Kalnischkies
5afa55c670
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
13 years ago
David Kalnischkies
1408e219e7
* 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
*
13 years ago
David Kalnischkies
1f2933a8de
- use the new MatchAgainstConfig for the DefaultRootSetFunc
* apt-pkg/contrib/configuration.{cc,h}:
- add a wrapper to match strings against configurable regex patterns
13 years ago
David Kalnischkies
9f9717fa6b
* apt-pkg/aptconfiguration.cc:
- show a deprecation notice for APT::Acquire::Translation
13 years ago
David Kalnischkies
65beb5720f
print all messages if the application is in an interactive run
13 years ago
David Kalnischkies
c4ba7c44ff
add a simple stack handling to be able to delay error handling
13 years ago