ntk/apt.git
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()

14 years agosupport special release-modifier 'installed' and 'candidate'
David Kalnischkies [Sat, 5 Jun 2010 16:00:00 +0000 (18:00 +0200)]
support special release-modifier 'installed' and 'candidate'

14 years agoaccept package versions in the unmet command
David Kalnischkies [Sat, 5 Jun 2010 14:59:45 +0000 (16:59 +0200)]
accept package versions in the unmet command

14 years agoenhance the changelog a bit
David Kalnischkies [Sat, 5 Jun 2010 14:45:19 +0000 (16:45 +0200)]
enhance the changelog a bit

14 years agohandle :arch modifier in PackageSet::FromString correctly
David Kalnischkies [Sat, 5 Jun 2010 13:47:16 +0000 (15:47 +0200)]
handle :arch modifier in PackageSet::FromString correctly

14 years agoapt-cache show --no-all-versions should issues the Candidate
David Kalnischkies [Sat, 5 Jun 2010 11:42:04 +0000 (13:42 +0200)]
apt-cache show --no-all-versions should issues the Candidate

14 years agodo not insert end() Iterators into the CacheSet even if requested
David Kalnischkies [Sat, 5 Jun 2010 11:38:17 +0000 (13:38 +0200)]
do not insert end() Iterators into the CacheSet even if requested

14 years agoDon't increase the commandline parameter in the library but in the
David Kalnischkies [Sat, 5 Jun 2010 11:09:18 +0000 (13:09 +0200)]
Don't increase the commandline parameter in the library but in the
application to be really generic.

