* [xrandr] Allow props command
Responding to issue #525
Somewhat substantial rewriting here to make the parser more resilient
- Change parser to not mutate the incoming data list, instead index
- Create `Line` class and `categorize` classmethod
- Every line is categorized and regexed, so it gets dispatched to the
right level of responsibility
* Bump version
---------
Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
* draft for path_list
* updaate doc
* add input check
* fix types
* fix schema: add missing properties
* add _process
* fix _process docs
* refactor: extract path.py parser
* swap order of names alphabetically
* documentation and comments
* path parser: add early return for nodata
* path and path-list parser: add test and fixtures
* typo in file name
* add early return for nodata
* add test and fixtures
* typo in file name
* rename fixtures
* rename fixtures
* refactor to pathlib.Path
* failing on windows - use PurePosixPath
* changed the way to strip dot from suffix
* add POSIX to path
* test commit to see results on windows is failing
* test commit to see results on windows is failing
* add windows path detection
* somehow Path not like the newline from input line
* add test with more items
* remove debug print
* wrap test loops into into subTest
* remove print statements
* add path and path-list to CHANGELOG
---------
Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
* Create nsd_control.py
Init nsd_control.py
* cleanup nsd-control + add test data
- Cleanup nsd-control parser
- Add test data
* add test script
add test script + fix test data
* Update test_nsd_control.py
fix a default test
* Update test_nsd_control.py
nit
* Add ISC 'host' support
Add ISC 'host' command support
* Update host.py
remove leading tab from string
* Add integer conversion
Per request, fix integer conversion
* Cleanup
Cleanup strip()'s
* Add tests
Add two tests for the 'host' parser
* Update test_host.py
nit
---------
Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
* [xrandr] Fix bug 453, clean up data model
* Fix: 'devices' was originally not a list, just assigned each time it
was parsed. Made that a list and appended to it.
* Removed distinction between unassociated/associated devices
* Added test for @marcin-koziol's problem
* Put tests into separate test methods
* Formatting cleanup
* Backwards compatible type syntax
---------
Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>