]> git.saurik.com Git - apt.git/log
apt.git
14 years agorename ExplodeString to VectorizeString
David Kalnischkies [Tue, 30 Mar 2010 12:25:57 +0000 (14:25 +0200)] 
rename ExplodeString to VectorizeString

14 years agoGroup packages in the same group together in the package list
David Kalnischkies [Tue, 30 Mar 2010 10:39:33 +0000 (12:39 +0200)] 
Group packages in the same group together in the package list
so it is easier to find them later on as we have no "noice"
anymore between them.

14 years agoreplace every call to toupper with one to our own tolower_ascii
David Kalnischkies [Tue, 30 Mar 2010 10:38:38 +0000 (12:38 +0200)] 
replace every call to toupper with one to our own tolower_ascii

This sounds like a premature optimization and since Mr. Knuth we all
know that they are the root of all evil - but, and here it starts to be
interesting: As the tolower_ascii method is by far the most called
method we have (~60 Mio. times) and as we compare only strings containing
ascii characters (package names, configuration options) using our own
method reduces execution time of APT by 4% plus it avoids that the
locale settings can influence us.

14 years agoremove wrong pin-priority is optional remark (Closes: #574944)
David Kalnischkies [Fri, 26 Mar 2010 23:01:34 +0000 (00:01 +0100)] 
remove wrong pin-priority is optional remark (Closes: #574944)

14 years agoorigin can be used to match a hostname (Closes: #352667)
David Kalnischkies [Fri, 26 Mar 2010 22:51:14 +0000 (23:51 +0100)] 
origin can be used to match a hostname (Closes: #352667)

14 years ago* doc/po/de.po:
David Kalnischkies [Fri, 26 Mar 2010 22:24:13 +0000 (23:24 +0100)] 
* doc/po/de.po:
  - correct a few typos in the german manpage translation.
    Thanks to Chris Leick and Georg Koppen! (Closes: #574962)

14 years ago* doc/apt_preferences.5.xml:
David Kalnischkies [Fri, 26 Mar 2010 21:48:09 +0000 (22:48 +0100)] 
* doc/apt_preferences.5.xml:
  - fix a=sid vs. n=sid typo, thanks Ansgar Burchardt!

14 years agoSwitch the TranslationWriter to use MultiCompress to be able to generate
David Kalnischkies [Fri, 26 Mar 2010 21:38:50 +0000 (22:38 +0100)] 
Switch the TranslationWriter to use MultiCompress to be able to generate
the compressed files as we want them and to prevent the file to be
replaced without a reason which could save us from steady redownloads
of a file with the same content.

14 years agoInclusion of Long Descriptions in the Packages files can be set now
David Kalnischkies [Fri, 26 Mar 2010 18:18:21 +0000 (19:18 +0100)] 
Inclusion of Long Descriptions in the Packages files can be set now
also in TreeDefaults and Tree to support generation of archives which
should support and which shouldn't support splitted out Translation-en
files in the same run.

14 years ago* ftparchive/writer.cc:
David Kalnischkies [Mon, 22 Mar 2010 17:25:37 +0000 (18:25 +0100)] 
* ftparchive/writer.cc:
  - write LongDescriptions if they shouldn't be included in Packages
    file into i18n/Translation-en by default.

It is ensured that each package+description is listed only ones in the
Translation file even if we generate multiple Packages file in one run.

The file is only generated in "generate" - the simple file commands
can't create it by now. Also, the LongDescription is currently a
global setting, so generating archives with and without LongDescriptions
in the Packages file in the same run are currently not possible.

14 years agoAdd with pkgCacheGen::Essential a way to control which packages get the
David Kalnischkies [Sun, 21 Mar 2010 20:48:09 +0000 (21:48 +0100)] 
Add with pkgCacheGen::Essential a way to control which packages get the
essential flag:
* native is the default and will only mark packages of the main arch
* all will mark all packages which have these flag in Packages
* none will obviously do the opposite
* installed will only mark packages which are installed as essential,
  so it will behave in the same way as dpkg does it.
It is mostly needed sometimes for debugging but some users with special
needs might like to switch the mode as well under the expense to be
on their own…

14 years agoadd a missing \n to pl translation i had removed previously by accident
David Kalnischkies [Fri, 19 Mar 2010 15:41:35 +0000 (16:41 +0100)] 
add a missing \n to pl translation i had removed previously by accident

14 years agofirst-time build the translated manpages and remove the directories
David Kalnischkies [Fri, 19 Mar 2010 15:29:40 +0000 (16:29 +0100)] 
first-time build the translated manpages and remove the directories
in the veryclean target to get right of all autogenerated files.

14 years agoadd a missing non-const & Accessors to the Iterator class
David Kalnischkies [Fri, 19 Mar 2010 12:06:48 +0000 (13:06 +0100)] 
add a missing non-const & Accessors to the Iterator class

14 years agomodify and clarify the comments for the translation placeholders a bit
David Kalnischkies [Fri, 19 Mar 2010 11:36:20 +0000 (12:36 +0100)] 
modify and clarify the comments for the translation placeholders a bit
and as it was only a comment change unfuzzy the translations.

14 years agomerge with debian-sid to get new pl-manpage
David Kalnischkies [Fri, 19 Mar 2010 10:00:36 +0000 (11:00 +0100)] 
merge with debian-sid to get new pl-manpage

14 years agoadd translation of the manpages to PT (portuguese)
David Kalnischkies [Fri, 19 Mar 2010 09:54:26 +0000 (10:54 +0100)] 
add translation of the manpages to PT (portuguese)
Thanks to Américo Monteiro!

14 years agoAdd conflict with manpages-pl
bubulle@debian.org [Fri, 19 Mar 2010 03:19:15 +0000 (10:19 +0700)] 
Add conflict with manpages-pl

14 years agoPolish manpages translation update
bubulle@debian.org [Fri, 19 Mar 2010 03:14:11 +0000 (10:14 +0700)] 
Polish manpages translation update

14 years agomerge MultiArch-ABI. We don't support MultiArch yet (as most other tools),
David Kalnischkies [Thu, 18 Mar 2010 22:54:12 +0000 (23:54 +0100)] 
merge MultiArch-ABI. We don't support MultiArch yet (as most other tools),
but we support the usage of the new ABI so libapt users
can start to prepare for MultiArch (Closes: #536029)

14 years agoReadd the FindPkg() method implementation used in the singleArch days to
David Kalnischkies [Thu, 18 Mar 2010 17:51:14 +0000 (18:51 +0100)] 
Readd the FindPkg() method implementation used in the singleArch days to
use it as a fallback if multiarch is not enabled. The effect is barly
noticeable but SingleArch is the realworld scenario.

14 years agogenerate "negative" dependencies against all architectures of a package
David Kalnischkies [Thu, 18 Mar 2010 17:07:51 +0000 (18:07 +0100)] 
generate "negative" dependencies against all architectures of a package

Negative means here Conflicts, Replaces and Breaks - this adds again
a whole lot of dependencies.

14 years agoFix a segfault in the version merger introduced in the previous patch:
David Kalnischkies [Thu, 18 Mar 2010 12:27:55 +0000 (13:27 +0100)] 
Fix a segfault in the version merger introduced in the previous patch:
As we skip now versions with a different hash we will have situations
in which the version is equal but the hash different causing to check
the next version, but as this version was the last one the version
iterator is invalid then the merger wants to add further information.

14 years agoThe language directories for manpage building are now
David Kalnischkies [Wed, 17 Mar 2010 16:05:57 +0000 (17:05 +0100)] 
The language directories for manpage building are now
autogenerated so we should ignore them.

14 years ago* apt-pkg/pkgcachegen.cc:
David Kalnischkies [Wed, 17 Mar 2010 13:47:05 +0000 (14:47 +0100)] 
* apt-pkg/pkgcachegen.cc:
  - merge versions correctly even if multiple different versions
    with the same version number are available.
    Thanks to Magnus Holmgren for the patch! (Closes: #351056)

14 years agoDutch translation update
bubulle@debian.org [Tue, 16 Mar 2010 04:35:38 +0000 (11:35 +0700)] 
Dutch translation update

14 years ago* doc/makefile, doc/*:
David Kalnischkies [Mon, 15 Mar 2010 10:02:31 +0000 (11:02 +0100)] 
* doc/makefile, doc/*:
  - generate subdirectories for building the manpages in on the fly
    depending on the po files we have.

14 years ago* apt-pkg/depcache.cc:
David Kalnischkies [Sun, 14 Mar 2010 20:48:14 +0000 (21:48 +0100)] 
* apt-pkg/depcache.cc:
  - remove Auto-Installed information from extended_states
    together with the package itself (Closes: #572364)

14 years ago* debian/control:
David Kalnischkies [Sun, 14 Mar 2010 16:26:50 +0000 (17:26 +0100)] 
* debian/control:
  - add automake/conf build-depends/conflicts as recommend by
    the autotools-dev README (Closes: #572615)

14 years agomerge with debian-sid, update-po for manpages and fix a few more
David Kalnischkies [Sun, 14 Mar 2010 15:47:48 +0000 (16:47 +0100)] 
merge with debian-sid, update-po for manpages and fix a few more
typos in doc/po/es.po to generate the manpages properly.

[ Christian Perrier ]
* German translation update. Closes: #571037
* Spanish manpages translation update. Closes: #573293

[ Julian Andres Klode ]
* cmdline/apt-mark:
  - Use the new python-apt API (and conflict with python-apt << 0.7.93.2).
* apt-inst/contrib/arfile.h:
  - Add public ARArchive::Members() which returns the list of members.
* debian/rules:
  - Fix the libraries name to be e.g. libapt-pkg4.9 instead of
    libapt-pkg-4.9.

14 years agoEnsure that for each all package at least one pseudopackage is installed
David Kalnischkies [Sun, 14 Mar 2010 13:45:00 +0000 (14:45 +0100)] 
Ensure that for each all package at least one pseudopackage is installed

Removing pseudo packages is cool so far, the problem is that we will
remove with the not required removing so many pseudo packages that
we will have after the remove a few packages with NO installed pseudo
package (e.g. metapackages are good candidates) - so we will walk over
all these packages and try to find a pseudopackage for this package
we can install without breaking something.

14 years ago* apt-pkg/deb/debversion.cc:
David Kalnischkies [Sat, 13 Mar 2010 13:11:22 +0000 (14:11 +0100)] 
* apt-pkg/deb/debversion.cc:
  - consider absent of debian revision equivalent to 0 (Closes: #573592)

This moves the existing testcase for version comparison to "my" directory,
adds a few more tests (e.g. the tests used in cupt) and rewrites the
testcases runner: The runner does now call dpkg --compare-versions
to check what dpkg thinks about the comparison - all done in less code ;)

14 years ago* apt-pkg/deb/dpkgpm.cc:
David Kalnischkies [Fri, 12 Mar 2010 18:41:30 +0000 (19:41 +0100)] 
* apt-pkg/deb/dpkgpm.cc:
  - if available store the Commandline in the history
* apt-pkg/contrib/cmndline.cc:
  - save Commandline in Commandline::AsString for logging

14 years agodoc/po/es.po: Add a missing placeholder xml, fixes build.
Julian Andres Klode [Fri, 12 Mar 2010 17:28:57 +0000 (18:28 +0100)] 
doc/po/es.po: Add a missing placeholder xml, fixes build.

14 years ago* debian/rules:
Julian Andres Klode [Fri, 12 Mar 2010 14:29:07 +0000 (15:29 +0100)] 
* debian/rules:
  - Fix the libraries name to be e.g. libapt-pkg4.9 instead of
    libapt-pkg-4.9.

14 years agoapt-inst/contrib/arfile.h: Add public ARArchive::Members() which returns the list...
Julian Andres Klode [Fri, 12 Mar 2010 14:28:24 +0000 (15:28 +0100)] 
apt-inst/contrib/arfile.h: Add public ARArchive::Members() which returns the list of members.

14 years ago* cmdline/apt-get.cc
David Kalnischkies [Fri, 12 Mar 2010 10:08:13 +0000 (11:08 +0100)] 
* cmdline/apt-get.cc
  - fix memory leaks in error conditions in DoSource()

14 years ago* cmdline/apt-get.cc:
David Kalnischkies [Fri, 12 Mar 2010 09:59:37 +0000 (10:59 +0100)] 
* cmdline/apt-get.cc:
  - add a --only-upgrade flag to install command (Closes: #572259)

That is NOT what is requested in e.g. #74067 - this is a very simple
flag which behaves orthogonal to --no-upgrade not a full-blown
upgrade option for a single package instead of the whole package set.

14 years ago* apt-pkg/deb/dpkgpm.cc:
David Kalnischkies [Fri, 12 Mar 2010 09:56:25 +0000 (10:56 +0100)] 
* apt-pkg/deb/dpkgpm.cc:
  - fix error message construction in OpenLog()

14 years agoSpanish manpages translation update
bubulle@debian.org [Wed, 10 Mar 2010 21:39:44 +0000 (22:39 +0100)] 
Spanish manpages translation update

14 years agofix memory leak in getLanguages() by closing the directory after checking
David Kalnischkies [Wed, 3 Mar 2010 20:29:01 +0000 (21:29 +0100)] 
fix memory leak in getLanguages() by closing the directory after checking

14 years agoignore the autogenerated files and directories in abicheck/
David Kalnischkies [Tue, 2 Mar 2010 17:57:27 +0000 (18:57 +0100)] 
ignore the autogenerated files and directories in abicheck/

14 years ago* doc/apt_preferences.5.xml:
David Kalnischkies [Tue, 2 Mar 2010 17:55:18 +0000 (18:55 +0100)] 
* doc/apt_preferences.5.xml:
  - fix two typos and be more verbose in the novice warning.
    Thanks to Osamu Aoki for pointing it out! (Closes: #567669)

14 years agofix compiler error if compiled with -std=c++0x
David Kalnischkies [Mon, 1 Mar 2010 21:47:17 +0000 (22:47 +0100)] 
fix compiler error if compiled with -std=c++0x

14 years agoWe need to kill also pseudo packages which have no dependency, no
David Kalnischkies [Mon, 1 Mar 2010 20:59:03 +0000 (21:59 +0100)] 
We need to kill also pseudo packages which have no dependency, no
installed reverse dependency and which also doesn't provide something.
They cause problems if this pseudo packages get new dependencies.

As a consequence we also need to recheck the dependencies of a killed
pseudo package (and especially the providers of these dependencies)
to really kill all non required packages.

14 years agoRemove and Unpack operations should not be ignored for pseudo packages -
David Kalnischkies [Mon, 1 Mar 2010 14:27:55 +0000 (15:27 +0100)] 
Remove and Unpack operations should not be ignored for pseudo packages -
they should trigger the remove/unpack of the "all" package.
Otherwise - as this package has no dependencies - it will be triggered
to late. The Configuration step doesn't need it as the "all" package is
a dependency of the pseudo-package, so it will be configured before
the pseudo packages are tried: So at this step the ignorance is okay.

Also IsMissing() should report the status of the all package if an
pseudo package is checked instead of always reporting no-miss.

14 years ago* cmdline/apt-mark:
Julian Andres Klode [Mon, 1 Mar 2010 12:47:56 +0000 (13:47 +0100)] 
* cmdline/apt-mark:
  - Use the new python-apt API (and conflict with python-apt << 0.7.93.2).

14 years agoCreate Pins for all group members instead of only for native architecture
David Kalnischkies [Sun, 28 Feb 2010 21:45:34 +0000 (22:45 +0100)] 
Create Pins for all group members instead of only for native architecture

14 years agoFix the PkgFileIterator Constructor which defaults to the wrong value.
David Kalnischkies [Sun, 28 Feb 2010 18:45:05 +0000 (19:45 +0100)] 
Fix the PkgFileIterator Constructor which defaults to the wrong value.
(0 instead of the HeaderP) This breaks the Cache Validation functionality
as the end() doesn't test for NULL.
(The fault was introduced with the rewriting of the CacheIterators)

14 years agoCompleted translation
bubulle@debian.org [Sun, 28 Feb 2010 10:18:34 +0000 (11:18 +0100)] 
Completed translation

14 years agoEnable the AutoRemover to talk "Multi-Arch" by marking all pseudo
David Kalnischkies [Sat, 27 Feb 2010 16:01:12 +0000 (17:01 +0100)] 
Enable the AutoRemover to talk "Multi-Arch" by marking all pseudo
packages in a group if one is marked.

The auto-installed flag is from now on Architecture bound:
A section without an architecture tag will be treated as applying
to all architectures - the next write operation will take care of
this by creating separate sections for the architectures.

14 years agoCorrect translation error
bubulle@debian.org [Sat, 27 Feb 2010 06:25:20 +0000 (07:25 +0100)] 
Correct translation error

14 years agoCorrect translation error
bubulle@debian.org [Sat, 27 Feb 2010 06:23:30 +0000 (07:23 +0100)] 
Correct translation error

14 years ago* apt-pkg/contrib/mmap.{h,cc}:
David Kalnischkies [Sat, 27 Feb 2010 01:02:25 +0000 (02:02 +0100)] 
* apt-pkg/contrib/mmap.{h,cc}:
  - add char[] fallback for filesystems without shared writable
    mmap() like JFFS2. Thanks to Marius Vollmer for writing
    and to Loïc Minier for pointing to the patch! (Closes: #314334)

14 years agomove ShowPkg() from apt-get to the PkgIterator and rename it to FullName()
David Kalnischkies [Fri, 26 Feb 2010 19:47:19 +0000 (20:47 +0100)] 
move ShowPkg() from apt-get to the PkgIterator and rename it to FullName()
responseable for displaying a package name and the architecture in a
uniform way. Pretty option can be used to not append the architecture if
it is the native architecture or all - and use it all over the place in
the commandline tools.

14 years ago* debian/control:
David Kalnischkies [Fri, 26 Feb 2010 19:19:06 +0000 (20:19 +0100)] 
* debian/control:
  - remove some years old and obsolete Replaces

14 years ago* cmdline/apt-mark:
David Kalnischkies [Thu, 25 Feb 2010 18:51:05 +0000 (19:51 +0100)] 
* cmdline/apt-mark:
  - don't crash if no arguments are given (Closes: #570962)

14 years agoGerman translation update
bubulle@debian.org [Wed, 24 Feb 2010 21:14:21 +0000 (22:14 +0100)] 
German translation update

14 years ago"Switch" to dpkg-source 3.0 (native) format
David Kalnischkies [Fri, 19 Feb 2010 20:21:53 +0000 (21:21 +0100)] 
"Switch" to dpkg-source 3.0 (native) format

14 years agofix crash when LANGUAGE is not set
Michael Vogt [Thu, 18 Feb 2010 21:08:25 +0000 (22:08 +0100)] 
fix crash when LANGUAGE is not set

14 years agorefreshed po/ doc/po files
Michael Vogt [Thu, 18 Feb 2010 20:06:47 +0000 (21:06 +0100)] 
refreshed po/ doc/po files

14 years agomerge from the lp:~donkult/apt/sid branch
Michael Vogt [Thu, 18 Feb 2010 14:39:03 +0000 (15:39 +0100)] 
merge from the lp:~donkult/apt/sid branch

14 years ago* [BREAK] merged lp:~mvo/apt/history
Michael Vogt [Thu, 18 Feb 2010 14:17:50 +0000 (15:17 +0100)] 
* [BREAK] merged lp:~mvo/apt/history
  - this writes a /var/log/apt/history tagfile that contains details
    from the transaction (complements term.log)
* methods/http.cc:
  - add cache-control headers even if no cache is given to allow
    adding options for intercepting proxies
  - add Acquire::http::ProxyAutoDetect configuration that
    can be used to call a external helper to figure out the
    proxy configuration and return it to apt via stdout
    (this is a step towards WPAD and zeroconf/avahi support)
* abicheck/
  - add new abitest tester using the ABI Compliance Checker from
    http://ispras.linuxfoundation.org/index.php/ABI_compliance_checker
* Change the package index Info methods to allow apt-cache policy to be
  useful when using several different archives on the same host.
  (Closes: #329814, LP: #22354)

14 years ago* [BREAK] add possibility to download and use multiply
Michael Vogt [Thu, 18 Feb 2010 14:07:56 +0000 (15:07 +0100)] 
* [BREAK] add possibility to download and use multiply
  Translation files, configurable with Acquire::Translation
  (Closes: #444222, #448216, #550564)
* Ignore :qualifiers after package name in build dependencies
  for now as long we don't understand them (Closes: #558103)
* apt-pkg/contrib/mmap.{cc,h}:
  - extend it to have a growable flag - unused now but maybe...
* apt-pkg/pkgcache.h:
  - use long instead of short for {Ver,Desc}File size,
    patch from Víctor Manuel Jáquez Leal, thanks! (Closes: #538917)
* apt-pkg/acquire-item.cc:
  - allow also to skip the last patch if target is reached,
    thanks Bernhard R. Link! (Closes: #545699)
* ftparchive/writer.{cc,h}:
  - add APT::FTPArchive::AlwaysStat to disable the too aggressive
    caching if versions are build multiply times (not recommend)
    Patch by Christoph Goehre, thanks! (Closes: #463260)

14 years agoabicheck/run_abi_test: check both libapt-pkg and libapt-inst
Michael Vogt [Thu, 18 Feb 2010 13:55:13 +0000 (14:55 +0100)] 
abicheck/run_abi_test: check both libapt-pkg and libapt-inst

14 years agoabicheck: use absoute path for build too
Michael Vogt [Thu, 18 Feb 2010 13:40:42 +0000 (14:40 +0100)] 
abicheck: use absoute path for build too

14 years agoabicheck/run_abi_test: check for ../build; abicheck/apt_build.xml: fix version name
Michael Vogt [Thu, 18 Feb 2010 13:19:40 +0000 (14:19 +0100)] 
abicheck/run_abi_test: check for ../build; abicheck/apt_build.xml: fix version name

14 years ago* abicheck/
Michael Vogt [Thu, 18 Feb 2010 10:39:08 +0000 (11:39 +0100)] 
* abicheck/
  - add new abitest tester using the ABI Compliance Checker from
    http://ispras.linuxfoundation.org/index.php/ABI_compliance_checker

14 years agoAUTHORS: updated again
Michael Vogt [Thu, 18 Feb 2010 10:31:34 +0000 (11:31 +0100)] 
AUTHORS: updated again

14 years agoChange the package index Info methods to allow apt-cache policy to be
Michael Vogt [Thu, 18 Feb 2010 10:22:26 +0000 (11:22 +0100)] 
Change the package index Info methods to allow apt-cache policy to be
useful when using several different archives on the same host.
(Closes: #329814, LP: #22354)

14 years agoAUTHORS: updated to reflect current status
Michael Vogt [Thu, 18 Feb 2010 10:21:49 +0000 (11:21 +0100)] 
AUTHORS: updated to reflect current status

14 years ago* doc/apt-cdrom.8.xml:
David Kalnischkies [Thu, 18 Feb 2010 01:15:23 +0000 (02:15 +0100)] 
* doc/apt-cdrom.8.xml:
  - fix typo spotted by lintian: proc(c)eed

14 years ago* debian/rules:
David Kalnischkies [Thu, 18 Feb 2010 00:59:50 +0000 (01:59 +0100)] 
* debian/rules:
  - remove creation of empty dir /usr/share/apt

14 years agowe break the ABI, so let use increase the ABI number :)
David Kalnischkies [Thu, 18 Feb 2010 00:37:59 +0000 (01:37 +0100)] 
we break the ABI, so let use increase the ABI number :)
(This is the revert of the glibc-abi-compatibility-hack)

14 years agodoesn't use a default separator in ExplodeString (halfway losted in merge)
David Kalnischkies [Wed, 17 Feb 2010 23:55:35 +0000 (00:55 +0100)] 
doesn't use a default separator in ExplodeString (halfway losted in merge)

14 years agocriss-cross merge with my sid branch
David Kalnischkies [Wed, 17 Feb 2010 23:48:02 +0000 (00:48 +0100)] 
criss-cross merge with my sid branch

14 years ago* doc/apt_preferences.5.xml:
David Kalnischkies [Wed, 17 Feb 2010 23:37:52 +0000 (00:37 +0100)] 
* doc/apt_preferences.5.xml:
  - explicitly warn against careless use (Closes: #567669)

14 years ago* debian/control:
David Kalnischkies [Wed, 17 Feb 2010 23:37:00 +0000 (00:37 +0100)] 
* debian/control:
  - update with no changes to debian policy 3.8.4

14 years ago* aptconfiguration.cc:
David Kalnischkies [Wed, 17 Feb 2010 23:35:25 +0000 (00:35 +0100)] 
* aptconfiguration.cc:
  - include all existing Translation files in the Cache (Closes: 564137)

Previously if APT was executed with a different LC_* all these invocations
needed to rebuild the Cache as too many files were included or missing:
Now the lists-directory is checked for Translation-files and all these
will be included in getLanguages() regardless of the environment setting
(after a "none" so APT will not use them for displaying information).

14 years ago* buildlib/apti18n.h.in, po/makefile:
David Kalnischkies [Wed, 17 Feb 2010 23:31:49 +0000 (00:31 +0100)] 
* buildlib/apti18n.h.in, po/makefile:
  - add ngettext support with P_()

14 years agodd support for the LANGUAGE environment variable
David Kalnischkies [Wed, 17 Feb 2010 23:30:51 +0000 (00:30 +0100)] 
dd support for the LANGUAGE environment variable

14 years ago - add --arch option for apt-ftparchive packages and contents commands
David Kalnischkies [Wed, 17 Feb 2010 23:05:14 +0000 (00:05 +0100)] 
  - add --arch option for apt-ftparchive packages and contents commands
  - if an arch is given accept only *_all.deb and *_arch.deb instead
    of *.deb. Thanks Stephan Bosch for the patch! (Closes: #319710)

14 years ago* apt-pkg/deb/dpkgpm.cc:
David Kalnischkies [Wed, 17 Feb 2010 23:04:26 +0000 (00:04 +0100)] 
* apt-pkg/deb/dpkgpm.cc:
  - stdin redirected to /dev/null takes all CPU (Closes: #569488)
    Thanks to Aurelien Jarno for providing (again) a patch!

14 years agomerged from debian-sid
Michael Vogt [Wed, 17 Feb 2010 21:09:25 +0000 (22:09 +0100)] 
merged from debian-sid

14 years ago* doc/apt_preferences.5.xml:
David Kalnischkies [Wed, 17 Feb 2010 21:09:02 +0000 (22:09 +0100)] 
* doc/apt_preferences.5.xml:
  - explicitly warn against careless use (Closes: #567669)

14 years agoadd a note about the uncomplete toolchain to sound a bit more scary
David Kalnischkies [Wed, 17 Feb 2010 21:05:15 +0000 (22:05 +0100)] 
add a note about the uncomplete toolchain to sound a bit more scary

14 years ago* debian/control:
David Kalnischkies [Tue, 16 Feb 2010 21:05:10 +0000 (22:05 +0100)] 
* debian/control:
  - update with no changes to debian policy 3.8.4

14 years ago* aptconfiguration.cc:
David Kalnischkies [Mon, 15 Feb 2010 12:05:53 +0000 (13:05 +0100)] 
* aptconfiguration.cc:
  - include all existing Translation files in the Cache (Closes: 564137)

Previously if APT was executed with a different LC_* all these invocations
needed to rebuild the Cache as too many files were included or missing:
Now the lists-directory is checked for Translation-files and all these
included in getLanguages() regardless of the environment setting
(after a "none" so APT will not use them for displaying information).

14 years ago* buildlib/apti18n.h.in, po/makefile:
David Kalnischkies [Mon, 15 Feb 2010 12:02:27 +0000 (13:02 +0100)] 
* buildlib/apti18n.h.in, po/makefile:
  - add ngettext support with P_()

14 years agoActivate support of :any and stuff in apt-get build-dep as we have
David Kalnischkies [Sun, 14 Feb 2010 23:01:36 +0000 (00:01 +0100)] 
Activate support of :any and stuff in apt-get build-dep as we have
now support for MultiArch, so Multi-Arch: allowed packages should
already provide package:any

14 years agoAdd support for the LANGUAGE environment variable
David Kalnischkies [Sun, 14 Feb 2010 22:34:56 +0000 (23:34 +0100)] 
Add support for the LANGUAGE environment variable

14 years agoPseudo() doesn't work in the Cache generation step as the check if only
David Kalnischkies [Sun, 14 Feb 2010 21:24:55 +0000 (22:24 +0100)] 
Pseudo() doesn't work in the Cache generation step as the check if only
one package is in the group will generate false positives - as the others
will (maybe) added a little time later in the process.

14 years ago - add --arch option for apt-ftparchive packages and contents commands
David Kalnischkies [Sat, 13 Feb 2010 16:22:34 +0000 (17:22 +0100)] 
  - add --arch option for apt-ftparchive packages and contents commands
  - if an arch is given accept only *_all.deb and *_arch.deb instead
    of *.deb. Thanks Stephan Bosch for the patch! (Closes: #319710)

14 years ago* apt-pkg/deb/dpkgpm.cc:
David Kalnischkies [Sat, 13 Feb 2010 00:59:22 +0000 (01:59 +0100)] 
* apt-pkg/deb/dpkgpm.cc:
  - stdin redirected to /dev/null takes all CPU (Closes: #569488)
    Thanks to Aurelien Jarno for providing (again) a patch!

14 years ago[BREAK] merge MultiArch-ABI. We don't support MultiArch,
David Kalnischkies [Sat, 13 Feb 2010 00:53:17 +0000 (01:53 +0100)] 
[BREAK] merge MultiArch-ABI. We don't support MultiArch,
but we support the usage of the new ABI so libapt users
can start to prepare for MultiArch (Closes: #536029)

MultiArch isn't ready for Primetime usage for now, but the branch has
managed to be a NOP if used in SingleArch-mode so we can start to
promote the use of the new MultiArchable API-extensions.

14 years agomerge with debian-sid
David Kalnischkies [Sat, 13 Feb 2010 00:45:26 +0000 (01:45 +0100)] 
merge with debian-sid

14 years agoAdd a more or less useful README file for everything related to MultiArch
David Kalnischkies [Fri, 12 Feb 2010 23:39:10 +0000 (00:39 +0100)] 
Add a more or less useful README file for everything related to MultiArch
and install it in the apt-doc package.

14 years agoIn SingleArch environments we don't need the arch "all" pseudo package
David Kalnischkies [Fri, 12 Feb 2010 16:17:16 +0000 (17:17 +0100)] 
In SingleArch environments we don't need the arch "all" pseudo package
for handling arch:all packages, so we create only one package and stop
calling it a pseudo package.

14 years agoAdd yet another pseudo package which isn't as pseudo as the others:
David Kalnischkies [Thu, 11 Feb 2010 23:04:31 +0000 (00:04 +0100)] 
Add yet another pseudo package which isn't as pseudo as the others:
Arch all packages are now represented by arch depending packages which
all depend on a package with the same name and the special arch "all".
This packages has NO dependencies, but beside this the same information.
It is the only package which has a size, the arch depending ones all
have a zero size. While the arch depending pseudo packages are used
for dependency resolution the arch "all" package is used for downloading
and ordering of the package.

14 years agoArch() on a MultiArch:all version should return "all" to be compatible
David Kalnischkies [Thu, 11 Feb 2010 17:20:02 +0000 (18:20 +0100)] 
Arch() on a MultiArch:all version should return "all" to be compatible
with previous usecases. You now need to requested with Arch(true) the
return of the architecture this version (and pseudo package) was created for.