Changes:

Mar 12, 2007

1. Modified the Setup menu to allow 8 possible settings for the mapping
between the Arrow Keys and the X and Y jog functions.  (The arrow keys
never seem to do what I want them to, which is to move the table in the
direction the keys point)

2. Modified the Help.hlp file to include some help on the above item.

3. Tweaked the main screen a wee bit.

4. Found a few more RED menus to make blue.

Mar 9, 2007

1. Fixed a bug in the Exit dialog.  Sometimes saying "No, don't exit" would
exit anyway.

2. When picking a GCode file to load, at the "Load this File" menu, it now
displays the top 12 lines of the file.  (A problem with 8.3 filenames is
that it's sometimes hard to come up with descriptive filenames).

2. Improved the operation of the PgUp and PgDn keys when in the list of
GCode files (Alt-F L).  Cleaned up the interface a bit.

3. Coloured the Setup and Operators menus to improve the contrast.  Removed
the wrapping arrow keys from all menus and added PgUp PgDn keys to all menus.

4. Only truly scary dialogs are still Red.

5. Added build date to Help Menu.

6. Edited the Help file to remove "Lite" references.


Mar 6, 2007

1. Reworked the JOG keyboard command.  "J" now toggles between Fast and
Slow jog only.  "Alt-J" pops up a menu , (F)ast (S)low (I)ncremental,
accepting an F, S, or I key.  It's now pretty hard to accidentally select
Incremental mode.  Note that a "J" will cancel Incremental mode and resume
toggling between Fast and Slow jogs.

ESC, while not shown, cancels with no change.

2. Reworked the Abs/Rel key.  It now requires an "Alt-R", which brings
up a menu  (A)bsolute or (R)elative.  ESC, again not shown, cancels with
no change.

3. Reworked the main screen, removing a wee bit of clutter.

4. Reworked the "Alt-F" menu, adding "speed" keys and removing the need for
the last ESC.

Additions:
----------

The menu items are now

(L)oad G-Code File
Create or (E)dit G-Code file
Load (M)achine CFG File
e(X)it

So "Alt-F L" brings us right into the list of GCode files, "Alt-F E" takes us
straight to the editor, and "Alt-F M" brings up the list of configuration
files (assuming there are any).

"Alt-F X" brings us to the same old "Are you sure you want to exit" box, and
so requires another keypress, the ENTER key, just in case.

Note that the original "Arrow keys and ENTER" user interface still works.

Removed:
--------

When in the list of files, if a file is picked (by pressing the ENTER key),
the same old "Load this file?" box appears.  However, saying "yes" (by
pressing ENTER) now exits the whole menu and returns us to the main screen.

(I never did like the original logic, wherein an extra ESC was required)

5. Modified the Sort routine, such that if only one file is found, there is
no attempt made to sort it.

6. Removed a bit of now redundant code (Demo or Lite version code).


;-----------------------------------------------------------------------------

Mar 5, 2007

1. The password requirement to access Setup has been removed, as has the
item on the Setup menu.

2. I've reworked almost all menus that use arrow keys, such that

a. Up and Down arrows no longer wrap around
b. PageUp and PageDown now go to the first and last menu item

3. I've changed the wording and the logic a wee bit on the Setup menu
as regards Exiting if there are changes made.

4. I've added an assembly language routine to sort the file list when
trying to open a GCode file.  I know, I should have done this is C, but
I'm really not a C programmer .. at all .. and the routine is both C
callable and can be assembled using any version of TASM.  In my defense, 
I did try to use the the standard C sort routines, but they would not 
(for reasons beyond me) sort correctly !

The routine I did use is my own creation, and seems to do the job, even
if it surely isn't the most efficient; it's all I could think of.


The output of my BCC5.02 BUILD command is as follows.  The first two 
warnings are there from the original source code.  The third, about the
"suspicious pointer" is a result of my attempt to call an assembly language 
routine without _really_ knowing how.

Info :Building...
Info :Transferring to C:\BC5\BIN\TASM.EXE @C:\DOCUME~1\alan\LOCALS~1\Temp\RSP0.$$$
Info :Compiling R:\CNCPRO.AL\utils.c
Warn :  utils.c(365,2):Parameter 'pt' is never used
Info :Compiling R:\CNCPRO.AL\control.c
Info :Compiling R:\CNCPRO.AL\setup.c
Info :Compiling R:\CNCPRO.AL\operator.c
Info :Compiling R:\CNCPRO.AL\kernel.c
Warn :  kernel.c(214,19):Code has no effect
Info :Compiling R:\CNCPRO.AL\help.c
Info :Compiling R:\CNCPRO.AL\gcode.c
Info :Compiling R:\CNCPRO.AL\file.c
Warn :  file.c(91,26):Suspicious pointer conversion
Info :Transferring to C:\BC5\BIN\tlink.exe @R:\CNCPRO.AL\CNCPRO.r$p


