History

V.2.16 (17.03.2001) PUBLIC UPDATE
NEW: If character with ascii code 1 to 9 is found within a found $VER: string then the string is not concidered valid, because there's a risk that it's just garbage in a crunched file. The Cookie_Killer's files for AWeb have a ascii code 1 just after the $VER: for some obscure reason. The original c:version doesn't care about this character. So if you had replaced the c:version with VersionWB 2.13+ your Cookie-files were destroyed by Cookie_Killer. Now one such character is allowed, to make it compatible with Cookie Killer. Gregg Sawyer told me about the problem.

NEW: Added argument NONEW. Use it with Dopus or another file handler where the New- button has no use.
Suggested by Efim Shuvikov.

NEW: The New-button is now positioned between the "Ok" and "Cancel"-buttons with multi selection.

BUGFIX: Text after a newline character was parsed as misc-info. @author information from a guide should not be added to the misc-section if LIKECVER is used, because the original c:version doesn't.

BUGFIX: Increased the stack size to 8000.

V.2.15 (30.04.2000) PUBLIC UPDATE
BUGFIX: Referenced illegal memory location on some system configurations every time VersionWB was run since v.2.13, causing crashes on these machines. This probably only happen if many romtag modules were installed.
Thanks to Jens Langner for the report!

V.2.14 (08.04.2000) PUBLIC UPDATE
NEW: VersionWB is GiftWare. You now could register online. See the guide for more info.

BUGFIX: There was an Enforcer hit when one checked the version of a volume. There are no version for volumes anyway, just devices.
Bug reported by Mario Cattaneo. Thanks!

BUGFIX: Didn't search in LIBS: and DEVS: when only a library or device name was given as argument.

NEW: The info which is output when no arguments are specified. The latest CGX is using cgxsystem.library instead of cybergraphics.library.
Thanks Mario Cattaneo for reporting this!

BUGFIX: Failed to find the version of some resident programs and modules.

BUGFIX: If you started VersionWB like this: 'VersionWB asl.library libs:' to get the version of the resident asl.library and later the version of the one in the libs: there where some garbage in the bottom of the requester.

BUGFIX: It thought it found a version if a nonexisting volume name, e.g. dsds:, was given as argument.

V.2.13 (13.02.2000) PUBLIC UPDATE
BUGFIX: Shouldn't even open xfdmaster.library if the NOXFD tooltype was given. 

BUGFIX: Opened asl.library every time the file requester appeared, without closing the library the same number of times. This bug was introduced when the
'New'-button was added. 

BUGFIX: A bug introduced in version 2.10 was fixed. Rarely gave system alert #8100000F or #81000005 after the file requester was used (MungWall hit). 

BUGFIX: Did a little change in the memory handling for packed files to remove crashes with some XPK-packed files. The bug above could have interferred though. 

BUGFIX: Corrected a few bugs in the version string search of a packed file. 

BUGFIX: 'Smart version string' search wasn't done in packed files. 

BUGFIX: Sometimes when version info wasn't found the file requester appeared. 

BUGFIX: There is no real reason to clip the filename field in the text output. So it is no longer clipped in the text output. 

BUGFIX: Sometimes version info wasn't found in resident modules. 

BUGFIX: If the file specified wasn't found the file requester appeared. 

BUGFIX: The search for resident modules is now case insensitive. 

NEW: openutil.library contains $VER %s %ld.%ld (%ld.%ld.%ld). Both Amiga Inc version and VersionWB 2.12 outputs the useless version info got from that
string. Now VersionWB does not output such a version, it tries to find the version info in another way. 

NEW: VersionWB now normaly show the longer name got from the ROMTag instead of the one got from the id_string field. (e.g. VersionWB HD0: now outputs 'filesystem' as name instead of 'fs'.) This is more interesting and is the one c:version outputs for the example above. When the LIKECVER argument is specified this is not always the case, then the IDname is used when the library is loaded, and the idstring or $VER-name when it's not. If the argument COMFILE is given the file comment will still be set to the shorter version string (the file comment is limited to 80 characters). 

NEW: Text that VersionWB supports besides the version number in the version field is removed from the output if LIKECVER is specified. 

NEW: Sets the return code to 20 if the file wasn't found or no version information was found and text mode is activated. Hope this fix and the other two were the last incompatibilities with c:version. 

NEW: If the file specified already is resident in the system and the version numbers differ a new field named "Resident info:" will be added to the requester. That field will hold the romtag idstring of the resident module, so you could see if the file is a newer version. 

Note about c:version compatibility when LIKECVER argument is specified: I've found some obvious bugs in the original c:version. Those is fixed in VersionWB's
emulation with the LIKECVER argument, there fore the output is not always similar. I see no reason why to emulate bad functionality. e g. when there is a V infront of the version number the date isn't converted to local date format ... Everything mentioned above of the LIKECVER also apply when the output is redirected, with for example >RAM:version.txt, and the TEXT argument is not specified. The LIKECVER is set automatically it this case, to be compatible with scripts written for the original c:version.

