2020r1.1

Released on September 28, 2020.

This release has important improvements to Xojo 2020r1.

Bug fixes (44 cases)

Case

Area

Description

61797

WebTimers created in code work again.

61613

Crashes & Assertions » Failed Assertion

Windows: Loading URLs before the WebKit based HTMLViewer was initialized potentially caused failed assertions in REALstring.cpp because code was not being safely executed in the main UI thread, but now it is.

61272

Framework » All

ServerSocket: remove unused SocketRequested event.

61384

Framework » All

Fixed an assertion in REALstring.cpp that could occur when converting a string from one encoding to another depending on what active thread is doing the conversion.

61636

Framework » All

Boolean values are now returned correctly when Iterating rows in a RowSet.

61805

Framework » All

Double.IsNotANumber was incorrectly implemented as Double.IsInfinite and vice versa, this is now fixed.

61370

Framework » Web

WebSegmentedControl.Pressed event now fires on every click when SelectionStyle = None.

61395

Framework » Web

WebToolbar buttons and titles which contain elements that are html encoded now render properly at runtime.

61430

Framework » Web

WebCheckbox caption is now correctly encoded.

61476

Framework » Web

Fixed a potential NilObjectException when calling WebDialog.Close.

61486

Framework » Web

WebPage.Title is now property encoded.

61489

Framework » Web

WebViews whose display type is set to Flex now obey the value of their Visible property.

61496

Framework » Web

WebButton indicator colors can be set back to Default at runtime again.

61497

Framework » Web

UpdateBrowser sends control changes to the browser immediately again.

61509

Framework » Web

WebTextField.LostFocus events now fire if the control is last in the tab order.

61531

Framework » Web

Style values which are empty or end with a semicolon no longer cause javascript errors at runtime.

61565

Framework » Web

WebTextField (and subclasses thereof) properly encode text again.

61576

Framework » Web

WebSDKControl.BrowserCompatibility no longer breaks into a blank debugger window if the requested item doesn't exist.

61583

Framework » Web

WebToolbarItems of type Menu no longer have two icons and they are now the correct size.

61589

Framework » Web

Web apps no longer completely lock up in TCPSocket.Flush when the CPU is otherwise starved by a tight loop.

61608

Framework » Web

Setting a WebSegmentedButton's title to an empty string works now.

61622

Framework » Web

WebListbox.LastAddedRowIndex is now correct after calling AddRowAt.

61624

Framework » Web

WebListbox.CellValueAt now pulls from the correct row after rows have been inserted before the selected row.

61625

Framework » Web

Weblistbox rows are now added in the correct order.

61629

Framework » Web

Rows inserted with WebListbox.AddRowAt are now added at the correct location in the backing data.

61632

Framework » Web

WebMenuItems.Icons are now WebPictures instead of just plain Pictures.

61654

Framework » Web

Fixed a bug which caused WebListbox.SelectedRowIndex to be relative to the most recently loaded block of data instead of the entire list of items.

61662

Framework » Web

WebSDK controls no longer send the same JavaScript and CSS files to the same browser multiple times.

61668

Framework » Web

WebSegmentedButton titles can now be set in code.

61685

Framework » Web

WebDialog.Dismissed is no longer when it was never shown.

61688

Framework » Web

WebListbox headers set at runtime are no longer invisible.

61704

Framework » Web

Calling MessageBox in a Web project with an empty string no longer raises an OutOfBoundsException.

61728

Framework » Web

Setting the value of a WebTextField at runtime no longer HTML-encodes the value.

61732

Framework » Web

The WebComboBox value when the control is first created is correct again.

61746

Framework » Web

Having HandleURL implemented, and not returning True or setting the status to something other than 404 when the URL passed in is an empty string no longer raises an OutOfBoundsException in App.UnhandledException.

61784

Framework » Web

WebTextFields of type Telephone now show the correct keyboard on iOS.

61786

Framework » Web

WebComboBox.RemoveAllRows works now.

61794

Framework » Web

WebTimer.Enabled now works for WebTimers whose Location is set to Server.

61804

Framework » Windows

URLConnection: populated request error exception's ErrorNumber with a more meaningful value.

61752

Framework » macOS

HTMLViewer: floating-point values received by a Javascript request (via executeInXojo) no longer truncates the fractional part.

61796

IDE » Language Reference

Linux IDE: using the Local Language Reference no longer strictly requires libwebkitgtk-3 to be installed.

61618

IDE » Layout Editor

The default event for WebDatePicker is now set to ValueChanged.

61407

IDE » Updater

Prerelease update dialog now takes users to the correct place on the new forum.

61484

IDE » Web 2.0 Project Converter

When converting binary or xml web 1.0 projects, the initial value of PopupMenus are now retained.

Changes (6 cases)

Case

Area

Description

61463

Framework » Web

WebSearchField.ValueChanged now fires whenever the text changes. The new Pressed event fires when the user presses the Enter/Return key or clicks the search or cancel buttons.

61478

Framework » Web

WebSessionContexts now throw an UnsupportedOperationException if you try to create one within another Session.

61491

Framework » Web

WebToolbarItems with icons now disable the icons when the item itself is disabled.

61584

Framework » Web

The deprecated WebFile.OnDownloaded delegate has been removed.

61778

Framework » Web

The UpdateBrowser methods on WebSDKControl and WebSDKUIControl have been deprecated and replaced with UpdateControl(sendImmediately as Boolean = False) to cut down on unnecessary traffic when multiple things change in an SDK control.

61473

Framework » macOS

Added a patch in System.Version so macOS 10.16 will be reported as 11.0 even on apps running under rosetta 2.

New items (6 cases)

Case

Area

Description

60101

Framework » Web

WebLabel now has a Pressed event.

61502

Framework » Web

WebToolbarItem now has a Visible property.

61503

Framework » Web

WebToolbar now has an ItemWithTag method to make it easier to modify its contents at runtime.

61573

Framework » Web

WebSession now has ClientWidth and ClientHeight properties which are populated before the session Opening event fires so better decisions can be made about which layouts to use. Both of these values are updates when the WebSession.Resized and WebSession.OrientationChanged events fire.

61644

Framework » Web

Added WebListBoxRowData.Tag property and updated RowTagAt to allow retrieving this data at runtime.

61646

Framework » Web

WebImageViewer and WebCanvas now have a Pressed event which pass the X and Y coordinate of where the user clicked or touched the control.

Docs and examples (8 cases)

Case

Area

Description

61516

Examples

Updated SQLiteExample to make better use of API 2.0.

61588

Examples

Updated WebSimpleSendEmail example for Web 2.0.

61312

Language Reference » Documentation

The DeleteEntireFolder example in the FolderItem.Remove page of the Language Reference has been updated to API 2.0.

61447

Language Reference » Documentation

The example code for WebSessionContext now uses an iterator instead.

61459

Language Reference » Documentation

The WebFileUploader.UploadError event now is properly documented to reflect that a RuntimeException is passed to it rather than a status code and message.

61564

Language Reference » Documentation

Updated code in WebApplication.HandleURL Notes to use Web 2.0 commands.

61591

Language Reference » Documentation

WebListBoxRowData has been documented.

61708

Language Reference » Documentation

ListBox.AllColumns and ListBox.AllRows are now documented both on the ListBox page and on various methods where they can be used.