Rob McMullen
92fb9986b6
Added Atari DOS filesystem parser
2019-03-25 15:32:18 -07:00
Rob McMullen
3897da6dc4
Added check for magic values in media types
2019-03-25 12:08:17 -07:00
Rob McMullen
59ea74e182
Added sector convenience functions that return segments
2019-03-25 11:54:03 -07:00
Rob McMullen
697432c8f8
Segment constructor now also takes segment and will generate offsets into container relative to the segment
...
* changed media_type to media in Container
2019-03-25 10:12:23 -07:00
Rob McMullen
1817483b3c
Added hierarchical printing to container and segment
2019-03-25 09:43:01 -07:00
Rob McMullen
a6f5ed0a0a
Changed back to subclassing Container object for packing/unpacking
...
* made MediaType subclass of Segment
2019-03-24 20:50:14 -07:00
Rob McMullen
7a51cb16f9
Added media type recognition
2019-03-21 22:10:23 -07:00
Rob McMullen
5d6e847541
Added simple compressed container
2019-03-21 16:48:13 -07:00
Rob McMullen
b35361b125
In progress change to entry point containers, parsers
2019-03-20 12:49:47 -07:00
Rob McMullen
3cc72e0ad9
Added initial IndexedSegment
2019-03-17 22:34:26 -07:00
Rob McMullen
dafba8e74c
Replaced fromstring with frombuffer (and copy if necessary)
2019-03-17 14:13:11 -07:00
Rob McMullen
ce66a0c8b0
Changed save_session to serialize_session
2019-03-17 14:12:41 -07:00
Rob McMullen
0abcf2d929
Fixed error in test_create unit test
2018-11-11 12:40:28 -08:00
Rob McMullen
50488fc2e5
Added rom image conversion to atari cart images
2018-10-26 12:14:56 -07:00
Rob McMullen
a2831c0edf
Disabled pytest coverage by default
2018-10-26 12:14:33 -07:00
Rob McMullen
6e7497b3d3
Added bz2, xz containers, tests, sample data
2018-06-24 23:07:47 -07:00
Rob McMullen
1a7381b865
Classes no longer unnecessarily subclass from object, as in py3 it's the default
2018-06-24 17:20:32 -07:00
Rob McMullen
6b9cf6d4d2
Converted "from errors import *" to "from . import errors"
2018-06-24 12:10:59 -07:00
Rob McMullen
1968cd9717
Fixes to convert filenames to str rather than bytes
2018-06-23 22:05:35 -07:00
Rob McMullen
ab05cb1ae1
Changed start_addr to origin
2018-06-04 10:19:08 -07:00
Rob McMullen
017dd81734
Fixed tests for uuid type
2017-05-19 23:12:31 -07:00
Rob McMullen
8260774995
Fixed https://github.com/robmcmullen/omnivore/issues/209
...
* force unicode on uuid string conversion in py2
2017-05-18 22:48:45 -07:00
Rob McMullen
bdaa44755a
Relaxed constraints for interleaving segments
...
* use size of smallest segment as size to interleave
* adjust downward if interleave factor not an integer multiple of size
2017-05-10 10:38:20 -07:00
Rob McMullen
8284ae23b3
Changed to floor division which works on both py2 and py3
2017-05-08 11:03:04 -07:00
Rob McMullen
c30f390fed
All tests passing for python 3
2017-05-07 19:33:38 -07:00
Rob McMullen
841aa1dc9b
WIP for py3 support
2017-05-07 18:58:10 -07:00
Rob McMullen
53bf63d506
Fixed kboot for py3
2017-05-07 14:13:48 -07:00
Rob McMullen
fa476b1eab
Fixed cartridge for py3
2017-05-07 14:03:25 -07:00
Rob McMullen
bddae24cb1
Futurize --stage1 changes
2017-05-07 13:31:45 -07:00
Rob McMullen
f41f86c1b0
Changes to test_add_file to see why it's so slow
...
* profiling indicates that it's all the debug prints!
2017-05-07 09:58:29 -07:00
Rob McMullen
1e38dfb516
Added test_utils.py
2017-05-07 09:58:08 -07:00
Rob McMullen
5fcb646131
Added automatic pytest coverage annotated HTML report
...
* added automatic coverage branch warnings and ignorable statements
2017-05-07 09:26:09 -07:00
Rob McMullen
b3800e81ac
Fixed test for segment start address
2017-05-06 22:41:03 -07:00
Rob McMullen
dc25b69d69
Added tests for binary file creation
...
* fixed return value mismatch in get_xex to create_executable_file_image
2017-05-03 12:00:34 -07:00
Rob McMullen
359e690b1c
Added test cases for Atari enhanced density and double density disk images
2017-05-02 19:08:40 -07:00
Rob McMullen
3efb3d1afa
Fixed segment resize that wasn't updating data/style attrs in DefaultSegment
2017-05-02 16:17:45 -07:00
Rob McMullen
a739b19cf2
Fixed comment test for change in get_comment_restore_data return value
2017-05-02 15:59:24 -07:00
Rob McMullen
77d11b9f78
Skip jsonpickle tests if jsonpickle not installed
2017-05-02 15:49:33 -07:00
Rob McMullen
053c7a773e
Changed get_xex to return segments: root segment & list of sub-segments
2017-03-26 22:19:09 -07:00
Rob McMullen
6f29e6053a
Added resizable segments
2017-03-22 22:34:21 -07:00
Rob McMullen
026417b295
Added better comment save/restore methods
2017-03-13 11:49:35 -07:00
Rob McMullen
f1b0f5ebac
Added faster comment splitting
...
* added functions to copy a segment & its base so comments can be marked on the copy of the base and show up in the copy of the segment
2017-03-13 07:05:37 -07:00
Rob McMullen
afa9c9786a
Fixed xex creation test
2017-03-12 21:48:13 -07:00
Rob McMullen
bdf0b67075
Fixed segment rawdata copy for non-indexed segments
2017-03-12 21:46:24 -07:00
Rob McMullen
bd4ff9569a
Added copy function to raw data
2017-03-12 17:01:28 -07:00
Rob McMullen
68469e8e92
Added tests for deleting all files
2017-02-24 10:13:31 -08:00
Rob McMullen
3007e384a6
Changed size of last delete test so it will fit on the DOS 3.3 test disk image
2017-02-24 08:24:34 -08:00
Rob McMullen
7afa2a0e92
Changed file comparisons to numpy array_equals
2017-02-23 22:15:20 -08:00
Rob McMullen
6e8cf1c4c4
Moved some classes to different files, fixed Atari dos tests
...
* consolidated bytes_per_sector and sector_size (which mean the same thing) into sector_size
* moved AtrHeader, XfdHeader to ataridos.py
* moved base classes like WriteableSector, SectorList, etc. to utils.py
2017-02-23 14:23:29 -08:00
Rob McMullen
3157b13727
Added tests for DOS 33 disk images; code still failing all tests, but making progress
2017-02-22 12:11:56 -08:00