Rob McMullen
|
956fd58294
|
Allow DefaultSegment to be created from a simple numpy array
|
2018-09-18 17:01:26 -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
|
50a66a2dc9
|
Fixed deserialization to handle the start_addr to origin renaming
|
2018-06-05 18:13:58 -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
|
ab05cb1ae1
|
Changed start_addr to origin
|
2018-06-04 10:19:08 -07:00 |
|
Rob McMullen
|
caee2554f8
|
Added segment saver for Apple 2 binary format
|
2018-05-26 20:14:57 -07:00 |
|
Rob McMullen
|
ebdcb01c40
|
Changed numpy convenience method tostring to tobytes
|
2018-05-26 20:07:43 -07:00 |
|
Rob McMullen
|
68debef437
|
Added create_subset method to DefaultSegment
|
2018-05-25 12:13:57 -07:00 |
|
Rob McMullen
|
6ea00e263e
|
Profiling speedup #4: changed all types of raw data to use array for reverse index lookup
|
2017-10-06 12:06:37 -07:00 |
|
Rob McMullen
|
a05d66cde6
|
Profiling speedup #3: reduce number of function calls inside get_index_from_base_index because it gets called *a lot* in loops
|
2017-10-05 23:18:41 -07:00 |
|
Rob McMullen
|
1adb4f0a61
|
Fixed error in calc_lookups; all tests pass
|
2017-10-05 22:18:25 -07:00 |
|
Rob McMullen
|
1fac3e6c31
|
Profiling speedup #2: cache data array length
|
2017-10-05 19:55:06 -07:00 |
|
Rob McMullen
|
678148b6a1
|
First profiling speedup: cache call to np_byte_bounds
|
2017-10-05 19:41: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
|
9852a98852
|
Added debug logging to help track segment parse errors
|
2017-05-18 22:12:48 -07:00 |
|
Rob McMullen
|
f0c263b588
|
Added convenience function get_raw_index_from_address
|
2017-05-18 22:12:21 -07:00 |
|
Rob McMullen
|
e74b3b5b34
|
Fixed incorrectly formatted log.debug call
|
2017-05-12 20:11:08 -07:00 |
|
Rob McMullen
|
e577cda644
|
Removed some debug prints
|
2017-05-11 13:03:06 -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
|
afc59593bd
|
Changed StringIO to BytesIO
* renamed stringio property to bufferedio in SegmentData
|
2017-05-07 21:08:29 -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
|
3efb3d1afa
|
Fixed segment resize that wasn't updating data/style attrs in DefaultSegment
|
2017-05-02 16:17:45 -07:00 |
|
Rob McMullen
|
5438fa8dce
|
Refs https://github.com/robmcmullen/omnivore/issues/194
* when removing comments, want to remove every comment in the range
|
2017-04-27 13:33:11 -07:00 |
|
Rob McMullen
|
184f9ac73d
|
Removed some debug prints
|
2017-04-14 13:47:53 -07:00 |
|
Rob McMullen
|
136b55e831
|
Added set_style_at_indexes
|
2017-04-11 23:43:30 -07:00 |
|
Rob McMullen
|
b98e51568b
|
Added convenience function to fix comments so no blank comments & style correctly marked
|
2017-04-10 23:38:13 -07:00 |
|
Rob McMullen
|
f02ad6a4e6
|
Removed get_nonblank_comments_at_indexes
* was a hack to try to restore comments to a region copied mid-comment-block
* better to enforce the "comment one byte" policy
|
2017-04-10 22:28:57 -07:00 |
|
Rob McMullen
|
f7d5f7d065
|
Fixed get_comment_restore_data to use ranges instead of just indexes to record lines without comments, too
|
2017-04-10 22:15:50 -07:00 |
|
Rob McMullen
|
281fea2038
|
Added segment parser serialization for https://github.com/robmcmullen/omnivore/issues/160
|
2017-04-04 22:21:03 -07:00 |
|
Rob McMullen
|
32d3e0de76
|
Fixed rectangle style setting if segment has an incomplete last line
|
2017-04-02 10:07:12 -07:00 |
|
Rob McMullen
|
510366051c
|
Rectangle selection functions now take bytes_per_row as required parameter
|
2017-04-02 09:56:18 -07:00 |
|
Rob McMullen
|
b6a81a10b2
|
Moved the reconstruct_missing checks into __setstate__
|
2017-03-28 16:11:26 -07:00 |
|
Rob McMullen
|
c28a3426f9
|
Added serializable memory map dict in segments
|
2017-03-28 15:48:10 -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
|
2e3a6147d5
|
Removed use_origin flag and assume any segment with a start_addr > 0 is meant to have an origin
|
2017-03-24 22:07:57 -07:00 |
|
Rob McMullen
|
c897460df0
|
PEP8 whitespace fixes
|
2017-03-23 10:06:37 -07:00 |
|
Rob McMullen
|
6f29e6053a
|
Added resizable segments
|
2017-03-22 22:34:21 -07:00 |
|
Rob McMullen
|
491589d686
|
Added 'use_origin' flag to let disassembler know that it has a real origin in memory so that labels are meaningful
|
2017-03-20 23:48:59 -07:00 |
|
Rob McMullen
|
e7f0b49c34
|
Added comments for VTOC, Directory sectors in Atari, Apple DOS formats
|
2017-03-20 23:12:54 -07:00 |
|
Rob McMullen
|
da7c7830bb
|
Fixed data_base, style_base for indexed segments
|
2017-03-19 11:53:44 -07:00 |
|
Rob McMullen
|
592abfa0ee
|
Fixed get_comment_locations to return unindexed style so those segments using OrderedWrapper will work
|
2017-03-18 20:54:36 -07:00 |
|
Rob McMullen
|
b7aa965d47
|
Fixed get_entire_style_ranges if split_comments passed in a None
|
2017-03-18 20:10:29 -07:00 |
|
Rob McMullen
|
7ad688854c
|
removed some debug prints
|
2017-03-18 19:27:01 -07:00 |
|
Rob McMullen
|
d9ced9fbd2
|
Fixed get_comment_locations: was using a copy and returning a subset of the original
|
2017-03-17 23:43:43 -07:00 |
|
Rob McMullen
|
46409addae
|
Fixed variable name typo
|
2017-03-15 06:13:04 -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
|
bdf0b67075
|
Fixed segment rawdata copy for non-indexed segments
|
2017-03-12 21:46:24 -07:00 |
|