List of new features and customer reported issues fixed in RAD Studio 10.2 Tokyo Release 1

By: Calvin Tang

Abstract: List of new features and customer reported issues fixed in RAD Studio 10.2 Tokyo Release 1

10.2 Tokyo - Release 1 is an update of Delphi 10.2 Tokyo, C++Builder 10.2 Tokyo and RAD Studio 10.2 Tokyo available for active Update Subscription customers. It requires a full uninstall and reinstall.

10.2 Tokyo - Release 1 includes the following new features, enhancements, and bug fixes:

  • Delphi Linux server performance enhancements for both RAD Server and DataSnap.
  • Delphi and C++ compiler and linker updates that resolve issues loading packages, especially when debugging, on Windows 10 Creators Update.
  • Support for latest versions of iOS and Xcode (iOS 10.3 and XCode 8.3.2) when targeting the iOS App Store.
  • FireDAC support for MSSQL 2012, 2014, 2016, and ODBC Driver 13.
  • Significant C++ linker improvements pertaining to linking larger projects.
  • Fixes and enhancements to the Runtime Library and VCL.
  • Additional Android enhancements around control rendering and performance, and fixes for TEdit issues with Android N.
  • FireDAC Support for InterBase 2017 Exclusive Isolation Level and Transaction Wait Time.
  • Changes in DataSize for fields of type ftInteger and ftLongWord to avoid using the platform-dependent LongInt and LongWord type (the change affects only 64-bit Linux and 64-bit iOs platforms), and related changes for SetFieldData and GetFieldData
  • Fixes for over 150 issues reported by customers in Quality Portal. See list below.

Release 1 also includes the enhancements from the Tokyo Toolchain Hotfix (released on May 3rd, 2017) and the Android Compatibility Patch (released on June 22nd, 2017).

Release 1 downloads can be accessed through our registered user portal.

QC

Summary

Component/s

RSP-13685

Access violation on java2op.exe

Command Line Tools

RSP-15961

[debugger|Bcc32c] unexpected source stepping when Clang32 compiler used

Compiler, Compiler\C++, Compiler\C++\CLANG, Debugger

RSP-17722

Resource string assigned to a string var seems corrupted in a C++ x64 application

Compiler, Compiler\Delphi

RSP-18305

Win32 with optimization - Wrong code generated to set the value of a local variable (updates EAX that is volatile)

Compiler, Compiler\Delphi

RSP-17714

[C++\Delphi Interop] FMX.PushNotification.Android.pas missing {$HPPEMIT LINKUNIT}

Compiler, Compiler\C++, Compiler\C++\BCC, Compiler\C++\BCC\Delphi interop, FireMonkey, FireMonkey\Runtime

RSP-18554

Compiler generates wrong code with inlined shortstring parameter

Compiler, Compiler\Delphi

RSP-18568

Type check missed when pass a typed pointer as a object

Compiler, Compiler\Delphi

RSP-15953

Memory leak with try..catch

Compiler, Compiler\C++

RSP-17185

Trying to build statically linked macOS application without linking with runtime packages shows "FIXME- ToolsName" error

Compiler, Compiler\C++, Compiler\C++\CLANG, Linker

RSP-17798

Cannot Make/Build a C++ Builder project for MacOS

Compiler, Compiler\C++

RSP-18505

Breakpoint not correct with CLangCompiler

Compiler, Compiler\C++

RSP-17262

[Android|FMX] SubClassed FMX TEdit gets Seg fault on Android (works on Win32)

Compiler, Compiler\C++, FireMonkey

RSP-16449

[ilink32 Error] Error: Unresolved external '_sockaddr_size' referenced from

Compiler, Compiler\C++, Linker

RSP-17991

Incorrect array of record passed to procedure.

Compiler, Compiler\Delphi

RSP-17925

URGENT: no permission to open file

Compiler, Compiler\Delphi, RTL\Delphi

RSP-16456

Optimization causes corruption of var parameter address (stored in ESI register) resulting in Access Violation

Compiler, Compiler\Delphi

RSP-16422

Too many inline function call case 32bit compiler F2084 Internal Error: C2491

Compiler\Delphi

RSP-16413

Internal compiler error G12090

Compiler, Compiler\Delphi

RSP-16594

[10.1 x86 ICE REGRESSION] Signed ↔ unsigned lvalue-typecast of int64 in generics

Compiler, Compiler\Delphi

RSP-17766

F2084 Internal Error: NI15224 in dcc64

