summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-10-13Add a macro to find the Boost date-time library, in case I want it in the ↵Daniel Burrows1-0/+107
future.
2009-10-13Include string.h from temp.cc.Daniel Burrows1-1/+2
It will pick this up from aptitude.h; this is just for robustness.
2009-10-13Always include string.h from aptitude.h, even if ENABLE_NLS isn't defined.Daniel Burrows1-1/+1
2009-10-12Added tag 0.5.9rc4 for changeset 4887053614abDaniel Burrows0-0/+0
2009-10-12Automatic changes to pofiles.Daniel Burrows45-26376/+27489
2009-10-12Fix the configure Boost test to test the correct set of files.Daniel Burrows1-0/+1
2009-10-12Add a missing NEWS entry.Daniel Burrows1-0/+5
2009-10-12Bump the version number to 0.5.9rc4.Daniel Burrows3-2/+34
2009-10-12Fix a minor anomaly in the progress bar output when the command-line mode is ↵Daniel Burrows1-0/+1
starting up by invoking Done(), so "... Done." shows up.
2009-10-12Don't claim that --no-gui is a bad option value even if GTK+ isn't compiled ↵Daniel Burrows1-1/+4
in. (Closes: #550727) Thanks to Sven Joachim for pointing this one out.
2009-10-12Add a note about an odd call to GetArchives() explaining why it's there.Daniel Burrows1-0/+3
2009-10-11Don't crash if we try to stop the background changelog parse threads and ↵Daniel Burrows1-2/+4
they aren't running.
2009-10-11Make the second tab in the upgrade view display a summary of the selected ↵Daniel Burrows1-17/+7
package (like the one shown in the package search tab) rather than the full changelog of that package.
2009-10-11Suspend the background changelog threads while the cache is closed.Daniel Burrows1-16/+122
Fixes crashes that happened if you closed the program (or, probably, installed software) while downloading changelogs.
2009-10-11Run resolver continuations in the foreground thread via a trampoline callback.Daniel Burrows7-130/+295
This eliminates a whole class of bugs caused by calling into resolver routines from the background thread. The specific one I ran into here was that the resolver thread is shut down by join()ing it while its global lock is held, and it's hard to avoid that -- but most resolver routines want to take the global lock, so calling them from the background thread risks a deadlock. There is a loophole here: you can safely use the resolver manager in the background thread if you know that no-one else is accessing it. The command line frontend uses this to simplify its code.
2009-10-11Don't leak job continuations when the resolver background thread is killed off.Daniel Burrows1-1/+5
2009-10-11Don't re-cache the digested changelog after we parse it, that would be silly.Daniel Burrows1-1/+4
2009-10-11Preprocess the entries in the changelog job queue to eliminate all ↵Daniel Burrows1-77/+99
references to the apt cache. This doesn't totally fix the problem with the program crashing if it's exited while changelogs are downloading, but it makes it a lot easier to fix. The reason is that I can now leave jobs in the queues while the cache is closed, and resume processing when it's reopened: when cache structures were potentially hanging around, that wasn't an option.
2009-10-11Split the code to generate the sidebar of information about a package into a ↵Daniel Burrows4-355/+450
separate file, so it can be reused elsewhere.
2009-10-11Store the output of parsechangelog in the file cache and use it to bypass ↵Daniel Burrows3-113/+541
parsing when displaying the upgrade changelog list. It turns out that the reason aptitude took so long to display the changelogs in my upgrade set is that extracting changelogs from the cache and parsing them takes a long time. Now aptitude can also cache the parsed version of the changelog, bypassing those steps entirely, although currently only the GTK+ interface does so. (the other interfaces don't really need this at the moment anyway)
2009-10-11Add support for retrieving the intermediate "digested" format of the changelog.Daniel Burrows2-35/+47
This could be used to cache the digested changelog, making changelog display a bit faster.
2009-10-10Make sure to trampoline the get_changelogs continuation to the main thread!Daniel Burrows1-1/+12
The code it invokes has to run in the main thread for safety reasons. Without this we get random crashes.
2009-10-10Actually copy the changelog success slot to the preparation thread, so we ↵Daniel Burrows1-1/+1
can report results to the main thread.
2009-10-10Defensive code: wrap a try...catch around the background changelog setup thread.Daniel Burrows1-111/+129
2009-10-10Add log messages to the backend changelog download code.Daniel Burrows3-10/+156
2009-10-10Push the setup phase of the changelog download into a background thread.Daniel Burrows12-232/+376
The setup phase is somewhat I/O intensive; this avoids blocking the UI while it's going on. Also, this converts the ui_download_manager and ui_download_thread classes to using boost::shared_ptr to store the download manager; that should make its memory management a lot simpler.
2009-10-10Add information about GTK/GTK-- versions to the --version output.Daniel Burrows1-0/+12
There doesn't seem to be a way to find out the runtime version, unfortunately.
2009-10-10Fix the GTK+ option declaration so that --enable-gtk enables GTK+ instead of ↵Daniel Burrows1-1/+1
disabling it. I was testing $withval, which has no meaning for AC_ARG_ENABLE, instead of $enableval.
2009-10-09Added tag 0.5.9rc3 for changeset 1eb8cc0a6ba8Daniel Burrows0-0/+0
2009-10-09Bump the version number to 0.5.9rc3.Daniel Burrows3-2/+77
2009-10-09Automatic pofile updates.Daniel Burrows45-10998/+11112
2009-10-08Add scoped_ptr.hpp to the list of required Boost headers.Daniel Burrows1-0/+1
2009-10-07Don't crash if the user asks for the file list of a package that's not ↵Daniel Burrows1-4/+6
installed.
2009-10-07Use a single thread for all changelog parsing, to avoid spawning a huge ↵Daniel Burrows3-20/+136
number of threads and parse jobs when there are lots of available upgrades.
2009-10-07Fix the default value of Get-Root-Command. (Closes: #550057)Daniel Burrows1-1/+1
2009-10-06Make the "hold" command in the GTK+ interface hold instead of deleting. ↵Daniel Burrows1-1/+1
(Closes: #549897)
2009-10-05Stop discarding error messages when dpkg fails. (Closes: #548879, #548899)Daniel Burrows1-5/+1
2009-10-05Improve the formatting of the Get-Root-Command documentation (put quotes ↵Daniel Burrows1-4/+4
around the command that's run).
2009-10-05Document Get-Root-Command from the section on "becoming root" (Closes: #548657).Daniel Burrows1-0/+9
Thanks to Matt Kraai for the initial version of the text.
2009-09-25French translation updateChristian Perrier2-237/+155
2009-09-25Un-reverse the meaning of --arch-only (Closes: #547266).Daniel Burrows1-2/+2
2009-09-24Ran "make update-po" again.Daniel Burrows40-4682/+4596
2009-09-24Eliminate an extra (and wrong) copy of show_broken_deps().Daniel Burrows3-86/+6
2009-09-24Fix an old and very wrong "it is not installable" message from the ↵Daniel Burrows1-1/+1
command-line code.
2009-09-24Document that release names are now accepted in various places alongside ↵Daniel Burrows1-11/+22
archive names.
2009-09-24Ran "make update-po".Daniel Burrows40-5376/+7490
2009-09-24Allow command-line actions to choose packages based on codename as well as ↵Daniel Burrows1-0/+9
archive. (Closes: #547707) If a codename and an archive both match, the archive takes precedence. Hopefully this doesn't open a can of worms with users asking for codenames in places that require apt changes.
2009-09-24Don't crash if the Xapian database fails to load. (Closes: #512998)Daniel Burrows1-10/+24
2009-09-24Consistently use a full-stop at the end of "--help" output.Daniel Burrows1-32/+32
2009-09-24Mention build-dep in "help". (Closes: #547151)Daniel Burrows1-0/+1