Commit Graph

26 Commits

Author SHA1 Message Date
Rob McMullen dafba8e74c Replaced fromstring with frombuffer (and copy if necessary) 2019-03-17 14:13:11 -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 ff937ebcc0 Removed future library; python 3.6 only as of version 7.0 2018-06-04 10:27:51 -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 841aa1dc9b WIP for py3 support 2017-05-07 18:58:10 -07:00
Rob McMullen bddae24cb1 Futurize --stage1 changes 2017-05-07 13:31:45 -07:00
Rob McMullen 6047824405 Added 'if _xd:' wrapper around expensive debug logging calls
* generating numpy lists for printing is pretty expensive when doing it thousands of time as in the unit tests
2017-05-07 12:23:51 -07:00
Rob McMullen c897460df0 PEP8 whitespace fixes 2017-03-23 10:06:37 -07:00
Rob McMullen 6910cb4539 Fixed adding a file to a disk with zero directory entries 2017-02-26 21:35:30 -08:00
Rob McMullen 9a87d10326 Added extra metadata command to print out lots of info about dirent 2017-02-26 17:08:55 -08:00
Rob McMullen 1011b2dd12 VTOC now respects starting sector label when printing out grid 2017-02-26 15:23:05 -08:00
Rob McMullen eda250185e Fixed file deletion that was not updating the VTOC 2017-02-26 14:23:58 -08:00
Rob McMullen f4057f6ad5 Added Dirent abstract base class and ability for find_dirent to take filename or dirent 2017-02-26 14:06:29 -08:00
Rob McMullen 4d1f17677d Added pretty printing of VTOC by track
* changed VTOC, Directory classes to keep pointer to header, not just sector sizes
2017-02-26 13:34:07 -08:00
Rob McMullen 151cf06115 Added --shred command line arg to fill free sectors with zero 2017-02-26 13:07:36 -08:00
Rob McMullen 718101d4a4 Added -b command line flag to add raw data to executables 2017-02-26 12:31:34 -08:00
Rob McMullen efb0d6ef28 Added count of free sectors based on VTOC allocation table 2017-02-24 10:14:38 -08:00
Rob McMullen 9733aa4777 Changed get_filename() into a property 2017-02-24 08:42:04 -08:00
Rob McMullen 605f77afb3 Removed SectorBuilder class; fixed DOS 3.3 track/sector list
* put SectorBuildeR functionality into DiskImage
2017-02-23 19:16:22 -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 f84cea7170 Moved file creation classes to utils.py
* prefer to pass around header than individual attributes so instances can get what they want
2017-02-23 13:53:32 -08:00
Rob McMullen 68de323d3f Added better error checking for atari DOS executables 2016-06-01 15:37:28 -07:00
Rob McMullen 66e7c14ddb Changed permissions to 644 2016-03-25 16:09:29 -07:00
Rob McMullen 18a12c0225 Changed IndexedByteSegment to use numpy array as order so fancy indexing works in __getitem__ 2016-02-18 10:17:21 -08:00
Rob McMullen 3f40a914ea Split monolithic atrcopy.py into multiple files in the atrcopy package
* fixed setup.py to work with package format
2016-02-12 20:36:33 -08:00