14 years agoadd --target-release option (Closes: #115520)
David Kalnischkies [Sat, 5 Jun 2010 10:54:30 +0000 (12:54 +0200)]
add --target-release option (Closes: #115520)

14 years agoAdd a option to apt-cache policy to additionally init the DepCache before
David Kalnischkies [Sat, 5 Jun 2010 08:17:10 +0000 (10:17 +0200)]
Add a option to apt-cache policy to additionally init the DepCache before
starting to get the package informations.
This is useful e.g. for debugging the MultiArchKiller.

14 years agouse pkgCacheFile and the new CacheSets all over the place
David Kalnischkies [Sat, 5 Jun 2010 08:04:48 +0000 (10:04 +0200)]
use pkgCacheFile and the new CacheSets all over the place

14 years agoAdd a method to get a VersionSet from the Commandline and refactor
David Kalnischkies [Sat, 5 Jun 2010 07:20:29 +0000 (09:20 +0200)]
Add a method to get a VersionSet from the Commandline and refactor
the existing methods a bit to reuse them easier intern

14 years agostore also the SourceList we use internally for export
David Kalnischkies [Fri, 4 Jun 2010 20:58:57 +0000 (22:58 +0200)]
store also the SourceList we use internally for export

14 years agoSwitch away from the now deprecated methods for Cache building
David Kalnischkies [Fri, 4 Jun 2010 12:51:21 +0000 (14:51 +0200)]
Switch away from the now deprecated methods for Cache building

14 years ago* apt-pkg/cachefile.{cc,h}:
David Kalnischkies [Fri, 4 Jun 2010 12:43:03 +0000 (14:43 +0200)]
* apt-pkg/cachefile.{cc,h}:
  - split Open() into submethods to be able to build only parts
  - make the OpProgress optional in the Cache buildprocess

14 years ago* apt-pkg/cacheset.{cc,h}:
David Kalnischkies [Mon, 31 May 2010 20:36:41 +0000 (22:36 +0200)]
* apt-pkg/cacheset.{cc,h}:
  - add simple wrapper around std::set for cache structures

14 years agorename packageset into cacheset while it is not too late
David Kalnischkies [Mon, 31 May 2010 19:00:09 +0000 (21:00 +0200)]
rename packageset into cacheset while it is not too late

14 years ago* cmdline/apt-cache.cc:
David Kalnischkies [Mon, 31 May 2010 18:02:41 +0000 (20:02 +0200)]
* cmdline/apt-cache.cc:
  - make the search multiarch compatible by using GrpIterator instead

14 years ago* apt-pkg/pkgcache.cc:
David Kalnischkies [Mon, 31 May 2010 18:00:16 +0000 (20:00 +0200)]
* apt-pkg/pkgcache.cc:
  - get the best matching arch package from a group with FindPreferredPkg

14 years ago* apt-pkg/contrib/cmdline.cc:
David Kalnischkies [Mon, 31 May 2010 15:22:04 +0000 (17:22 +0200)]
* apt-pkg/contrib/cmdline.cc:
  - fix segfault in SaveInConfig caused by writing over char[] sizes

14 years agoimprove the handling of regex together with the architecture modifier
David Kalnischkies [Mon, 31 May 2010 12:16:44 +0000 (14:16 +0200)]
improve the handling of regex together with the architecture modifier

14 years agoi managed to commit broken code… which (at least in my mind) worked
David Kalnischkies [Mon, 31 May 2010 10:58:20 +0000 (12:58 +0200)]
i managed to commit broken code… which (at least in my mind) worked
yesterday. Strange… anyway only small fixes.

14 years agomove cmdline parsing from apt-cache to new FromCommandLine method
David Kalnischkies [Sun, 30 May 2010 22:28:14 +0000 (00:28 +0200)]
move cmdline parsing from apt-cache to new FromCommandLine method

14 years agomove regex magic from apt-get to new FromRegEx method
David Kalnischkies [Sun, 30 May 2010 21:12:41 +0000 (23:12 +0200)]
move regex magic from apt-get to new FromRegEx method

14 years ago* apt-pkg/packageset.h:
David Kalnischkies [Sun, 30 May 2010 05:57:32 +0000 (07:57 +0200)]
* apt-pkg/packageset.h:
  - add a simple wrapper around std::set for packages with it

14 years ago* ftparchive/writer.h:
David Kalnischkies [Sat, 29 May 2010 17:10:19 +0000 (19:10 +0200)]
* ftparchive/writer.h:
  - add a virtual destructor to FTWScanner class (for cppcheck)

14 years ago* apt-pkg/depcache.cc:
David Kalnischkies [Sat, 29 May 2010 17:02:32 +0000 (19:02 +0200)]
* apt-pkg/depcache.cc:
  - correct "Dangerous iterator usage." pointed out by cppcheck

14 years ago* apt-pkg/cacheiterator.h:
David Kalnischkies [Sat, 29 May 2010 13:44:47 +0000 (15:44 +0200)]
* apt-pkg/cacheiterator.h:
  - let pkgCache::Iterator inherent std::iterator

14 years ago* apt-pkg/indexrecords.{cc,h}:
David Kalnischkies [Sat, 29 May 2010 10:04:51 +0000 (12:04 +0200)]
* apt-pkg/indexrecords.{cc,h}:
  - add a constant Exists check for MetaKeys
* apt-pkg/acquire-item.cc:
  - do not try PDiff if it is not listed in the Meta file

14 years agocreate the bin-test directory automatic in the runner
David Kalnischkies [Fri, 28 May 2010 21:40:08 +0000 (23:40 +0200)]
create the bin-test directory automatic in the runner

14 years ago* apt-pkg/aptconfiguration.cc:
David Kalnischkies [Fri, 28 May 2010 21:11:36 +0000 (23:11 +0200)]
* apt-pkg/aptconfiguration.cc:
  - remove duplicate architectures in getArchitectures()

14 years agotry harder to find the other pseudo versions for autoremove multiarch
David Kalnischkies [Fri, 28 May 2010 17:30:19 +0000 (19:30 +0200)]
try harder to find the other pseudo versions for autoremove multiarch

14 years ago* apt-pkg/depcache.cc:
David Kalnischkies [Fri, 28 May 2010 17:04:53 +0000 (19:04 +0200)]
* apt-pkg/depcache.cc:
  - do the autoremove mark process also for required packages to handle
    these illegally depending on lower priority packages (Closes: #583517)

14 years ago* apt-pkg/deb/debsystem.cc:
David Kalnischkies [Fri, 28 May 2010 12:10:00 +0000 (14:10 +0200)]
* apt-pkg/deb/debsystem.cc:
  - add better config item for extended_states file

14 years agoforward manual-installed bit on package disappearance
David Kalnischkies [Thu, 27 May 2010 16:13:52 +0000 (18:13 +0200)]
forward manual-installed bit on package disappearance

14 years ago* apt-pkg/deb/dpkgpm.cc:
David Kalnischkies [Thu, 27 May 2010 13:17:52 +0000 (15:17 +0200)]
* apt-pkg/deb/dpkgpm.cc:
  - write Disappeared also to the history.log

14 years agomerged from debian-sid
Michael Vogt [Tue, 25 May 2010 18:26:42 +0000 (20:26 +0200)]
merged from debian-sid

14 years agomethods/http.cc: shorten comment on return values of DealWithHeaders (because we...
Michael Vogt [Tue, 25 May 2010 15:45:12 +0000 (17:45 +0200)]
methods/http.cc: shorten comment on return values of DealWithHeaders (because we use a enum now)

14 years ago* methods/http.{cc,h}:
Michael Vogt [Tue, 25 May 2010 13:57:54 +0000 (15:57 +0200)]
* methods/http.{cc,h}:
  - code cleanup, use enums instead of magic ints

14 years agomerged lp:~donkult/apt/sid
Michael Vogt [Tue, 25 May 2010 13:55:05 +0000 (15:55 +0200)]
merged lp:~donkult/apt/sid

14 years ago - show at the end of the install process a list of disappeared packages
David Kalnischkies [Mon, 24 May 2010 18:10:11 +0000 (20:10 +0200)]
  - show at the end of the install process a list of disappeared packages
* apt-pkg/packagemanager.h:
  - export info about disappeared packages with GetDisappearedPackages()

14 years ago* apt-pkg/deb/dpkgpm.cc:
David Kalnischkies [Mon, 24 May 2010 11:40:50 +0000 (13:40 +0200)]
* apt-pkg/deb/dpkgpm.cc:
  - add 'disappear' to the known processing states, thanks Jonathan Nieder

14 years agoremove the gnome-apt reference as it is removed from unstable
David Kalnischkies [Mon, 24 May 2010 11:18:14 +0000 (13:18 +0200)]
remove the gnome-apt reference as it is removed from unstable

14 years ago* doc/apt-get.8.xml:
David Kalnischkies [Mon, 24 May 2010 11:03:19 +0000 (13:03 +0200)]
* doc/apt-get.8.xml:
  - do not say explicit target_release_{name,version,codename}, it should
    be clear by itself and 'man' can break lines again (Closes: #566166)

14 years ago* debian/libapt-pkg-doc.doc-base.cache:
David Kalnischkies [Mon, 24 May 2010 10:31:08 +0000 (12:31 +0200)]
* debian/libapt-pkg-doc.doc-base.cache:
  - remove yet another reference to the removed cache.sgml

14 years agouse dpkg-buildflags if available for CXXFLAGS
David Kalnischkies [Mon, 24 May 2010 10:09:45 +0000 (12:09 +0200)]
use dpkg-buildflags if available for CXXFLAGS

14 years agouse $(CURDIR) instead of $(pwd)
David Kalnischkies [Mon, 24 May 2010 10:06:58 +0000 (12:06 +0200)]
use $(CURDIR) instead of $(pwd)

14 years agoItalian translation completed
bubulle@debian.org [Sun, 16 May 2010 05:05:47 +0000 (07:05 +0200)]
Italian translation completed

14 years agoItalian translation update. Closes: #581742
bubulle@debian.org [Sat, 15 May 2010 18:07:48 +0000 (20:07 +0200)]
Italian translation update. Closes: #581742

14 years ago* README.arch:
David Kalnischkies [Sat, 15 May 2010 10:50:43 +0000 (12:50 +0200)]
* README.arch:
  - remove the file completely as it has no use nowadays

14 years agohandle multiple --{tar,diff,dsc}-only options correctly
David Kalnischkies [Fri, 14 May 2010 10:12:23 +0000 (12:12 +0200)]
handle multiple --{tar,diff,dsc}-only options correctly

14 years agoadd "NotAutomatic: yes" handling, thanks Osamu Aoki (Closes: #490347)
David Kalnischkies [Thu, 13 May 2010 15:58:35 +0000 (17:58 +0200)]
add "NotAutomatic: yes" handling, thanks Osamu Aoki (Closes: #490347)

14 years ago* doc/apt.ent
David Kalnischkies [Thu, 13 May 2010 15:39:21 +0000 (17:39 +0200)]
* doc/apt.ent
  - add entities for the current oldstable/stable/testing codenames
* doc/sources.list.5.xml:
  - use stable-codename instead of stable in the examples (Closes: #531492)
* doc/apt_preferences.5.xml:
  - adapt some examples here to use current codenames as well

14 years ago* contrib/mmap.cc:
David Kalnischkies [Thu, 13 May 2010 13:20:07 +0000 (15:20 +0200)]
* contrib/mmap.cc:
  - clarify "MMap reached size limit" error message, thanks Ivan Masár!

14 years ago* methods/gpgv.cc:
David Kalnischkies [Wed, 12 May 2010 09:44:50 +0000 (11:44 +0200)]
* methods/gpgv.cc:
  - remove the keyrings count limit by using vector magic

14 years agoSlovak translation update. Closes: #581159
bubulle@debian.org [Tue, 11 May 2010 17:52:33 +0000 (19:52 +0200)]
Slovak translation update. Closes: #581159

14 years ago* apt-pkg/depcache.cc:
David Kalnischkies [Tue, 11 May 2010 11:59:02 +0000 (13:59 +0200)]
* apt-pkg/depcache.cc:
  - be doublesure that the killer query is empty before starting reinstall

14 years ago* methods/http.cc:
Michael Vogt [Fri, 7 May 2010 09:20:31 +0000 (11:20 +0200)]
* methods/http.cc:
  - code cleanup, add (some) doxygen strings

14 years agoapt-pkg/acquire-item.cc: Fix pkgAcqFile::Custom600Headers() to always return something.
Julian Andres Klode [Fri, 7 May 2010 07:20:34 +0000 (09:20 +0200)]
apt-pkg/acquire-item.cc: Fix pkgAcqFile::Custom600Headers() to always return something.

14 years agomerge with debian-experimental-ma
David Kalnischkies [Thu, 6 May 2010 14:15:53 +0000 (16:15 +0200)]
merge with debian-experimental-ma

14 years agoreleasing version 0.7.26~exp4
Michael Vogt [Thu, 6 May 2010 13:41:42 +0000 (15:41 +0200)]
releasing version 0.7.26~exp4

14 years agodon't suggest held packages as they are installed (Closes: #578135)
David Kalnischkies [Thu, 6 May 2010 10:31:55 +0000 (12:31 +0200)]
don't suggest held packages as they are installed (Closes: #578135)

14 years ago - install html doxygen in libapt-pkg-doc
Michael Vogt [Thu, 6 May 2010 10:14:53 +0000 (12:14 +0200)]
  - install html doxygen in libapt-pkg-doc
* debian/control:
  - build-depend on doxygen

14 years agoconvert FileExists to DirectoryExists to check if the path is really a
David Kalnischkies [Thu, 6 May 2010 09:55:54 +0000 (11:55 +0200)]
convert FileExists to DirectoryExists to check if the path is really a
directory (and to have a better method name in the error message if not)

14 years ago* debian/rules:
Michael Vogt [Wed, 5 May 2010 14:39:20 +0000 (16:39 +0200)]
* debian/rules:
  - install html doxygen in libapt-pkg-doc as well

14 years ago* debian/rules:
Michael Vogt [Wed, 5 May 2010 14:34:20 +0000 (16:34 +0200)]
* debian/rules:
  - install html doxygen in libapt-pkg-doc as well

14 years ago* debian/rules:
Michael Vogt [Wed, 5 May 2010 14:25:32 +0000 (16:25 +0200)]
* debian/rules:
  - install html doxygen in libapt-pkg-doc as well

14 years ago* apt-pkg/deb/debrecords.cc:
Michael Vogt [Wed, 5 May 2010 08:43:56 +0000 (10:43 +0200)]
* apt-pkg/deb/debrecords.cc:
  - fix max tag buffer size (LP: #545336, closes: #578959)

14 years ago* apt-pkg/deb/debrecords.cc:
Michael Vogt [Wed, 5 May 2010 08:01:41 +0000 (10:01 +0200)]
* apt-pkg/deb/debrecords.cc:
  - fix max tag buffer size (LP: #545336, closes: #578959)

14 years ago* apt-pkg/deb/debrecords.cc:
Michael Vogt [Wed, 5 May 2010 07:54:49 +0000 (09:54 +0200)]
* apt-pkg/deb/debrecords.cc:
  - fix max tag buffer size (LP: #545336, closes: #578959)

14 years ago* debian/rules:
David Kalnischkies [Tue, 4 May 2010 19:51:32 +0000 (21:51 +0200)]
* debian/rules:
  - remove targets refering to CVS or arch as they are useless

14 years ago* debian/rules:
David Kalnischkies [Tue, 4 May 2010 19:48:38 +0000 (21:48 +0200)]
* debian/rules:
  - spell out some less known options to reduce manpage consulation-rate
  - Use POSIX command substitution: $(<command sequence>)
  - Remove EOL whitespace (Closes: #577804)

14 years agoMove the showauto command to apt-cache and sort output.
Julian Andres Klode [Tue, 4 May 2010 19:28:24 +0000 (21:28 +0200)]
Move the showauto command to apt-cache and sort output.

* cmdline/apt-cache.cc:
  - Add a showauto command to apt-cache.
  - Add apt-get markauto and unmarkauto commands.

14 years agoMakefile: Fix, committed wrong version.
Julian Andres Klode [Tue, 4 May 2010 19:21:16 +0000 (21:21 +0200)]
Makefile: Fix, committed wrong version.

14 years ago* doc/files.sgml:
Michael Vogt [Tue, 4 May 2010 18:55:08 +0000 (20:55 +0200)]
* doc/files.sgml:
  - 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

14 years agorerun dpkg-source in source if --fix-broken is given (Closes: #576752)
David Kalnischkies [Tue, 4 May 2010 17:44:37 +0000 (19:44 +0200)]
rerun dpkg-source in source if --fix-broken is given (Closes: #576752)

14 years agoreturn in SingleArch a package also for "any"
David Kalnischkies [Tue, 4 May 2010 17:44:11 +0000 (19:44 +0200)]
return in SingleArch a package also for "any"

14 years ago* apt-pkg/pkgcache.cc:
Julian Andres Klode [Tue, 4 May 2010 16:01:51 +0000 (18:01 +0200)]
* apt-pkg/pkgcache.cc:
  - Merge fix from David to correct handling in single-arch environments.

This makes apt-get showauto working.

14 years agocmdline/apt-get.cc: Add apt-get markauto, showauto and unmarkauto commands.
Julian Andres Klode [Tue, 4 May 2010 15:52:36 +0000 (17:52 +0200)]
cmdline/apt-get.cc: Add apt-get markauto, showauto and unmarkauto commands.

14 years ago* apt-pkg/contrib/weakptr.h:
Julian Andres Klode [Tue, 4 May 2010 15:05:23 +0000 (17:05 +0200)]
* apt-pkg/contrib/weakptr.h:
  - 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.

14 years ago* methods/rred.cc:
David Kalnischkies [Tue, 4 May 2010 14:10:47 +0000 (16:10 +0200)]
* methods/rred.cc:
  - use the patchfile modification time instead of the one from the
    "old" file - thanks to Philipp Weis for noticing! (Closes: #571541)

14 years agomake update-po
David Kalnischkies [Tue, 4 May 2010 11:45:36 +0000 (13:45 +0200)]
make update-po

14 years agofix compiler warning: reaching end of non-void method
David Kalnischkies [Tue, 4 May 2010 11:34:34 +0000 (13:34 +0200)]
fix compiler warning: reaching end of non-void method

14 years agomerge from the debian-sid branch
David Kalnischkies [Tue, 4 May 2010 11:26:49 +0000 (13:26 +0200)]
merge from the debian-sid branch

14 years agouse GroupCount for package names in stats and add a package struct line
David Kalnischkies [Tue, 4 May 2010 10:54:52 +0000 (12:54 +0200)]
use GroupCount for package names in stats and add a package struct line

14 years ago* apt-pkg/pkgcache.h:
David Kalnischkies [Tue, 4 May 2010 10:43:08 +0000 (12:43 +0200)]
* 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

14 years ago* doc/cache.sgml:
David Kalnischkies [Tue, 4 May 2010 10:30:13 +0000 (12:30 +0200)]
* doc/cache.sgml:
  - drop the file in favor of inplace documentation with doxygen

14 years agomerged from davids branch
Michael Vogt [Tue, 4 May 2010 08:06:57 +0000 (10:06 +0200)]
merged from davids branch

14 years agomerged from the debian-sid branch
Michael Vogt [Tue, 4 May 2010 08:02:15 +0000 (10:02 +0200)]
merged from the debian-sid branch

14 years agomerge from the mvo branch
Michael Vogt [Tue, 4 May 2010 07:57:24 +0000 (09:57 +0200)]
merge from the mvo branch

14 years ago* doc/files.sgml:
David Kalnischkies [Mon, 3 May 2010 15:19:09 +0000 (17:19 +0200)]
* doc/files.sgml:
  - sync documentation with status quo, regarding files/directories in
    use, extended_states and uri schemes.

14 years agoreplace »« with '' in the internal error msg to have ascii chars for gettext
David Kalnischkies [Mon, 3 May 2010 14:55:11 +0000 (16:55 +0200)]
replace »« with '' in the internal error msg to have ascii chars for gettext

14 years ago* apt-pkg/indexfile.cc:
Michael Vogt [Mon, 3 May 2010 08:07:13 +0000 (10:07 +0200)]
* apt-pkg/indexfile.cc:
  - 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

14 years agorewrite the pseudo package reinstaller to be more intelligent
David Kalnischkies [Wed, 28 Apr 2010 14:25:05 +0000 (16:25 +0200)]
rewrite the pseudo package reinstaller to be more intelligent
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.

14 years agoapt-pkg/policy.cc: yet another cout -> clog fix
Michael Vogt [Wed, 28 Apr 2010 13:49:55 +0000 (15:49 +0200)]
apt-pkg/policy.cc: yet another cout -> clog fix

14 years ago* apt-pkg/depcache.cc:
Michael Vogt [Wed, 28 Apr 2010 13:45:06 +0000 (15:45 +0200)]
* apt-pkg/depcache.cc:
  - fix incorrect std::cout usage for debug output

14 years ago* [ Abi break ] apt-pkg/acquire-item.{cc,h}:
Michael Vogt [Wed, 28 Apr 2010 07:41:44 +0000 (09:41 +0200)]
* [ Abi break ] apt-pkg/acquire-item.{cc,h}:
  - add "IsIndexFile" to constructor of pkgAcqFile so that it sends
    the right cache control headers

14 years agoset also "all" to this version for pseudo packages in TryToChangeVer
David Kalnischkies [Sat, 24 Apr 2010 11:15:33 +0000 (13:15 +0200)]
set also "all" to this version for pseudo packages in TryToChangeVer

14 years ago* apt-pkg/contrib/configuration.cc:
David Kalnischkies [Sat, 24 Apr 2010 10:44:11 +0000 (12:44 +0200)]
* apt-pkg/contrib/configuration.cc:
  - error out if #clear directive has no argument