]>
git.saurik.com Git - apt.git/log
David Kalnischkies [Sat, 5 Jun 2010 16:00:00 +0000 (18:00 +0200)]
support special release-modifier 'installed' and 'candidate'
David Kalnischkies [Sat, 5 Jun 2010 14:59:45 +0000 (16:59 +0200)]
accept package versions in the unmet command
David Kalnischkies [Sat, 5 Jun 2010 14:45:19 +0000 (16:45 +0200)]
enhance the changelog a bit
David Kalnischkies [Sat, 5 Jun 2010 13:47:16 +0000 (15:47 +0200)]
handle :arch modifier in PackageSet::FromString correctly
David Kalnischkies [Sat, 5 Jun 2010 11:42:04 +0000 (13:42 +0200)]
apt-cache show --no-all-versions should issues the Candidate
David Kalnischkies [Sat, 5 Jun 2010 11:38:17 +0000 (13:38 +0200)]
do not insert end() Iterators into the CacheSet even if requested
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.
David Kalnischkies [Sat, 5 Jun 2010 10:54:30 +0000 (12:54 +0200)]
add --target-release option (Closes: #115520)
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.
David Kalnischkies [Sat, 5 Jun 2010 08:04:48 +0000 (10:04 +0200)]
use pkgCacheFile and the new CacheSets all over the place
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
David Kalnischkies [Fri, 4 Jun 2010 20:58:57 +0000 (22:58 +0200)]
store also the SourceList we use internally for export
David Kalnischkies [Fri, 4 Jun 2010 12:51:21 +0000 (14:51 +0200)]
Switch away from the now deprecated methods for Cache building
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
David Kalnischkies [Thu, 3 Jun 2010 08:48:19 +0000 (10:48 +0200)]
* cmdline/apt-get.cc:
- use unsigned long long instead of double to store values it gets
David Kalnischkies [Thu, 3 Jun 2010 08:45:58 +0000 (10:45 +0200)]
* apt-pkg/depcache.cc:
- switch i{Download,Usr}Size from double to (un)signed long long
The biggest reason is that this saves a lot of float point operations
we do in AddSizes() on integers. The only reason i see that this was
a double is that it was 64bit long and can therefore store bigger
values than int/long, but with the availablity of (un)signed long long
we are now also at 64bit and can store sizes more than 8 Exabytes big -
by the time this will be a limit the C/C++ Standard will have bigger types,
hopefully.
David Kalnischkies [Thu, 3 Jun 2010 07:50:06 +0000 (09:50 +0200)]
deprecate AddSize with Multiplier as it is unused and switch to
boolean instead to handle the sizes more gracefully.
David Kalnischkies [Thu, 3 Jun 2010 07:22:00 +0000 (09:22 +0200)]
* apt-pkg/pkgcache.h:
- switch {,Install-}Size to unsigned long long
* apt-pkg/depcache.cc:
- deal with long long, not with int to remove 2GB Limit (LP: #250909)
Michael Vogt [Wed, 2 Jun 2010 21:57:00 +0000 (23:57 +0200)]
methods/mirror.cc: debug improvements
Michael Vogt [Wed, 2 Jun 2010 21:30:01 +0000 (23:30 +0200)]
implement Fail-Ignore bool in FetchItem that tells the method that a failure of this item is ok and does not need to be tried on all mirrors
Michael Vogt [Wed, 2 Jun 2010 21:15:55 +0000 (23:15 +0200)]
methods/mirror.cc: simplify uri.startswith()
Michael Vogt [Wed, 2 Jun 2010 21:13:42 +0000 (23:13 +0200)]
methods/mirrors.cc: make cycle through the mirrors work properly
Michael Vogt [Wed, 2 Jun 2010 20:47:49 +0000 (22:47 +0200)]
methods/mirror.cc: remove Acquire::Mirror::RefreshInterval (not really useful)
Michael Vogt [Wed, 2 Jun 2010 20:44:49 +0000 (22:44 +0200)]
improve error message if mirror method fails
Michael Vogt [Wed, 2 Jun 2010 19:43:55 +0000 (21:43 +0200)]
cmdline/apt-report-mirror-failure: port to latest python-apt
Michael Vogt [Wed, 2 Jun 2010 14:51:25 +0000 (16:51 +0200)]
methods/mirror.cc: on fail try the next mirror
Michael Vogt [Wed, 2 Jun 2010 14:40:40 +0000 (16:40 +0200)]
* apt-pkg/deb/dpkgpm.cc:
- add missing include
* methods/mirror.{cc,h}:
- add SelectNextMirror() and InitMirrors() functions
- read all mirrors into the AllMirrors vector
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
David Kalnischkies [Mon, 31 May 2010 19:00:09 +0000 (21:00 +0200)]
rename packageset into cacheset while it is not too late
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
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
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
David Kalnischkies [Mon, 31 May 2010 12:16:44 +0000 (14:16 +0200)]
improve the handling of regex together with the architecture modifier
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.
David Kalnischkies [Sun, 30 May 2010 22:28:14 +0000 (00:28 +0200)]
move cmdline parsing from apt-cache to new FromCommandLine method
David Kalnischkies [Sun, 30 May 2010 21:12:41 +0000 (23:12 +0200)]
move regex magic from apt-get to new FromRegEx method
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
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)
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
David Kalnischkies [Sat, 29 May 2010 13:44:47 +0000 (15:44 +0200)]
* apt-pkg/cacheiterator.h:
- let pkgCache::Iterator inherent std::iterator
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
David Kalnischkies [Fri, 28 May 2010 21:40:08 +0000 (23:40 +0200)]
create the bin-test directory automatic in the runner
David Kalnischkies [Fri, 28 May 2010 21:11:36 +0000 (23:11 +0200)]
* apt-pkg/aptconfiguration.cc:
- remove duplicate architectures in getArchitectures()
David Kalnischkies [Fri, 28 May 2010 17:30:19 +0000 (19:30 +0200)]
try harder to find the other pseudo versions for autoremove multiarch
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)
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
David Kalnischkies [Thu, 27 May 2010 16:13:52 +0000 (18:13 +0200)]
forward manual-installed bit on package disappearance
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
Michael Vogt [Tue, 25 May 2010 18:26:42 +0000 (20:26 +0200)]
merged from debian-sid
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)
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
Michael Vogt [Tue, 25 May 2010 13:55:05 +0000 (15:55 +0200)]
merged lp:~donkult/apt/sid
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()
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
David Kalnischkies [Mon, 24 May 2010 11:18:14 +0000 (13:18 +0200)]
remove the gnome-apt reference as it is removed from unstable
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)
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
David Kalnischkies [Mon, 24 May 2010 10:09:45 +0000 (12:09 +0200)]
use dpkg-buildflags if available for CXXFLAGS
David Kalnischkies [Mon, 24 May 2010 10:06:58 +0000 (12:06 +0200)]
use $(CURDIR) instead of $(pwd)
bubulle@debian.org [Sun, 16 May 2010 05:05:47 +0000 (07:05 +0200)]
Italian translation completed
bubulle@debian.org [Sat, 15 May 2010 18:07:48 +0000 (20:07 +0200)]
Italian translation update. Closes: #581742
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
David Kalnischkies [Fri, 14 May 2010 10:12:23 +0000 (12:12 +0200)]
handle multiple --{tar,diff,dsc}-only options correctly
Michael Vogt [Fri, 14 May 2010 07:42:05 +0000 (09:42 +0200)]
* debian/apt.postinst:
- do not fail if getent returns nothing useful (LP: #579647)
thanks to Jean-Baptiste Lallement
Michael Vogt [Fri, 14 May 2010 07:33:22 +0000 (09:33 +0200)]
releasing version 0.7.25.3ubuntu8
David Kalnischkies [Thu, 13 May 2010 15:58:35 +0000 (17:58 +0200)]
add "NotAutomatic: yes" handling, thanks Osamu Aoki (Closes: #490347)
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
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!
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
bubulle@debian.org [Tue, 11 May 2010 17:52:33 +0000 (19:52 +0200)]
Slovak translation update. Closes: #581159
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
Michael Vogt [Fri, 7 May 2010 09:20:31 +0000 (11:20 +0200)]
* methods/http.cc:
- code cleanup, add (some) doxygen strings
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.
David Kalnischkies [Thu, 6 May 2010 14:15:53 +0000 (16:15 +0200)]
merge with debian-experimental-ma
Michael Vogt [Thu, 6 May 2010 13:41:42 +0000 (15:41 +0200)]
releasing version 0.7.26~exp4
David Kalnischkies [Thu, 6 May 2010 10:31:55 +0000 (12:31 +0200)]
don't suggest held packages as they are installed (Closes: #578135)
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
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)
Michael Vogt [Wed, 5 May 2010 14:39:20 +0000 (16:39 +0200)]
* debian/rules:
- install html doxygen in libapt-pkg-doc as well
Michael Vogt [Wed, 5 May 2010 14:34:20 +0000 (16:34 +0200)]
* debian/rules:
- install html doxygen in libapt-pkg-doc as well
Michael Vogt [Wed, 5 May 2010 14:25:32 +0000 (16:25 +0200)]
* debian/rules:
- install html doxygen in libapt-pkg-doc as well
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)
Michael Vogt [Wed, 5 May 2010 08:16:02 +0000 (10:16 +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
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)
Michael Vogt [Wed, 5 May 2010 07:58:23 +0000 (09:58 +0200)]
* apt-pkg/deb/debrecords.cc:
- fix max tag buffer size (LP: #545336, closes: #578959)
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)
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
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)
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.
Julian Andres Klode [Tue, 4 May 2010 19:21:16 +0000 (21:21 +0200)]
Makefile: Fix, committed wrong version.
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
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)
David Kalnischkies [Tue, 4 May 2010 17:44:11 +0000 (19:44 +0200)]
return in SingleArch a package also for "any"
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.
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.
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.
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)
David Kalnischkies [Tue, 4 May 2010 11:45:36 +0000 (13:45 +0200)]
make update-po
David Kalnischkies [Tue, 4 May 2010 11:34:34 +0000 (13:34 +0200)]
fix compiler warning: reaching end of non-void method
David Kalnischkies [Tue, 4 May 2010 11:26:49 +0000 (13:26 +0200)]
merge from the debian-sid branch