summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-04-01merged from lp:~donkult/apt/sidMichael Vogt
2010-03-31Userinfo is urlencoded in URIs (RFC 3986)David Kalnischkies
Thanks to Jean-Baptiste Lallement for spotting and fixing it! * apt-pkg/contrib/strutl.cc: - always escape '%' (LP: #130289) (Closes: #500560) - unescape '%' sequence only if followed by 2 hex digit - username/password are urlencoded in proxy string (RFC 3986)
2010-03-30try version match in FindSrc first exact than fuzzy (LP: #551178)David Kalnischkies
2010-03-30convert some tabs to spaces to respect the style guideDavid Kalnischkies
2010-03-30rename ExplodeString to VectorizeStringDavid Kalnischkies
2010-03-30Group packages in the same group together in the package listDavid Kalnischkies
so it is easier to find them later on as we have no "noice" anymore between them.
2010-03-30replace every call to toupper with one to our own tolower_asciiDavid Kalnischkies
This sounds like a premature optimization and since Mr. Knuth we all know that they are the root of all evil - but, and here it starts to be interesting: As the tolower_ascii method is by far the most called method we have (~60 Mio. times) and as we compare only strings containing ascii characters (package names, configuration options) using our own method reduces execution time of APT by 4% plus it avoids that the locale settings can influence us.
2010-03-27remove wrong pin-priority is optional remark (Closes: #574944)David Kalnischkies
2010-03-26origin can be used to match a hostname (Closes: #352667)David Kalnischkies
2010-03-26* doc/po/de.po:David Kalnischkies
- correct a few typos in the german manpage translation. Thanks to Chris Leick and Georg Koppen! (Closes: #574962)
2010-03-26* doc/apt_preferences.5.xml:David Kalnischkies
- fix a=sid vs. n=sid typo, thanks Ansgar Burchardt!
2010-03-26Switch the TranslationWriter to use MultiCompress to be able to generateDavid Kalnischkies
the compressed files as we want them and to prevent the file to be replaced without a reason which could save us from steady redownloads of a file with the same content.
2010-03-26Inclusion of Long Descriptions in the Packages files can be set nowDavid Kalnischkies
also in TreeDefaults and Tree to support generation of archives which should support and which shouldn't support splitted out Translation-en files in the same run.
2010-03-26ftparchive/apt-ftparchive.cc: Include apt-pkg/init.h.Julian Andres Klode
2010-03-26* apt-pkg/deb/dpkgpm.cc:Michael Vogt
- fix backgrounding when dpkg runs (closes: #486222) * cmdline/apt-mark: - show error on incorrect aguments (LP: #517917), thanks to Torsten Spindler * cmdline/apt-get.cc: - if apt-get source foo=version or foo/distro can not be found, error out (LP: #502641) * apt-pkg/packagemanager.cc: - better debug output * doc/examples/configure-index: - add missing Debug::pkgPackageManager option
2010-03-26* ftparchive/apt-ftparchive.cc:Julian Andres Klode
- Read default configuration (Closes: #383257)
2010-03-23French translation completedbubulle@debian.org
2010-03-22* ftparchive/writer.cc:David Kalnischkies
- write LongDescriptions if they shouldn't be included in Packages file into i18n/Translation-en by default. It is ensured that each package+description is listed only ones in the Translation file even if we generate multiple Packages file in one run. The file is only generated in "generate" - the simple file commands can't create it by now. Also, the LongDescription is currently a global setting, so generating archives with and without LongDescriptions in the Packages file in the same run are currently not possible.
2010-03-21Add with pkgCacheGen::Essential a way to control which packages get theDavid Kalnischkies
essential flag: * native is the default and will only mark packages of the main arch * all will mark all packages which have these flag in Packages * none will obviously do the opposite * installed will only mark packages which are installed as essential, so it will behave in the same way as dpkg does it. It is mostly needed sometimes for debugging but some users with special needs might like to switch the mode as well under the expense to be on their own…
2010-03-21cmdline/apt-cache.cc: Change behavior of showsrc to match the one of show ↵Julian Andres Klode
(Closes: #512046).
2010-03-21* cmdline/apt-key:Julian Andres Klode
- Honor Apt::GPGV::TrustedKeyring (Closes: #316390)
2010-03-21* apt-pkg/policy.cc:Julian Andres Klode
- Always return a candidate if there is at least one version pinned > 0 (Closes: #512318)
2010-03-19add a missing \n to pl translation i had removed previously by accidentDavid Kalnischkies
2010-03-19first-time build the translated manpages and remove the directoriesDavid Kalnischkies
in the veryclean target to get right of all autogenerated files.
2010-03-19add a missing non-const & Accessors to the Iterator classDavid Kalnischkies
2010-03-19modify and clarify the comments for the translation placeholders a bitDavid Kalnischkies
and as it was only a comment change unfuzzy the translations.
2010-03-19merge with debian-sid to get new pl-manpageDavid Kalnischkies
2010-03-19add translation of the manpages to PT (portuguese)David Kalnischkies
Thanks to Américo Monteiro!
2010-03-19Add conflict with manpages-plbubulle@debian.org
2010-03-19Polish manpages translation updatebubulle@debian.org
2010-03-18merge MultiArch-ABI. We don't support MultiArch yet (as most other tools),David Kalnischkies
but we support the usage of the new ABI so libapt users can start to prepare for MultiArch (Closes: #536029)
2010-03-18Readd the FindPkg() method implementation used in the singleArch days toDavid Kalnischkies
use it as a fallback if multiarch is not enabled. The effect is barly noticeable but SingleArch is the realworld scenario.
2010-03-18generate "negative" dependencies against all architectures of a packageDavid Kalnischkies
Negative means here Conflicts, Replaces and Breaks - this adds again a whole lot of dependencies.
2010-03-18Fix a segfault in the version merger introduced in the previous patch:David Kalnischkies
As we skip now versions with a different hash we will have situations in which the version is equal but the hash different causing to check the next version, but as this version was the last one the version iterator is invalid then the merger wants to add further information.
2010-03-17The language directories for manpage building are nowDavid Kalnischkies
autogenerated so we should ignore them.
2010-03-17* apt-pkg/pkgcachegen.cc:David Kalnischkies
- merge versions correctly even if multiple different versions with the same version number are available. Thanks to Magnus Holmgren for the patch! (Closes: #351056)
2010-03-16apt-pkg/packagemanager.cc: more debug output for debug::pkgPackageManagerMichael Vogt
2010-03-16Dutch translation updatebubulle@debian.org
2010-03-15* doc/makefile, doc/*:David Kalnischkies
- generate subdirectories for building the manpages in on the fly depending on the po files we have.
2010-03-14* apt-pkg/depcache.cc:David Kalnischkies
- remove Auto-Installed information from extended_states together with the package itself (Closes: #572364)
2010-03-14* debian/control:David Kalnischkies
- add automake/conf build-depends/conflicts as recommend by the autotools-dev README (Closes: #572615)
2010-03-14merge with debian-sid, update-po for manpages and fix a few moreDavid Kalnischkies
typos in doc/po/es.po to generate the manpages properly. [ Christian Perrier ] * German translation update. Closes: #571037 * Spanish manpages translation update. Closes: #573293 [ Julian Andres Klode ] * cmdline/apt-mark: - Use the new python-apt API (and conflict with python-apt << 0.7.93.2). * apt-inst/contrib/arfile.h: - Add public ARArchive::Members() which returns the list of members. * debian/rules: - Fix the libraries name to be e.g. libapt-pkg4.9 instead of libapt-pkg-4.9.
2010-03-14Ensure that for each all package at least one pseudopackage is installedDavid Kalnischkies
Removing pseudo packages is cool so far, the problem is that we will remove with the not required removing so many pseudo packages that we will have after the remove a few packages with NO installed pseudo package (e.g. metapackages are good candidates) - so we will walk over all these packages and try to find a pseudopackage for this package we can install without breaking something.
2010-03-13* apt-pkg/deb/debversion.cc:David Kalnischkies
- consider absent of debian revision equivalent to 0 (Closes: #573592) This moves the existing testcase for version comparison to "my" directory, adds a few more tests (e.g. the tests used in cupt) and rewrites the testcases runner: The runner does now call dpkg --compare-versions to check what dpkg thinks about the comparison - all done in less code ;)
2010-03-12* apt-pkg/indexfile.cc:Michael Vogt
- deal correctly with three letter langcodes (LP: #391409)
2010-03-12* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- if available store the Commandline in the history * apt-pkg/contrib/cmndline.cc: - save Commandline in Commandline::AsString for logging
2010-03-12doc/po/es.po: Add a missing placeholder xml, fixes build.Julian Andres Klode
2010-03-12* cmdline/apt-get.cc:Michael Vogt
- if apt-get source foo=version or foo/distro can not be found, error out (LP: #502641)
2010-03-12* debian/rules:Julian Andres Klode
- Fix the libraries name to be e.g. libapt-pkg4.9 instead of libapt-pkg-4.9.
2010-03-12apt-inst/contrib/arfile.h: Add public ARArchive::Members() which returns the ↵Julian Andres Klode
list of members.