V.2.12 (05.12.1999) PUBLIC UPDATE
BUGFIX: The change in v2.11 with the TEXT argument broke a few scripts, e.g. VersionCopy.dopus distributed with VersionWB. Those scripts should now work again. 

NEW: VersionComp.dopus5 script for Dopus 5.5+ was added to the distribution. It was made by Wolfgang Breisch. 

BUGFIX: Fixed problem with XPK-packed files that could not be unpacked, due to missing resources. 

V.2.11 (27.11.1999) PUBLIC UPDATE
BUGFIX: Still crashed sometimes. Recompiled VersionWB with ECv3.3a instead of ECv3.1i. 

BUGFIX: Doing versionwb c:versionwb LIKECVER did not output the bugfix revision letter (i.e. 'b' as in 2.10b). 

BUGFIX: If LIKECVER is set the output shall always be compatible to Amiga Inc Version. But if TEXT was added to the command line or VERSIONWB_PARAM environmental variable it wasn't. The meaning of the TEXT argument now is that text shall be output in any format, i.e Amiga Inc Version format or VersionWB format. 

NEW: Now uses the four digit year format (27.11.1999 instead of 27.11.99) again in its version string, formely only supported by VersionWB. Now also V44
(OS3.5) of AmigaDos Version supports it. 

V.2.10b (06.11.99) PUBLIC UPDATE
BUGFIX: Recompiled VersionWB with an older version of the compiler. Some weird crashes introduced with v.2.10. disappeared and the executable is now
smaller in size. 

V.2.10a (05.11.99) PUBLIC UPDATE
BUGFIX: Removed Enforcer-hit on 040+ systems. Bug probably also caused trouble, like freezing, on pre 040 systems. 

V.2.10 (31.10.99) PUBLIC UPDATE
NEW: Removes non-printables from the misc-field. 

NEW: New-button added to the requester. Press it to do a new version search. 

BUGFIX: It didn't recognized packed files that cannot be loaded with LoadSeg(). Now it shall recognize all crunch algorithms that xfdmaster.library can handle, including XPK. BUGFIX: There was a space to much between the version number and the date. 

BUGFIX: Only the name and the version number without any letters shall be printed if LIKECVER is set. Should be compatible with standard C:version now. 

BUGFIX: If FULL was set together with LIKECVER the output was not fully compatible with original C:version. 

BUGFIX: If LIKECVER was set in the VERSIONWB_PARAM but the argument TEXT was given then only one line was printed.

V.2.9d (01.04.98) PUBLIC UPDATE
BUGFIX: Fixed problem with truncated long date-strings. Reported by Nuno Maltez. Thanks! 

BUGFIX: The date should be in locale short format if LIKECVER is specified. If not it is not compatible to AmigaDos Version. 

BUGFIX: Could crash if one entered a non-existent filename in the filerequester. It tried to search for it in the shell-path, which is not possible under Workbench.
Bug reported by Thomas Steinbichler. Thanks!

V.2.9c (31.12.97) PUBLIC UPDATE
BUGFIX: The output changed when it was redirected or when LIKECVER was specified. Wrong revision number showed up and misc-info was missing. 

BUGFIX: The revisionnumber was parsed wrongly, so if the REVISION argument was used the result would be wrong. Bugs reported by Andrija Antonijevic. Thanks! 

BUGFIX: VersionWB REQ QUIET should not open an requester. 

