ntk/apt.git
14 years ago [ Nicolas François ]
David Kalnischkies [Wed, 26 Aug 2009 14:38:54 +0000 (16:38 +0200)]
  [ Nicolas François ]
  * doc/style.txt, buildlib/defaults.mak, buildlib/manpage.mak:
    - fix a few typos in the comments of this files

14 years ago* doc/Doxyfile.in
David Kalnischkies [Wed, 26 Aug 2009 14:02:39 +0000 (16:02 +0200)]
* doc/Doxyfile.in
  - activate DOT_MULTI_TARGETS, it is default on since doxygen 1.5.9

The description for this option is:
# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output
# files in one run (i.e. multiple -o and -T options on the command line). This
# makes dot run faster, but since only newer versions of dot (>1.8.10)
# support this, this feature is disabled by default.

Even oldstable has a newer dot version, so the debian package doxygen
activate it per default and we will follow this recommendation now.

14 years ago * doc/Doxyfile.in:
David Kalnischkies [Wed, 26 Aug 2009 13:52:22 +0000 (15:52 +0200)]
  * doc/Doxyfile.in:
    - update file with doxygen 1.6.1 (current unstable)

14 years ago[ Nicolas François ]
David Kalnischkies [Wed, 26 Aug 2009 10:21:54 +0000 (12:21 +0200)]
[ Nicolas François ]
* doc/*.?.xml (manpages):
  - add contrib to author tags and also add refmiscinfo to fix warnings

14 years ago"backport" the APT::Configuration class to apt-sid
David Kalnischkies [Tue, 25 Aug 2009 13:32:40 +0000 (15:32 +0200)]
"backport" the APT::Configuration class to apt-sid
We can use it to simplify the internal code to operate with
Acquire::CompressionTypes group. This also made it possible
to set this setting with the -o flag.

14 years agoAllow empty Reason-Phase in the Status-Lines, which is allowed by rtf
David Kalnischkies [Tue, 18 Aug 2009 18:15:13 +0000 (20:15 +0200)]
Allow empty Reason-Phase in the Status-Lines, which is allowed by rtf
http://www.w3.org/Protocols/rfc2616/rfc2616.html .
Fixed by removing a space which will now be visibly in the errormessages,
but as this errors should never happen anyway and an extra space doesn't
harm we don't removed it.

  * methods/http.cc:
    - allow empty Reason-Phase in Status-Line to please squid,
      thanks Modestas Vainius for noticing! (Closes: #531157, LP: #411435)

14 years ago[doc/apt-get.8.xml]
David Kalnischkies [Wed, 12 Aug 2009 15:13:18 +0000 (17:13 +0200)]
[doc/apt-get.8.xml]
- update the source description to reflect what it actually does
  and how it can be used. (Closes: #413021)

14 years agoAdd the pkg/release syntax to the source command in apt-get and also
David Kalnischkies [Wed, 12 Aug 2009 12:52:43 +0000 (14:52 +0200)]
Add the pkg/release syntax to the source command in apt-get and also
add the understanding for codenames instead of archives here

[cmdline/apt-get.cc]
- add pkg/archive and codename in source (Closes: #414105, #441178)

14 years ago[cmdline/apt-get.cc]
David Kalnischkies [Wed, 12 Aug 2009 11:17:36 +0000 (13:17 +0200)]
[cmdline/apt-get.cc]
- use SourceVersion instead of the BinaryVersion to get the source
  Patch by Matt Kraai, thanks! (Closes: #382826)

14 years agoWith the introduction of the Is{Delete,Install}Ok hooks the apt flag
David Kalnischkies [Tue, 11 Aug 2009 23:07:54 +0000 (01:07 +0200)]
With the introduction of the Is{Delete,Install}Ok hooks the apt flag
--ignore-hold only works partly: The holds are to strongly enforced
in these hooks - this commit brings the old (and expected) behaviour back.

[apt-pkg/depcache.cc]
- restore the --ignore-hold effect in the Is{Delete,Install}Ok hooks

14 years agoAdd a Acquire::CompressionTypes config variable from there the
David Kalnischkies [Tue, 11 Aug 2009 22:52:26 +0000 (00:52 +0200)]
Add a Acquire::CompressionTypes config variable from there the
acquire-items choose which compression file they should (try first to)
download to easily add new or change the order of the compression types.
And because it is easy now we directly add builtin lzma support.

The compression ratio is better than bzip2 but we prefer the later for now
as no (official) mirror uses lzma, so this would only generate useless
hits on the servers. Maybe sometime in the future lzma will be the default...

[apt-pkg/acquire-item.cc]
- use configsettings for dynamic compression type use and order.
  Based on a patch by Jyrki Muukkonen, thanks! (LP: #71746)
[apt-pkg/init.cc]
- add default configuration for compression types and add lzma
  support. Order is now bzip2, lzma, gzip, none (Closes: #510526)
[ftparchive/writer.cc]
- add lzma support also here, patch for this (and inspiration for
  the one above) by Robert Millan, thanks!

14 years ago[cmdline/apt-get.cc] correct the order of picked package binary vs source
David Kalnischkies [Sun, 9 Aug 2009 11:43:21 +0000 (13:43 +0200)]
[cmdline/apt-get.cc] correct the order of picked package binary vs source
in the source command in the msg "No source package x picking y instead"

14 years ago[doc/apt-mark.8.xml] improve manpage based on patch by Carl Chenet, thanks!
David Kalnischkies [Sun, 9 Aug 2009 08:24:59 +0000 (10:24 +0200)]
[doc/apt-mark.8.xml] improve manpage based on patch by Carl Chenet, thanks!
(Closes: #510286) add also showauto and command synopsis

14 years ago[apt-inst/contrib/arfile.cc] use sizeof instead strlen
David Kalnischkies [Sun, 9 Aug 2009 08:22:53 +0000 (10:22 +0200)]
[apt-inst/contrib/arfile.cc] use sizeof instead strlen
Patch from Marius Vollmer, thanks! (Closes: #504325)

14 years ago[cmdline/apt-get.cc] check for availability ofstatfs.f_type
David Kalnischkies [Sun, 9 Aug 2009 08:21:00 +0000 (10:21 +0200)]
[cmdline/apt-get.cc] check for availability ofstatfs.f_type
Patch from Robert Millan, thanks! (Closes: #509313)

14 years ago[doc/apt.conf.5.xml] mention the apt.conf.d dir
David Kalnischkies [Sat, 8 Aug 2009 16:27:47 +0000 (18:27 +0200)]
[doc/apt.conf.5.xml] mention the apt.conf.d dir
Patch from Vincent McIntyre, thanks! (Closes: #520831)

14 years ago[cmdline/apt-cache.cc] fix a memory leak in the xvcg method
David Kalnischkies [Sat, 8 Aug 2009 10:40:00 +0000 (12:40 +0200)]
[cmdline/apt-cache.cc] fix a memory leak in the xvcg method
Patch from George Danchev, thanks (Closes: #511557)

14 years ago[apt-pkg/indexcopy.cc] fix a (hypothetical) memory leak then the Release
David Kalnischkies [Sat, 8 Aug 2009 10:25:48 +0000 (12:25 +0200)]
[apt-pkg/indexcopy.cc] fix a (hypothetical) memory leak then the Release
file not exists, patch from George Danchev, thanks! (Closes: #511556)

14 years agomerge with apt-sid
David Kalnischkies [Sat, 8 Aug 2009 07:53:25 +0000 (09:53 +0200)]
merge with apt-sid
* backout my fix for the sources.list issue, there is already one in

14 years agodebian/apt.cron.daily: Fix issue related to APT::Periodic::Enable.
Julian Andres Klode [Thu, 6 Aug 2009 10:54:27 +0000 (12:54 +0200)]
debian/apt.cron.daily: Fix issue related to APT::Periodic::Enable.

14 years agodebian/apt.cron.daily: Support using debdelta to download packages (Closes: #532079)
Julian Andres Klode [Thu, 6 Aug 2009 10:48:41 +0000 (12:48 +0200)]
debian/apt.cron.daily: Support using debdelta to download packages (Closes: #532079)

14 years agodebian/apt.cron.daily: Script can be disabled by APT::Periodic::Enable=0 (Closes...
Julian Andres Klode [Thu, 6 Aug 2009 10:33:57 +0000 (12:33 +0200)]
debian/apt.cron.daily: Script can be disabled by APT::Periodic::Enable=0 (Closes: #485476)

14 years agodebian/apt.cron.daily: Make sure that VERBOSE is always set
Julian Andres Klode [Thu, 6 Aug 2009 10:12:20 +0000 (12:12 +0200)]
debian/apt.cron.daily: Make sure that VERBOSE is always set
before accessing it (Closes: #539366)

14 years ago[debian/changlog] add entry for the "missing source.list file" fix
David Kalnischkies [Mon, 3 Aug 2009 12:44:28 +0000 (14:44 +0200)]
[debian/changlog] add entry for the "missing source.list file" fix
* apt-pkg/sourcelist.cc:
  - only show warning about missing sources.list file if no we have
    no valid sourceentry (Closes: #539731)

14 years ago[apt-pkg/contrib/fileutl.cc] In function ExecWait(): fix compile warning:
David Kalnischkies [Mon, 3 Aug 2009 12:31:40 +0000 (14:31 +0200)]
[apt-pkg/contrib/fileutl.cc] In function ExecWait(): fix compile warning:
warning: suggest explicit braces to avoid ambiguous ‘else’

14 years agodebian/control: Increase Standards-Version to 3.8.2.0. 0.7.22.1
Julian Andres Klode [Mon, 3 Aug 2009 11:48:29 +0000 (13:48 +0200)]
debian/control: Increase Standards-Version to 3.8.2.0.

14 years agodebian/changelog: Close the FTBFS on kFreeBSD bug.
Julian Andres Klode [Mon, 3 Aug 2009 11:40:11 +0000 (13:40 +0200)]
debian/changelog: Close the FTBFS on kFreeBSD bug.

14 years agoSet version to 0.7.22.1.
Julian Andres Klode [Mon, 3 Aug 2009 11:34:39 +0000 (13:34 +0200)]
Set version to 0.7.22.1.

14 years agodebian/control: Add myself to Uploaders.
Julian Andres Klode [Mon, 3 Aug 2009 11:20:07 +0000 (13:20 +0200)]
debian/control: Add myself to Uploaders.

14 years ago* apt-pkg/sourcelist.cc:
Julian Andres Klode [Mon, 3 Aug 2009 11:02:14 +0000 (13:02 +0200)]
* apt-pkg/sourcelist.cc:
  - Only warn about missing sources.list if there is no sources.list.d
    and vice versa as only one of them is needed (Closes: #539731).

14 years ago* apt-pkg/contrib/mmap.cc:
Julian Andres Klode [Sun, 2 Aug 2009 17:37:05 +0000 (19:37 +0200)]
* apt-pkg/contrib/mmap.cc:
  - Fix FTBFS on GNU/kFreeBSD by disabling DynamicMMap::Grow() on
    non-Linux architectures (as it uses mremap).

14 years ago[debian/changelog] correct two typos in the changelog for 0.7.22
David Kalnischkies [Sat, 1 Aug 2009 17:50:42 +0000 (19:50 +0200)]
[debian/changelog] correct two typos in the changelog for 0.7.22

14 years ago[debian/changelog] add a Closes tag to mvo's --only-source patch
David Kalnischkies [Sat, 1 Aug 2009 17:47:20 +0000 (19:47 +0200)]
[debian/changelog] add a Closes tag to mvo's --only-source patch

14 years ago[apt-pkg/contrib/strutl.cc] enable thousand separator according to
David Kalnischkies [Fri, 31 Jul 2009 18:42:06 +0000 (20:42 +0200)]
[apt-pkg/contrib/strutl.cc] enable thousand separator according to
the current locale. Patch from Luca Bruno (Closes: #223712)

14 years ago[cmdline/apt-get.cc] ShowBroken() in build-dep (Closes: #145916)
David Kalnischkies [Fri, 31 Jul 2009 18:29:50 +0000 (20:29 +0200)]
[cmdline/apt-get.cc] ShowBroken() in build-dep (Closes: #145916)
Patch from Mike O'Connor, thanks!

14 years ago[cmdline/apt-get.cc] add APT::Get::HideAutoRemove=small to display only
David Kalnischkies [Fri, 31 Jul 2009 16:52:16 +0000 (18:52 +0200)]
[cmdline/apt-get.cc] add APT::Get::HideAutoRemove=small to display only
a short line instead of the full package list. (Closes: #537450)

14 years ago[apt-pkg/sourcelist.cc] only display the warning about missing sources.list
David Kalnischkies [Fri, 31 Jul 2009 13:50:19 +0000 (15:50 +0200)]
[apt-pkg/sourcelist.cc] only display the warning about missing sources.list
file, if no SourceListEntry exists (e.g. sources.list.d dir does not exists
or it exists but does not include a .list-file with valid entries)

14 years ago* cmdline/apt-get.cc:
Michael Vogt [Thu, 30 Jul 2009 16:45:46 +0000 (18:45 +0200)]
* cmdline/apt-get.cc:
  - honor APT::Get::Only-Source properly in FindSrc() (thanks to
    Martin Pitt for reporting the problem)
* Added more error handlings.  Closes: #438803, #462734, #454989

14 years agofix extra , at the end of the changelog line
Michael Vogt [Thu, 30 Jul 2009 16:14:01 +0000 (18:14 +0200)]
fix extra , at the end of the changelog line

14 years agomerged from debian-sid
Michael Vogt [Thu, 30 Jul 2009 13:31:39 +0000 (15:31 +0200)]
merged from debian-sid

14 years ago* cmdline/apt-get.cc:
Michael Vogt [Thu, 30 Jul 2009 13:28:21 +0000 (15:28 +0200)]
* cmdline/apt-get.cc:
  - honor APT::Get::Only-Source properly in FindSrc() (thanks to
    Martin Pitt for reporting the problem)

14 years agoreleasing version 0.7.22 0.7.22
Michael Vogt [Wed, 29 Jul 2009 20:12:50 +0000 (22:12 +0200)]
releasing version 0.7.22

14 years agoapt-pkg/depcache.cc:
Michael Vogt [Tue, 28 Jul 2009 11:27:03 +0000 (13:27 +0200)]
apt-pkg/depcache.cc:
- Call opProgress->Update() less often too avoid spending too
  much time in it (it shows up relatively high in the callgrind logs).
  But do call it more often than just for each percent so that the
  UI frontends can use the OpProgress::Update() calling to do e.g. UI
  updates

14 years agomerged from donkult
Michael Vogt [Mon, 27 Jul 2009 07:50:32 +0000 (09:50 +0200)]
merged from donkult

14 years agomerge with lp:apt/debian-sid
David Kalnischkies [Sat, 25 Jul 2009 23:11:53 +0000 (01:11 +0200)]
merge with lp:apt/debian-sid
Remove a bug (= an evil amok running if) introduced by the merge in 1817
which cause a segfault in the destructor for the dynamic mmap.

14 years agoApply patch from Sami Liedes <sliedes@cc.hut.fi> to avoid unecessary
Otavio Salvador [Sat, 25 Jul 2009 19:29:49 +0000 (16:29 -0300)]
Apply patch from Sami Liedes <sliedes@cc.hut.fi> to avoid unecessary
temporary allocations.

14 years agoApply patch from Sami Liedes <sliedes@cc.hut.fi> to reduce the
Otavio Salvador [Sat, 25 Jul 2009 19:00:41 +0000 (16:00 -0300)]
Apply patch from Sami Liedes <sliedes@cc.hut.fi> to reduce the
number of times we call progress bar updating and debugging
configuration settings.

14 years agomerge from the donkult branch
Michael Vogt [Fri, 24 Jul 2009 07:09:59 +0000 (09:09 +0200)]
merge from the donkult branch

14 years ago[apt-pkg] yet another bit of mmap and pkgcachegen housekeeping
David Kalnischkies [Thu, 23 Jul 2009 12:05:41 +0000 (14:05 +0200)]
[apt-pkg] yet another bit of mmap and pkgcachegen housekeeping
* add mmap error message also to the dynamic mmap
* remove some more {Ver,Desc} == 0 checks in for loops
* try to respect the given flags to the dynamic mmap
* open cached caches not as ReadOnly and not as Shared, so we
  always have a copy of the cache in the memory we can modify
  (e.g. set the hold state on-the-fly)

14 years ago[ABI] merged the libudev-dlopen branch, this allows to pass
Michael Vogt [Thu, 23 Jul 2009 08:41:38 +0000 (10:41 +0200)]
[ABI] merged the libudev-dlopen branch, this allows to pass
"apt-udev-auto" to Acquire::Cdrom::mount and the cdrom method will
dynamically find/mount the cdrom device (if libhal is available)

14 years agomethods/cdrom.cc: add AutoDetectAndMount method
Michael Vogt [Thu, 23 Jul 2009 07:47:41 +0000 (09:47 +0200)]
methods/cdrom.cc: add AutoDetectAndMount method

14 years agomethods/cdrom.cc: move the scan into the loop that waits for a CD
Michael Vogt [Wed, 22 Jul 2009 16:32:08 +0000 (18:32 +0200)]
methods/cdrom.cc: move the scan into the loop that waits for a CD

14 years ago* methods/cdrom.cc:
Michael Vogt [Wed, 22 Jul 2009 16:01:43 +0000 (18:01 +0200)]
* methods/cdrom.cc:
  - add Acquire::Cdrom::mount "apt-udev-auto" magic to allow
    dynamically finding the cdrom device
* apt-pkg/contrib/cdromutl.{h,cc}:
  - support additional (optional) DeviceName parameter for MountCdrom()

14 years agoapt-pkg/cdrom.cc: make cdrom.Mounted property reliable
Michael Vogt [Wed, 22 Jul 2009 13:59:50 +0000 (15:59 +0200)]
apt-pkg/cdrom.cc: make cdrom.Mounted property reliable

14 years agomerged from the mvo branch
Michael Vogt [Wed, 22 Jul 2009 07:41:27 +0000 (09:41 +0200)]
merged from the mvo branch

14 years ago* doc/apt.conf.5.xml:
Michael Vogt [Wed, 22 Jul 2009 07:40:02 +0000 (09:40 +0200)]
* doc/apt.conf.5.xml:
  - merged patch from Aurélien Couderc to improve the text
    (thanks!)

14 years agoFrench translation yet-another-update
bubulle@debian.org [Tue, 21 Jul 2009 21:34:14 +0000 (23:34 +0200)]
French translation yet-another-update

14 years agoUpdate all PO files
bubulle@debian.org [Tue, 21 Jul 2009 21:25:42 +0000 (23:25 +0200)]
Update all PO files

14 years agoSlovak translation updated
bubulle@debian.org [Tue, 21 Jul 2009 21:22:29 +0000 (23:22 +0200)]
Slovak translation updated

14 years agomerged from donkult
Michael Vogt [Tue, 21 Jul 2009 18:14:15 +0000 (20:14 +0200)]
merged from donkult

14 years agomerged from the mvo branch
Michael Vogt [Tue, 21 Jul 2009 18:13:29 +0000 (20:13 +0200)]
merged from the mvo branch

14 years ago[apt-pkg/pkgcachegen.cc] remove the Ver == 0 and Desc == 0 from the last
David Kalnischkies [Tue, 21 Jul 2009 18:08:56 +0000 (20:08 +0200)]
[apt-pkg/pkgcachegen.cc] remove the Ver == 0 and Desc == 0 from the last
changeset as they are useless after the checks for LastVer & co work
correctly.

14 years agoThe 'not dead yet' release
Michael Vogt [Tue, 21 Jul 2009 16:31:36 +0000 (18:31 +0200)]
The 'not dead yet' release

* add hook for MarkInstall and MarkDelete (closes: #470035)
* add the various foldmarkers in apt-pkg & cmdline (no code change)
* versions with a pin of -1 shouldn't be a candidate (Closes: #355237)
* prefer mmap as memory allocator in MMap instead of a static char
  array which can (at least in theory) grow dynamic
* eliminate (hopefully all) segfaults in pkgcachegen.cc and mmap.cc
  which can arise if cache doesn't fit into the mmap (Closes: #535218)
* display warnings instead of errors if the parts dirs doesn't exist
* honor the dpkg hold state in new Marker hooks (closes: #64141)

14 years agoOnly run Download-Upgradable and Unattended-Upgrades if the initial
Michael Vogt [Tue, 21 Jul 2009 15:50:54 +0000 (17:50 +0200)]
Only run Download-Upgradable and Unattended-Upgrades if the initial
update was successful Closes: #341970

14 years agomerged from mvo
Michael Vogt [Tue, 21 Jul 2009 15:04:33 +0000 (17:04 +0200)]
merged from mvo

14 years agomerge from mvo
Michael Vogt [Tue, 21 Jul 2009 15:04:06 +0000 (17:04 +0200)]
merge from mvo

14 years agodebian/apt.cron.daily: add missing check_size_constrains
Michael Vogt [Tue, 21 Jul 2009 14:58:17 +0000 (16:58 +0200)]
debian/apt.cron.daily: add missing check_size_constrains

14 years agoeliminate (hopefully all) segfaults in pkgcachegen.cc and mmap.cc
David Kalnischkies [Tue, 21 Jul 2009 14:54:28 +0000 (16:54 +0200)]
eliminate (hopefully all) segfaults in pkgcachegen.cc and mmap.cc
which can arise if cache doesn't fit into the mmap (Closes: #535218)

This removes also the previously introduced SegfaultSignalHandler:
The handler works, but is ugly by design...

14 years agodebian/apt.cron.daily: cleanups in the cron script
Michael Vogt [Tue, 21 Jul 2009 14:53:42 +0000 (16:53 +0200)]
debian/apt.cron.daily: cleanups in the cron script

14 years ago* apt-pkg/acquire.cc:
Michael Vogt [Tue, 21 Jul 2009 14:05:52 +0000 (16:05 +0200)]
* apt-pkg/acquire.cc:
  - make the max pipeline depth of the acquire queue configurable
    via Acquire::Max-Pipeline-Depth
* apt-pkg/deb/dpkgpm.cc:
  - add Dpkg::UseIoNice boolean option to run dpkg with ionice -c3
    (off by default)
  - send "dpkg-exec" message on the status fd when dpkg is run
  - provide DPkg::Chroot-Directory config option (useful for testing)
  - fix potential hang when in a backgroud process group
* apt-pkg/algorithms.cc:
  - consider recommends when making the scores for the problem
    resolver
* apt-pkg/acquire-worker.cc:
  - show error details of failed methods
* apt-pkg/contrib/fileutl.cc:
  - if a process aborts with signal, show signal number
* methods/http.cc:
  - ignore SIGPIPE, we deal with EPIPE from write in
    HttpMethod::ServerDie() (LP: #385144)
* apt-pkg/indexcopy.cc:
  - support having CDs with no Packages file (just a Packages.gz)
    by not forcing a verification on non-existing files
   (LP: #255545)
  - remove the gettext from a string that consists entirely
    of variables (LP: #56792)
* apt-pkg/cacheiterators.h:
  - add missing checks for Owner == 0 in end()
* apt-pkg/indexrecords.cc:
  - fix some i18n issues
* apt-pkg/contrib/strutl.h:
  - add new strprintf() function to make i18n strings easier
  - fix compiler warning
* apt-pkg/deb/debsystem.cc:
  - make strings i18n able
* fix problematic use of tolower() when calculating the version
  hash by using locale independant tolower_ascii() function.
  Thanks to M. Vefa Bicakci (LP: #80248)
* build fixes for g++-4.4
* cmdline/apt-mark:
  - add "showauto" option to show automatically installed packages
* document --install-recommends and --no-install-recommends
  (thanks to Dereck Wonnacott, LP: #126180)
* Updated cron script to support backups by hardlinks and
  verbose levels.  All features turned off by default.
* Added more error handlings.  Closes: #438803, #462734, #454989,
* Refactored condition structure to make download and upgrade performed
  if only previous steps succeeded. Closes: #341970
* Documented all cron script related configuration items in
  configure-index.
* apt-ftparchive might write corrupt Release files (LP: #46439)
* Apply --important option to apt-cache depends (LP: #16947)

14 years ago* apt-pkg/deb/dpkgpm.cc:
Michael Vogt [Tue, 21 Jul 2009 11:52:48 +0000 (13:52 +0200)]
* apt-pkg/deb/dpkgpm.cc:
  - provide DPkg::Chroot-Directory config option (useful for testing)

14 years agoUpdate French manpage translation
bubulle@debian.org [Fri, 17 Jul 2009 18:08:54 +0000 (20:08 +0200)]
Update French manpage translation

14 years ago* apt-pkg/contrib/hashes.cc, apt-pkg/contrib/md5.cc:
Julian Andres Klode [Thu, 16 Jul 2009 10:59:39 +0000 (12:59 +0200)]
* apt-pkg/contrib/hashes.cc, apt-pkg/contrib/md5.cc:
  - Support reading until EOF if Size=0 to match behaviour of
    SHA1Summation and SHA256Summation

14 years agodisplay warnings instead of errors if the parts dirs doesn't exist
David Kalnischkies [Wed, 15 Jul 2009 21:57:07 +0000 (23:57 +0200)]
display warnings instead of errors if the parts dirs doesn't exist
Parts dirs are /etc/apt/{sources.list,apt.conf,preferences}.d
(in the default setup)

14 years ago[contrib/error.cc] place a colon between errno and error text in output
David Kalnischkies [Wed, 15 Jul 2009 21:40:35 +0000 (23:40 +0200)]
[contrib/error.cc] place a colon between errno and error text in output
of GlobalError::Errno and WarningE (as it described in the comments of
these methods)

14 years agomerge with lp:~mvo/apt/debian-sid
David Kalnischkies [Wed, 15 Jul 2009 14:45:49 +0000 (16:45 +0200)]
merge with lp:~mvo/apt/debian-sid

14 years ago* debian/apt.cron.daily:
Michael Vogt [Tue, 14 Jul 2009 09:23:38 +0000 (11:23 +0200)]
* debian/apt.cron.daily:
  - if the timestamp is too far in the future, delete it

14 years agoGerman translation completed
bubulle@debian.org [Sun, 12 Jul 2009 04:29:10 +0000 (06:29 +0200)]
German translation completed

14 years agoapt-pkg/deb/dpkgpm.cc: remove dead code, add comment on problematic argument list...
Michael Vogt [Fri, 10 Jul 2009 15:21:11 +0000 (17:21 +0200)]
apt-pkg/deb/dpkgpm.cc: remove dead code, add comment on problematic argument list split

14 years agoGerman translation update
bubulle@debian.org [Fri, 10 Jul 2009 06:00:45 +0000 (08:00 +0200)]
German translation update

14 years agomove libudev based code into libapt cdrom.cc class
Michael Vogt [Thu, 9 Jul 2009 15:16:05 +0000 (17:16 +0200)]
move libudev based code into libapt cdrom.cc class

14 years agoprototype for libudev dlopen() type of cdrom detection
Michael Vogt [Wed, 8 Jul 2009 12:39:32 +0000 (14:39 +0200)]
prototype for libudev dlopen() type of cdrom detection

14 years agoadd a segfault handler to MMap to show the Cache-Limit message, which
David Kalnischkies [Tue, 7 Jul 2009 23:11:16 +0000 (01:11 +0200)]
add a segfault handler to MMap to show the Cache-Limit message, which
can be deactivated with MMap::SegfaultHandler=false (Closes: 535218)

14 years ago[contrib/mmap] implements a theoretical dynamic growing mmap
David Kalnischkies [Tue, 7 Jul 2009 23:03:15 +0000 (01:03 +0200)]
[contrib/mmap] implements a theoretical dynamic growing mmap
based on Michael Vogts patch in #195018 this commit implements the use
of mmap (as preferred) instead of a static char array. In theory this
made it possible to grow the mmap as needed, but as it is currently
impossible to move the mmap around in the memory the grow is likely
to fail but it improve the memory usage a bit, so it is not totally
useless for now - and maybe we can adjust the pointers in the future...

14 years ago* remove the MarkKeep calls if Is{Delete,Install}Ok false, because
David Kalnischkies [Tue, 7 Jul 2009 18:14:04 +0000 (20:14 +0200)]
* remove the MarkKeep calls if Is{Delete,Install}Ok false, because
  they have no effect anyway (thanks Daniel Burrows for noticing)
* improve documentation of the Is{Delete,Install}Ok methods a bit
* add the FromUser boolean to the debug output of the markers

14 years ago[apt-get] add possibility to hide the user simulation note
David Kalnischkies [Tue, 7 Jul 2009 17:23:04 +0000 (19:23 +0200)]
[apt-get] add possibility to hide the user simulation note

14 years agoRemove Eugene V. Lyubimkin from uploaders as requested.
Julian Andres Klode [Mon, 6 Jul 2009 15:29:12 +0000 (17:29 +0200)]
Remove Eugene V. Lyubimkin from uploaders as requested.

14 years agoSupport /etc/apt/preferences.d, by adding ReadPinDir() (Closes: #535512)
Julian Andres Klode [Mon, 6 Jul 2009 15:09:08 +0000 (17:09 +0200)]
Support /etc/apt/preferences.d, by adding ReadPinDir() (Closes: #535512)

14 years agoconfigure-index: document Dir::Etc::SourceParts and some other options
Julian Andres Klode [Mon, 6 Jul 2009 14:20:13 +0000 (16:20 +0200)]
configure-index: document Dir::Etc::SourceParts and some other options
(Closes: #459605)

14 years agoSupport /etc/apt/preferences.d (Closes: #535512)
Julian Andres Klode [Mon, 6 Jul 2009 13:46:54 +0000 (15:46 +0200)]
Support /etc/apt/preferences.d (Closes: #535512)

14 years agoCorrect spelling
bubulle@debian.org [Mon, 6 Jul 2009 12:56:22 +0000 (14:56 +0200)]
Correct spelling

14 years ago* apt-pkg/acquire-worker.cc:
Michael Vogt [Thu, 2 Jul 2009 12:07:18 +0000 (14:07 +0200)]
* apt-pkg/acquire-worker.cc:
  - show error details of failed methods
* apt-pkg/contrib/fileutl.cc:
  - if a process aborts with signal, show signal number
* methods/http.cc:
  - ignore SIGPIPE, we deal with EPIPE from write in
    HttpMethod::ServerDie() (LP: #385144)

14 years agoFrench translation update
bubulle@debian.org [Wed, 1 Jul 2009 20:48:57 +0000 (22:48 +0200)]
French translation update

14 years agoUpdated Asturian translation
Marcos Alvarez Costales [Wed, 1 Jul 2009 20:43:12 +0000 (22:43 +0200)]
Updated Asturian translation

14 years agoversions with a pin of -1 shouldn't be a candidate (Closes: #355237)
David Kalnischkies [Wed, 1 Jul 2009 08:25:41 +0000 (10:25 +0200)]
versions with a pin of -1 shouldn't be a candidate (Closes: #355237)

14 years ago* add hook for MarkInstall and MarkDelete (closes: #470035)
David Kalnischkies [Tue, 30 Jun 2009 19:44:24 +0000 (21:44 +0200)]
* add hook for MarkInstall and MarkDelete (closes: #470035)
* honor the dpkg hold state in new Marker hooks (closes: #64141)

Combine the proposed AutoInstOk and IsAutoInstallOk to more general hooks
for MarkInstall (and another one for MarkDelete) with the same parameters
as the call these hooks should check.

14 years agoadd the various foldmarkers in apt-pkg & cmdline (no code change)
David Kalnischkies [Tue, 30 Jun 2009 19:37:30 +0000 (21:37 +0200)]
add the various foldmarkers in apt-pkg & cmdline (no code change)

14 years agofix typo in apt-pkg/acquire.cc which prevents Dl-Limit to work
Michael Vogt [Tue, 30 Jun 2009 12:16:32 +0000 (14:16 +0200)]
fix typo in apt-pkg/acquire.cc which prevents Dl-Limit to work
correctly when downloading from multiple sites (Closes: #534752)

14 years agomerged r1811..1815 from lp:~donkult/apt/experimental
Michael Vogt [Tue, 30 Jun 2009 12:11:31 +0000 (14:11 +0200)]
merged r1811..1815 from lp:~donkult/apt/experimental

14 years agomerged r1811 from lp:~donkult/apt/experimenal
Michael Vogt [Tue, 30 Jun 2009 12:01:46 +0000 (14:01 +0200)]
merged r1811 from lp:~donkult/apt/experimenal