Compiler, Compiler\Delphi

RSP-17707

Critical x64 compiler code generation error.

Compiler, Compiler\Delphi

RSP-16708

Casting error for IOS64 platfrom

Compiler, Compiler\Delphi

RSP-17411

Privileged instruction error

Compiler, Compiler\Delphi

RSP-16929

F2084 Internal error : AV0B3B6441-R000001C0-0

Compiler, Compiler\Delphi

RSP-17007

64-bit compiler generates bad code for UInt64 division with large constant

Compiler, Compiler\Delphi

RSP-17298

Cannot run (sample arcade) app on iOS simulator

Compiler, Compiler\Delphi

RSP-17181

F2084 Internal Error: AV0C309A1A-R00000009-0

Compiler, Compiler\Delphi

RSP-17168

Copyright string wrong

Compiler, Compiler\Delphi

RSP-17138

Win64 compilation stuck at linking

Compiler, Compiler\Delphi

RSP-18171

F2084 Internal Error: D33540

Compiler, Compiler\Delphi

RSP-18156

F2084 Internal Error: URW1187

Compiler, Compiler\Delphi

RSP-11566

Unexpected error using inherited alias of a type parameter from another unit in nested types

Compiler, Compiler\Delphi

RSP-17961

[DCC64] [10.1.2 Regression] With optimization the compiler generates incorrect machine code in big procedures with many tests

Compiler, Compiler\Delphi

RSP-18042

Compiler error GPFC00000FD-0045D728-0

Compiler, Compiler\Delphi

RSP-16536

[FireDAC, Oracle] Transaction Closed after Query Opened

Data

RSP-18204

Android TFDMemTable.SaveToFile access violates in Release mode only

Data, Data\FireDAC

RSP-16432

Incorrect sorting sequence if set IndexFieldNames to TWideStringField in TClientDataSet

Data, Data\Midas

RSP-13754

Memory leak in Datasnap server

Data, Data\DataSnap

RSP-18561

FDStrLike in unit FireDAC.Stan.Util not works correctly

Data, Data\FireDAC

RSP-16340

DataSnap Rest Post params error Cannot convert JSON value {...} input into TDBXTypes.WideString

Data, Data\DataSnap

RSP-18553

LiveBindings CustomFormat Format fails with multiple floating point values

Data, Data\LiveBindings

RSP-15176

Datasnap Server(Using http protocol) is occur handle leak, when closing client connection.

Data, Data\DataSnap

RSP-18390

[FireDAC, FDDataSet] Incorrect filtering with some combintions of foNoPartialCompare and foCaseInsensitive

Data, Data\FireDAC

RSP-17826

TJson.ObjectToJsonObject does not respect joDateIsUTC option

Data, Data\REST

RSP-17837

Access Violations when parsing non-Json string using TJson.JsonToObject

Data, Data\REST

RSP-17785

FDDataSet.OnUpdateError fails to update when AAction is set to eaRetry and UpdateOptions.UpdateChangedFields is set to True

Data, Data\FireDAC

RSP-18378

[FireDAC, FDDataSet] LoadFromStream(sfJSON) may fail on iOS, Android, Linux

Data, Data\FireDAC

RSP-14296

Datasnap-Connection via HTTP causes ENotImplemented on connecting

Data, Data\DataSnap

RSP-16465

[CDS] XML has extra decimal separators for ftFloat / ftSingle

Data, Data\Midas

RSP-18176

FireDAC.ADO.Import.pas misses to scan correctly for new MSSQL Clients

Data, Data\FireDAC

RSP-16884

[FireDAC, FDMemTable] TFDMemTable Nested Dataset not sorting via IndexFieldNames

Data, Data\FireDAC

RSP-13422

High Datasnap memory consumption per a session

Data, Data\DataSnap

RSP-15151

DataSnap - Datasnap.DSClientRest

Data, Data\DataSnap

RSP-15200

Consuming server method with TObject parameter raise Invalid Pointer Operation exception

Data, Data\DataSnap

RSP-17695

REST request memory leak when no charset is returned in header

Data, Data\REST, RTL, RTL\Delphi

RSP-17975

FireDAC does not return the value of InputOutput parameters

Data, Data\FireDAC

RSP-17331

Memory leak in FireDac with SQLite under Linux (actually all drivers)

Data, Data\FireDAC

RSP-17278

[DataSnap, Linux] "Provider not exported" error with TDSProviderConnection on Linux

Data, Data\DataSnap

RSP-16500

