Mike Auty
b0b868d79c
Typing: General typing fixes across the tree
2019-11-27 11:30:14 +00:00
Mike Auty
b99ace86fb
Tidy up exceptions to be more accurate.
2019-11-13 19:58:14 +00: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
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
29aee0baff
Update TreeGrid documentation.
2019-03-29 11:49:10 +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
9824538bd9
Numerous pycharm warnings resolved
...
This includes:
* Better ways of checking empty lists
* Not shadowing builtin functions like filter
* Preventing invalid slash warnings by marking strings as regexps
* Removing unnecessary brackets
* Lowercase variable names
* Adding/updating parameters in docstrings
* Removing unused code (lines not chunks)
* Change in not a member tests
* Changing some methods to static
* Shorting range membership checks
* Missing parameters
* Make some exception handlers more specific
* Don't define a lambda to a variable
* A few more instance checks to help type checkers
2018-12-16 13:21:06 +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
79d2bab44d
A few additional typing fixes.
2018-07-22 13:29:43 +01:00
Mike Auty
4897b7ab81
Fix up some typing errors.
2018-07-22 13:19:20 +01:00
Mike Auty
3ba628da7a
Add in NotAvailableValue for specific uses.
2018-07-18 22:44:27 +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
Mike Auty
e0a4ada363
Allow sorting of treegrid columns involving datetimes and BaseAbsentValues.
2018-04-02 18:15:35 +01: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
21b4506b7b
Add in type-annotations for the remaining interfaces.
2017-12-13 20:48:52 +00:00
Mike Auty
ab8d76eeef
Revert the generator changes, the visiting function should be used instead.
2017-08-02 10:40:16 +01:00
Mike Auty
d8c53b63bf
Don't forget to iterate over the populate generator.
2017-08-02 10:05:12 +01:00
Mike Auty
ff3d5e8f3b
Maintain a row count for populated tree grids.
2017-08-01 15:39:38 +01: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
d119f372dc
Ensure the populate generator is actually a generator.
2017-07-31 13:52:54 +01:00
Mike Auty
667014a1fd
Attempt to standardize error message display.
2016-10-30 17:51:45 +00:00
Mike Auty
bca8dc486d
Allow sequences rather than just lists for TreeGrid yields.
2016-02-09 10:14:13 +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
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
a97bd19988
Reformat and optimize code, including trailing whitespace and end of file newline.
2014-06-10 15:40:50 +01:00
Mike Auty
2222dd546a
Change my mind on deep copying returned lists, we might want to change the values of an arbitrary row later on.
2014-04-14 02:24:48 +01:00
Mike Auty
2e5656ade4
Add in FormatSpecification object, and bulk up the TextRenderer.
2014-04-14 02:22:05 +01:00
Mike Auty
8e7ad364c7
Alter type/class checking structure so that it can be optimized out (either throws an exception or does nothing).
2014-04-08 00:59:08 +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