summaryrefslogtreecommitdiff
path: root/dselect/pkgdisplay.cc
AgeCommit message (Collapse)AuthorFilesLines
2015-10-18Update Ian Jackson's email addressGuillem Jover1-1/+1
2015-04-18debian: Update my copyright yearsGuillem Jover1-0/+1
2015-03-31dselect: Improve available state sorting order stringsGuillem Jover1-6/+6
Switch to use terms that are more common in package managers, and as such should be more familiar to new users.
2015-03-30libdpkg: Simplify namevalue parsing codeGuillem Jover1-1/+0
This removes the special fallback value from the name/value table, so that we cannot accidentally parse it as a valid value.
2014-08-15dselect: Add new architecture columns to package list viewGuillem Jover1-0/+17
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.
2014-08-15dselect: Rework columns codeGuillem Jover1-33/+20
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.
2013-12-07Use https:// URLs instead of http:// when possibleGuillem Jover1-1/+1
2013-12-05dselect: Use C++11 nullptr instead of 0 or NULLGuillem Jover1-5/+5
It is way more descriptive, and has a better type. Check for C++11 compiler support and fallback nullptr to 0 if unavailable.
2012-04-09Use implicit __func__ in internerr() instead of explicit literal stringsGuillem Jover1-8/+5
2012-03-27dselect: Move total_width initialization from derived classes to baselistGuillem Jover1-3/+0
2012-03-27dselect: Move gap_width from derived classes to baselistGuillem Jover1-2/+0
2012-03-27Clarify internerr() messagesGuillem Jover1-5/+8
Print the bogus value that triggered the internal error, or simply reword unclear messages.
2012-01-09dselect: Remove dead code after break keywordGuillem Jover1-2/+0
The commit d4d3484ac88ca3953fef3cf2c0464cdc776b6574 forgot to remove this code.
2011-11-06dselect: Use modstatdb_get_status() instead of a global variableGuillem Jover1-5/+11
2011-04-30dselect: Mark ‘y’ variables as unused for getyx() and getmaxyx()Guillem Jover1-1/+1
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.
2011-02-11dselect: Switch to use libdpkg debug supportGuillem Jover1-1/+1
2010-11-19Cleanup white spacesGuillem Jover1-7/+7
Remove trailing spaces. Remove blank lines not separating different code blocks. Remove blank lines at the end of the file.
2010-11-19Cleanup and improve source code commentsGuillem Jover1-4/+5
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. */
2009-11-22Refer to “half configured” instead of “failed config”Guillem Jover1-1/+1
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.
2009-11-08Unify text in license headersGuillem Jover1-5/+5
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.
2009-11-08Replace FSF address by pointing to the gnu.org URLGuillem Jover1-3/+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.
2009-10-26Sort order of header includesGuillem Jover1-3/+2
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.
2009-07-15Disable default automake preprocessor include pathsGuillem Jover1-2/+2
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.
2009-07-15libdpkg: Rename dpkg-i18n.h to i18n.hGuillem Jover1-1/+1
2009-07-14Remove obsolete ‘hold’ and ‘hold-reinstreq’ internal status flagsGuillem Jover1-1/+1
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.
2009-05-22dselect: Remove obsolete priorities supportSven Joachim1-4/+0
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.
2008-09-14Reduce header includes by removing unused onesGuillem Jover1-1/+0
2008-09-14libcompat: Add new compat.h headerGuillem Jover1-0/+1
2008-09-14libdpkg: Move gettext related definitions to a new dpkg-i18n.hGuillem Jover1-0/+2
2008-08-26Unify usage of extern "C" declarationsGuillem Jover1-4/+2
2008-06-30Switch to use UTF-8 copyright symbol and add missing onesGuillem Jover1-1/+1
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.
2008-03-30Implement triggers supportIan Jackson1-1/+3
Closes: #17243, #68981, #215374, #217622, #248693, #308285
2008-03-22Sort entries in enum pkgstatusIan Jackson1-3/+3
Fix all users that rely on the enum sorting.
2008-03-09Fix erroneous description of Breaks in dselectIan Jackson1-1/+1
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.
2006-10-13Fix dselect segfault by adding a field description matching theGuillem Jover1-0/+1
dependency field enum position. Closes: #392731, #392724
2004-03-08Apply patch from Colin Watson to fix #139781; dselect had aScott James Remnant1-0/+2
hard-coded maximum window width of 179 chars for some things, when COLS is easily available.
2003-10-25Almost *EVERY* damn file was including config.h in the wrong spot. AfterAdam Heath1-1/+3
making it the first include, then off_t/size_t/etc could actually be redefined to be 64-bit compatible.
2002-05-06Perl sucks, fix Ian's email addressWichert Akkerman1-1/+1
2002-05-06Update Ian Jacksons' email addressWichert Akkerman1-1/+1
2001-07-16Remove Linux referencesWichert Akkerman1-1/+1
2000-06-09Merge things from the potato branch:Wichert Akkerman1-2/+3
+ 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
2000-03-18Synchronize to the potato branch againWichert Akkerman1-2/+0
1999-12-22debian/dpkg-doc.postrm: Use doc-name instead of file-nameWichert Akkerman1-2/+4
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
1999-11-08More enhances updatesWichert Akkerman1-0/+1
1999-10-30Don't translate internal errorsWichert Akkerman1-5/+5
1999-10-25translation fixupsWichert Akkerman1-1/+1
1999-10-25Add gettext-support to dselectWichert Akkerman1-59/+95
1999-01-29dpkg 1.4.1Guy Maor1-4/+4
1996-07-01dpkg (1.2.11); priority=MEDIUMIan Jackson1-3/+3
* 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
1996-05-28dpkg (1.2.3); priority=HIGHIan Jackson1-1/+1
* 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