AutoCLI History --------------- HISTORY (Changes, Bug fixes, Enhancements (Newest first)) --------------------------------------------------------- V2.53 For some strange reason, the spline code failed if Deluxe Paint was at the front and the Workbench was closed. I beleive that I have fixed the problem. V2.52 Made changes to the event handler so that disk insertions and removals would unblank the screen, if blanked. In previous version this did not work correctly. Added a work around for an Intuition bug. If the mouse is blanked in the dragbar area, then it seems that intuition does not allow the mouse to be replaced until it is moved out of the dragbar area. To fix this the mouse will refuse to blank itself if it is within a dragbar of a screen or window. V2.51 Fixed the incompatibility with CROSSDOS, it now works fine with all versions I have tested. V2.50 Fixed a bug in the screen blanking changes made in 2.46. The program was looking at the active window instead of the workbench window. Made a change to the screen blanking so that if screen blanking is disabled, you can still blank the screen by pressing both qualifier keys. V2.49 More problems with the doubleclick function of fast Amigas. I have inserted a test at the beginning of the routine to try and trap it, at first glance it seems to be ok, I'll see how it goes. V2.48 Slightly modified the doubleclick to front routine in an attempt to stop the parent window from coming to the front when a drawer is opened on fast machines. The fix in place seems to work ok for the moment, I will look at this further if necessary. For those users that use the plain black screen as a screen blank instead of splines may have noticed that sometimes the screen did not go entirely black, this was because the switch to priority zero was just before the LoadRGB4 and so task switching to a higher priority task caused a delay. When considering this I realised that a switch to prioirity zero was not necessary for this blanking as the autocli task was sitting on a "Wait" anyway (not using any CPU time), so it may as well stay at the normal priority. So the user could change this I have made the plain black blank use the "blabk priority" in the option window. This defaults to -10 as it was designed for splines, and I suggest that it be changed to 21 for users that use plain black screen blanking. V2.47 Changed the new blanking routine so that the screen would still blank if the mouse co-ordinates were at zero/zero (power up default). To disable blanking the mouse must now be within the first ten pixels vertically and anywhere horizontally except for zero. I also extended this new function so that the mouse will not blank during these times either. V2.46 Had a great idea and installed it. There were times when I did not want the screen to blank, for example when I was backing up the hard drive to the tape drive. I often find it a nuisance to have to turn the function off and so I installed an easy way to temporarily disable screen blanking. If the mouse is within sixteen pixels of the top left corner of the active window, screen blanking will not occur. V2.45 I seem to have overcome the problem mention in V2.26 below, and later fixed with a temporary measure, where the program would crash if screen shuffling was done while the mouse was in the dragbar of a screen or window. It turns out that this was a bug in Intuition and now it is confirmed by C=, I have found a better way around the bug. V2.44 A correctly assembled version to overcome failures in 2.42. That what you get for trying to do a version on a basic A500 while you are waiting for your A4000. V2.43 A bad version that accidentally assembled incorrectly. V2.42 Under some conditions, the wrong screen could end up at the front after closing the options window. This has now been corrected. V2.41 Changed the name of the 'OK' gadget to 'USE' in the options window, and added a string gadget for the 'SAVE' function. The positions of the 'USE', 'REMOVE' and 'SAVE' gadgets within the options window have changed. Managed to shrink the program size by 2500 bytes. V2.40 Probably the most awaited change. The option window now has a 'SAVE' gadget that will create or overwrite the 's:autocli.cmd' file. This also meant the addition of gadgets in the options window so the two qualifier could be changed within it. Removed an 'illegal' hardware access in the spline code and inserted a 'correct' kernal call instead. Fixed a bug that could cause intermittent crashes when quitting or updating AutoCLI. V2.33 - V2.39 NOT USED V2.32 The Macro68 bug mentioned in V2.30 has now been corrected by DigiSoft. This allowed me to re-enable pc-relative optimisations. V2.31 Since making AutoCLI PC relative, parts of the variable data space was too small, causing some variables to be overwritten, especially within the spline code. All the variables have been fixed and are now all the correct size, this should overcome some or all of the strange quirks some users have reported. V2.30 Due to a bug in Macro68 V3.170, some instructions were incorrectly being optimised. PC-Relative optimisation has been disabled and the program re-assemled. This should stop the intermittent crashes on 68000 based Amigas. Fixed a bug in the Mouse blanking routine. If Auto Activation was turned off, the mouse blanking with a key press would not work and would cause the mouse pointer to tear and show a distorted image. This has now been corrected. V2.29 Modified the fix for the known bug referenced below in version 2.26, so that screen shuffle would always be allowed if the left mouse (or right if exchanged) is not down when key screen shuffle activated. Changed the way the screens are popped back, when option or warning windows are closed, so that the forward screen is pushed back rather than the previous active screen being brought forward. V2.28 Apologies, I had commented out mouseblanking a couple of versions ago for test purposes and forgot to re-include it in the executable. I have corrected this. V2.27 Similar to the change in the last version, screen shuffle will refuse to shuffle if the mouse is within the dragbar of the active window. This overcomes the bug in Intuition. V2.26 Later Kickstarts no longer call shell-startup by default, so if you are using one of these Kickstarts and have chosen automatic sized Shell's, AutoCLI will ensure that the S:shell-startup is called when it opens the Shell window. The Shell windows, Option window, Warning window, etc., will now open on the default Public Screen without popping Workbench to the front. This is transparent to the user, if you have made a Public Screen the default Screen, AutoCLI will use that screen as if it was the workbench screen. WARNING-KNOWN-BUG ***************** If mouse activated screen shuffle is used, and the mouse happens to be in the dragbar of the screen, the machine may crash. I am still unable to find the cause for this, so in the meantime the program checks if the mouse is in the sc_BarHeight area of the activescreen, and if it is, will refuse to shuffle. I beleive that this is a bug in Intuition. V2.25 Completely changed the spline colours and it ignores the option for 2 bitplanes. The splines now only show one colour on screen at once. It now cycles smoothly through a selected colour pallete, instead of the jerky colour change on previous versions. The 2 bitplane switch (the 'b' part of the -lfb option) is still accepted for compatibility, but will be ignored. Fixed a bug in the screen shuffle. The first window on the new front screen was not being activated due to an incorrect window pointer. V2.24 Fixed a bug, when the requester came up asking you if you wanted to format a disk, the mouse pointer would not be un-blanked, this meant that until the requester was answered with the keyboard instead, you would not have a mouse pointer. Fixed a bug, if the splines were changes to single lines 's', they would change to closed boxes instead. This has been corrected. Optimised some instructions, saving around 2200 bytes in the executable size. V2.23 Fixed a bug that seems to have been around since V2.13, that was not setting right hand qualifiers correctly. Thanks to Ian Stewart and Daniel Croft for pointing this bug out. V2.22 Added the $VER: string, so you can use the version command to find our the version and date of AutoCLI. Optimised the code and saved a few hundred bytes. V2.21 Fixed a bug in the Auto Formatting Drives, if turned off via the option window, it would still ask to format a blank disk. This has been fixed. BEWARE of beta releases of OS V2.1 CROSSDOS, these can conflict with AutoCLI and cause lock ups, crashes etc. This problem was traced to bugs in CROSSDOS. Later versions dated after March 1992 seem to work OK. V2.20 Hopefully fixed all the weird quirks with Double Click to Front, it seems to work OK now. Sorry Guys and Gals, but I have once again returned to the Sprite DMA mouse blanker routine. If you use a program that uses a sprite as a cursor, then I am sorry, but I just cannot find a totally problem free solution, and turning off the sprite is the most problem free one I have found. If you have any suggestions for this then please submit. V2.19 The splines used to choose colours randomly from a limited set, this has now been extended to allow for a random colour palette from the entire colour range. The colour pallete is randomly changed each time your chosen number of lines has been drawn. This change actually saved 300 bytes in the executable size. V2.18 Bug fix. If 'Lock Pointer' was not being used at launch, the 'Y' movements of the mouse would freeze if the caps lock key was on. Turning the function on then off in the options window would cure the fault. V2.17 With all of the recent changes a bug crept in. The up cursor for screen shuffle was not working. This has now been corrected. Key activation has been changed so that if a window becomes the top most window on the front most screen, and the mouse is in that window, the window will become active without having to move the mouse first. Under Kickstart 1.3 the optional command string would not work from the command line at launch. The program would default to automatic. This is now fixed. V2.16 Changed the priority of AutoCLI's event handler from 51 to 52 to attempt to overcome problems with other badly written 'C' event handlers that were before me putting strange and or illegal events on the chain. If screen blanking was enabled with no splines (black screen), the task would waste CPU time in a loop. This has been changed and the task is now put to sleep. I have also improved the "wake up" code to attempt a faster wake up when multitasking is heavy. The option window and its gadgets are now correctly sized and positioned if you have chosen a different font under V2.04 Workbench. Optimization of new enhancement code, shrunk the code size by 2k. V2.15 New functions and enhancements added:- Auto formatting of disks. (SEE -i in main doc) Double-click to front windows. (SEE -d in main doc) Added the ability for command line options to be given in a file instead of just the command line. (SEE -c in main doc) Extended the priority switch to include the ability to change the priority of the AutoCLI task when the screen is blanked. (SEE -p in main doc) Extended the window shuffle function to allow window shuffling with left qualifier and left mouse click. The option window has been completely changed and updated to include the new functions. V2.14 Due to popular demand, I have gone away from blanking the mouse by turning off sprite DMA. Some programs were using the sprite for a cursor and so were not compatible. This version uses the older way of manipulating the copperlist. Mouse blanking still had problems blanking on some occasions, until the mouse was moved. This version fixes at least two occurances. After a CLI is opened or a script file executed the mouse will blank again on the next key press. If the screen is blanked, a disk insertion or disk ejection will now unblank the screen. This overcomes the possibility of the screen being blanked during large disk copying sessions. Fixed a bug that would could cause a lock up or crash if there was a screen open with no windows on it, with certain functions enabled. Fixed a bug when running under kickstart 1.3, under some circumstances the Left Shift key could be mis-interpreted as Right Amiga. Key activation will now activate any window the mouse is in even across screens, forward or backwards and even if screens have been dragged down. V2.13 Assembled the program with Macro68 instead of Devpac Source code is now strict new Motorola syntax. V2.12 Re-wrote the key activation, the new part of this that stopped string gadget from being disabled, did not allow for windows with multiple string gadgets or windows with toggle select gadgets. This is now fixed so hopefully all string gadgets will remain active when a key is pressed and the mouse not in the window. V2.11 Fixed an enforcer hit in the key activate routine. V2.10 Change the random routine so that a new pattern flows from the previous one rather than a jerky sudden change. V2.09 Added a random option for the new spline patterns. You can now choose between a set pattern or have it change patterns randomly, and all selectable from the option window. See SPLINE PATTERN OPTIONS in main doc for usage. V2.08 Added 3 more spline patterns. These new ones draws triangles, open sided boxes or single lines and the switches have been incorporated into the -lc switch. See SPLINE PATTERN OPTIONS in main doc for usage. V2.07 Added a slow down function for mouse acceleration. If you hold down your first qualifier key, mouse accelleration is temorarily aborted. Fixed a slight bug in the auto/manual selection in the option window. If auto was your default and you switched to manual, the next time you opened the option window your string size was still auto sizing. V2.06 There was a big problem with the option window under kickstart 1.3 because I used some V2.00 flags by mistake. This has now been totally corrected. V2.05 Added a dragbar and depth gadget to the options window. If the options window is dragged to a different position it will open in that new position on subsequent openings. Added both the pointer lock options into the option window. This just about completes the options window. Two new command line switches -x[n] and -y[n] allow the option window to located at the specified x and y co-ordinates the first time it is opened, and to remember the position if moved after launch. See -x and -y in the main doc for more information. Somehow the warning window shrunk a bit, really don't know how this happened but it is now its correct size again. V2.04 The options window is now asynchronous. This means that all function still operate if the options window is showing. Changed the program so that the font size in the options and warning windows will be correct no matter the font sizes that you have set under V2.0x AmigaDOS. Added the ability to modify the command string from the options window and change from auto-sizing CLI/Shell command to manual supplied commands and vice versa. Fixed a bug that caused irregular results if screen blanking was turned on from the options window, when AutoCLI launched from the command line with no options V2.03 Complete update of options window with much more ability to change the options on the fly. Corrected a bug in the doc file that stated -n0 was a valid switch. This switch is was not valid and -n should have been used. Changed the code to recognise -n0 for users that may install AddMenu from an older doc file. Fixed the bug that caused opening of CLI or Shell windows to fail if AutoCLI was launched at the command line with no options. Under some circumstances the -n2 switch could cause corruption of the command line parameters. This is now fixed V2.02 Changed the auto window activation (-k). Many users really like function but the biggest complaint was when string gadgets were active and the mouse was not in the window, the window was de-activated in preference of the window the mouse was in. The function has now been changed to solve this problem. If a key is pressed the window will become active unless a string gadget is currently active in another window. V2.01 Extended the (-l) mouse freezing function, by adding the ability to freeze all mouse movements without having to hold a key down. See (-l) for details. V2.00 Added support for the commodities exchange program in AmigaDOS V2.00. The options window can be displayed or hidden, AutoCLI can be enabled or disabled and AutoCLI completely removed from the commodities exchange program. AutoCLI can not be launched from Workbench or WBStartup though. I will not implement this due to the instability of launching program when AutoCLI has been lauched from Workbench. Changed the priority of AutoCLI to -10 when blanked and the spline code running. This will allow background tasks of higher priority to run normally and not lose time. On an idle system the splines continue to cycle at normal speed. Completely re-wrote the mouse blanking code, this new routine should fix up all the problems associated with the older code. V1.99o Due to popular demand, added the ability to immediately blank the screen by pressing both of your qualifier keys. The second set of function keys is now always enabled to ensure we have two qualifiers (see -f for details) When activated the program acts as if the normal screen blank time had expired. See SCREEN BLANKING for more details. V1.99n Made a change to the -q3 mouse acceleration speed to allow increasing acceleration linear to the amount the mouse is moved. See -q switch for more info. V1.99m Fixed two major bugs that crept in to the last version. Mouse Acceleration was really crook and not accelerating in some directions. This is now fixed, and secondly if the warning window came up, it didn't matter whether you answered yes or no you got yes! This is now fixed. V1.99l Changed the screen blanking routine to include pretty spline patterning with various options especially for Ken Simpson. See 'OPTIONAL SECONDS', -lc[n], and -lfb for info on its usage. Fixed a bug in the options window, in that if the screen blanking time was changed, but 'RETURN' was not pressed within the string gadget, then the time did not change. Added an update function. Very simple to use, just launch AutoCLI again with a new set of parameters and it will be updated to reflect these switches. Note that all parameters you want will be needed, as it currently completely updates. In the next version I plan to change this to update what you specify without altering other parameters. V1.99k You asked for it!! and here it is, more function key scripts Added another 10 function key scripts. See the -f option for the information on how to add these extra keys. Fixed a bug in the -n switch change added in V1.99i. If the extra switch was used (-n1) it would mess up the rest of the switches. This is now fixed. Added a new function to the -n switch. A certain user without mentioning any names (John Rowe), wanted to use the left/right button click to screen shuffle but did not want the front screen activated. This is now possible with -n2. V1.99j Shell windows launched with Left Qualifier/ESC will now have a close gadget on them if you are running V2.0 Workbench and are using the default command string (IE. no command given). See (OPTIONAL COMMAND) for more details. For users that are using a custom newshell string, can also get this new feature by adding the option to the end of the string as shown. EG. NEWSHELL CON:0/0/640/200/MyShell/CLOSE If Screen shuffle was turned off via option window, mouse screen shuffle would still work. This is now fixed Improved user friendliness of Warning Window. V1.99i Added ability to choose if you want the new mouse screen shuffle added in V1.99g. See the -n switch. V1.99h Added the DoIO vector to the restart vector check that was added in 1.99c as this vector is often modified by viruses. V1.99g Fixed a slight bug that crept in. The options window could open on the wrong screen if a custom screen was at the front. Due to popular demand, added ability to use screen shuffle from the mouse. If screen shuffle is enabled (-n) holding down the left mouse button and clicking the right button will shuffle the screens in the same way the qualifier and up/down cursor keys do. V1.99f Change to the screen blanking routine, this has been re-written in a much better way. It is now fully compatible with all resolution modes including all of the new V2.0 ones. The older routine had problems especially with interlace screens. It should now work fine in all modes. V1.99e Fix for shell windows under some versions of 1.3 kickstart. On some version the program would open CLI windows instead of shell if used in default mode. This happened due to the NEWCON search failing. This is now fixed V1.99d Code optimisations managed to shrink code by over 1100 bytes. V1.99c Added a permanent function, that constantly checks the restart vectors that are normally modified by viruses. See WARNING WINDOW. Great for trapping File Viruses as they launch. V1.99b fix for possible bug in window shuffle, although I couldn't make it fail myself, but I found a possible cause. V1.99a Fix for mouse blanking under V1.3 kickstart, since we switched to using V2.0 include files in our assembler. A label in the CopInit structure had changed, giving the wrong offset for the 1.3 kickstart V1.99 Added a new function by modifiying the -w slightly. This new function is window to front simply by moving the mouse into that window. This was done simply as a challenge given by John E. Van der Brook, Cheyenne. WY United States of America. V1.98 After V1.97 screen now activates when brought back to front. NOTE: Dpaint for some reason will not re-activate, I do not know why, anyone know the answer?? V1.97 Options window now pops Workbench to front and opens the window on it. The front screen will be replaced when the options window closes. This stops the problem on custom screens bitmaps being destroyed or wierd size screens. Sorry to all the NTSC users, I didn't realise that the options window was opening 3 pixels over the 200 boundary. This is now fixed and option window will open on NTSC screens. V1.96 Fixed an intermittent enforcer hit, sometimes when searching the layers. Fixed the mouse blanking quirk of kickstart 1.3 when auto activate was on. Addition of mouse button swap function for left handed people. V1.95 Modifications and fixes due to enforcer hits. V1.94 By fine tuning my macros, I knocked 700 bytes off the filesize. V1.93 Re-write of the auto activation function (1.90) to correct problems. V1.92 Added ability to change the AutoCLI task priority. V1.91 New function added to mouse accelleration. It now has a choice of three different speeds. V1.90 Addition of new Auto activation option (-k). If a key is pressed the window that the mouse is currently in, will be activated. V1.88 Addition of new Lock Pointer option (-l or -lr). This function allows you to freeze either vertical, horizontal or both mouse movements. This is great for icon aligning or better control in paint programs. How many times have you carefully placed the mouse and had it move slightly when the button was clicked. V1.85 Addition of options window that allows, changes to your options without having to remove and relaunch. See main docs below for instructions on its use.