V.2.9b (21.12.97) PUBLIC UPDATE
BUGFIX: The file-requester was not working. :-(
Removed a line to much in source ... 

V.2.9a (20.12.97) PUBLIC UPDATE
NEW: VersionWB REQ now shows system info in requester. 

NOTE to users of RTPatch or MCP-ReqtoolsASLPatch: You maybe have found out that you can't check the versionnumber of a device (DH0:) or check the system-info. With ASL-filerequester this is done by leaving the file-field blank and have the device-name typed in the dir-field. It's not possible to leave the file-field blank with Reqtools, It returns the same thing as the press on the cancel-button does. Hm. :-( Bug is reported to the authors so look out for a new version of MCP or RTPatch. Defiencies reported by Mario 'padrino' Cattaneo. Thanks! 

V.2.9 (13.12.97) PUBLIC UPDATE
BUGFIX: Original version does only show the filename and versionnumber by default. VersionWB does so too now to, when the output is redirected, to keep
compatible with scripts which is using the output from Version. If the output is not redirected a requester will pop up ... Then there shouldn't be any problems with scripts. Because the output from C:version and VersionWB is the same.
Bug reported by Manfred Alten. Thanks! 

NEW: Argument LIKECVER added. If specified, VersionWB will only output the filename and versionnumber in text-mode, just like C:version. 
Just to make things clear: ...  

If FULL is specified there will be a full text output with date and misc. 

If TEXT is specified there will be a full text output with fields like Version:, Date: and Misc:. 

If REQ is specified a requester will pop up with the version info. 

Default is REQ when started from CLI or WB. 

You may set your default for CLI-usage in the environmental variable VERSIONWB_PARAM 

e.g. SETENV VERSIONWB_PARAM "LIKECVER" , will make VersionWB behave like A-OS-Version. Then you must specify REQ for buttons in file
managers. Don't forget to do a 'copy ENV:VERSIONWB_PARAM ENVARC:' to save the settings. 

BUGFIX: If you have cybergraphics.library VersionWB could ask for ENV: when the Amiga was booting up. This apply if you have replaced C:version with
VersionWB. 

BUGFIX: Enforcer-hit. Hm. Did a 'used a C-string("") instead of a E-string('')' mistake. Bug reported by Johan Eriksson. Thanks! 

BUGFIX: Multiselection was broken. 

BUGFIX: Devices from filerequester did not work. 

NEW: If you submit an empty filerequester (empty file-field and empty dir-field) System info will show up. Suggested by Mario 'padrino' Cattaneo. 

BUGFIX: Fixed another Enforcer-hit introduced with version 2.8 BUGFIX: Too much miscellaneous info could be showed. Mostly with text-files.
Bug reported by Michael. Thanks! 

BUGFIX: Removed Enforcer hit which happen when one used NOMISC on a resident file. 

V.2.8b (6.12.97) PUBLIC UPDATE
BUGFIX: Devices, like DH0:, were not found.
Bug reported by Brad Rogers. Thanks! 

BUGFIX: Forgot to terminate a string, which could cause VersionWB to append a ':' to the filename. hm :-( 

BUGFIX: Dates could be showed wrong (doubled up), with multi selelction. 

V.2.8a (28.11.97) PUBLIC UPDATE
BUGFIX: VersionWB did an output like AmigaDos version when the output were redirected {>version.txt} (Without fields like Version:, Date:). even though the argument TEXT was specified. Led to problems with The VersionCopy.dopus-script. 
Reported by Rudi E. Thanks! 

NEW: Added tooltype REQPATH. Specify which directory you want the requester to start with. 
Suggested by Thomas Steinbichler.

V.2.8 (23.11.97) PUBLIC UPDATE
NEW: 'VersionWB version 37' shall set the return value. With AmigaDos version it checks the version of Workbench and then returns the right value. (WARN or 0). I did not know about this so it wasn't implemented into VersionWB. This led to problems with some scripts which check that you are using the right Workbench, when you have renamed versionwb to version. (The script could tell you that you doesn't have WB 2.04+, while you sure have it.) 

NEW: VersionWB >ram:outputfile will now not open a requester. It outputs as text, compatible to AmigaDos version. VersionWB was incompatible to some scripts which captured the output. 

BUGFIX: Sometimes there was a space before the file-comment set by VersionWB. Reported by Michael Taylor. Thanks! 

NEW: Now VersionWB tries all the shell-paths if it can't find the file in the current directory. e.g 'VersionWB multiview' should work. 

NEW: New command line argument SETDATE. It sets the file's date to the one found in version info. Suggested by Simon Gilligan. 

NEW: New command line argument NOMISC. If set, VersionWB does not show the miscellaneous info. 

NEW: New command line argument COMMENT. Short for COMFILE + COMDROPNAME + COMERASE + NOMISC, i.e. comments the file with the version number & date. 

NEW: Now most dates is converted to the format set in Locale-prefs. 

BUGFIX: The environmental variables were not read if ENV: wasn't an Device (it is with HappyENV).

V.2.7 (08.07.97) PUBLIC UPDATE
BUGFIX: The '$VER: Version 1.0' in some libraries, e.g. medplayer.library, was showed if the library was resident in memory. The library is now opened again from LIBS: or DEVS:, and then the version number and revision is showed, NOT the text Version 1.0 ...
Bug reported by Johan Eriksson, Sweden. 

BUGFIX: All error messages is now printed to the console if the TEXT argument is given. 

NEW: You can have default parameters which is added to the command line when you run versionwb from CLI. These are set with SetEnv VersionWB_Param "". 
e.g. Setenv VersionWB_Param "TEXT FULL". This will set VersionWB to output to console if started from CLI. Feature suggested by Aaron Digulla. 

NEW: Command line parameter REQ added to make it possible to force VersionWB to show the version info in a requester, even though the default line is "TEXT FULL". This must be used with file managers, e.g. DOpus, if it starts VersionWB in AmigaDOS mode. THIS HAVE TO BE USED ONLY if you have set a default command line parameter list, with Setenv VersionWB_Param "" or equivalent. 

BUGFIX: Forgot to check for a return value of NULL from a LoadSeg(), causing the program to hang when there were an error with LoadSeg(), e.g. the file was corrupted.
Bug reported by Elias Papanikolaou and Andrija Antonijevic. 

NEW: Now it's possible to do "VersionWB anylib.library libs:" and then get the version info of the anylib.library file in the current directory and later the version info of the LIBS:anylib.library file. Whatever device or assign can be used instead of libs:.
Suggested by Nikola Smolenski. 

V.1.16 (18.8.95) PUBLIC RELEASE.
I found that the command couldn't found the version string in l:cdfilesystem so I totally rewrote the search routine. It can now find the version string in l:cdfilesystem and even in Wb1.3 libraries and devices.