Age | Commit message (Collapse) | Author | Files | Lines |
|
objects instead.
This doesn't totally convert the command-line code to using terminal
objects for everything: I/O is still done by accessing stdout directly.
But it does eliminate all dependencies on screen_width.
|
|
a chain if all chains were displayed.
Useful if you want to know "why is X on my system?"
|
|
This loses a little functionality in some places. Searches that go
item-by-item (e.g., curses "/") are broken for ?term matchers (and
hence also bare strings), and searches that return string groups
(e.g., "aptitude search" with a format pattern containing substring
IDs, or the "pattern" grouping policy) don't work. But other than
that, everything should work.
|
|
generic/.
This opens the possibility of using more appropriate rendering
techniques in the command-line code rather than overloading fragments in
that environment; this should perhaps be investigated in the future.
|
|
The reason for this is that after a bit of use, I find that the tabs
intrude visually between the short and long descriptions of a package.
I'll reinstate them once cwidget has the ability to place tabs at the
bottom of the multiplex.
|
|
displays useful results for removed and newly installed packages.
The problem was that it was only looking at package versions that were
currently installed / going-to-be-installed. Instead, this matches
the current version of a package and the candiadte version (if the
candidate will be installed).
|
|
|
|
The motivation is again to make it better-known that aptitude can display
lots of information down there, but I'm a bit worried this will annoy
users. I might end up moving them to the bottom of the screen or hiding
them by default if people aren't happy with this change. (bottom-of-the-screen
will require changes in cwidget)
|
|
Hopefully this will make it a bit more obvious that the information
display can be cycled; I have the general feeling that this is an
"invisible" feature at the moment.
|
|
arguments.
This lets you search for things like "all packages x, y, and z such that
x depends on y, y depends on z, and x depends on z", or "all packages
x and y such that x depends on y and y recommends x".
Documentation for the new features is not yet written. The core forms
introduced are:
??x:MATCHER -> variable introduction; behave as MATCHER with x bound
to the argument of MATCHER.
?x:TERM -> variable binding: instead of testing the implicit
argument against TERM, test x.
?=x -> match only the package or package version x, which must
be in scope.
These probably need work: in particular, the first two seem to be easy
to confuse and I'll probably change them to use syntaxes that are more
distinct from each other.
|
|
installing/removing packages. (Closes: #454695, #454700)
This may also account for other crashes that people have reported. The
problem was this: the main view code very carefully avoided doing anything
when it didn't have a package by (a) setting a flag to "false" when the
cache was closed, and (b) checking that flag before trying to use the
last package displayed to fill in information about a package. But it
set the flag to "true" whenever any package was provided to set_package
to fill out the fields, even an end-iterator. This happened during
apt_close_cache(), *after* it had already set have_pkg to false. So
it dutifully stored the end-iterators and set have_pkg to true. This
wouldn't be a problem, except that end version iterators are specific to
a cache file, so when the cache file was reloaded, they weren't end
iterators any more and we tried to actually use them. --> *crash*
|
|
|
|
|
|
|
|
|
|
|
|
(I'll patch this up with namespace tricks for now).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
search-and-replace I was having to do. (namespace aliases and cleanup are still needed)
|
|
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.
|
|
|
|
<cwidget/widgets/*>.
The tree is now broken and will remain broken until the transition completes.
|
|
routines, so that matchers work from inside the cache while it's being initialized (e.g., in the garbage detection routine) instead of crashing.
|
|
|
|
|
|
(Closes: #445244)
Once the support is in apt-pkg, I might want to revisit this and add code to,
e.g., run epiphany on the homepage of a package.
|
|
area.
|
|
go 'huh?' in the future.
|
|
|
|
looking up the description.]
|
|
|
|
|