]> git.saurik.com Git - apt.git/log
apt.git
13 years agobuild test-binaries by default and add a test target to toplevel
David Kalnischkies [Wed, 17 Aug 2011 12:35:58 +0000 (14:35 +0200)] 
build test-binaries by default and add a test target to toplevel

13 years agofix the compareversion test to work then called from outside of libapt
David Kalnischkies [Wed, 17 Aug 2011 10:39:59 +0000 (12:39 +0200)] 
fix the compareversion test to work then called from outside of libapt

13 years agothe experimental branch has a better version of this test in libapt,
David Kalnischkies [Wed, 17 Aug 2011 10:15:39 +0000 (12:15 +0200)] 
the experimental branch has a better version of this test in libapt,
so remove it now - we will get it back at merge-time with experimental

13 years agoremove fake-status leftover from the python-test
David Kalnischkies [Wed, 17 Aug 2011 10:15:21 +0000 (12:15 +0200)] 
remove fake-status leftover from the python-test

13 years agomove the networkless test to the interactive helpers as it needs
David Kalnischkies [Wed, 17 Aug 2011 10:13:38 +0000 (12:13 +0200)] 
move the networkless test to the interactive helpers as it needs
root rights for operation (ifup/down, iptables) so it is better run
under supervision

13 years agoremove the python testcases as this is covered by integration/
David Kalnischkies [Wed, 17 Aug 2011 10:09:12 +0000 (12:09 +0200)] 
remove the python testcases as this is covered by integration/

13 years agomove the interactive helper to a subdirectory of test
David Kalnischkies [Wed, 17 Aug 2011 10:06:37 +0000 (12:06 +0200)] 
move the interactive helper to a subdirectory of test

13 years agoadd 'dirs' target to the 'all' target to ensure that for e.g. the tests
David Kalnischkies [Wed, 17 Aug 2011 10:05:22 +0000 (12:05 +0200)] 
add 'dirs' target to the 'all' target to ensure that for e.g. the tests
all (sub)directories are build which are needed (e.g. obj/ and co)

13 years agomove the list of versions to test with to the libapt subdirectory
David Kalnischkies [Wed, 17 Aug 2011 09:42:02 +0000 (11:42 +0200)] 
move the list of versions to test with to the libapt subdirectory

13 years agomerged from lp:~donkult/apt/sid
Michael Vogt [Wed, 17 Aug 2011 09:38:45 +0000 (11:38 +0200)] 
merged from lp:~donkult/apt/sid

13 years agoremove the interactive scratch test, it doesn't test much and what
David Kalnischkies [Wed, 17 Aug 2011 09:38:10 +0000 (11:38 +0200)] 
remove the interactive scratch test, it doesn't test much and what
it tests is covered by your non-interactive testcases,
so this one wasn't used for a looooong time

13 years agoreplaced by the integration/test-compressed-indexes test
David Kalnischkies [Wed, 17 Aug 2011 09:34:10 +0000 (11:34 +0200)] 
replaced by the integration/test-compressed-indexes test

13 years agomerge with the final changelog from debian-sid
David Kalnischkies [Wed, 17 Aug 2011 09:15:36 +0000 (11:15 +0200)] 
merge with the final changelog from debian-sid

