2020r2.1

Released on December 14, 2020.

This release has important improvements to Xojo 2020r2.

Bug fixes (42)

Case

Area

Description

62783

Build

  • If main app tries to start a worker without the required Helpers folder (that contains the workers) then it sends a message to the Error event instead of causing a NilObjectException.

  • At end of build process, the entire build folder is removed if any worker had a build error.

  • When Show Build Folder is enabled, only the primary build folder is shown.

62805

Build

Universal builds that include separate x86_64 and arm64 plugins parts are now correctly merged/structured to be able to work on older macOS versions.

62910

Build

Building a Universal app without Builds Folder enabled now correctly replaces the old App. Building a Universal console app now correctly merges the plugin parts (if the plugin included a separate x86-64 and arm64 part).

62940

Build

Removed the macOS photos entitlement from iOS projects.

63060

Compiler

Resizing an Array of Structures no longer crashes for macOS ARM builds.

62824

Crashes & Assertions » Failed Assertion

Linux: Color.SelectedFromDialog no longer raises a failed assertion on if the prompt supplied is an empty string.

62847

Crashes & Assertions » IDE Unhandled Exception

Fixed a NilObjectException that could occur when attempting to identify build errors in the Worker Console project.

62895

Crashes & Assertions » IDE Unhandled Exception

Display a rendering error if the MobileApplication.DefaultiPhoneLayout or DefaultiPadLayout is blank (instead of causing an IDE NilObjectException).

63057

Crashes & Assertions » IDE Unhandled Exception

Changing the super of a control to a control type that is not compatible with the current project type no longer crashes the IDE.

62807

Database Plugins » ODBC

ODBCDatabase no longer fails to connect (with Actual Technologies ODBC drivers for example).

59705

Framework » All

Ptr method offsets are now capable of addressing values larger than Int32 for 64-bit builds, instead of crashing.

62889

Framework » All

Fixed an iOS Introspection issue to allow changing a property value, invoking a Constructor with parameters and invoking a method with parameters.

62894

Framework » All

ParseJSON no longer raises a Failed Assertion when passed an empty string.

62960

Framework » All

Fixed TextHeight / TextAscent returning wrong values in PDFGraphics when a new Font is set.

62973

Framework » All

ReplaceB/String.ReplaceBytes no longer raises failed assertion when the replacement string is an empty string.

62881

Framework » Console

Now the DateTimePicker control uses the standard border width under Windows.

62756

Framework » Desktop

DateTimePicker control Height changed to 22 points on Windows.

62825

Framework » Desktop

Now it is possible to set a new DateTime object to the SelectedDate property on macOS; no matter the Regional settings the user may be using.

62826

Framework » Desktop

Now the DateTimePicker control honors the Top value when displayed in Text mode on macOS

62880

Framework » Desktop

Now the DateSelected property returns a valid/updated DateTime object on Windows.

62885

Framework » Desktop

TabPanel.RemovePanelAt no longer throws an OutOfBoundsException if the Tab to be removed actually exists.

62928

Framework » Desktop

Do not call Worker Error event when Worker Helper quits normally.

62937

Framework » Desktop

Fixed a bug in PDF where Rectangles/Ovals wheren't drawn if origin at 0,0 and/or size equals the size of the page.

62849

Framework » Linux

Listbox border is no longer cut-off on the right/bottom edges.

62897

Framework » Linux

No longer leaks objects/memory when Gtk related objects (like Controls, Windows, MenuItems, etc.) are destructed with Normalized Control Sizes enabled.

61772

Framework » Web

WebDatePicker week start day is now Sunday for the en-US locale.

62996

Framework » Web

Fixed an issue which caused debugged web apps to stop in the debugger multiple times during startup.

63022

Framework » Web

WebListbox.RemoveRowAt now throws an OutOfBoundsException if the row parameter is after the last row in the list.

62671

Framework » iOS » Mobile

Adding non-UI controls to iOS project no longer crashes on run.

62851

Framework » iOS » Mobile

Global.Speak is now System.Speak.

62875

Framework » iOS » Mobile

UDPSocket usage no longer causes app to terminate after unlocking phone.

62896

Framework » iOS » Mobile

Runtime module methods (like ObjectCount, MemoryUsed, etc.) are now accessible for iOS.

62908

Framework » iOS » Mobile

Graphics.Font now returns a Font object instead of iOSFont.

62936

Framework » iOS » Mobile

Graphics FontSize, Bold and Italic have been removed. Please use the equivalent functionality found in the Font class instead.

63051

Framework » iOS » Mobile

Fixed an issue where MobileScreen.Closing was firing incorrectly for non-modal views.

62841

Framework » macOS

Brush/gradient offsets are now control relative.

62947

IDE » Auto Complete

Fix a regression which caused autocomplete to omit project items after IsA.

62948

IDE » Auto Complete

Fixed an autocomplete regression which caused the code editor to only suggest event definition names on lines that began with RaiseEvent regardless of where you were on the line.

62822

IDE » Graphics

Enumeration and Attribute editor add/remove buttons now transition properly between OS light and dark modes.

62903

IDE » Library

WebSDK controls now use the correct icon in the library.

62878

IDE » Miscellaneous

macOS Universal builds no longer fails when the App name is a constant.

62678

RBScript

XojoScript no longer crashes due to incorrectly generating AVX instruction code for CPUs that don 't support it.

Changes (4)

Case

Area

Description

63001

Framework » Desktop

Fixed a bug were PDFDocument rendered lines with half the pen size in the x or y coordinates when those values were set to zero, this is because half of the line is drawn outside the page bounds.

62901

Framework » Windows

Fix: Now the SearchField control selects all the text when it gets the focus (on Windows). Fix: The control height is set to the by default 22 points.

62605

IDE » Debugger

A link to view all Controls embedded on a MobileScreen is now available when debugging the MobileScreen object.

62620

IDE » Debugger

Global variables list now supports viewing all MobileScreens when debugging iOS projects.

New items (3)

Case

Area

Description

62763

IDE » Build Automation

CopyFilesSteps can now be specified by architecture.

62773

IDE » Build Automation

Build steps now have an Architecture option which allows you to specify if they should run for Intel or ARM builds. Make it possible to intercept the build process with an IDE script with the name XojoBuildPressed.xojo_script.

62919

IDE » Miscellaneous

Windows IDE: error messages for plugins that fail to load now contain the actual DLL file that failed. This can be seen in the debug log or in the Loaded Plugins section in the About Box.

Docs and examples (4)

Case

Area

Description

62871

Documentation » Miscellaneous

Added missing Render method from the XojoVisualControl documentation section of the WebSDK.

62791

Examples

Updated GradientExample to use Graphics.Brush and ShadowBrush properties along with ShadowBrush, LinearGradientBrush and RadialGradientBrush classes.

62811

Examples

Fixed compile errors in iOS ShortcutExample, iOS Tabs, Notification Categories and Simple Notification example projects.

62846

Language Reference » Documentation

DataSourceNames and DriverNames methods have been deprecated. DataSources and Drivers methods have been added.