| |
| |
WebHub Release Notes for v2.011 and v2.012
This file was last updated 24-February-2003 21:05 California time.
Note: v2.012 is the FINAL build to support Delphi 3 and Delphi 4
WebHub Components
- Support for Borland Delphi 7
FREE WebHub Trial v2.011 is on the Borland Delphi 7 Companion CD and in Borland's
Code Central archive.
- MAILTO macro enhanced v2.011
Added asNumeric functionality to TWebOutput.SendMailto and
corresponding MAILTO macro.
Note all existing calls to SendMailto should be changed from SendMailto('x','')
to SendMailto('x','',false) to keep identical functionality or to
SendMailto('x','',true) to convert to numeric.
- ANCHOR macro with ThtdbWebApp v2.012
The cause of this problem in prior versions was that DoClose was not
called in ThtdbWebApp ! SOLUTION (for anyone with a prior version): comment
out line 215 (// Value.FreeNotification(Self);
) in htdbwebapp.pas
- WebHub Wizard for d3/d4/d5/d6 v2.011
The Wizard is IN for d3 through d6, and still be to built for d7.
- TWebMail attachments v2.011
SendFiles method in webmail.pas fixed to allow errors
regarding file attachments to be reported correctly. (Thanks to Peter Hyde for the fix.)
- dmWebHub.pas in D4 v2.011 and v2.012
Manually edit dmWebHub.pas and change AnsiSameText to IsEqual to compile in Delphi 4.
The function AnsiSameText is not part of Delphi 4; sorry about that.
- pAppRole new global pointer to TtpAppRole v2.012
Added pAppRole global variable in the "tpapplic" unit to enable you to quickly
access the application instance# information. Example Delphi code:
ShowMessage(IntToStr(pAppRole.InitialInstance));
- AsDDHHMMSS fixed in ucinteg.pas v2.012
Fixed bug in AsDDHHMMSS that would result in wrong days as the time passed
- Removed dependencies on websockt unit v2.012
WebSockt is for use with Delphi 2 and Delphi 3, and is being phased out. WebSock.pas,
WebMail.pas, regwhub.pas and regwlite.pas
no longer depend on WebSockt. See http://www.href.com/pub/source for a free copy of websockt.pas.
- Made SendListBox protected and virtual to enable override v2.012
(In wdblstbx.pas) (Thanks to Robert Martin for this fix.)
WebHub Panels
- W-HTML editor compatible with version control systems v2.011
The WebHub HTML editor panel now prompts for confirmation if you
try to edit a readonly file.
- Added global procedure CreateCoreWebHubDataModule v2.011
(Added to dmwhapp.pas and dmwhdbap.pas)
The purpose of this procedure is to establish a standard way of creating the core webhub datamodule while still allowing developers to have a choice of ThtWebApp or ThtDBWebApp or a custom-derived class. The need for standardization relates to: the WebHub wizard, any future standard templates, and the WebHub demos. In particular, it is required because Delphi incorrectly places new units into an existing WebHub DPR file and also incorrectly deletes comments from the DPR file. Delphi seems to locate the first Application.CreateForm command, and then analyzes from that point forward, stopping at a comment or any other Delphi command. By standardizing on the CreateCoreWebHubDataModule procedure, we can trick Delphi into avoiding its normal mistakes and save developers a lot of confusion.
- Sessions panel may be compiled into a WebHub app v2.012
Added {$IFDEF HUB} around 'hubinfo' in the uses clause to make whSessio.pas compile outside the hub.
Note that HREF recommends that only advanced developers use the Sessions panel in a WebHub
application because the Sessions panel in Hub.exe already takes care of automatically deleting
session .var files.
The Hub
- Allow for capacity 2 and 15. v2.011
As of v2.011, the Hub supports capacity 1, 2, 5, 10, 15 and unlimited.
Documentation
- WebHub.hlp updated v2.011
Demos
- localhost/webhub/index.htm v2.012
Updated to have numbered checkpoints; extra steps removed; warnings highlighted.
- HubApp defaults to HubApp (not demos) v2.012
So that new users can test demos in slow sequence, the HubApp is installed
as "HubApp" rather than "Demos". WebApp.exe can then be loaded with "Demos" and/or
other AppIDs.
- dbHTML demo v2.012
Updated: Delphi code (fixed path to database); W-HTML code within chunks.db table
(added some more examples including use of ANCHOR macro).
Back to the top of the release notes