summaryrefslogtreecommitdiff
path: root/dselect/pkginfo.cc
AgeCommit message (Collapse)AuthorFilesLines
2018-08-30Switch from strchr() + strlen() to strchrnul()Guillem Jover1-3/+3
2016-05-02dselect: Rename info screenpart to info_bodyGuillem Jover1-1/+1
2015-10-18libdpkg: Remove varbuf terminate() methodGuillem Jover1-3/+1
The string() method already NUL terminates the buffer, so there is never any need to explicitly terminate it beforehand.
2015-10-18Update Ian Jackson's email addressGuillem Jover1-1/+1
2015-04-10Consistently use proper quotation marks all over the placeGuillem Jover1-1/+1
That is "" or '', and not the unbalanced `' pair.
2015-01-26Remove unused <ctype.h> includesGuillem Jover1-1/+0
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.
2013-12-05Switch variables from int to bool where appropriateGuillem Jover1-1/+5
2013-03-18dselect: Use str_is_unset() instead of ad-hoc checksGuillem Jover1-2/+3
2012-03-27dselect: Use a new attribute array instead of separate attribute variablesGuillem Jover1-2/+2
2011-11-06dselect: Use modstatdb_get_status() instead of a global variableGuillem Jover1-1/+1
2011-10-27Switch from pkginfo->name to pkginfo->set->nameGuillem Jover1-5/+5
Remove now unused struct pkginfo name member.
2011-02-11dselect: Switch to use libdpkg debug supportGuillem Jover1-9/+8
2010-11-19Cleanup white spacesGuillem Jover1-2/+2
Remove trailing spaces. Remove blank lines not separating different code blocks. Remove blank lines at the end of the file.
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-4/+3
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
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-07-04Use description of installed package if it's not available anymoreRaphael Hertzog1-0/+2
* dselect/pkginfo.cc (packagelist::itd_description), dselect/pkgtop.cc (packagelist::redraw1itemsel): Use description of installed package as a fallback if the package is not more listed in the available list. Based on a patch by Bruce Sass <bmsass@shaw.ca>.
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.
2007-02-11Fix confusing bottom status lines in dselect, unifying them by removingGuillem Jover1-16/+16
the method or package name and capitalizing. Closes: #9085
2004-05-07Fix a large collection of low-hanging-fruit documentation correctionsScott James Remnant1-1/+1
to clean up the bug list somewhat.
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-03-18Synchronize to the potato branch againWichert Akkerman1-1/+0
1999-10-25translation fixupsWichert Akkerman1-4/+4
1999-10-25Add gettext-support to dselectWichert Akkerman1-15/+15
1999-09-27Updating to dpkg 1.4.1.7Wichert Akkerman1-4/+4
1999-01-29dpkg 1.4.1Guy Maor1-4/+4
1996-05-22dpkg (1.2.1); priority=MEDIUMIan Jackson1-11/+31
* `=' key in dselect really does `hold' rather than `unhold'. * dselect dependency processing now interacts better with `hold'. * dselect `I' key (not `i') modifies display of the info window. * dselect shows unavailable packages as being unavailable. * dselect main menu headings and many other strings changed to try to discourage people from deselecting every package and using [R]emove. Notably, `select' changed to `mark' throughout. * dselect disk methods now print a few fewer double slashes. * dselect disk access methods will offer to use dpkg --record-avail to scan the available packages, if no Packages file is found. * New dpkg --compare-versions option, for the benefit of scripts &c. * New dpkg --clear-avail option forgets all available packages info. * New dpkg --print-avail option, prints `available' data (from Packages, &c). * dpkg usage message is more informative, but no longer fits on screen. * dpkg --avail option renamed --record-avail. * Latest dpkg-name from Erick Branderhorst. * dpkg-scanpackages has more sensible problem reporting. * postinst configure now gets null argument (not <unknown> or <none>) when there is no previously configured version. * Guidelines say that postinst configure is given previous version. * Guidelines don't refer to maintainer-script-args.txt in main text. * Guidelines (Texinfo source) uploaded separately. * Own version of strcpy (used for debugging) removed. * Interface to access methods document in source (doc/dselect-methods.txt). * debian.buildscript moves changes file into parent directory. -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Wed, 22 May 1996 01:26:31 +0100
1996-04-04dpkg (1.1.4); priority=MEDIUMIan Jackson1-0/+163
* Allow overwriting of conflicting packages being removed. (Bug#2614.) * a.out control file says Pre-Depends: libc4 | libc. (Bug#2640.) * ELF control file and libc dependencies changed to use finalised scheme. * ELF control file and libc dependencies for i386 only. (Bug#2617.) * Guidelines say use only released libraries and compilers. * Install wishlist as /usr/doc/dpkg/WISHLIST. * Remove spurious entries for Guidelines in info dir file. * dpkg-deb --build checks permissions on control (DEBIAN) directory. * Spaces in control file fields not copied by dpkg-split. (Bug#2633.) * Spaces in split file part control data ignore. (Bug#2633.) * Portability fixes, including patch from Richard Kettlewell. * Fixed minor configure.in bug causing mangled GCC -W options. -- Ian Jackson <ian@chiark.chu.cam.ac.uk> Thu, 4 Apr 1996 01:58:40 +0100