WebHub Release Notes for v1.495 through v1.496
This file was last updated 11June 1998, 19:27 PST
Improvements by Category
In the Hub + Runners
- Help|Registration... Cancel v1.495
This no longer invalidates a good code.
- Options, save settings v1.496
Works. (Did not in v1.495)
In the Built-In Macros
- Jump Macro fix v1.495+
%=Jump|AdvertsCCEntry,#online|Online Advertising=% used to generate:
- Select statement encoding v1.495+
Spaces inside the VALUE portion of a SELECT option sent through the INPUTSELECT
macro or using Controlled HTML are changed to plus signs. Those plusses are automatically
turned back into spaces by the WebHub runner. i.e. this release adds support
for values with spaces in them.
- New ANCHOR Macro Very Hot. v1.495
The idea with this one is that you can name a spot in your html document,
and subsequently fill something into that spot. Ideas for use -
This will be demonstrated in the BRWS demo asap.
Anchor Definition Syntax:
Add To Anchor Syntax:
%=ANCHOR|AnchorName[,AnchorCMD]|text to add to the anchor=%
AnchorCMD can be:
- unique: add the new text to the anchor if it's not already part of it.
- replace: replace the entire anchor with then new text
- remove: remove the new text from the anchor if it's already part of it.
There are two new corresponding event macros, TWebApp.OnAnchor and
- TWhBrowserInfo additional properties v1.495
//combinations of user agent elements for comparison from webhub html
property ShortName: string read GetShortName write SetNoString; //model + major version ... MSIE3 MOZILLA4
property ShortName2: string read GetShortName2 write SetNoString; //model + major +'.'+ minor version ... MOZILLA4.01
property MozLevel: string read GetMozLevel write SetNoString; //mozmajor + '.'+ mozminor
- CgiHttp macro v1.495
Fixed so that it returns HTTPS when running with a secure server. See two
new properties on TWebServer: HTTP and HTTPS. If you are running on ports other
than 80 and 443 for regular and secure processing, you need to customize these
- macros deleted v1.495
Autoload, BodyLoad and NoGo were deleted.
- Changes to INPUT macros v1.496
- INPUTTEXT : maxsize fixed to maxlength.
- INPUTRESET : new macro - creates INPUT TYPE=RESET button tag.
- INPUTSELECT, INPUTSELECTRADIO, INPUTSELECTCHECKED - documented in webhub.hlp! (not new)
- INPUTFILE : extended to have a tag for the accept-type
In the VCL Components
- methods deleted v1.495
The brand method, which had nothing to do with branding, was deleted.
- TWebServer, better CgiHttp support v1.495
Added 2 properties, HTTP:string; and HTTPS:string;. These default to
80 and 443 respectively and can be changed or turned into lists of comma (,) seperated
If the incoming port is in either string, the CGIHTTP value will be http or
https. If the incoming port is not in there then CGIHTTP will be
LeftOf('/',CGIRequestProtocol), e.g. most likely HTTP, and the port number
will be appended to the CGIHTTP string.
- TWebCommandLine.SyncCall v1.495
That property is used internally by tWebCommandline, and is now published and READ-only.
If true, the call is run by the main-thread -- and D/COM is possible.
If false, the call is not run by the main-thread and D/COM is not possible.
- OnGetRAndom v1.495
In a high security application you sometimes will want to insure that the
user can only go to pages that you link to from the last page sent to the
user. To make this easy, the OnGetRandom event will fire for every random
link number generated allowing you to track and/or replace the number. For
example, you might decide that you want to only generate 6+ digit random
numbers, drop the random portion on links in certain circumstances, or that
you want to track all random numbers generated by a page in a literal for
later comparison with the WebServer.QueryString..
Note1: EnableRandom must be true (the default) for random number on
randomized macros to be produced
Note2: If a SessionCookie is present (HaveSessionCookie=true) the random
number will start after a ':' instead of the usual ':'+session#+'.'+randomnumber format.
- new function TWebApp.Expand(const Value:String):String; v1.495
Use this instead of 'CompareTo' (which will be phased out in later versions).
Expand fully expands all macros in the input string and lets you tap into
the WebHub parser from Pascal.
- New TWebOutput.OnShow event v1.495
Called when the output document is ready. Use this for integration with
THtmlViewer for HTML rendering without the use of a web browser. See
the aserver.dpr project; it already has this code written.
- new Properties for use by OEM application servers v1.495
On the TWebApp: HubLicensee, HubSerialNo, HubCapacity.
WebHub VCL User Manual : The end of the WebHub Starter Kit now describes the new
forms and data modules available: whMain, dmWebhub and dmWHApp. We recommend
those to anyone using a custom application object.
WebHub Power HTML Manual : ready!
Fixed: Adv (bad link to Amazon ISBN #), Scan (missing file), shop (:ED tag) v1.496
Enhanced: Form (new macros, new params demo) v1.496
Pending still: fish store, brws demos
Installation error: edit your winnt\href.ini file, [webhub] section,
and change ht\webhub.txt to ht\htexe\webhub.txt so that the Insert Markup feature
will work on the HTML panel. Fixed - but not rebuilt.
Problem with whShared.pas, at least as used from the wizard.
Free t-shirt or $20 store credit to anyone who reports a previously-unknown bug.
HREF Tools Corp., 300 B Street, Suite 215, Santa Rosa, CA 95401 USA