Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
Switch to use terms that are more common in package managers, and as
such should be more familiar to new users.
|
|
This removes the special fallback value from the name/value table,
so that we cannot accidentally parse it as a valid value.
|
|
The new columns, shown by default, can be turned off with the new ‘A’
key, or bound to another key via the new “archdisplay” keybinding.
|
|
Add a new struct to hold each column data, and helper functions to
handle it, so that we can easily add new columns w/o needing to have
to manually track the current and previous column width and similar.
|
|
|
|
It is way more descriptive, and has a better type. Check for C++11
compiler support and fallback nullptr to 0 if unavailable.
|
|
|
|
|
|
|
|
Print the bogus value that triggered the internal error, or simply
reword unclear messages.
|
|
The commit d4d3484ac88ca3953fef3cf2c0464cdc776b6574 forgot to remove
this code.
|
|
|
|
The ncurses library does not provide a way to only retrieve the ‘x’
variable, so we have to pass a dummy ‘y’ which we are not going to
use, for which the compiler emits a warning.
|
|
|
|
Remove trailing spaces. Remove blank lines not separating different code
blocks. Remove blank lines at the end of the file.
|
|
Global review, which includes the following changes to try to increase
consistency, update and improve the source code comments:
- Spelling fixes.
- Use American English forms.
- Uppercase NULL, NUL and ASCII.
- Use “Note: ” instead of the slightly cryptic “NB: ” form.
- Write comments as proper sentences, including capitalizations and
ending dots.
- Move comments before the code, function or variable they refer to.
- Move general function comments outside the body.
- Convert function and variable description comments to doxygen.
- Use one space before dot, exclamation and question marks.
- Use ‘’ or “” instead of `' style quoting.
- Remove author names from comments, already visible from “git blame”.
- Mark strings for translators with “TRANSLATORS: ”.
- Remove useless or outdated comments.
- Fix comment indentation.
- Standardize comment format:
/* Short text comment. */
/* Long text,
* comment. */
/*
* Section text.
*/
|
|
Use it in «dpkg-query -l» header and dselect package status printing for
consistency with the rest of the ouput. This seems to have been a source
of confusion in the past, so we'll try to use this nomenclature to refer
to this package status.
|
|
Add a missing “of the License” after “version 2”. Move “but” and “GNU”
at the end of line to the next line. This matches more closely the
paragraph found in the license text for the GPL version 2.
|
|
Use the <http://www.gnu.org/licenses/> URL, instead of in most cases
the outdated FSF address, which is way more stable, as the latter has
changed several times in the past.
|
|
Place first <config.h> and <compat.h>, then all <sys/*.h> sorted by
complexity, followed by the rest of the system headers, then <dpkg/*.h>
and finally the local "*.h" ones.
Move <dpkg/i18n.h> inclusion into libdpkg inclusion block, as the
<gettext.h> compatibility header already takes care of including
<locale.h> before <libintl.h> on environments were its probamatic.
Removed duplicated inclusions.
|
|
Tell automake not to add “-I.” to the preprocessor flags, to avoid
file collisions with system headers. Re-add the path where config.h
is located. Namespace and use bracketed file inclusions for libdpkg
headers, and use quoted inclusions for program headers.
|
|
|
|
These flags have been obsolete for a long time, and the ‘hold’ part
has been converted to the ‘want_hold’ value on database parse. No
current system having been upgraded through several Debian releases
should have those values in their status database anymore.
|
|
dselect shows wrong package priorities in the package selection screen.
This is because the string representations arrays haven't been updated
to reflect the removal of the “Recommended” and “Contrib” priorities
in commit c8d3938be127e256fd593f234858fb9d474b2353.
|
|
|
|
|
|
|
|
|
|
Some 'Copyright <year>' entries didn't have a copyright symbol.
Add it and switch the rest from '(C)' to '©', but we don't do this
on program output which for now should remain pure ascii.
|
|
Closes: #17243, #68981, #215374, #217622, #248693, #308285
|
|
Fix all users that rely on the enum sorting.
|
|
The description should be 'breaks' as in 'A breaks B' rather than
'A breaks with B' since it is B that is broken by A and not vice versa.
|
|
dependency field enum position. Closes: #392731, #392724
|
|
hard-coded maximum window width of 179 chars for some things,
when COLS is easily available.
|
|
making it the first include, then off_t/size_t/etc could actually be
redefined to be 64-bit compatible.
|
|
|
|
|
|
|
|
+ po/*.po: updated
+ THANKS: Add Lele Gaifax
+ configure.in: add Italian to LINGUAS
+ doc/sv: new directory with Swedish manpages
+ doc/*: removed "GNU/Linux" since this runs on HURD as well
+ doc/ja/update-alternatives.8: new version
+ dpkg-deb/main.c: remove preprocessor define from gettextized string
+ dselect/main.c: remove preprocessor define from gettextized string
+ lib/showcright.c: remove preprocessor define from gettextized string
+ main/enquiry.c: can't use prepocessor defines in a gettextized string
+ dselect/pkgdisplay.cc: Replace empty string for eflags with a space
+ dselect/pkgsublist.cc: mark another string as translateable
+ dselect/pkgtop.cc: change code to reflect that the empty case for
an eflagstring is now a single space, not an empty string (since
gettext can't handle empty strings).
+ main/help.c: allocate a bit more space for the path buffer in checkpath()
+ main/main.c: fix location of --abort-after in --help output
+ scripts/debian-changelog-mode.el: fix documentation string for
debian-changelog-finalise-last
+ scripts/dpkg-source.pl: fix typo
+ scripts/udate-alternatives.8: fixed errors found while Japanese
translation was made.
methods/Makefile.am: removed
|
|
|
|
dselect/pkgdisplay.cc: Replace empty string for eflags to a space so gettext doesn't use the translation-info
po/update.sh: Generate dselect/helpmsgs.{cc,h} so we can translate them.
po/POTFILES.in: add dselect/helpmsgs.cc
dselect/pkgtop.cc: use ACS_HLINE instead of `-'
dselect/baselist.cc: change colour of column headings
dselect: add a new --export mode which suppresses the display of the helpscreen
|
|
|
|
|
|
|
|
|
|
|
|
* dselect had dependency bug if installed package newer than avail.
* Added `replaces' to dselect's list of package relationship strings.
-- Ian Jackson <ian@chiark.chu.cam.ac.uk> Mon, 1 Jul 1996 02:51:11 +0100
|
|
* install-info doesn't replicate section headings (Bug#3125, #2973).
* New dpkg-name manpage broken off from script (oops!).
* dselect help screens made consistent with new strings, flags, &c.
* dselect error flag column labelled E (Error), not H (Hold).
* `Escape' no longer bound to `exit list without saving' in dselect.
-- Ian Jackson <ian@chiark.chu.cam.ac.uk> Tue, 28 May 1996 02:14:57 +0100
|