HexEdit 1.1 Release Notes
=========================

All known, reproducible, fixable bugs have been fixed.  Please check the HexEdit web site (http://www.ExpertComSoft.com/bugs.htm) for the latest bug list.

There are a few minor remaining bugs that are not (easily) fixable which are Microsoft's (MFC, compiler or Windows problems).  These include the max page number limit of 32767.  Also if you associate certain file types with HexEdit and then open a file that contains spaces or tabs in its file-name you will get an error due to an interaction between the operting system and the command line handling in the compiler run-time library.

Most user-requested features have been implemented.  There are some still on my TODO list; a few I deemed inappropriate; one was too hard; any others I must have forgotten about.


Bugs Fixed
----------

1. Some keys (noteably Del) were not recorded in keystroke macros and had no on-line help (SF1) available.

2. Using multiple file select in a root directory of any drive gives error "D:\\FILENAME is an invalid filename".
   Reported by K. Bollhorst.

3. Select-All (^a) when the cursor was not at start of file displayed properties and addresses (in the hex and decimal address tools) for the previous cursor position.

4. Paste As EBCDIC when there were ANSI characters on the clipboard (ie characters with values greater than 127) caused weird characters to be pasted.  They are now just ignored.

5. If a macro produced no warnings or errors but a previous macro did then a status bar message from the previous macro was displayed.

6. During macro playback the cursor (caret) was turned on and off repeatedly causing it to flicker.  Fixing this also sped up macros somewhat.

7. New files were not opened with the correct (INS/OVR and RO/RW) settings specified in the "Defaults" page of the Options dialog.
   First reported by Helmut Winkens.

8. When the font size was increased or decreased using the toolbar buttons font resources were consumed.  Repeated use caused Windows to run out of fonts.

9. The Cut, Copy and paste shortcut keys (Ctrl+X etc) now work in the Edit Bar's "find" and "address" tools.

A. The text cursor (caret) was left positioned in the wrong place after changing some options in the Window page of the Options dialog.

B. It was possible that the main HexEdit 1.0 window or a modeless dialog (properties dialog, find dialog) could be restored to an invisible area of the virtual screen in a multimonitor environment.  This is now fixed.

C. When a new window is created it now has the same undo information as the window it was cloned from.  This avoids problems where changes in one window could not be undone in another window.

D. If file modifications changed the file length so that the width of addresses on the left was different then the display was messed up, the cursor was left in the wrong place, and when the changes were undone the selection was incorrect.  These bugs are fixed.

E. Making the Windows window-background colour (in the Appearance page of the Display Properties in the Control Panel) anything but white caused ugly background effects (white boxes behind characters).  This is now fixed.
   Reported by Eugene Osintsev.

F. If window options (number of columns, grouping or offset) were changed during macro recording the cursor was left wrongly positioned during playback, and (sometimes) the display was not redrawn properly at the end of the playback.  This is fixed.


New User-Requested Features
---------------------------

0. A built-in calculator was requested by Helmut Winkens.

The new built-in calculator allows you to operate on 8, 16, 32, or 64-bit integers in hex, decimal, octal or binary.

It supports almost all the facilities of the standard Windows calculator plus more.  But it does not have precedence and brackets, although these can be added if there is a demand for it.  It also does not support floating point numbers and rarely used facilities like statistical calculations.  The layout of keys on the calculator is similar to the Windows calculator but more logical with binary operations (+, AND etc) separated from unary operations (NOT, FLIP etc).

One powerful feature of the calculator is the ability to access and change the cursor position or selection, the mark etc of the active file.  The GO button allows you to type or calculate an address and jump straight to that address.

When you invoke the Edit/Goto menu item the calculator appears with the current address in the calculator.  You can then calculate a relative address and hit Enter to jump to a new address.  For example, to move the cursor forward in the file by 100 bytes just type "+100" followed by Enter.  To jump to an absolute address just type the new address and press Enter.  More complicated address calculations are also possible.  For example, to jump to an address 100 bytes from the end of the file, click the "EOF" button to get the address of the end of file, type "-100" and click Enter.

The calculator also allows you to read, modify and save values of the file.  This is very powerful when combined with keystroke macros.  For example, you could easily create a macro that adds one to every WORD (16 bit value) of a file.

Binary functions:  + etc, MOD, m^n, AND, OR, XOR, LESS, GTR, ROL, ROR, LSL, LSR, ASR.
Unary functions:   +/-, NOT, INC, DEC, Flip, Reverse bits, ROL1,...ASR1, n^2, n!, @n.
Memory:            Get, Store, Clear, M+, M-
Mark (active file):Get Mark, Store Mark, Clear Mark, Mark+, Mark-
Other file:        Get/Set Cursor, Get/Set Length of Selection, Get length of file
File access:       @Mark, Store @Mark, @Cursor, Store @Cursor, @n.

1. Drag and drop of files into HexEdit window opens the files.
   Requested by Roland Glenn McIntosh, Pau Serra, Tou-Soua.Heu, Robbert van Herksen, Antoon Milatz and possibly others too.

2. Paste in Overtype mode now allowed after a warning.
   Requested by Roland Glenn McIntosh

3. Option to open new window maximised.  See the "Defaults" page of the Options dialog.
   Requested by Helmut Winkens.

4. Ability to display IBM/MSDOS ("OEM" fonts) graphics characters.
   Requested by Roland Glenn McIntosh

5. Options to set the default font (for both ANSI and IBM/OEM).  See the "Defaults" page of the Options dialog.
   Requested by Tony Sideris.

6. The Flip, Increment, and Decrement items on the Tools menu now change all occurrences (bytes, words, dwords, or qwords) of the current selection.
   Requested by Tim Cheng.

7. There is a new status bar pane that shows the number of occurrences of the current search string in the active file (if background searches are on).
   Requested by Michael Knigge.

8. You can now save the current keystroke macro to a file and load it again later.
   Requested by Kevin Bollhorst.

9. You can now abort searches (as well as macros and compares) by pressing the Esc key.
   Thanks to the person who requested this.

A. There is now an option (see the "System" page of Options dialog) to permit only one instance of HexEdit to run.  If you run HexEdit again the existing instance is enabled and any files specified on the command-line are opened within it instead.
   Requested by Tou-Soua Heu.

B. If a file is opened for write by another program you can now open the file for read-only (previously HexEdit would not open it by design).  You are warned that the file may change unexpectedly.
   Requested by Bill Davidson.

C. There is an option for a larger (block) cursor (see the "Display" page of the Options dialog).  This is for folk who are considered legally blind, or run at a high resolution on a 14" monitor.
   Thanks to the person who requested this.

D. EBCDIC display and conversion can now be customised.  If there is a file in the same directory as HexEdit.exe called "EBCDIC.TAB" then it is used to translate between EBCDIC and ASCII.
   Requested by Tony Brett.

E. The last font used with a recently used file is restored when the file is re-opened.
   Requested by Tony Sideris.

F. There is an option to add "Open with HexEdit" to shell shortcut menus.  (This option has a bad effect on some ill-behaved program launchers such as the Office-97 toolbar.)
   Thanks to the person who requested this.


Other New Features
------------------

1. There is a new "background searches" option (see the "System" page of the Options dialog).  This allows occurrences of a new search string to be searched for in a low-priority background thread.  When the background search is completed the display is updated to highlight all the occurrences, and subsequent searches (F3) are virtually instantaneous.

2. If it exists a macro file called AUTOEXEC.HEM is run when HexEdit starts up.

3. The width of the "find" tool drop-down history list expands to show the widest search string.

4. If you have cut or copied a large amount of data, then when you exit, HexEdit asks you if you want to remove it from the clipboard.

5. etc (There were numerous other minor enhancements which you wouldn't normally notice, such as 3 and 4 above.)

---- End of Release Notes ----