13 years ago* apt-pkg/packagemanager.cc, apt-pkg/pkgcache.cc:
David Kalnischkies [Wed, 17 Aug 2011 09:13:50 +0000 (11:13 +0200)] 
* apt-pkg/packagemanager.cc, apt-pkg/pkgcache.cc:
  - ignore "self"-conflicts for all architectures of a package
    instead of just for the architecture of the package locked at
    in the ordering of installations too (Closes: #802901)

13 years agomerge the tests for configuration into another libapt-test
David Kalnischkies [Wed, 17 Aug 2011 07:59:19 +0000 (09:59 +0200)] 
merge the tests for configuration into another libapt-test

13 years agoFixed a problem where the loop flag would be removed prematurely.
Christopher Baines [Tue, 16 Aug 2011 17:00:01 +0000 (18:00 +0100)] 
Fixed a problem where the loop flag would be removed prematurely.

  SmartConfigure xserver-xorg-video-apm (1:1.2.3-0ubuntu1)
    SmartConfigure xserver-xorg-core (2:1.9.0-0ubuntu7.3) <- Loop flag set on xserver-xorg-core
      SmartConfigure xserver-xorg (1:7.5+6ubuntu3)
        SmartConfigure xserver-xorg-core (2:1.9.0-0ubuntu7.3) (Only Correct Dependancies) <- Loop flag removed prematurely
          SmartConfigure libpciaccess0 (0.12.0-1)
          SmartConfigure libpixman-1-0 (0.18.4-1)
        SmartConfigure xserver-xorg-video-all (1:7.5+6ubuntu3)
          SmartConfigure xserver-xorg-video-apm (1:1.2.3-0ubuntu1) (Only Correct Dependancies)
            SmartConfigure xserver-xorg-core (2:1.9.0-0ubuntu7.3) <- Incorrectly detects first run as no loop flag

Also applied this fix to the SmartUnpack method.

13 years agoFixed a bug where SmartUnPack would be called with Immediate=true (to resolve dependa...
Christopher Baines [Mon, 15 Aug 2011 21:31:09 +0000 (22:31 +0100)] 
Fixed a bug where SmartUnPack would be called with Immediate=true (to resolve dependancies in SmartConfigure) yet Pkg
would not be immediately configured. This was because SmartUnPack still required the immediate flag to be set on Pkg.

Also inproved the debuging adding indented output for SmartUnPack and SmartConfigure and specifying in the output if
SmartConfigure or SmartUnPack was called just to Correct something (PkgLoop = true) or not.

13 years agosupport yet another webserver in the integration tests: gatling
David Kalnischkies [Mon, 15 Aug 2011 16:23:54 +0000 (18:23 +0200)] 
support yet another webserver in the integration tests: gatling

13 years agowrite a proper testcase replacing the print-only uri.cc test
David Kalnischkies [Mon, 15 Aug 2011 16:22:44 +0000 (18:22 +0200)] 
write a proper testcase replacing the print-only uri.cc test

13 years agoreleasing version 0.8.16~exp5
Michael Vogt [Mon, 15 Aug 2011 13:35:01 +0000 (15:35 +0200)] 
releasing version 0.8.16~exp5

13 years agomerged from lp:~mvo/apt/mvo
Michael Vogt [Mon, 15 Aug 2011 12:21:31 +0000 (14:21 +0200)] 
merged from lp:~mvo/apt/mvo

13 years agomerged from the debian-sid branch
Michael Vogt [Mon, 15 Aug 2011 12:10:42 +0000 (14:10 +0200)] 
merged from  the debian-sid branch

13 years agoreleasing version 0.8.15.6 0.8.15.6
Michael Vogt [Mon, 15 Aug 2011 11:50:22 +0000 (13:50 +0200)] 
releasing version 0.8.15.6

13 years agomerged fixes from lp:~mvo/apt/mvo
Michael Vogt [Mon, 15 Aug 2011 07:23:39 +0000 (09:23 +0200)] 
merged fixes from lp:~mvo/apt/mvo

13 years agoApplied DonKult (David)'s excellent fix for inproving the loop management. Now both...
Christopher Baines [Sun, 14 Aug 2011 17:41:38 +0000 (18:41 +0100)] 
Applied DonKult (David)'s excellent fix for inproving the loop management. Now both SmartConfigure and SmartUnPack can be
called mutiple times on the same package, this is to make sure that when loops are broken all packages that are required
are kept in the same dpkg run.

13 years agoFix a bug introduced in Rev.2159 on line 398, also fix another potential bug.
Christopher Baines [Sat, 13 Aug 2011 16:29:49 +0000 (17:29 +0100)] 
Fix a bug introduced in Rev.2159 on line 398, also fix another potential bug.

13 years agoAdded code to allow SmartConfigure to be called mutiple times on the same package...
Christopher Baines [Fri, 12 Aug 2011 15:36:25 +0000 (16:36 +0100)] 
Added code to allow SmartConfigure to be called mutiple times on the same package to ensure all dependancies are satisfied.

13 years agoInproved debug with versioning
Christopher Baines [Fri, 12 Aug 2011 11:22:17 +0000 (12:22 +0100)] 
Inproved debug with versioning

13 years agoSmall fix for loop handeling.
Christopher Baines [Fri, 12 Aug 2011 09:38:19 +0000 (10:38 +0100)] 
Small fix for loop handeling.

13 years agolots of cppcheck fixes
Michael Vogt [Fri, 12 Aug 2011 08:32:05 +0000 (10:32 +0200)] 
lots of cppcheck fixes

13 years agocherry pick test/integration/Packages-hashsum-verification addition from lp:~mvo...
Michael Vogt [Fri, 12 Aug 2011 07:58:55 +0000 (09:58 +0200)] 
cherry pick test/integration/Packages-hashsum-verification addition from lp:~mvo/apt/mvo

13 years agotest/integration/Packages-hashsum-verification: commit the forgotten packages file
Michael Vogt [Fri, 12 Aug 2011 07:56:14 +0000 (09:56 +0200)] 
test/integration/Packages-hashsum-verification: commit the forgotten packages file

13 years agofollow the recommendation of cppcheck to make some method methods (scnr)
David Kalnischkies [Thu, 11 Aug 2011 21:30:09 +0000 (23:30 +0200)] 
follow the recommendation of cppcheck to make some method methods (scnr)
const and initial mostly Debug member values in the constructors

13 years agorename the parameter name of MarkDelete from Purge to MarkPurge to
David Kalnischkies [Thu, 11 Aug 2011 21:06:46 +0000 (23:06 +0200)] 
rename the parameter name of MarkDelete from Purge to MarkPurge to
fix a cosmetic warning from cppcheck:
[apt-pkg/depcache.h:462] -> [apt-pkg/depcache.h:122]:
 (style) Variable 'Purge' hides enumerator with same name

13 years agofix a few more cppcheck performance and scope warnings
David Kalnischkies [Thu, 11 Aug 2011 21:01:15 +0000 (23:01 +0200)] 
fix a few more cppcheck performance and scope warnings

13 years agocppcheck complains about some possible speed improvements which could be
David Kalnischkies [Thu, 11 Aug 2011 18:53:28 +0000 (20:53 +0200)] 
cppcheck complains about some possible speed improvements which could be
done on the mirco-optimazation level, so lets fix them:
 (performance) Possible inefficient checking for emptiness.
 (performance) Prefer prefix ++/-- operators for non-primitive types.

13 years agofix some cppcheck: (warning) Member variable is not initialized in the constructor.
David Kalnischkies [Thu, 11 Aug 2011 17:20:53 +0000 (19:20 +0200)] 
fix some cppcheck: (warning) Member variable is not initialized in the constructor.

13 years agocppcheck is right that the check for preventing null deference of Query
David Kalnischkies [Thu, 11 Aug 2011 16:42:19 +0000 (18:42 +0200)] 
cppcheck is right that the check for preventing null deference of Query
is redundant in Redirect() as we can't reach the code with null anyway

[apt-pkg/acquire-method.cc:433]: (error) Possible null pointer dereference:
 Queue - otherwise it is redundant to check if Queue is null at line 425

13 years agoAdded a RmFlag function to remvoe the loop flag, this should prevent any errors or...
Christopher Baines [Thu, 11 Aug 2011 14:35:54 +0000 (15:35 +0100)] 
Added a RmFlag function to remvoe the loop flag, this should prevent any errors or wierd behaviour because of the loop flag being used
at mutiple stages in both SmartUnpack and SmartConfigure.

13 years ago* methods/mirror.cc:
Michael Vogt [Thu, 11 Aug 2011 14:30:17 +0000 (16:30 +0200)] 
* methods/mirror.cc:
  - include the architecture(s) in the query string as well so
    that the server can make better decisions

13 years agoMore inproved comments about loops.
Christopher Baines [Tue, 9 Aug 2011 16:10:09 +0000 (17:10 +0100)] 
More inproved comments about loops.

13 years ago* apt-pkg/acquire.cc:
Michael Vogt [Tue, 9 Aug 2011 12:50:20 +0000 (14:50 +0200)] 
* apt-pkg/acquire.cc:
  - fix potential divide-by-zero

13 years agomerged from the debian-experimental2 branch
Michael Vogt [Tue, 9 Aug 2011 12:38:01 +0000 (14:38 +0200)] 
merged from the debian-experimental2 branch

13 years agofix crash when P.Arch() was used but the cache got remapped
Michael Vogt [Mon, 8 Aug 2011 14:18:52 +0000 (16:18 +0200)] 
fix crash when P.Arch() was used but the cache got remapped

13 years agoapt-pkg/acquire-item.cc: add more debug output
Michael Vogt [Mon, 8 Aug 2011 14:14:54 +0000 (16:14 +0200)] 
apt-pkg/acquire-item.cc: add more debug output

13 years agoapt-pkg/pkgcachegen.cc: fix incorrect test for modification time
Michael Vogt [Mon, 8 Aug 2011 14:14:13 +0000 (16:14 +0200)] 
apt-pkg/pkgcachegen.cc: fix incorrect test for modification time

13 years agoImproved errors and messages in general and improved the comments.
Christopher Baines [Sun, 7 Aug 2011 19:26:31 +0000 (20:26 +0100)] 
Improved errors and messages in general and improved the comments.
Removed quite a bit of code I used while learning about how apt handles things.
Added some extra checks and warnings relevent for Immediate Configuration.
Removed a wierd section I put in to prevent a segfault at 724+, this appears no longer to be needed.

13 years agoFixed a bug on line 623, I picked this up after seeing SmartUnpack trying to remove...
Christopher Baines [Sun, 7 Aug 2011 15:35:36 +0000 (16:35 +0100)] 
Fixed a bug on line 623, I picked this up after seeing SmartUnpack trying to remove packages once they were confiured to solve Conflicts with the previous version!
Luckily EarlyRemove is sane, and properly checks, so I think this was just cosmetic.

Also fixed a bug on line 374 with SmartUnpack not checking if a dependancy has been removed, this bug was definately harmful.

13 years ago* test/integration/test-hashsum-verification:
Michael Vogt [Fri, 5 Aug 2011 10:29:40 +0000 (12:29 +0200)] 
* test/integration/test-hashsum-verification:
  - add regression test for hashsum verification
* apt-pkg/acquire-item.cc:
  - if no Release.gpg file is found, still load the hashes for
    verification (closes: #636314) and add test

13 years ago* apt-pkg/acquire-item.cc:
Michael Vogt [Fri, 5 Aug 2011 10:26:35 +0000 (12:26 +0200)] 
* apt-pkg/acquire-item.cc:
  - if no Release.gpg file is found, still load the hashes for
    verification (closes: #636314) and add test

13 years ago* test/integration/test-hashsum-verification:
Michael Vogt [Fri, 5 Aug 2011 09:49:59 +0000 (11:49 +0200)] 
* test/integration/test-hashsum-verification:
  - add regression test for hashsum verification

13 years agoapt-pkg/acquire-item.cc: always init Verify
Michael Vogt [Fri, 5 Aug 2011 09:00:46 +0000 (11:00 +0200)] 
apt-pkg/acquire-item.cc: always init Verify

13 years ago* apt-pkg/acquire-item.{cc,h}:
Michael Vogt [Fri, 5 Aug 2011 08:48:18 +0000 (10:48 +0200)] 
* apt-pkg/acquire-item.{cc,h}:
  - do not check for a "Package" tag in optional index targets
    like the translations index

13 years agoapt-pkg/pkgcachegen.cc: fix compiler error
Michael Vogt [Fri, 5 Aug 2011 07:12:31 +0000 (09:12 +0200)] 
apt-pkg/pkgcachegen.cc: fix compiler error

13 years agoInproved the SIGINT stop in the dpkgpm, not perfect yet but it should work when using...
Christopher Baines [Tue, 2 Aug 2011 09:29:11 +0000 (10:29 +0100)] 
Inproved the SIGINT stop in the dpkgpm, not perfect yet but it should work when using Immediate-Configure-All.

13 years agofix crash when P.Arch() was used but the cache got remapped
Michael Vogt [Mon, 1 Aug 2011 13:32:16 +0000 (15:32 +0200)] 
fix crash when P.Arch() was used but the cache got remapped

13 years agomerged from lp:~mvo/apt/mvo
Michael Vogt [Mon, 1 Aug 2011 11:57:28 +0000 (13:57 +0200)] 
merged from lp:~mvo/apt/mvo

13 years agoOnly stop on SigInt if the system state is right (still needs more testing).
Christopher Baines [Mon, 1 Aug 2011 11:27:10 +0000 (12:27 +0100)] 
Only stop on SigInt if the system state is right (still needs more testing).
More inprovements to the package manager to prevent packages from being configured
twice.

13 years agoapt-pkg/pkgcachegen.cc: copy Arch to avoid segfault on cache remap
Michael Vogt [Mon, 1 Aug 2011 10:57:04 +0000 (12:57 +0200)] 
apt-pkg/pkgcachegen.cc: copy Arch to avoid segfault on cache remap

13 years agoapt-pkg/sourcelist.cc: GetListOfFilesInDir() fails if the dir does not exists, so...
Michael Vogt [Mon, 1 Aug 2011 08:56:49 +0000 (10:56 +0200)] 
apt-pkg/sourcelist.cc: GetListOfFilesInDir() fails if the dir does not exists, so test before using that

13 years agoOnly allow interupts when using, Immediate-Configure-All.
Christopher Baines [Sun, 31 Jul 2011 15:26:39 +0000 (16:26 +0100)] 
Only allow interupts when using, Immediate-Configure-All.

TODO for dpkgpm:
Useful messages about the interupt, what was done to what packages and what was not done to what packages.
Only fail when the system is in a clean state, at the moment it will fail either a configure or install run.

13 years agoapt-pkg/contrib/sha2_internal.h: remove extern "C" to avoid symbol clash with libssl
Michael Vogt [Fri, 29 Jul 2011 16:40:34 +0000 (18:40 +0200)] 
apt-pkg/contrib/sha2_internal.h: remove extern "C" to avoid symbol clash with libssl

13 years agotest/libapt/hashsums_test.cc: add a test for HashString and VerifyFile
Michael Vogt [Fri, 29 Jul 2011 14:33:20 +0000 (16:33 +0200)] 
test/libapt/hashsums_test.cc: add a test for HashString and VerifyFile

13 years agomerged from debian-sid
Michael Vogt [Fri, 29 Jul 2011 13:45:06 +0000 (15:45 +0200)] 
merged from debian-sid

13 years agoapt-pkg/contrib/sha256.h: use #warning to warn about deprecated header
Michael Vogt [Fri, 29 Jul 2011 12:55:52 +0000 (14:55 +0200)] 
apt-pkg/contrib/sha256.h: use #warning to warn about deprecated header

13 years agomerge from lp:~mvo/apt/mvo
Michael Vogt [Fri, 29 Jul 2011 11:52:18 +0000 (13:52 +0200)] 
merge from lp:~mvo/apt/mvo

13 years ago* apt-pkg/makefile:
Michael Vogt [Fri, 29 Jul 2011 11:44:18 +0000 (13:44 +0200)] 
* apt-pkg/makefile:
  - install sha256.h compat header

13 years ago* apt-pkg/pkgcachegen.{cc,h}:
Michael Vogt [Fri, 29 Jul 2011 11:37:33 +0000 (13:37 +0200)] 
* apt-pkg/pkgcachegen.{cc,h}:
  - use ref-to-ptr semantic in NewDepends() to ensure that the
    libapt does not segfault if the cache is remapped in between
    (LP: #812862)

13 years agoreleasing version 0.8.16~exp4
Michael Vogt [Thu, 28 Jul 2011 15:25:43 +0000 (17:25 +0200)] 
releasing version 0.8.16~exp4

13 years agoreleasing version 0.8.15.5 0.8.15.5
Michael Vogt [Thu, 28 Jul 2011 14:56:33 +0000 (16:56 +0200)] 
releasing version 0.8.15.5

13 years agomerged from lp:~mvo/apt/mvo
Michael Vogt [Thu, 28 Jul 2011 13:19:47 +0000 (15:19 +0200)] 
merged from lp:~mvo/apt/mvo

13 years ago* apt-pkg/contrib/fileutl.{cc,h}:
Michael Vogt [Thu, 28 Jul 2011 13:16:18 +0000 (15:16 +0200)] 
* apt-pkg/contrib/fileutl.{cc,h}:
  - add GetModificationTime() helper
* apt-pkg/pkgcachegen.cc:
  - regenerate the cache if the sources.list changes to ensure
    that changes in the ordering there will be honored by apt
* apt-pkg/sourcelist.{cc,h}:
  - add pkgSourceList::GetLastModifiedTime() helper

13 years ago[ABI break] merge patch from Jonathan Thomas to speed up the
Michael Vogt [Thu, 28 Jul 2011 11:55:15 +0000 (13:55 +0200)] 
[ABI break] merge patch from Jonathan Thomas to speed up the
depcache by caching the install-recommends and install-suggests
values

13 years ago[ABI break] merged patch from Jonathan Thomas to have a new
Michael Vogt [Thu, 28 Jul 2011 09:58:55 +0000 (11:58 +0200)] 
[ABI break] merged patch from Jonathan Thomas to have a new
RecordField() function in the pkgRecorder parser. Many thanks
Thomas

13 years ago* [ABI break] apt-pkg/acquire-item.{cc,h}:
Michael Vogt [Thu, 28 Jul 2011 08:26:39 +0000 (10:26 +0200)] 
* [ABI break] apt-pkg/acquire-item.{cc,h}:
  - cleanup around OptionalIndexTarget and SubIndexTarget

13 years agocmdline/makefile: ajust comment
Michael Vogt [Thu, 28 Jul 2011 08:19:30 +0000 (10:19 +0200)] 
cmdline/makefile: ajust comment

13 years ago* apt-pkg/cdrom.{cc,h}:
Michael Vogt [Thu, 28 Jul 2011 07:50:51 +0000 (09:50 +0200)] 
* apt-pkg/cdrom.{cc,h}:
  - cleanup old ABI break avoidance hacks

13 years agomerged from debian-apt
Michael Vogt [Thu, 28 Jul 2011 07:29:44 +0000 (09:29 +0200)] 
merged from debian-apt

13 years agomerged from lp:~donkult/apt/sid
Michael Vogt [Thu, 28 Jul 2011 07:28:29 +0000 (09:28 +0200)] 
merged from lp:~donkult/apt/sid

13 years ago* merged latest fixes from debian-sid
Michael Vogt [Thu, 28 Jul 2011 07:19:45 +0000 (09:19 +0200)] 
* merged latest fixes from debian-sid
* apt-pkg/contrib/sha1.cc:
  - fix illegally casts of on-stack buffer to a type requiring more
    alignment than it has resulting in segfaults on sparc (Closes: #634696)
* apt-pkg/contrib/cdromutl.cc:
  - fix escape problem when looking for the mounted devices
* apt-pkg/contrib/strutl.{h,cc}, test/libapt/strutil_test.cc:
  - add new DeEscapeString() similar to DeQuoteString but
    unescape character escapes like \0XX and \xXX (plus added
    test)
* refresh po/*

* cmdline/apt-get.cc:
  - fix missing download progress in apt-get download
  - do not require unused partial dirs in 'source' (Closes: #633510)
  - buildconflicts effect all architectures
  - implement MultiarchCross for build-dep and source (Closes: #632221)
* cmdline/apt-key:
  - use a tmpfile instead of /etc/apt/secring.gpg (Closes: #632596)
* debian/apt.postinst:
  - remove /etc/apt/secring.gpg if it is an empty file
* doc/apt-cache.8.xml:
  - apply madison typofix from John Feuerstein, thanks! (Closes: #633455)
* apt-pkg/policy.cc:
  - emit an error on unknown APT::Default-Release value (Closes: #407511)
* apt-pkg/aptconfiguration.cc:
  - ensure that native architecture is if not specified otherwise the
    first architecture in the Architectures vector
* apt-pkg/deb/deblistparser.cc:
  - Strip only :any and :native if MultiArch should be stripped as it is
    save to ignore them in non-MultiArch contexts but if the dependency
    is a specific architecture (and not the native) do not strip

13 years ago* apt-pkg/deb/deblistparser.cc:
David Kalnischkies [Wed, 27 Jul 2011 21:50:55 +0000 (23:50 +0200)] 
* apt-pkg/deb/deblistparser.cc:
  - do not assume that the last char on a line is a \n (Closes: #633350)

13 years agoSmartConfigure and SmartUnPack have got smarter! The full descriptions of what they...
Christopher Baines [Wed, 27 Jul 2011 14:20:35 +0000 (15:20 +0100)] 
SmartConfigure and SmartUnPack have got smarter! The full descriptions of what they now do is in the apt-pkg/packagemanager.cc file.
The short version is that they will both put the system in a state where there operation can be achived, this involves calling
themselves and each other recursively. Because SmartConfigure can now configure a package and all its dependancies itself, there is
no current need for DepAdd (at least in packagemanager.cc), SmartConfigure also performs the function of the short lived VerifyConfigure
as it checks through all the dependancies before performing configuration.

Another change is to use the ConfigureAll method in OrderInstall to clean up any packages left unconfigured during ImmConfigureAll.
This is necessary to inprove the safety of ImmConfiguration and because of the new SIGINT functionality of dpkgpm.cc relies on no
packages being left unconfigured between pairs of dpkg calls.  While writing this commit log, I have realised that the SIGINT stuff
is a prototype and not ready to be used yet as I have only tested it twice.

13 years agoreleasing version 0.8.15.4 0.8.15.4
Michael Vogt [Tue, 26 Jul 2011 10:23:04 +0000 (12:23 +0200)] 
releasing version 0.8.15.4

13 years agorefresh po/*
Michael Vogt [Tue, 26 Jul 2011 10:10:00 +0000 (12:10 +0200)] 
refresh po/*

13 years agomerged from lp:~mvo/apt/mvo
Michael Vogt [Tue, 26 Jul 2011 10:02:40 +0000 (12:02 +0200)] 
merged from lp:~mvo/apt/mvo

13 years agomerged from lp:~donkult/apt/sid
Michael Vogt [Tue, 26 Jul 2011 09:57:16 +0000 (11:57 +0200)] 
merged from lp:~donkult/apt/sid

13 years agofix typos in changelog, make DeEscapeString const, improve description
Michael Vogt [Tue, 26 Jul 2011 09:52:42 +0000 (11:52 +0200)] 
fix typos in changelog, make DeEscapeString const, improve description

13 years agoadd another escape test case, fixup octal one (its \0XX instead of \0XXX)
Michael Vogt [Tue, 26 Jul 2011 09:10:47 +0000 (11:10 +0200)] 
add another escape test case, fixup octal one (its \0XX instead of \0XXX)

13 years agoapt-pkg/contrib/strutl.cc: kill unneeded debug output
Michael Vogt [Tue, 26 Jul 2011 08:50:43 +0000 (10:50 +0200)] 
apt-pkg/contrib/strutl.cc: kill unneeded debug output

13 years ago* apt-pkg/contrib/strutl.{h,cc}, test/libapt/strutil_test.cc:
Michael Vogt [Tue, 26 Jul 2011 08:49:28 +0000 (10:49 +0200)] 
* apt-pkg/contrib/strutl.{h,cc}, test/libapt/strutil_test.cc:
  - add new DeEscapeString() similar to DeQuoteQuotedWord but
    unescape charackter escapes like \0XXX and \xXX (plus add test)

13 years ago* apt-pkg/contrib/sha1.cc:
David Miller [Tue, 26 Jul 2011 07:00:10 +0000 (09:00 +0200)] 
* apt-pkg/contrib/sha1.cc:
  - fix illegally casts of on-stack buffer to a type requiring more
    alignment than it has resulting in segfaults on sparc (Closes: #634696)

The problem is how sha1.cc codes the SHA1 transform, it illegally
casts the on-stack workspace buffer to a type requiring more
alignment than 'workspace' is actually declared to have.

This only shows up recently because gcc-4.6 now does a really
aggressive optimization where it gets rid of the workspace
buffer entirely and just accesses 'buffer' directly, and assumes
it has the necessary alignment for 32-bit loads (which it
doesn't).

13 years ago* apt-pkg/contrib/cdromutl.cc:
Michael Vogt [Mon, 25 Jul 2011 14:53:18 +0000 (16:53 +0200)] 
* apt-pkg/contrib/cdromutl.cc:
  - fix escape problem when looking for the mounted devices

13 years agoreleasing version 0.8.15.3
Michael Vogt [Mon, 25 Jul 2011 13:55:31 +0000 (15:55 +0200)] 
releasing version 0.8.15.3

13 years agomerged from lp:~donkult/apt/sid 0.8.15.3
Michael Vogt [Mon, 25 Jul 2011 13:54:03 +0000 (15:54 +0200)] 
merged from lp:~donkult/apt/sid

13 years agoimplement MultiarchCross for build-dep and source (Closes: #632221)
David Kalnischkies [Mon, 25 Jul 2011 12:40:22 +0000 (14:40 +0200)] 
implement MultiarchCross for build-dep and source (Closes: #632221)

13 years agothe order of languages after "none" is not important, so ignore it in tests
David Kalnischkies [Mon, 25 Jul 2011 11:55:23 +0000 (13:55 +0200)] 
the order of languages after "none" is not important, so ignore it in tests

13 years agoupdate the testcase to reflect that native is always on top if
David Kalnischkies [Mon, 25 Jul 2011 11:40:50 +0000 (13:40 +0200)] 
update the testcase to reflect that native is always on top if
it is not in the config provided list of Architectures

13 years ago* apt-pkg/deb/deblistparser.cc:
David Kalnischkies [Mon, 25 Jul 2011 10:52:50 +0000 (12:52 +0200)] 
* apt-pkg/deb/deblistparser.cc:
  - Strip only :any and :native if MultiArch should be stripped as it is
    save to ignore them in non-MultiArch contexts but if the dependency
    is a specific architecture (and not the native) do not strip

13 years ago* apt-pkg/aptconfiguration.cc:
David Kalnischkies [Mon, 25 Jul 2011 10:37:06 +0000 (12:37 +0200)] 
* apt-pkg/aptconfiguration.cc:
  - ensure that native architecture is if not specified otherwise the
    first architecture in the Architectures vector

13 years agomove debug message about attempt install/remove to the responsible method
David Kalnischkies [Sun, 24 Jul 2011 17:37:49 +0000 (19:37 +0200)] 
move debug message about attempt install/remove to the responsible method