]>
git.saurik.com Git - apt.git/log
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 [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
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: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: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
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
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
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
Michael Vogt [Tue, 4 May 2010 08:06:57 +0000 (10:06 +0200)]
merged from davids branch
Michael Vogt [Tue, 4 May 2010 08:02:15 +0000 (10:02 +0200)]
merged from the debian-sid branch
Michael Vogt [Tue, 4 May 2010 07:57:24 +0000 (09:57 +0200)]
merge from the mvo branch
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.
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
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
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.
Michael Vogt [Wed, 28 Apr 2010 13:49:55 +0000 (15:49 +0200)]
apt-pkg/policy.cc: yet another cout -> clog fix
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
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
David Kalnischkies [Sat, 24 Apr 2010 11:15:33 +0000 (13:15 +0200)]
set also "all" to this version for pseudo packages in TryToChangeVer
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
David Kalnischkies [Sat, 24 Apr 2010 10:15:59 +0000 (12:15 +0200)]
* apt-pkg/sourcelist.cc:
- be less strict and accept [option=value] as well
David Kalnischkies [Sat, 24 Apr 2010 09:02:30 +0000 (11:02 +0200)]
* doc/po/de.po:
- correct typos in german apt_preferences manpage, thanks Chris Leick!
David Kalnischkies [Sat, 24 Apr 2010 08:49:48 +0000 (10:49 +0200)]
show non-candidates as fallback for virtual packages (Closes: #578385)
David Kalnischkies [Sat, 24 Apr 2010 07:39:46 +0000 (09:39 +0200)]
* doc/apt.ent:
- Add a note about APT_CONFIG in the -c description (Closes: #578267)
David Kalnischkies [Fri, 23 Apr 2010 15:19:57 +0000 (17:19 +0200)]
* cmdline/apt-cache.cc:
- align Installed and Candidate Version in policy so they can be compared
easier, thanks Ralf Gesellensetter for the pointer! (Closes: #578657)
David Kalnischkies [Fri, 23 Apr 2010 15:13:02 +0000 (17:13 +0200)]
* ftparchive/writer.cc:
- remove 999 chars Files and Checksums rewrite limit (Closes: #577759)
David Kalnischkies [Wed, 21 Apr 2010 13:25:12 +0000 (15:25 +0200)]
replace backticks with POSIX $() (Closes: #577116)
And again thanks to Jari Aalto for spotting & patching!