|
<< Click to Display Table of Contents >> Navigation: Version History > 14.0.13 |
New option in Stand Alone Server (GUI application): There is a new option under “Browser” menu to save current settings to the .iwb config file.
New properties of TIWServerController class: SearchEngineOptions and JavaScriptOptions.
in JavaScriptOptions:
UseUncompressedFiles: If true, IntraWeb will use uncompressed JavaScript files. If false, compressed JavaScript files will be used. (Default = False). Please note that now the compressed files were concatenated for better performance, and only 2 main files (required by every IWForm) are used: IWBase.js and IWLib.js. This modification alone greatly improves the session startup time, because the browser now requests only 2 JavaScript files instead of 7.
IWBase.js = IWBrowser.js + IWPreScript.js + jQuery.js + jQueryMaskedInput.js.
IWLib.js = IWCommon.js + IWCL.js + IWAjax.js.
Debug: Replaces the old DebugJavaScript property. When true, some debug messages are sent to the browser console window.
Many IW controls had their HTML rendering methods refactored and fixed to comply with HTML 5 specification. A blank IWForm is now 100% compatible with W3C HTML5 spec and may be validated using W3C Validator . Most of IW controls comply 100% with HTML 5, but still work as expected when using HTML 4.
Removed many tags when rendering IWForm in HTML 5. Removed tags do not comply with W3C HTML5 specification.
New: When calling WebApplication.NewWindow() you can include the option “woDetectBlock”. When present, IW will detect if the popup window was blocked, and show an alert message to the user.
New: The IntraWeb main thread is named “IW Main Thread”. Inside Delphi IDE, using View -> Debug Windows -> Threads, you can distinguish the main thread of IW application.
New: The unit IWRtlFix was added to every new IntraWeb project created using the application Wizard.
New: IWUserSession has a new property WebApplication, and also a new overloaded constructor. This allows you to access the WebApplication instance in the same way you do inside IWForms. Note: You MUST test WebApplication for nil values before using it. There is no guarantee that IWUserSession.WebApplication will return a non nil value.
Changed: The code to create a new TIWUserSession instance has changed. Note that there is a second parameter where the TIWApplication instance is passed to the constructor. The old form (without the second parameter) still works as expected.
procedure TIWServerController.IWServerControllerBaseNewSession(
ASession: TIWApplication);
begin
ASession.Data := TIWUserSession.Create(nil, ASession);
end;
Breaking change: If ServerController.DocType or IWForm.DocType are both not specified, IntraWeb will render using “DOCTYPE HTML>” (HTML 5). If you want the IW application to behave like HTML 4, you must specify the correct doc type for your application. You may have forms with different DocType as well. IWForm’s DocType property has precedence over ServerController.DocType.
Note: The recommended DocType value for HTML 4 is: DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”>
Bug fix: Async rendering of IWComboBox when NonEditableAsLabel = True was not working as expected. Paint of IWComboBox in design time when ItemsHaveValues = True was not working as expected.
Bug fix: WebApplication.Terminate() was not working and could raise an exception “Uninitialized reply”.
Bug fix: Starting a new session with a URL containing /$/Start/?Param1=Value1 was not working
Bug fix: Error when setting ServerController.URLBase
Bug fix: Fixed IsMobile property for TOperaMobile, TFirefoxMobile, TSafariMobile and TAndroid classes
Bug fix: TContentHandlers could raise an exception with message “Operation not allowed on sorted list”.
Bug fix: ServerController.CacheDir didn’t accept empty value during design time
Bug fix: When a new Intraweb application is created using the wizard and the option “Pool data connections” was selected, the event OnNewSession had the wrong method signature.
Bug fix: Under some circumstances the SA application (GUI) could freeze. This was happening because an Indy thread was being blocked by a SendMessage() call in the main thread.
Bug fix: IWMenu didn’t work as expected in Opera browsers.