Age | Commit message (Collapse) | Author |
|
Having many rather similar implementations especially if one is exported
while others aren't (and the rest of it not factored out at all) seems
suboptimal.
|
|
Prompted-by: Jakub Wilk <jwilk@debian.org>
|
|
This makes it easier to see which headers includes what.
The changes were done by running
git grep -l '#\s*include' \
| grep -E '.(cc|h)$' \
| xargs sed -i -E 's/(^\s*)#(\s*)include/\1#\2 include/'
To modify all include lines by adding a space, and then running
./git-clang-format.sh.
|
|
Including cacheiterators.h before pkgcache.h fails because
pkgcache.h depends on cacheiterators.h.
|
|
Broken in e7e10e47476606e3b2274cf66b1e8ea74b236757 by looking always
into "apt" while we ship some tools in "apt-utils"…
|
|
Git-Dch: Ignore
|
|
Passing function pointers around while working on this was very icky,
but if weak symbols are too much to ask for…
Reverts "do not use "-Wl,-Bsymbolic-functions" during the build to avoid
breakage" aka a5fc9be36211a290a7abc3ca2a8bf98943bc1f57.
|
|
The general idea is: A small paragraph on the tool itself as a
description, a list of the most used (!= all) commands available in the
tool, a remark where to find more information on the tool and its
commands (aka: in the manpage) and finally a common block referring to
even more manpages. In exchange options are completely omitted from the
output as well as deprecated or obscure commands. (Better) Information
about them is available in the manpages anyway and the few options which
were listed before were also the least interesting ones (-o -c -q and co
are hardly of interest for someone totally new looking to find info by
asking for help and anyone with a bit of experience doesn't need this
short list. Those would need a list of options applying to the command
they call, but they are too numerous and command specific to list them
sanely in this context.
|
|
Git-Dch: Ignore
|
|
Its not as simple as I initially thought to abstract this enough to make
it globally usable, so lets not pollute global namespace with this for
now.
Git-Dch: Ignore
|
|
This ensures that location strings loaded from a location specified via
configuration (Dir::Locale) effect the help messages for commands.
Git-Dch: Ignore
|
|
All mains pretty much do the same thing, so lets try a little harder to
move the common parts into -private to have the real differences more
visible.
Git-Dch: Ignore
|
|
That is one huge commit with busy work only: Help messages used to be
one big translateable string, which is a pain for translators and hard
to reuse for us. This change there 'explodes' this single string into
new string for each documented string trying hard to split up the
translated messages as well. This actually restores many translations as
previously adding a single command made all of the bug message fuzzy.
The splitup also highlighted that its easy to forget a line, duplicate
one and similar stuff.
Git-Dch: Ignore
|
|
As part of the “reproducible builds” effort [1], we have noticed that
apt could not be built reproducibly.
One issue is that it uses the __DATE__ and __TIME__ macros of the C
preprocessor to display the time of build in the online help. We believe
this information not to be really useful to users as they can always
look at the package data and metadata to figure it out.
The attached patch simply removes this information. All
non-documentation packages can then be built reproducibly with our
current experimental framework.
[David: changed the string slightly to be untranslateable as well]
Closes: 774342
|
|
By convention, if I run a tool with --help or --version I expect it to
exit successfully with the usage, while if I do call it wrong (like
without any parameters) I expect the usage message shown with a non-zero
exit.
|
|
This is an ABI break.
Closes: #742882
|
|
Reported-By: clang -Wall
|
|
Removes the 256 fields limit, deals consistently with spaces littered
all over the place and is even a tiny bit faster than before.
Even comes with a bunch of new tests to validate these claims.
|
|
Use mkstemp() in apt-extractemplates and add a integrationtest
for apt-extracttemplates too. Thanks to Steve Kemp for the report.
|
|
Beside being a bit cleaner it hopefully also resolves oddball problems
I have with high levels of parallel jobs.
Git-Dch: Ignore
Reported-By: iwyu (include-what-you-use)
|
|
Reported-By: gcc -Wunused-parameter
Git-Dch: Ignore
|
|
Git-Dch: Ignore
Reported-By: gcc -Wmissing-declarations
|
|
Sync the deb(5) format support with latest dpkg, by allowing
uncompressed tar members and xz compressed control.tar. This
also refactors the control.tar member extraction by using
ExtractTarMember(), which also means future changes only need
to be implemented in a single place.
|
|
|
|
|
|
to the more standard PACKAGE_VERSION and make it work in every file
|
|
initialized in the constructor." messages (no functional change)
|
|
|
|
|
|
|
|
|
|
|
|
directory downloading on non-linux architectures (closes: #435597)
|
|
Closes: #291172
* cmdline/*cc : s/arbitary/arbitrary
* po/*po : unfuzzy translations
* po/apt-all.pot : updated from source code
|
|
Patches applied:
* apt@packages.debian.org/apt--bzip2-debs--0--base-0
tag of apt@packages.debian.org/apt--main--0--patch-30
* apt@packages.debian.org/apt--bzip2-debs--0--patch-1
Create baz branch
* apt@packages.debian.org/apt--bzip2-debs--0--patch-2
Implement data.tar.bz2 support
|
|
Author: mdz
Date: 2003-07-26 00:00:11 GMT
* Support TMPDIR in apt-extracttemplates (Closes: #191656)
|
|
Author: jgg
Date: 2003-01-11 07:18:44 GMT
G++ 3.2 fixes
|
|
Author: doogie
Date: 2002-11-09 23:08:08 GMT
Fix typo, and convert file.Package to const char.
|
|
Author: doogie
Date: 2002-11-09 22:41:55 GMT
apt-extracttemplates now prepends the package name when extracting files.
|
|
Author: jgg
Date: 2002-09-21 21:29:13 GMT
Don't segfault if the cache can't be made.
Show the filename for all error messages that are due to opening .debs #151835
|
|
Author: tausq
Date: 2002-02-25 03:52:58 GMT
commented out a stray debugging line that will break debconf
|
|
Author: jgg
Date: 2002-02-15 03:40:00 GMT
Added locale.h for LC_ALL
|
|
Author: jgg
Date: 2002-01-09 04:59:44 GMT
setup textdomain/etc for i18n stuff
|
|
Author: jgg
Date: 2001-04-29 05:40:36 GMT
Fliped comparision operator. Closes: #94618
|
|
Author: tausq
Date: 2001-03-03 23:02:39 GMT
bump the soname up one (to 3.1.2)
fixed a bug in apt-extracttemplates where it might not form the
directory name properly
|
|
Author: tausq
Date: 2001-03-03 22:45:59 GMT
fixed typo in fileutl.cc (damn you, studly caps...)
make apt-extracttemplates use FileFd
|
|
Author: jgg
Date: 2001-02-27 04:26:03 GMT
Extract Templates adjustments
|
|
Author: tausq
Date: 2001-02-25 05:25:29 GMT
more cleanups
|
|
Author: tausq
Date: 2001-02-25 04:53:59 GMT
apt-extracttemplates cleanup
|
|
Author: tausq
Date: 2001-02-23 04:28:49 GMT
apt-extracttemplates stuff from debconf
|