~ubuntu-branches/debian/sid/aptitude/sid

« back to all changes in this revision

Viewing changes to src/pkg_columnizer.cc

  • Committer: Package Import Robot
  • Author(s): Manuel A. Fernandez Montecelo
  • Date: 2015-10-07 16:53:49 UTC
  • mfrom: (4.1.23)
  • Revision ID: package-import@ubuntu.com-20151007165349-nlm0cj8u2y2n2t5v
Tags: 0.7.3-1
* New upstream release. Please see /usr/share/aptitude/NEWS for a change
  log with more details.

  - Bug fixes:
    * [cmdline] Correctly calculate the indentation for multi-byte
      encoded strings in command line "show" (Closes: #360202)
    * [curses] Show intended action when downgrading (Closes: #516517)
    * Update internal state for upgrades/downgrades with target version
      after the action is performed (Closes: #787658, #714429)
    * [curses] Don't precede Tags field by newline in package info
      screen (Closes: #799933)
    * Correctly detect state of vers/pkg when is ConfigFiles
      (Closes: #698768)
    * [cmdline] Show "RECOMMENDED but will not be installed" on pipes
      and redirections (Closes: #647474)
    * [curses] Improve the integration of Forbid upgrades
      (Closes: #439258)
    * Remove unneeded automatically installed packages in the same action
      (Closes: #478116, #564545, #637257, #368037, #486454, #738517,
       #789803, #779999, #756507, #759764, #766702, #655483,#740009)
    * Honour ::Purge-Unused when removing packages (Closes: #724034)
    * Be more informative when virtual packages are involved in broken
      deps (Closes: #316633, #798898, #799918)
    * Fix description of config option ::AutoClean-After-Update
      (Closes: #756937)

  - User visible changes:
    * Make boundaries of sessions in the log file more clear
      (Closes: #269275)
    * [curses] Avoid marking as auto/non-auto if already set
      (Closes: #265013)
    * [curses] Print message when starting to perform actions
      (Closes: #323371)
    * Use uppercase APT:: for apt config vars, for consistency
      (Closes: #519425)
    * [cmdline] Print versions of Provides, if they exist
      (Closes: #767393)

  - Internal changes:
    * temp.cc: simplify code and messages and reduce the use of boost
      libs
    * configure.ac: Remove checks for boost/scoped_array.hpp and
      boost/random.hpp, not used anymore
    * Adding missing trigger states in some functions
    * Disable checks in configure.ac and preprocessor in code for
      APT_HAS_TRIGGERS, APT_HAS_HOMEPAGE and HAVE_DDTP (apt supports them
      since 2007-2008).
    * Add functions to check if packages are installed, automatically
      installed, if they are virtual, and others.  They can be used later
      to make other code more consistent, clear and clean.
    * Remove sigc++ include from apt_config_widgets.h (fails to build
      with newer version 2.6 recently uploaded to unstable)

  - Documentation:
    * Guide/User's Manual:
      * Document Brown colour for downgraded packages in UI (feature
        implemented in the last version)

  - Translation updates:
    * Russian by Lev Lamberov (Closes: #769425)
    * Dutch by Frans Spiesschaert (Closes: #800516)


* d/rules: Upgrade C++ required to C++14, only minor changes/fixes from C++11
* debian/patches:
  - Add fix-tmpdir.patch to fix a minor problem with temp directories

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
//  The pkg_columnizer class.
4
4
//
5
5
//  Copyright 1999-2005, 2007-2008, 2010 Daniel Burrows
 
6
//  Copyright 2012-2015 Manuel A. Fernandez Montecelo
6
7
//
7
8
//  This program is free software; you can redistribute it and/or modify
8
9
//  it under the terms of the GNU General Public License as published by
220
221
            return cw::column_disposition("c", 0);
221
222
          case pkgCache::State::Installed:
222
223
            return cw::column_disposition("i", 0);
223
 
#ifdef APT_HAS_TRIGGERS
224
224
          case pkgCache::State::TriggersAwaited:
225
225
            return cw::column_disposition("W", 0);
226
226
          case pkgCache::State::TriggersPending:
227
227
            return cw::column_disposition("T", 0);
228
 
#endif
229
228
          default:
230
229
            return cw::column_disposition("E", 0);
231
230
          }
256
255
            return cw::column_disposition(_("config-files"), 0);
257
256
          case pkgCache::State::Installed:
258
257
            return cw::column_disposition(_("installed"), 0);
259
 
#ifdef APT_HAS_TRIGGERS
260
258
          case pkgCache::State::TriggersAwaited:
261
259
            return cw::column_disposition(_("triggers-awaited"), 0);
262
260
          case pkgCache::State::TriggersPending:
263
261
            return cw::column_disposition(_("triggers-pending"), 0);
264
 
#endif
265
262
          default:
266
263
            return cw::column_disposition(_("ERROR"), 0);
267
264
          }