v2.1 [01-12-94] ---------------- **** MISC **** DATADIET.INF #C section: The logic in Data Diet that tracks process transitions for the #C section does not work in multitasking environments- ie. Geneva and MultiTOS. Therefore you can not use the 'DD control by program name' #C DATADIET.INF section when multitasking. Solution: Maintain 2 DATADIET.INF files- one with a #C section and one without. Try using a system bootup manager to help ease configuration chores. Squish v1 NOTE: Accessories squished with Squish v1 will cause a 'memory protection violation' under MTOS. Solutions: a) Turn OFF memory protection, b) UnSquish those files -OR- better yet c) upgrade to Squish II! Data Rescue users: You may want to exclude the path '?:\RESCUE' in Data Diet v2 and Squish II. GDOS/equivalent users: If you encounter problems with printouts, you may have to run DATADIET.PRG _BEFORE_ a "GDOS" program in the AUTO folder- contrary to what the DDv1 manual says. That was a 'cut&paste' oversight by the manual's author... DATADIET.INF #P section: Please read carefully pages 18-20 of the DDv2 manual addendum. Pay close attention to the specification of a compression type. You do _NOT_ enter the ':' in the filename. DDInfoEd will automatically append a ':' then the compression type -entered in the file selector's filename field- to the path. Missing DATADIET.INF: This seems to still crop up in tech support... If the INF is not found, Data Diet will switch to a protected "include" mode- as opposed to an "exclude" mode. Dietized files will be uncompressed, but no files saved or modified will be dietized or re-dietized. DCShower: DCSHOWER.PRG must run after DATADIET.PRG in the AUTO folder to recognize the desktop's 'Show|Print|Cancel' file access. **************** DATADIET.PRG 2.1 **************** Fixed up the WORK directory 'out of room' logic. There were some major mistakes that finally got addressed. When the WORK dir runs out of room, pending WORK files, which are not in-use, will be auto flushed and deleted. Made Fdatime (set date/time stamp) calls compatible with TOS4's GEMDOS. #C logic is completely shutoff if there is no #C INF section. This is an interim solution for multitasking environments. Previously, process transitions were still monitored to allow automatic parameter restoration. Changed the exclusion of the WORK dir to non-recursive. Now you can use the ROOT dir as the WORK dir and store other files on the WORK drive in folders. OLD ie WORK=G:\DATADIET.WRK G:\DATADIET.WRK was excluded G:\DATADIET.WRK\ALADDIN was excluded (nobody did this, right?) NEW ie WORK=G:\DATADIET.WRK G:\DATDIET.WRK is excluded G:\DATADIET.WRK\ALADDIN is not excluded ie WORK=G:\ G:\ - all files in ROOT dir are excluded G:\ALADDIN - Aladdin is not excluded Why use the Root dir? Files in the Root dir are accessed faster than in a folder. The drive may look cluttered while the WORK dir is in-use, but that's the only drawback. As a precaution, you should verify that the Root dir can hold at least 75 files. Fixed the compatibility problem when PowerDOS is installed and Data Diet's 'Find next file: Original size' option is used. ***************** DATADIET.APP v2.1 ***************** Added code to make the 'Flush & Del WORK' feature work in a multitasking environment. Changes were made to be compatible with TOS4's revised GEMDOS Fopen call. Per "guidelines", wildcards were never allowed in a filename so now TOS4 enforces that rule. To load a file, I used to- Fopen(FILENAME.A??), Fread, Fclose Code has been added to make this work on any TOS version- Find FILENAME.A??, Fopen(found filename), Fread, Fclose [NOTE: Also applies to DD_Tools.] You can run DD_TOOLS.APP and DDINFOED.APP squished with either Squish II or Squish v1. PATCH_3.PRG on the Squish II disk is no longer needed after squishing these files with Squish II. ***************** DD_TOOLS.APP v2.1 ***************** Made Fdatime (set date/time stamp) calls compatible with TOS4's GEMDOS. As mentioned above, changes were made to be compatible with TOS4's revised GEMDOS Fopen call. Enables you to dietize files on a 'Root WORK' drive starting at the Root level. NOTEs: * Files in the Root dir are still excluded since the WORK dir is excluded. * Storing files in the WORK dir is not recommended. Instead, put them in a folder inside the WORK dir. In v2.0 an undocumented "import old configuration" feature was added, mainly for beta testers: run the old/current file version (DD_TOOLS as APP or ACC), hold down the Control key when 'Save'ing and choose the new version for the save destination. Fixes: 1) You could not update v1 files to v2 by dietizing with _BOTH_ these filters enabled- 'No comp. type update' and 'Comp. version update'. 2) I added logic to v1.0b to check for a 'Normalize' error. Tools automatically re-dietized [w/Type B] a file if the disk did not have enough room for the uncompressed file version. The same logic was used for a 'Dietize' error. During which, the WORK drive doesn't have enough room for the uncompressed file so the handler aborted with a disk full error. Tools was trying to use the above logic to fit the file on the disk. Big mistake! Obviously the WORK drive was still full and therefore the handler errored out again. The solution was to specifically check for each case- Normalize & Dietize error. During a 'Dietize' error, I changed Tools to write the uncompressed file back where it belonged. 3) Redraws after the file selector is used on TOS versions prior to 1.4 (1.04). New: 1) A 'Clear' button is added in the Operation Filters dialog. This clears the settings of all filters in the current (1 of 4) filter set being used. 2) A 30 character editable title for each filter set. ***************** DDINFOED.APP v1.1 ***************** Optimized GUI code to reduce codesize. Fixes: Redraws after the file selector is used on TOS versions prior to 1.4 (1.04).