Deleting an TPrototypeBindSource cause IDE to crash

Data, Data\Design, Data\LiveBindings

RSP-16467

TCustomRESTRequest.Execute method is causing memory leaks

Data, Data\REST, RTL, RTL\Delphi

RSP-18484

[FireDAC, FDBatchMove] Error in CREATE TABLE statement, DECIMAL field declaration

Data, Data\FireDAC

RSP-18281

firedac: interbase/firebird wrongly postpones reading of column with > 1000 chars

Data, Data\FireDAC

RSP-17817

[FireDAC][Phys MySQL] Using unsupported buffer type: 253 (parameter: 2).

Data, Data\FireDAC

RSP-17442

Create Apache shared library gives wrong information in DPR

Data, Data\DataSnap, IDE

RSP-18209

Datasnap TFDUpdateSQL doesn't work

Data, Data\DataSnap, Data\FireDAC, Data\REST

RSP-15376

Datasnap Rest Client / Server Encoding Problems with received strings

Data, Data\DataSnap

RSP-16781

[FireDAC] Add option to exclude SORT_STRINGSORT in function FDCompareWideStr

Data, Data\FireDAC

RSP-18059

[FireDAC] Inserted and edited record in cached updates mode leads to error

Data, Data\FireDAC

RSP-18404

FireDAC.TFDTable: mess with index names after using BeginBatch/EndBatch

Data, Data\FireDAC

RSP-18050

Double quotes are doubled in data export

Data, Data\FireDAC

RSP-18345

[DB RTL] TField.OnValidate event is called inside SetRange

Data, RTL, RTL\Delphi, VCL

RSP-16628

Firedac oracle cannot insert national characters into NVARCHAR2 column

Data, Data\FireDAC

RSP-17756

Datasnap REST Server on Linux leaks ServerMethods and other objects

Data, Data\DataSnap

RSP-18619

Error while returning integer (not only?) in FireDAC.

Data, Data\FireDAC

RSP-18470

FireDac Error when opening a TFDTable with VisualBinding on Android

Data, Data\FireDAC

RSP-17783

Access violation at address 0070ABD2 in module 'emsserverapi250.bpl'.

Data\MEAP, Demos

RSP-16842

[debugger|Win64|Delphi] Debugger x64 crashed - NEED STEPS

Debugger

RSP-17478

[linuxgdb|Delphi] Linux requires a read/writeln to allow breakpoints inside dpr source - NEED INFO

Debugger

RSP-10348

[Debugger|dcc32] can't rebuild app after debugging - get Error "F2039 Could not create output file <filename>"

Debugger

RSP-15874

[debugger|PAServer|Win32] IDE hangs trying to connect to remote debugger if paserver not running - must kill IDE (no apparent timeout)

Debugger, IDE

RSP-16278

[DBK|Win10] Support for Wait Chain Traversal feature is not available on Windows 10

Debugger

RSP-16794

[debugger|Win64|Delphi] can't set breakpoints on source when open generic types are used

Debugger

RSP-17578

[linuxgdb|PAServer] console app gets &"warning: GDB: Failed to set controlling terminal: Operation not permitted\n"

Debugger

RSP-16915

[debugger|Win64|Delphi] debugger takes a long time to detach from the debugged process

Debugger

RSP-17210

[linuxgdb] Hard to debug object destructors - 1st breakpoint fails, need 2nd at next line to stop

Debugger, IDE

RSP-13503

[Win64|C++] Debugger crashes when demangling certain symbol names

Debugger

RSP-17972

Non-functional debugger after updating to Windows 10 Creators

Debugger, IDE, Libraries and Frameworks

RSP-17216

Web.ReqMulti.pas doesn't work on Linux

File Delivery, RTL, RTL\Delphi

RSP-15074

TMemo adds text when clearing Text on Android 6

FireMonkey, FireMonkey\Components

RSP-16149

Android 7 Nougat Using TEdit, pressing return on android keyboard wraps text.

FireMonkey

RSP-16490

Android 7.0 When you press enter you go to second line in the Tedit. Before this firstofall when you select Tedit you see paste menu on the Tedit.

FireMonkey

RSP-17232

Duplicate words appear on pressing backspace in an FMX TEdit in android

FireMonkey

RSP-16668

App crashes on use of Backspace key in a TEdit

FireMonkey

RSP-17053

Error when handling single char text property of tbutton on C++ Builder on Android

FireMonkey

RSP-17346

[Regression] Android TEdit and TMemo clipboard copy/cut is not working

