Michael Vogt [Wed, 1 Oct 2008 16:35:23 +0000 (18:35 +0200)]
* apt-pkg/packagemanager.cc, apt-pkg/deb/dpkgpm.cc:
- move the state file writting into the Go() implementation
of dpkgpm (closes: #498799)
* apt-pkg/algorithms.cc:
- fix simulation performance drop (thanks to Ferenc Wagner
for reporting the issue)
Daniel Burrows [Fri, 26 Sep 2008 01:24:09 +0000 (18:24 -0700)]
Restore the apt ABI.
The problem was that the size of pkgDpkgPM and its member offsets
changed because a map giving the names of the trigger states was
inserted into the middle of the structure. I fixed it by using a
statically allocated array instead. This changes the procedure for
looking up a string to a linear search, which should be fine (or
even faster than before) since there are only 4 state strings. If
it becomes a problem, sorting the array by key will allow us to use
std::equal_range(), but I would advise against this unless it's
really necessary, since sooner or later someone will forget to maintain
the sort order.
Michael Vogt [Mon, 5 May 2008 09:03:16 +0000 (11:03 +0200)]
* Mark a message from dselect backend as translatable
Thanks to Frédéric Bothamy for the patch Closes: #322470
* Simplified Chinese updated. Closes: #473360
* Catalan fixes. Closes: #387141
* Typo fix in Greek translation. Closes: #479122
* French updated.
* Thai updated. Closes: #479313
* Italian updated. Closes: #479326
* Polish updated. Closes: #479342
* Bulgarian updated. Closes: #479379
* Finnish updated. Closes: #479403
* Korean updated. Closes: #479426
* Basque updated. Closes: #479452
* Add missing build-depends back from build-depends-indep field. Closes: #478231
* Make cron script quiet if cache is locked. Thanks to Ted Percival
<ted@midg3t.net> for the patch. Closes: #459344
* Add timeout support for https. Thanks to Andrew Martens
<andrew.martens@strangeloopnetworks.com> for the patch.
* Add support for --no-download on apt-get update. Closes: #478517
- Vietnamese updated. Closes: #479008
- Enable more complete debugging information when Debug::pkgAutoRemove
is set.
* debian/rules:
- Add missing Build-Depends-Indep on xsltproc, docbook-xsl, and xmlto.
Michael Vogt [Fri, 25 Apr 2008 14:52:07 +0000 (16:52 +0200)]
* Fix syntax/copitalisation in some messages. Thanks to Jens Seidel
for pointing this and providing the patch. Closes: #466845
* Fix Polish offline translation. Thanks to Robert Luberda for the patch
and apologies for applying it very lately. Closes: #337758
* Fix typo in offline.sgml. Closes: #412900
- German updated. Closes: #466842
- Swedish updated.
- Polish updated. Closes: #469581
- Slovak updated. Closes: #471341
- French updated.
- Bulgarian updated. Closes: #448492
- Galician updated. Closes: #476839
* apt-pkg/depcache.cc:
- Patch MarkInstall to follow currently satisfied Recommends even
if they aren't "new", so that we automatically force upgrades
when the version of a Recommends has been tightened. (Closes: #470115)
* apt-pkg/contrib/configuration.cc
- Lift the 1024-byte limit on lines in configuration files.
(Closes: #473710, #473874)
* apt-pkg/contrib/strutl.cc:
- Lift the 64000-byte limit on individual messages parsed by ReadMessages.
(Closes: #474065)
Michael Vogt [Tue, 8 Apr 2008 12:19:20 +0000 (14:19 +0200)]
cmdline/apt-key: only use verify_against_master_keyring in net-update, not in update. it does not add any security in update (see comment in the source for rational)
Daniel Burrows [Wed, 2 Apr 2008 16:06:49 +0000 (09:06 -0700)]
Fix ReadMessages to handle messages that are longer than 64000 bytes.
There's a bug in this code that needs to be fixed, but it existed prior
to this change.
Daniel Burrows [Wed, 2 Apr 2008 03:30:58 +0000 (20:30 -0700)]
Lift the 1024-character limit on configuration file lines.
To do this, I changed the configuration parser so that instead of reading
the line into a buffer and munging it in-place, it builds a string
containing the current line (via successive getline() calls) and then
walks down that string. Instead of skipping comments and whitespace by
erasing them from the buffer, the new code just skips over them.
Daniel Burrows [Tue, 18 Mar 2008 18:23:11 +0000 (11:23 -0700)]
Patch MarkInstall to follow currently satisfied Recommends even if they aren't "new". (Closes: #470115)
This handles situations where a recommendation's version requirement has
been tightened. Instead of breaking the Recommends, the recommendee will
be upgraded.
Michael Vogt [Thu, 13 Mar 2008 22:19:10 +0000 (23:19 +0100)]
cmdline/apt-get.cc:
- install tasks in two passes, first without dependency auto-install,
the with it. this ensure that we do not run in a situation were
a task packages A dependens on B|C and C is part of the task but
B gets installed too because of the greedy nature of apt