Project

General

Profile

Actions

Feature #1699

closed

[developer] Add diffs-only mode to file diff utility

Added by Dan Drogichen almost 10 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
06/18/2014
Due date:
% Done:

90%

Estimated time:
4.00 h
Chirp Version:
daily
Model affected:
(All models)
I read the instructions above:

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.

Actions #1

Updated by Bernhard Hailer almost 4 years ago

  • Status changed from New to Closed
  • Chirp Version changed from 0.4.0 to daily

This appears to be complete.

Actions

Also available in: Atom PDF