summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/ProgressMeter.pm
AgeCommit message (Collapse)Author
2007-06-01refactor ProgressMeter code to create objects, put these into state.Marc Espie
Create a common state class for delete and add, put the progressmeter creation in there. neat effect: we don't have a progressmeter, we use a stub class instead and *never* pull the code in at all.
2007-04-15update copyright years, standardize licence.Marc Espie
reword the introduction to the stuff originally from FreeBSD to clarify slightly.
2007-02-22avoid comparing undef to 0: perl's ioctl returns `true' 0s, so that thisMarc Espie
idiom works.
2006-02-10If the length of the message in OpenBSD::ProgressMeter::message() is shorterBernd Ahlers
than the length of the playfield, fill up the difference with whitespace. Prevents leftover characters from previous message()s. ok espie@
2005-10-23if resumed from ^Z, display meter without waiting for changes.Marc Espie
idea from deraadt@
2005-09-04* New -i interactive option, that can ask obnoxious questions.Marc Espie
* move the signature code to a packing-list method, prepend the pkgname. * depend on distant listings, cache these systematically. * cut the PKG_PATH at :/ systematically, much simpler than parsing URLs. People should get used to trailing /s. * let pkg_add -u actually run the update. * check for signature in more places, for instance, let pkg_add installed_stuff be a void operation. * grab enough stuff during updates to check signatures, so that pkg_add -u can report updates that are not needed right away, instead of waiting for the more confusing `trying to update' * beginning of @module support. * @pkgpath support, including updates. * systematically expand stems when applicable. * use visitors systematically in pkg_info. * pkg_info -S reports signature. * remove hardcoding of categories in PackingList, so that future modules will be able to expand them. * add @updateset and @incompatibility keywords.
2004-12-29show `reading plist' while deleting packages, since we can do this easily,Marc Espie
and this gives a hint about what is going on for big packages (like tetex).
2004-12-29round number of stars immediately, avoids off-by-1 display error.Marc Espie
fixes an elusive problem reported ages ago by sturm@...
2004-11-14turn on progress meter by default, use -x to disable it.Marc Espie
document the new stuff, partial reorder of options.
2004-10-18take window size into account.Marc Espie
window sizes changes are delayed, nothing to do about it, since perl keeps the signal around until it is safe to activate it...
2004-10-18experimental progress meter.Marc Espie
not active unless you specify -x for pkg_add/pkg_delete. (option is bound to change)