summaryrefslogtreecommitdiff
path: root/src/generic
AgeCommit message (Collapse)AuthorFilesLines
2007-11-17Add a matcher ~o for obsolete/local packages. (Closes: #397547)Daniel Burrows1-0/+25
2007-11-16Fix a place where dumpcfg used a literal string instead of PACKAGE.Daniel Burrows1-1/+1
2007-11-15Fix a whole bunch of include files that should point at cwidget.Daniel Burrows7-7/+7
2007-11-15Fix some includes in generic/Daniel Burrows3-4/+3
2007-11-15Pass over the source with sed to put global_bindings in config::.Daniel Burrows1-1/+1
2007-11-15Pass over the source tree with sed to eliminate a lot of the mindless ↵Daniel Burrows2-4/+4
search-and-replace I was having to do. (namespace aliases and cleanup are still needed)
2007-11-14First pass over the code.Daniel Burrows25-1676/+131
This tree version is still BROKEN. This commit changes a bunch of code mechanically, and completely fixes all the subdirectories and files through download_screen in the top-level directory. Some unfortunate namespace choices in cwidget showed up here. widgets and config should probably be merged into the cwidget namespace, and I've created namespace aliases that pretend this happened as I go through the .cc files. Luckily, that change can largely be accounted for automatically.
2007-11-14Write some code to dump a dependency with information about its apt state.Daniel Burrows1-0/+45
This will be helpful in debugging the resolver, maybe, but of course I can't do that until I finish the current transition.
2007-11-12Fix more includes of vscreen_widget.Daniel Burrows1-1/+1
2007-10-30Fix the fix for autoinstalled packages to compile.Daniel Burrows1-1/+1
2007-10-30Initialize auto_new_install to false on startup, so we don't randomly set ↵Daniel Burrows1-0/+1
packages to auto mode and remove half the system (whee!).
2007-10-30Properly thread pointers to the cache and the package records through match ↵Daniel Burrows8-203/+420
routines, so that matchers work from inside the cache while it's being initialized (e.g., in the garbage detection routine) instead of crashing.
2007-10-29Restore automatic states for packages that are being newly installed: apt ↵Daniel Burrows2-5/+31
doesn't preserve these flags, so I need to save them in aptitude's state file. (Closes: #435079)
2007-10-29Make log messages work for auto-held and unconfigured packages.Daniel Burrows1-1/+5
2007-10-25Add a prototype for a 'start a browser' routine.Daniel Burrows1-0/+42
Not implemented due to lack of time and also due to the fact that I'm not 100% sure what it should do.
2007-10-24Apply Ian Jackson's patch to display dpkg trigger states (Closes: #438543).Daniel Burrows1-1/+6
The patch has been autoconfubscated, so it'll build with today's apt as well as with any future version that provides trigger states.
2007-10-23Apply the patch from Ian Jackson and Michael Vogt to get proper supportDaniel Burrows5-47/+81
for the new dpkg "Breaks" field.
2007-07-28Correct the fix for how automatic flags are set in the resolver: we should ↵Daniel Burrows1-2/+7
only set an auto flag if the package was not *going to be* installed.
2007-07-26Automated merge with http://hg.debian.org/hg/aptitude/headDaniel Burrows2-5/+32
2007-07-26When applying a resolver solution, only set the auto flag on packages that ↵Daniel Burrows1-1/+4
were not previously installed. (this came up in the discussion about 431935, but I suspect it's not the root problem)
2007-07-25Add code to defend against the possibility that apt could make mistakes in ↵Daniel Burrows1-0/+22
flagging broken deps.
2007-07-25Tweak the code that checks whether a dependency is broken to be more ↵Daniel Burrows1-5/+10
defensive against the possibility of end iterators.
2007-07-15Improve error output for weirdness.Daniel Burrows1-0/+4
2007-07-15Don't transcode descriptions from UTF-8; apt does this for us already. ↵Daniel Burrows1-9/+7
(Closes: #432911)
2007-07-09Run a mark-and-sweep to initialize garbage states on startup, so the apt ↵Daniel Burrows1-0/+6
code to handle the auto flag works properly.
2007-07-08Don't crash when we have an early failure, e.g. due to the cache being ↵Daniel Burrows1-0/+9
locked. (Closes: #430061)
2007-07-06Treat Delete-Unused the same way we did in previous releases (Closes: #431716).Daniel Burrows1-0/+3
2007-07-05Clear the global error list before trying to open the cache, so we know ↵Daniel Burrows1-0/+3
pending errors afterwards are from the open operation. (Closes: #431909)
2007-06-29Add a generic routine to split a string into whitespace-separated words.Daniel Burrows2-1/+43
2007-06-19Mark the state cache as dirty if there wasn't a previously existing ↵Daniel Burrows1-1/+8
pkgstates file, so that aptitude will create one. (Closes: #429732) This is necessary in order to get correct new package detection if the user doesn't change any package states; without this change, aptitude will not create pkgstates, so it'll assume no packages are ever new.
2007-06-17Always do a load/save cycle after installing/removing packages; slows things ↵Daniel Burrows1-1/+9
down a bit, but avoids horrible bugs like #429388.
2007-06-17Call pre_package_state_changed() before undoing, to resent the dependency ↵Daniel Burrows1-0/+4
resolver; call package_state_changed() after an undo if necessary.
2007-06-17Fix how aptitude detects which removed packages were removed because they ↵Daniel Burrows1-4/+13
were unused.
2007-06-17Remove a comment that's pointless at best.Daniel Burrows1-1/+0
2007-06-17Correctly insert keeps into the undo list.Daniel Burrows1-1/+1
2007-06-17Add logic to set packages to manual mode when the user cancels their removal ↵Daniel Burrows1-1/+49
(iff they were being removed because they were garbage collected) This appears broken at the moment, because any automatic package that's removed seems to get its 'unused_remove' flag set (whoops). But I'm pretty sure it's mostly right, I just need to hunt down the unrelated bugs.
2007-06-17Fix all the FTBFS errors in the aptitude source. Several compiler errorsDaniel Burrows7-3/+12
were triggered by the headers of libapt and libsigc++, but the rest have been fixed. (Closes: #413488)
2007-06-16[aptitude @ Explicitly cast "line" to an unsigned int to avoid build ↵Daniel Burrows1-2/+4
failures on platforms where not doing this tosses a warning.]
2007-06-16[aptitude @ Add utility code in threads:: to make it easier to create ↵Daniel Burrows1-1/+27
proxies for uncopyable thread bootstrap functions.]
2007-06-16[aptitude @ Set the auto flag on packages that get installed by the resolver.]Daniel Burrows1-0/+1
2007-06-16[aptitude @ Don't save undo information for setting the candidate version of ↵Daniel Burrows1-1/+1
a package (while applying a solution) twice.]
2007-06-16[aptitude @ Don't set the hold flag when applying a solution that keeps a ↵Daniel Burrows1-1/+1
package at its current version.]
2007-06-16[aptitude @ Invoke pre_package_state_changed before applying a solution, so ↵Daniel Burrows1-0/+2
that the resolver gets destroyed (otherwise it still claims that there are broken packages).]
2007-06-15[aptitude @ Forward-port the auto-mark patches by hand.]Daniel Burrows6-469/+293
THIS WILL CONFLICT with the auto-mark branch; I don't recommend pulling the patches from there into this branch with darcs. Everything seems to work for me, but I'm a little nervous about the massive blind patching I just did; more testing is probably indicated to flush out any bugs that are left.
2007-05-31[aptitude @ Add support in the internal package-state-detection function for ↵Daniel Burrows2-4/+9
an "unconfigured" state that collects the "unpacked" and "half-configured" states.]
2007-05-14[aptitude @ Fix inconsistencies in aptitude's model of the dependency ↵Daniel Burrows2-50/+193
universe (Closes: #420358, #420381, #420407).]
2007-05-14[aptitude @ Force the permissions of the pkgstates file to 0644 regardless ↵Daniel Burrows1-2/+8
of umask -- it's not security-sensitive and the results of having it be unreadable are very confusing. (Closes: #421809, #421811)]
2007-05-12[aptitude @ Don't babble about being unable to acquire locks just because ↵Daniel Burrows2-1/+9
some random other thing failed; instead, abort before we try to acquire the lock.]
2007-05-09[aptitude @ Invoke the sanity checker when running a test on the dummy ↵Daniel Burrows1-1/+4
universe.]
2007-05-09[aptitude @ Add a routine that will run some sanity-checks on a dependency ↵Daniel Burrows2-1/+379
universe model; it doesn't guarantee that the universe matches reality, but it does empirically check that the graph connectivity is as expected (e.g., that all reachable dependencies are in the global dependency list).]