summaryrefslogtreecommitdiff
path: root/apt-pkg
Commit message (Collapse)AuthorAgeFilesLines
* - show at the end of the install process a list of disappeared packagesDavid Kalnischkies2010-05-242-2/+19
| | | | * apt-pkg/packagemanager.h: - export info about disappeared packages with GetDisappearedPackages()
* * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-05-241-1/+3
| | | - add 'disappear' to the known processing states, thanks Jonathan Nieder
* * contrib/mmap.cc:David Kalnischkies2010-05-131-2/+2
| | | | - clarify "MMap reached size limit" error message, thanks Ivan Masár!
* * apt-pkg/depcache.cc:David Kalnischkies2010-05-111-10/+11
| | | - be doublesure that the killer query is empty before starting reinstall
* merge with debian-experimental-maDavid Kalnischkies2010-05-066-5/+71
|\
| * * apt-pkg/deb/debrecords.cc:Michael Vogt2010-05-051-1/+2
| |\ | | | | | | - fix max tag buffer size (LP: #545336, closes: #578959)
| | * * apt-pkg/deb/debrecords.cc:Michael Vogt2010-05-051-1/+2
| | |\ | | | | | | | | - fix max tag buffer size (LP: #545336, closes: #578959)
| | | * * apt-pkg/deb/debrecords.cc:Michael Vogt2010-05-051-1/+2
| | | | | | | | | | | | - fix max tag buffer size (LP: #545336, closes: #578959)
| * | | * doc/files.sgml:Michael Vogt2010-05-044-87/+394
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - sync documentation with status quo, regarding files/directories in use, extended_states and uri schemes. * doc/cache.sgml: - drop the file in favor of inplace documentation with doxygen * apt-pkg/pkgcache.h: - enhance the Groups ABI by providing a ID as the other structs does - check also the size of the Group struct then checking for the others
| * | | | * apt-pkg/pkgcache.cc:Julian Andres Klode2010-05-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | - Merge fix from David to correct handling in single-arch environments. This makes apt-get showauto working.
| * | | | * apt-pkg/contrib/weakptr.h:Julian Andres Klode2010-05-045-4/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add a class WeakPointable which allows one to register weak pointers to an object which will be set to NULL when the object is deallocated. * [ABI break] apt-pkg/acquire{-worker,-item,}.h: - subclass pkgAcquire::{Worker,Item,ItemDesc} from WeakPointable.
| * | | | merged from davids branchMichael Vogt2010-05-0413-86/+315
| |\ \ \ \
| * \ \ \ \ merged from the debian-sid branchMichael Vogt2010-05-044-6/+23
| |\ \ \ \ \ | | | |_|/ / | | |/| | |
* | | | | | convert FileExists to DirectoryExists to check if the path is really aDavid Kalnischkies2010-05-063-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | directory (and to have a better method name in the error message if not)
* | | | | | return in SingleArch a package also for "any"David Kalnischkies2010-05-041-1/+1
| | | | | |
* | | | | | fix compiler warning: reaching end of non-void methodDavid Kalnischkies2010-05-041-0/+1
| | | | | |
* | | | | | merge from the debian-sid branchDavid Kalnischkies2010-05-044-6/+23
|\ \ \ \ \ \ | | |/ / / / | |/| | / / | |_|_|/ / |/| | | |
| * | | | merge from the mvo branchMichael Vogt2010-05-044-6/+23
| |\ \ \ \ | | | |_|/ | | |/| |
| | * | | * apt-pkg/indexfile.cc:Michael Vogt2010-05-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - If no "_" is found in the language code, try to find a "." This is required for languages like Esperanto that have no county associated with them (LP: #560956) Thanks to "Aisano" for the fix
| | * | | apt-pkg/policy.cc: yet another cout -> clog fixMichael Vogt2010-04-281-1/+1
| | | | |
| | * | | * apt-pkg/depcache.cc:Michael Vogt2010-04-281-2/+2
| | | | | | | | | | | | | | | - fix incorrect std::cout usage for debug output
| | * | | * [ Abi break ] apt-pkg/acquire-item.{cc,h}:Michael Vogt2010-04-282-3/+20
| | | | | | | | | | | | | | | | | | | | - add "IsIndexFile" to constructor of pkgAcqFile so that it sends the right cache control headers
* | | | | * apt-pkg/pkgcache.h:David Kalnischkies2010-05-043-5/+11
| | | | | | | | | | | | | | | | | | | | - enhance the Groups ABI by providing a ID as the other structs does - check also the size of the Group struct then checking for the others
* | | | | * doc/cache.sgml:David Kalnischkies2010-05-041-84/+385
| | | | | | | | | | | | | | | | | | | | - drop the file in favor of inplace documentation with doxygen
* | | | | replace »« with '' in the internal error msg to have ascii chars for gettextDavid Kalnischkies2010-05-031-1/+1
| |_|_|/ |/| | |
* | | | rewrite the pseudo package reinstaller to be more intelligentDavid Kalnischkies2010-04-282-38/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in his package choices The previous implementation tried to install the package for arch A and if this fails B, C and so on. This results in wrong architecture choices for packages which depend on other pseudo packages, so he will now try to install the dependencies first before trying the package itself and only if this fails he tries the next architecture.
* | | | * apt-pkg/contrib/configuration.cc:David Kalnischkies2010-04-241-0/+2
| | | | | | | | | | | | - error out if #clear directive has no argument
* | | | * apt-pkg/sourcelist.cc:David Kalnischkies2010-04-241-0/+7
| | | | | | | | | | | | - be less strict and accept [option=value] as well
* | | | * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-04-141-1/+13
| | | | | | | | | | | | | | | | - remove Chroot-Directory from files passed to install commands. Thanks to Kel Modderman for report & patch! (Closes: #577226)
* | | | create the partial dirs also automatic if only Dir::Cache::archives orDavid Kalnischkies2010-04-131-5/+14
| | | | | | | | | | | | | | | | Dir::Cache::lists was set
* | | | regex for package names executed on Grp- not PkgIteratorDavid Kalnischkies2010-04-131-0/+1
| | | |
* | | | * apt-pkg/acquire-item.cc:David Kalnischkies2010-04-091-7/+21
| | | | | | | | | | | | | | | | | | | | - Acquire::ForceHash to force method for expected hash - display MD5Sum in --print-uris if not forced to use another method instead of displaying the strongest available (Closes: #576420)
* | | | * apt-pkg/contrib/fileutl.cc:David Kalnischkies2010-04-076-30/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add a parent-guarded "mkdir -p" as CreateDirectory() * apt-pkg/acquire.{cc,h}: - add a delayed constructor with Setup() for success reporting - check for and create directories in Setup if needed instead of error out unfriendly in the Constructor (Closes: #523920, #525783) - optional handle a lock file in Setup() * cmdline/apt-get.cc: - remove the lock file handling and let Acquire take care of it instead
* | | | remove the ABI compatible stub for GetListOfFilesInDirDavid Kalnischkies2010-04-042-9/+1
| | | |
* | | | * apt-pkg/packagemanager.cc:David Kalnischkies2010-04-031-3/+11
| | | | | | | | | | | | - don't try to "unpack" pseudo packages twice
* | | | Initialize history_out always with NULL so apt will not segfault laterDavid Kalnischkies2010-04-031-1/+2
| | | | | | | | | | | | | | | | | | | | in the event of a failure in OpenLog() (which will happen if called with Debug::NoLocking as user)
* | | | * apt-pkg/depcache.cc:David Kalnischkies2010-04-031-2/+5
| |_|/ |/| | | | | - "reinstall" the correct version for a killed pseudo package
* | | merged from lp:~donkult/apt/sidMichael Vogt2010-04-0138-971/+2023
|\ \ \ | |/ / |/| |
| * | Userinfo is urlencoded in URIs (RFC 3986)David Kalnischkies2010-03-312-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | convert some tabs to spaces to respect the style guideDavid Kalnischkies2010-03-302-99/+109
| | |
| * | rename ExplodeString to VectorizeStringDavid Kalnischkies2010-03-304-6/+6
| | |
| * | Group packages in the same group together in the package listDavid Kalnischkies2010-03-302-21/+22
| | | | | | | | | | | | | | | so it is easier to find them later on as we have no "noice" anymore between them.
| * | replace every call to toupper with one to our own tolower_asciiDavid Kalnischkies2010-03-304-46/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Add with pkgCacheGen::Essential a way to control which packages get theDavid Kalnischkies2010-03-211-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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…
| * | add a missing non-const & Accessors to the Iterator classDavid Kalnischkies2010-03-191-0/+1
| | |
| * | merge MultiArch-ABI. We don't support MultiArch yet (as most other tools),David Kalnischkies2010-03-1827-861/+1756
| |\ \ | | | | | | | | | | | | | | | | but we support the usage of the new ABI so libapt users can start to prepare for MultiArch (Closes: #536029)
| | * | Readd the FindPkg() method implementation used in the singleArch days toDavid Kalnischkies2010-03-182-2/+36
| | | | | | | | | | | | | | | | | | | | use it as a fallback if multiarch is not enabled. The effect is barly noticeable but SingleArch is the realworld scenario.
| | * | generate "negative" dependencies against all architectures of a packageDavid Kalnischkies2010-03-181-3/+16
| | | | | | | | | | | | | | | | | | | | Negative means here Conflicts, Replaces and Breaks - this adds again a whole lot of dependencies.
| | * | Ensure that for each all package at least one pseudopackage is installedDavid Kalnischkies2010-03-141-9/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | fix compiler error if compiled with -std=c++0xDavid Kalnischkies2010-03-011-5/+5
| | | |