Feature #1699
closed[developer] Add diffs-only mode to file diff utility
90%
Description
Chirp currently has a image file diff/dump utility which is invoked by selecting View -> Developer -> Diff tabs, and then in the "Diff Radios" popup, selecting < 0 for either or both memory locations. Currently, -1 is the only negative memory location accepted by the gui.
This utility displays the entire image file in hex and ascii, with offset addresses at the start of each line of 8 bytes. Lines which are the same in both files are printed once in black or gray; lines which are different in blue and red and preceded by '-'/'+'. Providing the context of the lines which are the same can be very useful in some cases. However, for files with thousands of lines, it is also sometimes useful to identify only the differences, to be sure that the developer sees them all.
This change adds an alternate display mode in which only lines which are different are printed. Ranges of one or more lines that do not differ are replaced with a single blank line. This mode is invoked by setting the first memory location in the "Diff Radios" popup to -2. The existing functionality invoked by -1 is not affected.