FireMonkey

RSP-17397

AV upon 64bit application startup after D3D initialization call

FireMonkey

RSP-17899

TEdit

FireMonkey

RSP-16935

Android's TMemo and TEdit Cursor Issue + Suggested Complete Solution

FireMonkey

RSP-17165

TAniIndicator fails to draw correctly on Android

FireMonkey

RSP-15782

Android class initialization limitation (segmentation fault)

FireMonkey, RTL, RTL\Delphi

RSP-17173

Android Severe painting problems - Worked in Berlin Version

FireMonkey

RSP-17308

TForm.Close and caFree not Working with Android

FireMonkey

RSP-18453

Styled DropDown combos no longer behave correctly with Tokyo Android Compatibility Patch

FireMonkey

RSP-18151

TAniIndicator and Effects not working correctly on Android devices

FireMonkey

RSP-15431

Acces violation on mouse down event TListBoxItem in iOS

FireMonkey

RSP-18159

Components are not drawn correctly

FireMonkey

RSP-17738

Delphi 10.2 Tokyo (Android platform) - TabControl problem

FireMonkey

RSP-17663

Delphi 10.2 Tokyo (Mobile platform) - use the FmxObject.AddObject component will occurs image overlay problem

FireMonkey

RSP-17636

Android Painting cannot handle bitmap canvas paints

FireMonkey

RSP-17120

caFree not working (Android)

FireMonkey

RSP-17709

Using TCloseAction.caFree keeps form open

FireMonkey

RSP-17780

Black Screen with ViewPort3D on Android Apps

FireMonkey, FireMonkey\3D Components

RSP-16646

FMX TWebBrowser becomes blank when a TComboBox on the form drops down

FireMonkey

RSP-17673

Android Mixing 2D(with ViewPort3D)/3D(with layer2D) Not Work

FireMonkey

RSP-15775

Android class initialization limitation (segmentation fault)

FireMonkey, RTL, RTL\Delphi

RSP-14187

[Android] Serious StringToJString memory leak

FireMonkey, FireMonkey\Runtime, RTL\Delphi

RSP-9733

[Android|FMX,RTL|C++] Pressing back button while loading causes app to hang on relaunch

FireMonkey, RTL

RSP-16211

TWebBrowser re-initializes when TDateEdit is dropped down

FireMonkey

RSP-17189

Application crash with 'Can not activate current context' exception

FireMonkey

RSP-17147

TMediaPlayerControl does not work at all in Tokyo

FireMonkey

RSP-17654

TImageList saved in Berlin, do not show its imagens in Tokio at runtime in Android.

FireMonkey

RSP-18012

TFontGlyphManager has memory leak on RS10.2

FireMonkey

RSP-17197

Access Violation selecting a date on TDateEdit if Style applied to form

FireMonkey

RSP-17687

Bitmap is no more displayed on Android 4.1.2 device

FireMonkey

RSP-16538

TabMapProject.cbproj does not work with Android.

FireMonkey

RSP-17803

FMX TListBox does not display images

FireMonkey

RSP-18264

Falha no projeto ao migrar do Berlin para Tokyo

FireMonkey

RSP-17880

Android app break with customized fonts.

FireMonkey

RSP-16613

Android.JNI.PowerManager cannot be used in a service

FireMonkey

RSP-17986

firemonkey's window could become black and flash in win7x64

FireMonkey

RSP-18663

FireMonkey TDateEdit AV selecting a date from the drop down calendar

FireMonkey

RSP-17162

android app made with Tokyo are super slow

FireMonkey

RSP-18450

form.transparent=true makes the whole form transparent on android after Compatibility Patch

FireMonkey

RSP-18726

10.2 Tokyo Android application crash

FireMonkey

RSP-18474

[10.2.0 Regression] android - JNI ERROR (app bug): global reference table overflow

FireMonkey

RSP-17238

IDE>Position>Align>Horizontal>Center in Window won't center correctly

IDE

RSP-17475

Cannot create ios Project in Tokyo

IDE

RSP-17435

Generecis support broken

IDE

RSP-17112

[Regression in 10.2 Tokyo] [Starter] Form Designer option is empty

IDE

RSP-17367

Refactoring failed

IDE

RSP-17984

View form as text changes ClientHeight if form has a menu

IDE

RSP-17936

[regression] The height of a form decreases when the TMainMenu component is used

IDE, VCL

RSP-13174

Valid regular expression -> the search string cannot be blank

IDE, IDE\General

