- Upgraded ClearScript to version 7.1.1
- Upgraded WebView2 to 1.0.774.44
- This release of WebView2 supports virtual host names, which allows you to use a file system
folder to be the root of a virtual host name, allowing for referencing resources in that folder
and utilizing public distributions in source (like jQuery CDN script src).
- The virtual host name is automatically generated using the pattern: https://{handle}.invalid,
where {handle} is the integer representation of the handle created for the HTML Window, which is
passed into the callback script function.
- Updated sp.HTMLWindow HTML parameter, if the value is the path to a file, it creates the virtual
host name mapped to the folder of the file, and loads the file as the starting page. If a file
is passed in, IncludeBootstrapJQuery is ignored.
- Updated sp.HTMLWindow, adding a new parameter to the end called NoFrame (default false). If true,
the HTML Window will be created without a title bar or window border
- Changed how installer handles WebView2
- If NOT installed, behaves like it does today, waiting until install is complete
- If already installed, kicks off the upgrade check into a new process and finishes S+ setup
- Added Ookii.Dialogs.WinForms, exposed to script engine as ookii
- See repo:
https://github.com/ookii-dialogs/ookii-dialogs-winforms - I will be using some of these dialogs, so figured I would expose the library to the engine
- Simple example using folder selection dialog:
var sv = new ookii.Ookii.Dialogs.WinForms.VistaFolderBrowserDialog();
var ret = sv.ShowDialog();
if(ret === forms.System.Windows.Forms.DialogResult.OK) {
sp.MessageBox(sv.SelectedPath, "Selected Path");
}
- Updated Plug-Ins Add Folder button to use the Ookii VistaFolderBrowserDialog instead of the .NET
Framework folder browser
- Updated language entries:
ScriptHelp.ActionMethod.HTMLWindow.Parameters.HTML.Description
ScriptHelp.ActionMethod.HTMLWindow.Parameters.IncludeBootstrapJQuery.Description
- Added language entries:
ScriptHelp.ActionMethod.PopupList.Name
ScriptHelp.ActionMethod.PopupList.Description
ScriptHelp.ActionMethod.PopupList.Returns
ScriptHelp.ActionMethod.PopupList.Parameters.Items.Name
ScriptHelp.ActionMethod.PopupList.Parameters.Items.Description
ScriptHelp.ActionMethod.PopupList.Parameters.Items.Type
ScriptHelp.ActionMethod.PopupList.Parameters.Location.Name
ScriptHelp.ActionMethod.PopupList.Parameters.Location.Description
ScriptHelp.ActionMethod.PopupList.Parameters.Location.Type
ScriptHelp.ActionMethod.PopupList.Parameters.Font.Name
ScriptHelp.ActionMethod.PopupList.Parameters.Font.Description
ScriptHelp.ActionMethod.PopupList.Parameters.Font.Type
ScriptHelp.ActionMethod.PopupList.Example.Full