summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2012-02-26Change order of parts of the tree in the default view, so when somebody ↵Manuel A. Fernandez Montecelo3-31/+80
'opens' the sections ('admin', 'database', ..., 'x11'), the next level in the tree ('main', 'contrib', 'non-free') appears ordered like that (by its 'importance') rather than alphabetically ('contrib', 'main', ...), as it was done until now. It uses the option 'Aptitude::Sections::Top-Sections' to determine the order at runtime. (Closes: #181997)
2012-02-26Adding wrappers for FindVector methods, currently missingManuel A. Fernandez Montecelo1-0/+13
2012-02-25Improvement/simplification of the implementation of parsing sorting policies ↵Manuel A. Fernandez Montecelo2-127/+53
by using boost::tokenizer, and removing the functionality of sorting policies having parameters (none of the policies admitted parameters for many years)
2012-02-24Refactor various apt-related comparison functors to apt.hDaniel Hartwig9-124/+102
The resulting functors: - pkg_name_lt - pkg_ptr_lt - ver_name_lt - ver_ptr_lt - dep_type_lt
2012-02-24Close memory leak in solution_item.ccDaniel Hartwig1-4/+8
2012-02-24Use arch-qualified names in pkg_columnizerDaniel Hartwig2-2/+2
2012-02-24Show package architectureDaniel Hartwig2-2/+3
2012-02-24Use arch-qualified names in cmdline_prompt, cmdline_actionDaniel Hartwig3-19/+26
2012-02-23Use arch-qualified names in cmdline_show_brokenDaniel Hartwig1-5/+14
2012-02-21Do not blindly call '/usr/games/gnomine' (GNOME mine sweeper game) from the ↵Manuel A. Fernandez Montecelo3-28/+0
menu in aptitude-gtk, and remove all references to this menu entry (Closes: #552522)
2012-02-21Fix indentation (conditions and their possible actions inverted), otherwise ↵Manuel A. Fernandez Montecelo1-4/+4
it induces to error when reading the code
2012-02-14Update Polish translationsMichał Kułach1-0/+27
2012-02-12Negate priority when including it in the cost computation.Modestas Vainius1-1/+1
This is intended behaviour according to documentation. Current situation basically makes priority cost level a no-op and useless.
2012-02-12Update (auto)clean to use "archives" lockDaniel Hartwig2-41/+56
* src/ui.cc(really_do_clean, really_do_autoclean): Use "archives" lock. * src/cmdline/cmdline_clean.cc(cmdline_clean): Remove call to apt_init. Use "archives" lock instead of system lock. * (cmdline_autoclean): Use "archives" lock instead of system lock.
2012-02-12Silence text progress when -q2Daniel Hartwig1-1/+5
2012-02-12Remove extra ellipsis from "Updating debtags"Daniel Hartwig1-1/+1
2012-02-11Update package lists using ListUpdate (libapt-pkg)Daniel Hartwig2-52/+24
The previous list update code is mainly a duplication of the algorithm available in libapt-pkg. It has a history of being problematic and was generally never up-to-date with APT. The new code simply wraps an algorithm provided by libapt-pkg and resolves some long-standing issues: - Update errors are reported. (Closes: #451137) - Run APT::Update hooks. (Closes: #476399) The one known short-coming with the new code at the moment is that if the user cancels the download in the curses interface, errors are reported for any files that were remaining.
2012-02-10Drop disused cmdline_parse.ccDaniel Hartwig2-161/+0
2012-02-01Typos in output of version, usage.Daniel Hartwig1-5/+5
2012-01-31Handle enhances/obsoletes in more places.Daniel Hartwig4-0/+12
2012-01-22Fix typo triggering "unexpected null solution"Daniel Hartwig1-1/+1
* src/solution_dialog.cc (solution_dialog::update): Fix typo from commit 3616465. Thanks to Hristo Hristov for the patch (Closes: #552747)
2012-01-18Missing paren in 28ebd48.Daniel Hartwig1-1/+1
2012-01-18Fix prompt strings.Daniel Hartwig5-7/+7
Closes: #652419
2012-01-18Add versions, newlines to --helpDaniel Hartwig1-3/+4
Closes: #581597 Closes: #604392
2012-01-16Wrap long description of boolean_config_treeitems.Daniel Hartwig1-6/+7
Closes: #653120
2012-01-16Boldness of Tags and User-Tags fields.Daniel Hartwig1-11/+5
Closes: #652360
2012-01-16Fix resolver help for next/previous.Daniel Hartwig1-1/+1
Hacked for now, this function could use some restructuring to prevent this kind of thing happening. Closes: #495046
2012-01-16Handle 'Enhances' relations in preview.Daniel Hartwig1-0/+1
Closes: #583201
2011-12-31Localize date and time format in logsChristian PERRIER1-1/+2
2011-07-23Strip out unused code that tracks whether some options were set.Daniel Burrows1-11/+0
While the intention is admirable, the fact is that this code isn't used and I don't have time today to use it.
2011-07-23Remove broken safe-upgrade-only options.Daniel Burrows1-6/+0
Specifically, Safe-Upgrade::No-New-Installs and Safe-Upgrade::Show-Resolver-Actions. These options were documented but have never worked. A quick skim didn't turn up any bugs filed about them, so I guess no-one ever tried them. Removed them. Also opportunistically cleaned up the documentation of --new-new-upgrades and --no-new-installes (Closes: #568297).
2011-07-23Fix an unused variable.Daniel Burrows1-2/+2
2011-07-23Hopefully fix the use of VTE in the GTK+ frontend.Daniel Burrows1-6/+26
I'm not sure that it's cleaned up correctly right now; need to double back and check this later on.
2011-05-14Add a missing header file to Makefile.am.Daniel Burrows1-1/+2
2011-05-14Remove old cruft from Makefile.am files.Daniel Burrows2-5/+1
Also fixes a type: EXTRA_DEST -> EXTRA_DIST.
2011-05-14Ensure that packages are manual after we mark them for install, not before.Daniel Burrows1-5/+3
Should avoid any surprises due to the new "preserve the auto flag" logic, although I tested with and without this change and both seemed to work OK.
2011-05-14Save and restore the auto flag of a package around MarkInstall(). (Closes: ↵Daniel Burrows2-5/+16
#622719) For some reason, MarkInstall likes to clear the auto flag of packages that the user upgraded manually. This will only affect the "head" package, so recursive installs still turn packages to automatic mode.
2011-04-10Add a new "source" grouping policy, which groups packages according to their ↵Daniel Burrows3-0/+91
source package. Closes: #497206; thanks to Thadeu Lima de Sourza Cascardo for the patch. Didn't merge the part of the patch that adds an entry to the Views menu, as I don't personally believe that this grouping needs its own entry there.
2011-04-10If the Xapian database isn't available, fake it for ?term and ?term-prefix.Daniel Burrows1-10/+139
Should fix all the crashes I know about due to a missing Xapian.
2011-04-10Fix serializing ?term-prefix.Daniel Burrows1-2/+2
Also added ?term-prefix to the test suite (oops).
2011-04-06Eliminate an unused local variable.Daniel Burrows1-10/+3
2011-04-06Actually count up the number of installs and upgrades.Daniel Burrows1-0/+2
Thank you, g++ 4.6 (it includes a new warning about unused local variables).
2011-04-06Add missing #include of stddef.h.Daniel Burrows1-1/+2
g++ 4.6 requires this in order to use offsetof().
2011-04-05For the string "~", use a name matcher instead of a term matcher. (Closes: ↵Daniel Burrows1-2/+2
#588089) The fact that aptitude crashes with ?term when Xapian isn't installed is also concerning: it should do something "reasonable" instead. But what made this really painful is that aptitude was generating a term matcher for a lone tilde, which happens, um, whenever you start typing a search pattern with incremental search enabled...
2011-04-02Apply patch from Tim Retout to support the preferences.d directory.Daniel Burrows3-1/+9
2011-04-02Nuke the scons build scripts.Daniel Burrows18-625/+0
These never worked out as well as I intended, and all indications were that they would be a maintenance burden...or just bitrot. Fully parallel builds are nice, but my builds are pretty quick on my 8-core box even with the artificial chokepoints that automake induces.
2011-03-30Fix compile errors caused by changes in the libapt API.Daniel Burrows10-62/+32
Whoever's in charge of libapt these days apparently doesn't believe in backwards compatibility. Or in documenting how their APIs are to be used, or why names are deprecated </gripe>
2011-03-30Fix a C++ error (accidentally returned false instead of NULL).Daniel Burrows1-2/+2
2011-03-29Don't clobber a fixed-name file in /tmp if the user's home directory isn't ↵Daniel Burrows1-6/+8
set. (Closes: #612034) Ew ew ew ew ew. Now I have to cut a security update :( I almost wonder if it's worth just dropping the hierarchy editor entirely; probably no-one uses it and there are probably more bugs hiding there (albeit hopefully not security-related).
2010-08-26Include the current time and thread ID in log messages.Daniel Burrows1-1/+10
Makes it a lot easier to analyze what's going on, at the cost of making logging more expensive. Could also cause portability problems if pthread_t is not printable for some reason (but since it's the return value of a C function, it pretty much has to be a native integer type).