Commit Graph
42 Commits
Author SHA1 Message Date
Mike Auty b0b868d79c Typing: General typing fixes across the tree 2019-11-27 11:30:14 +00:00
Mike Auty 9b0a910d7e Update typing and documentation on renderers. 2019-10-07 10:35:17 +01:00
Mike Auty e0b9d72c84 Update the license URL and LICENSE.txt 2019-09-25 21:44:05 +01:00
Mike Auty b25094035d Update renderers to work on populated treegrids. 2019-09-23 23:59:35 +01:00
Mike Auty e922cef316 Improve docstrings for all plugins, and reformat all docstrings. 2019-09-07 22:59:54 +01:00
Mike Auty c88044db5b Update more API documentation. 2019-09-04 00:34:55 +01:00
Mike Auty 5d75d617b3 Add in better support for sorting BaseAbsentValues. 2019-08-31 22:01:01 +01:00
Mike Auty 87d0970e72 Remove column indicies.
They didn't look useful, and given the values were ordered by their
position in the list, it seemed appropriate to do the same with column
names.
2019-08-30 11:30:58 +01:00
Mike Auty 9cde94bceb Change the license blurb on all files. 2019-08-27 23:11:00 +01:00
Mike Auty 301fac91ac Add in initial renderer code for CLI table formatting. 2019-04-01 00:07:50 +01:00
Mike Auty 29aee0baff Update TreeGrid documentation. 2019-03-29 11:49:10 +00:00
Mike Auty c64ed6a8dd Remove validity checking in favour of static-type checking.
This removes the assertions that checked plugin devs didn't do anything
overly bad in favour of using mypy to ensure appropriate type-checking.

It also moves the ProgressCallback typing information to constants in
order to avoid circular imports (since constants doesn't import
anything).
2019-01-20 02:35:49 +00:00
Mike Auty fdc6efc4ad Add in the LICENSE and the README. 2018-12-19 23:55:03 +00:00
Mike Auty 19572b6e1e Reformat all python files using yapf with custom volatility style. 2018-12-16 16:50:17 +00:00
Mike Auty 29d41470a4 Mass reformat of typing imports
Relented on the strict import of direct objects/classes for the typing
module only.  Typing module components can be directly imported because
it makes the code really painful to read and write otherwise.

This is still in-line with the python style guide adopted from Google at
http://google.github.io/styleguide/pyguide.html section 2.2.
2018-12-16 13:04:22 +00:00
Mike Auty b1d46f843b Convert documentation to napoleon/Google format docstrings. 2018-08-05 15:52:12 +01:00
Mike Auty 4897b7ab81 Fix up some typing errors. 2018-07-22 13:19:20 +01:00
Mike Auty 7a52ac9deb Fix a large number of typing issues.
There are several instances where mypy didn't detect

if blah is not None:
    blah = thing

and so were rewritten as:

blah = blah or thing
2018-06-04 01:25:02 +01:00
Mike Auty 623180ddbd Make many typing fixes, based on mypy-0.590. 2018-04-22 20:45:59 +01:00
Mike Auty 59283ad892 Refactor SimpleTypes to BaseTypes since we've added Disassembly. 2018-04-15 15:39:48 +01:00
Mike Auty 90641befd2 Remove the TZ*Values and rely on datetime.datetime directly. 2018-04-12 15:43:02 +01:00
Dave Lassalleandikelos 1ae43783aa create utility function for converting windows timestamps 2018-03-21 18:42:38 +00:00
Mike Auty cbce5c6184 Expose the sanitize method, since it's necessary for accessing columns. 2018-03-14 01:07:58 +00:00
Mike Auty 674394cd69 Fix up TreeGrid typing information in places. 2018-03-08 01:20:55 +00:00
Mike Auty c605cbd182 Add in TZAware and TZNaive values for TreeGrids. 2018-03-08 01:20:34 +00:00
Mike Auty de9ad62412 Add in support for AbsentValues. 2018-03-08 00:26:25 +00:00
Mike Auty ee12b81f4a Add in type-annotations for renderers and start on symbols. 2017-12-13 20:48:52 +00:00
Mike Auty f40fae197d Convert to python3.5 syntax (no local type-annotations). 2017-12-13 20:48:52 +00:00
Mike Auty 21b4506b7b Add in type-annotations for the remaining interfaces. 2017-12-13 20:48:52 +00:00
Mike Auty 029fa8e940 Ensure ColumnSortKey is callable, and make sure the top level direction is considered. 2017-08-01 15:39:01 +01:00
Mike Auty 80508c8711 Allow for ascending or descending sort order. 2017-08-01 02:41:55 +01:00
Mike Auty ba05632efd Improve plugin and renderer interface documentation. 2016-12-30 02:44:01 +00:00
Mike Auty d258c56991 Rerun pylint with pycharm-5 and fix pep8 issues as well. 2015-11-21 13:12:00 +00:00
Mike Auty 65fcd5fbe5 Minor pylinting. 2015-09-28 01:34:52 +01:00
Mike Auty cd07ff17b2 Pull out the interfaces from the TreeGrid/TreeNode structures. 2015-01-08 00:06:52 +00:00
Mike Auty 9d5027ddd6 Add in TreeGrid/Renderer framework from volatility3. Consider pulling interfaces for TreeGrid and TreeNode out into interfaces. 2015-01-07 13:59:14 +00:00
Mike Auty 811858aba8 Fix metaclass usage in python 3, and fill in some missing requirements. 2014-12-31 04:25:11 +00:00
Mike Auty c1d054df10 Rename functions in validity to avoid future member name collisions. 2014-12-30 03:49:31 +00:00
Mike Auty 39c0b38f09 Add additional docstrings and refactor/rearrange the entire codebase. 2014-06-11 01:35:50 +01:00
Mike Auty 3da8bdf28a Convert to using ABCMeta to get abstract class failures immediately rather than on method use. 2014-04-14 02:21:13 +01:00
Mike Auty e949079440 Merge TreeGrid class interfaces into their implementation, external developers should not be creating their own of these. 2014-04-08 00:24:27 +01:00
Mike Auty fa789fb174 Add in basic plugin/config and renderer support. 2014-03-31 00:36:11 +01:00