summaryrefslogtreecommitdiff
path: root/apt-pkg
AgeCommit message (Collapse)Author
2010-05-27* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- write Disappeared also to the history.log
2010-05-24 - show at the end of the install process a list of disappeared packagesDavid Kalnischkies
* apt-pkg/packagemanager.h: - export info about disappeared packages with GetDisappearedPackages()
2010-05-24* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- add 'disappear' to the known processing states, thanks Jonathan Nieder
2010-05-13* contrib/mmap.cc:David Kalnischkies
- clarify "MMap reached size limit" error message, thanks Ivan Masár!
2010-05-11* apt-pkg/depcache.cc:David Kalnischkies
- be doublesure that the killer query is empty before starting reinstall
2010-05-06merge with debian-experimental-maDavid Kalnischkies
2010-05-06convert FileExists to DirectoryExists to check if the path is really aDavid Kalnischkies
directory (and to have a better method name in the error message if not)
2010-05-05* apt-pkg/deb/debrecords.cc:Michael Vogt
- fix max tag buffer size (LP: #545336, closes: #578959)
2010-05-05* apt-pkg/deb/debrecords.cc:Michael Vogt
- fix max tag buffer size (LP: #545336, closes: #578959)
2010-05-05* apt-pkg/deb/debrecords.cc:Michael Vogt
- fix max tag buffer size (LP: #545336, closes: #578959)
2010-05-04* doc/files.sgml:Michael Vogt
- 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
2010-05-04return in SingleArch a package also for "any"David Kalnischkies
2010-05-04* apt-pkg/pkgcache.cc:Julian Andres Klode
- Merge fix from David to correct handling in single-arch environments. This makes apt-get showauto working.
2010-05-04* apt-pkg/contrib/weakptr.h:Julian Andres Klode
- 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.
2010-05-04fix compiler warning: reaching end of non-void methodDavid Kalnischkies
2010-05-04merge from the debian-sid branchDavid Kalnischkies
2010-05-04* apt-pkg/pkgcache.h:David Kalnischkies
- 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
2010-05-04* doc/cache.sgml:David Kalnischkies
- drop the file in favor of inplace documentation with doxygen
2010-05-04merged from davids branchMichael Vogt
2010-05-04merged from the debian-sid branchMichael Vogt
2010-05-04merge from the mvo branchMichael Vogt
2010-05-03replace »« with '' in the internal error msg to have ascii chars for gettextDavid Kalnischkies
2010-05-03* apt-pkg/indexfile.cc:Michael Vogt
- 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
2010-04-28rewrite the pseudo package reinstaller to be more intelligentDavid Kalnischkies
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.
2010-04-28apt-pkg/policy.cc: yet another cout -> clog fixMichael Vogt
2010-04-28* apt-pkg/depcache.cc:Michael Vogt
- fix incorrect std::cout usage for debug output
2010-04-28* [ Abi break ] apt-pkg/acquire-item.{cc,h}:Michael Vogt
- add "IsIndexFile" to constructor of pkgAcqFile so that it sends the right cache control headers
2010-04-24* apt-pkg/contrib/configuration.cc:David Kalnischkies
- error out if #clear directive has no argument
2010-04-24* apt-pkg/sourcelist.cc:David Kalnischkies
- be less strict and accept [option=value] as well
2010-04-14* apt-pkg/deb/dpkgpm.cc:David Kalnischkies
- remove Chroot-Directory from files passed to install commands. Thanks to Kel Modderman for report & patch! (Closes: #577226)
2010-04-13create the partial dirs also automatic if only Dir::Cache::archives orDavid Kalnischkies
Dir::Cache::lists was set
2010-04-13regex for package names executed on Grp- not PkgIteratorDavid Kalnischkies
2010-04-09* apt-pkg/acquire-item.cc:David Kalnischkies
- 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)
2010-04-07* apt-pkg/contrib/fileutl.cc:David Kalnischkies
- 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
2010-04-04remove the ABI compatible stub for GetListOfFilesInDirDavid Kalnischkies
2010-04-03* apt-pkg/packagemanager.cc:David Kalnischkies
- don't try to "unpack" pseudo packages twice
2010-04-03Initialize history_out always with NULL so apt will not segfault laterDavid Kalnischkies
in the event of a failure in OpenLog() (which will happen if called with Debug::NoLocking as user)
2010-04-03* apt-pkg/depcache.cc:David Kalnischkies
- "reinstall" the correct version for a killed pseudo package
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-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-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-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-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 non-const & Accessors to the Iterator classDavid Kalnischkies
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.