RSP-17416

[Linux64|PAServer] False error when PAServer cannot run launcher application

IDE

RSP-17672

C++Builder 10.2 failed to compile for macOS Sierra SDK 10.12.4

IDE, IDE\Build System, PAServer

RSP-14584

After the installation completes when I hit the close button the installer open the IDE

IDE, Install, Install\GetIt

RSP-16855

FMX.FontGlyphs.pas is missing on Professional SKU

Install

RSP-18583

Delphi command line compiler not working C++Builder

Install

RSP-18044

System.Beacon.Common.pas missing

Install, Install\GetIt

RSP-18576

Please avoid "incremental updates" and use "cumulative updates"

Install

RSP-17364

System.zLib fails to link on Redhat Linux Enterprise

Linker

RSP-17645

Linker fails on default settings

Linker

RSP-12181

[clang32/64] several unresolved functions declared in <math.h>

Linker, RTL, RTL\C++, RTL\C++\Math

RSP-18165

Access violation if function ISO8601ToDate is called with empty string

RTL, RTL\Delphi

RSP-18071

FillChar Bug in Win64

RTL, RTL\Delphi

RSP-17776

Windows exceptions handled by VCL display error message in Chinese

RTL, RTL\C++, VCL

RSP-18606

problem with TRegEx.Replace

RTL, RTL\Delphi

RSP-18516

TJSONPair class leaks memory when setting new name or value

RTL, RTL\Delphi, RTL\Delphi\Net

RSP-17773

TBytesStream.Create writes FMemory directly

RTL, RTL\Delphi

RSP-12829

TIPAddress.LookupName populates FAddr incorrectly.

RTL, RTL\Delphi

RSP-15675

Error matching input string using TRegEx when the string contains extended characters.

RTL, RTL\Delphi

RSP-17095

iphlpapi.dll missing from import32.lib/import32.a

RTL, RTL\C++, RTL\C++\Other

RSP-18007

HTML Decode can cause nulls in return value

RTL, RTL\Delphi, RTL\Delphi\Net

RSP-17907

FloatToStr does not work on Linux Apache Module

RTL, RTL\Delphi

RSP-15492

PerlRegEx now fails for optional group where this is no value

RTL, RTL\Delphi

RSP-18097

There is no MACOSX Macapi.ImageIO.hpp header in Tokyo installation

RTL, RTL\C++

RSP-11398

FindCmdLineSwitch does not work with NEXTGEN compiler

RTL, RTL\Delphi

RSP-15145

[Regression] RegEx MIssmatch when reusing precompiled TRegEx

RTL, RTL\Delphi

RSP-16792

Access violation from UnicodeString destructor when workin with TJSONobject

RTL, RTL\C++

RSP-17952

Int(MaxDateTime) raise - EInvalidOp with message 'Invalid floating point operation'

RTL, RTL\Delphi

RSP-16577

StrToDate does not work with Windows 10 (8) and non US locale

RTL, RTL\Delphi

RSP-17788

TJsonSerializer: Mem Leak when using JsonConverterAttribute

RTL, RTL\Delphi

RSP-17338

TPerlRegEx EEncodingError when calling Groups[Index]

RTL, RTL\Delphi

RSP-17088

TryISO8601ToDate gives access violation when called with an empty string

RTL, RTL\Delphi

RSP-18538

TRegistry cant rename empty Reg_Binary values

RTL\Delphi

RSP-17779

SOAP Server Application as apache dynamic link module do not compile on Linux

SOAP

RSP-17121

[C++/Win64] Message Dialog with static runtime packages displays broken text

Compiler, Compiler\C++, Compiler\C++\CLANG, VCL

RSP-17453

poDesigned ignored in Form Position property

VCL

RSP-17964

TIcon.LoadFromResourceID fails to load system icons

VCL

RSP-15903

Problem with style and TTaskDialog when High DPI not enabled

VCL

RSP-18000

TRichEdit.LoadFrom...() sends EM_EXLIMITTEXT too late

VCL

RSP-17136

Main Menu popup shows two separators instead of one

VCL

RSP-18173

TCustomGrid.ChangeScale breaks FRowHeights/FColWidhts design

VCL

RSP-14084

Datasnap REST service returns 2 ResponseContentType headers

VCL

RSP-18486

Graphics Types Incorrectly Registered.

VCL, VCL\Core

RSP-18573

Paint problems in empty TListBox only in Windows 7 with VCL Styles actived

VCL

Server Response from: ETNASC04