Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-11-19 | Migrated existing display classes to new get_value format. | Laurie Clark-Michalek | |
2010-11-19 | Added get_value and get_key functions to BaseDisplay class. | Laurie Clark-Michalek | |
These allow the key/value to be generated seperatly from the other, as if they are not overridden, they will simply return either the classes key or value attribute. This way they are fully backwards compatible. See the relevent docstring for more information. | |||
2010-11-19 | Evaluate display classes at the last minute, and via an accessor function. | Laurie Clark-Michalek | |
This allows display classes to implement functions to return their key value pairs, instead of forcing them to do it in the __init__ function. Output.append has been removed, as it is implemented by the inherited list. | |||
2010-11-19 | Base the Output class on the list type for a small speed up. | Laurie Clark-Michalek | |
Basing a class on a type implemented in C makes the derived class much faster. It's not much use here, but it's a good habbit. | |||
2010-11-18 | Added main function and conditional execution | Laurie Clark-Michalek | |
2010-11-18 | Output is now aligned from the center outwards. | Laurie Clark-Michalek | |
Renamed globals to uppercase to allow for better understanding. Added Output._getlogo in anticipation of configuration system, and Output._color for convinience. Output._center_results centers a list inside another list of ' 's. Length out outputed list can be given via max_length kwarg. | |||
2010-11-18 | Added BaseDisplay base class. | Laurie Clark-Michalek | |
This class should be inherited by all Display classes. It implements generic display functions, though only repr currently. See help(BaseDisplay) for more info. | |||
2010-11-18 | Added @enviromental_variable class decorator. | Laurie Clark-Michalek | |
The @enviromental_variable class decorator automaticly generates the value of a class, aslong as it has both a 'key' and a 'env' variable. See the docstring for more info, and example usage. | |||
2010-11-18 | Converted classes to new style classes. | Laurie Clark-Michalek | |
Old style classes (with out a pair of brackets at the end of their name) are due to be depreciated some time in the future. | |||
2010-11-17 | We don't need these imports anymore. | David Vazgenovich Shakaryan | |
2010-11-17 | Get a list of processes that actually works. | David Vazgenovich Shakaryan | |
2010-11-17 | added missing ' | DjMelik | |
2010-11-17 | spaces > tabs | DjMelik | |
2010-11-17 | added process detection | DjMelik | |
2010-11-17 | more cleanup | DjMelik | |
2010-11-17 | Merge branch 'master' of github.com:djmelik/archey | DjMelik | |
2010-11-17 | cleanup | DjMelik | |
2010-11-17 | Merge branch 'master' of github.com:djmelik/archey | David Vazgenovich Shakaryan | |
2010-11-17 | removed a tab | DjMelik | |
2010-11-17 | If distro not detected, exit with error exit code. | David Vazgenovich Shakaryan | |
2010-11-17 | No need to inherit from Output class. | David Vazgenovich Shakaryan | |
2010-11-17 | Check if file exists instead of opening it. | David Vazgenovich Shakaryan | |
2010-11-17 | cleanup | DjMelik | |
2010-11-17 | initial push for archey in puthon3 | DjMelik | |
2010-10-21 | Python to Python2 | DjMelik | |
2010-10-05 | reordered output | Melik Manukyan | |
2010-10-04 | changed ramdisplay color from white to yellow | Melik Manukyan | |
2010-10-04 | im stupid | Melik Manukyan | |
2010-10-04 | small cleanup | Melik Manukyan | |
2010-10-04 | indentation error | Melik Manukyan | |
2010-10-04 | fixed minor bug in ram function | Melik Manukyan | |
2010-10-04 | minor bug fix in disk function | DjMelik | |
2010-10-04 | reworked filesytem function, added color to RAM/Disk | DjMelik | |
2010-09-20 | replace xfconfd with xfce4-session | Melik Manukyan | |
2010-08-30 | Support for Linux Mint added | Melik Manukyan | |
2010-08-27 | crunchbang bug fixed, minor cleanup | DjMelik | |
2010-08-27 | added support for crunchbang | DjMelik | |
2010-08-27 | Added support for Fedora | DjMelik | |
2010-08-26 | . > , | DjMelik | |
2010-08-26 | added fuseblk filesystem support | DjMelik | |
2010-08-26 | redid distro detection using lsb_release | DjMelik | |
2010-08-24 | fixed double output bug for debian/ubuntu | DjMelik | |
2010-08-23 | Added support for Debian | DjMelik | |
2010-08-23 | Fixed another bug | DjMelik | |
2010-08-23 | Fixed urelease bug | DjMelik | |
2010-08-23 | more cleanup | DjMelik | |
2010-08-23 | Major cleanup | DjMelik | |
2010-08-23 | added support for Ubuntu | DjMelik | |
2010-06-24 | Minor cleanup | Melik Manukyan | |
2010-06-24 | Added terminal function | Melik Manukyan | |