summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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).
2010-08-26Fix the behavior of OFF_LEVEL in the logging code.Daniel Burrows2-10/+27
Setting a category to OFF was supposed to mean that nothing in that category was logged. Instead, it logs everything, and logging a message at OFF disables it (which is ... sort of useless). Fixed the behavior, and the tests, to behave correctly. Setting a log category's level to OFF suppresses all its messages now.
2010-08-26Improve the log messages from the GTK+ changelog code.Daniel Burrows1-1/+49
2010-08-25Fix the TRACE log level.Daniel Burrows1-2/+5
The code to parse log levels was relying on the fact that log_level used to be a smart pointer type, so testing it as a Boolean would return true if and only if it had been assigned. Unfortunately, now it's an enum in which TRACE is 0. So the code was always suffering from the belief that the log level was undefined. Switched the parse code to use boost::optional to distinguish between 0 and "not present".
2010-08-06Write a routine to subtract timevals.Daniel Burrows3-2/+117
2010-08-02Add some notes on how identifiers are chosen in aptitude.Daniel Burrows1-0/+46
2010-07-31Add a README file describing how interface/implementation splits are handled ↵Daniel Burrows1-0/+246
in aptitude.
2010-07-26Fix a typoed slot name in the packages_tab code.Daniel Burrows1-1/+1
Shouldn't this have been a compile-time error?
2010-07-26Spelling & grammar fixes to identifiers & doccomments.Daniel Burrows2-4/+5
2010-07-26Merge commit '116146da81026b6acb748a12e37d31edea74f1c8'Daniel Burrows2-2/+125
2010-07-26Create a log category for the top-level Qt startup.Daniel Burrows3-1/+36
This is also used as a slightly hacky way to make sure that the apt errors go *somewhere*; eventually they should appear in the UI somewhere.
2010-07-26Fix apt initialization by properly hooking up consume_errors().Daniel Burrows1-0/+15
2010-07-26Merge commit '833d98eea7d687975c000b4a60f6bb2594ac0513'Daniel Burrows2-0/+13
2010-07-26Fix VPATH builds of moc output by giving paths relative to $(srcdir).Daniel Burrows1-1/+1
2010-07-26Fix an incorrect build order in src/generic/.Daniel Burrows1-1/+11
"util" has to be built before "apt"; fixed this and added a note about it. Also, split the subdirectories onto separate lines in order to be nicer to the VCS.
2010-07-22Implementation of Packages Tab lookPiotr Galiszewski2-2/+125
2010-07-22initalize apt on program startingPiotr Galiszewski2-0/+13
2010-07-21Tweak (hopefully improve) the package pool doccomments.Daniel Burrows1-10/+33
2010-07-21Replace an apparently accidental (but harmless) use of operator, with a ↵Daniel Burrows1-2/+2
semicolon.
2010-07-21Standardize indentation.Daniel Burrows1-10/+10
2010-07-21Derive package_pool_impl from sigc::trackable to avoid any surprises.Daniel Burrows1-1/+2
This is mostly irrelevant since package_pool_impl should never be deleted.
2010-07-21Merge remote branch 'aptitude-qt/001.1-package'Daniel Burrows3-0/+263
2010-07-21Fix the Boost configure check to match the code.Daniel Burrows1-0/+1
2010-07-21Merge commit 'aptitude-qt/001.1-package^'Daniel Burrows5-1/+705
2010-07-21Indentation fix.Daniel Burrows1-8/+8
2010-07-21Introduce package_pool classPiotr Galiszewski3-0/+263
2010-07-21Introduce package and version classesPiotr Galiszewski5-1/+705
2010-07-20Add .moc and .mocc to the ignore list.Daniel Burrows1-0/+2
2010-07-20Add tabs_manager class and fix tab_deletion_request signal logicPiotr Galiszewski7-68/+490
2010-07-19Fix indentation and spacing.Daniel Burrows2-20/+19
2010-07-19Improve a TODO.Daniel Burrows1-2/+2
2010-07-19Improve language in a bunch of doccomments.Daniel Burrows3-60/+68
2010-07-19Merge commit 'b7c0e95463426381865ac9902d73260e4ad284ff'Daniel Burrows8-6/+744
2010-07-15Indentation fix.Daniel Burrows1-1/+1
2010-07-15Add tab_widget, main_window and stub implemenation of status_widgetPiotr Galiszewski8-6/+744
2010-07-15Add tab class and stubs of other main program's tabsPiotr Galiszewski13-1/+599
2010-07-14add new target *.mocc used for files containing signals and slots ↵Piotr Galiszewski1-0/+4
definitions in cc files
2010-07-13Add build rules for aptitude-QtPiotr Galiszewski7-10/+233
- add tests for Qt libraries to configure.ac - create "enable-qt" option for activating building of Qt frontend - add required Makefile.am - create a stab of frontend initialization and all required code to generic classes - rename gui variable in main.cc to use_gtk_gui and new_gui variable accordingly
2010-07-10Make display_and_advance work even when the output isn't a terminal.Daniel Burrows3-9/+39
Also documented this new behavior and wrote a unit test for it.
2010-07-10It's no longer necessary to explicitly mark newline() as unexpected, since ↵Daniel Burrows1-5/+0
we're using a strict mock now. Not only is it unnecessary, it was generating confusing error messages if newline() was expected but occurred out of order.
2010-07-10Force the current progress to be updated after a new file starts to download.Daniel Burrows1-0/+2
Without this, the progress indicator would sometimes disappear for a tick.
2010-07-10Make download_status_display part of the command-line code.Daniel Burrows14-324/+221
It's really just a hack to break the command-line implementation up in a way that's more amenable to unit-testing; it doesn't belong in the generic view interface.
2010-07-10Use the new acquire_download_progress object to display command-line ↵Daniel Burrows11-429/+87
downloads and delete acqprogress.
2010-07-10Write a controller for the download progress view based on Acquire.Daniel Burrows4-2/+384
This code does the appropriate digging to extract structured download information from Acquire and pass it to the view.
2010-07-10Add a routine on download_progress that's invoked when a file is skipped ↵Daniel Burrows3-0/+108
because it's already downloaded.
2010-07-10Delete an obsolete comment that snuck into my earlier roll-up patch.Daniel Burrows1-11/+0
2010-07-10Add a complete() routine to the download progress view that's invoked when ↵Daniel Burrows3-1/+32
the whole download process is complete. Necessary to fully expose the events generated by download_signal_log.
2010-07-10Flesh out the implementation of the download progress display and its tests.Daniel_Burrows@alumni.brown.edu12-75/+1772
2010-07-10Split the teletype mock's constructors into default/nice/strict variants too.Daniel Burrows4-11/+52