As of WebHub v2.053 (1-Mar-2006), Delphi 6 users must use patches from Borland, namely
General Update 2 and Delphi 6 Runtime Library Update 2. After applying these patches, the version of your delphi32.exe should be 18.104.22.168.
Until now, the TPack Restorer components used INI file format via TIniFileLink. Entries were stored in tpack.ini, href.ini, and elsewhere.
Now, the TPack Restorer components hook into TZaphodsMap, and administrators can configure the locations of the files used to store settings. When you build your own WebHub application, you will be able to control the default behavior, and administrators will be able to further customize as needed.
The default storage location, equivalent to windows\tpack.ini, is d:\AppsData\ZaphodsMap\AppRestorer.xml
This setting is configurable when you first install.
To change that setting manually, do this:
Using Control Panel > System, Advanced, Environment Variables, create an environment variable named ZaphodsMap and set it equal to a file that you are likely to back up, e.g. d:\AppsData\ZaphodsMap\ZaphodsCentralKeybox.xml
Run the TPack INI to XML conversion utility (being tested in-house 14-Nov-2005). Meanwhile, you can download
AppRestorer.xml, save that to the location pointed to by
your AppRestorer key, and modify it so that it contains your favorite form classes and default values, i.e. from your windows\tpack.ini file.
In whMain.pas, the Key Group Name is overridden from the default of AppRestorer to WebHub, so that people can organize their WebHub panel settings separately from other applications built with TPack.
If you do NOT use whMain.pas, and you use the restorer, you should set ZaphodsKeyGroupName to 'WebHub' on your restorer component.
TtpStatus improved v2.051
Problem: TtpStatus had behaved differently on first creation in IDE and on form load. This difference appeared as incorrectly set PanelStatusIndex (-1) for newly created projects.
Now: TtpStatus has been modified to behave the same on first creation and on load. Now, right after component is placed on form, a properly configured status panel appears. For existing forms, PanelStatusIndex property should be set to 0.
WebHub file editor replaced v2.052
The editor used on the Html > Files panel has been replaced with one with the following features:
compiles in Delphi 06/07/09/09IL/10/10IL/K03
supports multi-line syntax highlighting rules
supports UTF8 content (pending)
Comma added to Date in HTTP prologue v2.051
In cgiwin.res, the official WebHub date format was changed. We now have a comma after the 3 letter Day of Week abbreviation.
Indy requires the comma, and google.com uses the comma.
This change impacts all uses of TWebServer.WebTime
You can override the format yourself by setting TWebServer.TimeFormat (a public property).
Thanks to Andreas Orth for bringing this detail to our attention!
TWebListMaster (webListM.pas) is no longer shipping with WebHub v2.051
Source is available free at no charge; request from customer service.
Changed TWebIniList to TWebInitializedList for almost all cases. v2.051
WebIni is no longer a published property on any components. Delete all WebIni properties from your DFM files.
On TWebAction, the published WebIni property has been replaced with public WebActionIni.
On TWebInfo, the published WebIni property has been replaced with public WebMachineIni.
Once the transition to ZaphodsMap is complete, these remaining public properties will be removed as well.
whsample_BrowserInformation.pas is no longer shipping with WebHub v2.051
The new public method, WhTekoFilename, on the TWebApp.Files list returns the fully qualified filename, including full path.
Also, if no file extension is provided, the default is now .whteko instead of .HTM
These features were partially implemented in v2.049; fully tested/working in v2.053.
WHTEKO DTD files enhanced 10-Nov-2005
Slight changes were made to the WHTEKO DTD files, to enable them to accept HTML markup inside the right-of-equals portion of whtranslations.
Important: if you are using Macromedia Dreamweaver MX 2004 or Dreamweaver 8 as your editor, and you want to use the DOCTYPE below so that you can use Dreamweaver's validation feature, make sure the DOCTYPE line is the FIRST line in the file. Do NOT precede the DOCTYPE with an XML tag, because that will cause Dreamweaver to distort the file's contents.
Dreamweaver's validation feature is available through its standard menu: File > Check Page > Validate as XML. You do not need the WebHub plug-in to use this feature.
Here are the strict and transitional DOCTYPES to copy into your own .whteko files:
TWebAction properties simplified v2.052
WebInfo, WebServer and WebSession properties removed. These were only pointers back to the WebApp's copy of the same properties, and could never be set in the Object Inspector.
WebOutput is now a public readonly property.
TWebAction descends directly from TWebCommand instead of from TWebConfigLink.
In your code, if you were using one of these properties, add WebApp. before the property name. Example: change WebServer to WebApp.WebServer.
HubCapacity property moved from TWebApp to TWebCommandLine v2.052
DYNCHUNK fix in htWebApp.pas v2.052
The problem was that parameters were not passed through.
Solution: remove local variable 'a3' from ProcessDynChunkCommand
Users of earlier versions may make this same change and recompile the WebHub packages.
Hub no longer grants automatic 1-module license v2.052
We are changing the process for creating the WebHub evaluation version so that it no longer relies on a separate set
of DCU files. In the past, the registered version granted a 1-module unlock code. In the future, users will be able to
generate a 30-day unlock code for evaluation use, via a web application on href.com.
Unlimited unlock respected (no log file) v2.053
Previous versions (e.g. v2.047) generated a log file with error code #11 when the hub capacity was
unlimited (21) and more instances were attached (e.g. 80). Now the log entry is not created.
WebHub Project Wizard
WebHub Wizards Updated v2.052
The WebHub wizards have been completely rearchitected and now work with Delphi 2005 for win32.
The new wizard filenames are: WebHubWizardDT_D06.bpl, WebHubWizardDT_D07.bpl, WebHubWizardDT_D09.bpl. The single package contains both the "File > New > Other > Projects > WebHub" wizard, and the "Project > WebHub" wizard.
To enable programmers to use older versions of the components and v2.052+ in parallel, the WebHub Components installer does NOT ERASE the
registry entries that control the earlier versions. In case you are ready to stop using older versions, you may erase the following obsolete registry information:
HKCU "Software\HREF Tools\WebHub\Project Wizard" (delete the entire key)
HKCU "Software\Borland\Delphi\7.0\Known Packages\(path)whWizRunWebAppD07.bpl (slight variation depending on version of Delphi)