DELPHI盒子
!实时搜索: 盒子论坛 | 注册用户 | 修改信息 | 退出
检举帖 | 全文检索 | 关闭广告 | 捐赠
技术论坛
 用户名
 密  码
自动登陆(30天有效)
忘了密码
≡技术区≡
DELPHI技术
lazarus/fpc/Free Pascal
移动应用开发
Web应用开发
数据库专区
报表专区
网络通讯
开源项目
论坛精华贴
≡发布区≡
发布代码
发布控件
文档资料
经典工具
≡事务区≡
网站意见
盒子之家
招聘应聘
信息交换
论坛信息
最新加入: tkzcol
今日帖子: 4
在线用户: 1
导航: 论坛 -> DELPHI技术 斑竹:liumazi,sephil  
作者:
男 seven_14 (seven_14) ★☆☆☆☆ -
普通会员
2014/9/2 12:08:07
标题:
What's New in Delphi and C++Builder XE7 浏览:6175
加入我的收藏
楼主: 转自 
http://xe7.ucoz.ru/What-s_New_in_Delphi_and_CBuilder_XE7.html

Show: Delphi C++
Display Preferences
What's New in Delphi and C++Builder XE7

From RAD Studio
Go Up to What's New


The XE7 release contains many new and improved features.

Contents

1 FireMonkey Changes for XE7
1.1 FireMonkey Multi-Device Applications Support Both Desktop and Mobile Platforms
1.2 FireMonkey Uses the New Google Mobile Ads API for Android
1.3 New TMultiView Control
1.4 Native Presentation of TEdit and TCalendar on iOS
1.5 Multi-Monitor Support
1.6 Multi-Touch Support and Gestures Changes
1.7 Full-Screen Immersive Mode for Android
1.8 Size Property and PlatformDefault in TControl
1.9 PlatformDefault Setting for TTabPosition on Mobile Apps
1.10 FireMonkey Supports the Pull-to-Refresh Feature for TListView on iOS and Android
1.11 FireMonkey Save State Feature
1.12 Touch-Optimized MetropolisUI Styles Available
1.13 DesignVisible Property Was Eliminated
1.14 Refactoring of FireMonkey Libraries
2 Platform Assistant Changes for XE7
2.1 Two New Commands in PAServer
2.2 New PAServer Manager App
3 IDE Changes for XE7
3.1 RAD Studio Guided Tours
3.2 Changes in the Form Designer for Multi-Device Applications
3.3 Project Files Are Automatically Added to the Deployment Manager
3.4 Entitlement List Added for Android
3.5 Splash Screen Support for Android
3.6 Git Version Control System Integrated in the IDE
3.7 Delphi Personality Now Requires SDK for OS X and iOS Simulator
3.8 Add Java Libraries to Your Applications for Android from the Project Manager
3.9 Creating Metropolis UI Applications
4 Run-Time Library (RTL) Changes for XE7
4.1 RTL API for Bluetooth
4.2 App Tethering Supports Classic Bluetooth
4.3 App Tethering Supports Connections Outside Your Subnet
4.4 Parallel Programming Library
4.5 XML Improvements
4.5.1 New Cross-Platform XML Vendor that Improves Performance
4.5.2 New System to Select XML Vendors
4.6 New Unit for Web Encoding and Decoding
4.7 PCRE 8.35 for Windows and Mobile Platforms
4.7.1 PCRE 8.35 Does Not Accept Group Names Starting with Digits
4.8 zlib 1.2.8
5 VCL Changes for XE7
5.1 New Component for Windows Taskbar Jump Lists
6 C++ Compiler Changes for XE7
6.1 New Versions of Boost and Dinkumware Libraries for Win64
6.2 New iOS Headers Added (libcplusplus)
6.3 Navigate To command
6.4 Delphi Packages No Longer Allow Namespace Selection in Output - C/C++ Options
7 Delphi Compiler Changes for XE7
7.1 String-Like Operations Supported on Dynamic Arrays
8 Database and Connectivity Changes for XE7
8.1 FireDAC Changes
8.2 Enterprise Mobility Service
8.3 Parse Provider Support for Your Android Push Notification Applications
8.4 BDE Removed
8.5 Enhancements to the Data Explorer
8.6 Online Help Changes for Database
9 Debugger Changes for XE7
9.1 New PAServer Manager App on the Mac
9.2 MultiByte Support for Mobile Debuggers
9.3 Binary info.plist File Deployed
10 Command-Line Utility Changes for XE7
10.1 Java2OP.exe: New Native Bridge File Generator for Android
11 Application Samples Changes for XE7
12 See Also
FireMonkey Changes for XE7

FireMonkey Multi-Device Applications Support Both Desktop and Mobile Platforms

You no longer have to choose between creating a desktop application or a mobile application. FireMonkey applications are now called multi-device applications, and by default they support all the available target platforms.

FireMonkey Uses the New Google Mobile Ads API for Android

FireMonkey now uses the new Google Mobile Ads SDK to provide advertising features on Android devices.

Previously, FireMonkey used the Google AdMob SDK, which is now deprecated. Google announced that on August 1, 2014, the Play Store will stop accepting applications built with the Google AdMob SDK. Please update your existing Android apps to use Google Mobile Ads instead of AdMob. See Adding Advertising to Your Mobile Apps.

New TMultiView Control

FireMonkey supports the new TMultiView component, which allows you to implement a master-detail interface that can be used for any supported target platform.

The master pane can display a collection of any visual controls, such as edit boxes, labels, lists, and so forth.
The detail pane typically displays information based on the properties of the controls in the master pane.
For more information about this component and a sample application, see Mobile Tutorial: Using a Multi View Component to Display Alternate Views of Information (iOS and Android).

Native Presentation of TEdit and TCalendar on iOS

On the iOS target platform, FireMonkey now supports both styled and native presentations for the TEdit and TCalendar components.

By default, when you add any of these components to the Form Designer, RAD Studio uses the styled presentation.
To use the native presentation on the iOS target platform, set the new TPresentedControl.ControlType property to Platform.
For more information, see TPresentedControl.ControlType.

Note: The FMX.DateTimeCtrls.TCalendar class has been moved to its own unit, FMX.Calendar. If your pre-existing apps use TCalendar, make sure that FMX.Calendar is in the uses/includes.
Multi-Monitor Support

If your FireMonkey application runs on multiple monitors, TScreen maintains a list of monitors and their dimensions, and provides methods to obtain the monitor containing a form or a point so that you can effectively manage the layout of your user interface on several active monitors.

Multi-Touch Support and Gestures Changes

The new FMX.MultiTouch unit contains a TMultiTouchManager.
The new OnTouch event handles gestures that are purely gestures (never interpreted as mouse events).
TForm and TControl now have an OnTap event for when the user taps using a finger or similar device (not a mouse).
Full-Screen Immersive Mode for Android

You can enable immersive full-screen mode in your Android 4.4 apps (KitKat). To enable immersive mode, FMX.Forms.TForm.FullScreen must be set to True.

Note that Google Glass apps by definition are immersive full-screen.

Size Property and PlatformDefault in TControl

A new property, Size, has been added to TControl to provide for managing and storing the size of a control. The Size property is an object type (TControlSize) that introduces a new field, PlatformDefault, which is set to True by default. PlatformDefault allows controls to automatically resize themselves to the correct, pre-defined size for the run-time platform. The Width and Height properties of TControl remain, but their values are now saved inside the TControlSize object, instead of as separate width and height fields.

PlatformDefault Setting for TTabPosition on Mobile Apps

The FMX.TabControl.TTabPosition enum contains a new value, PlatformDefault, which sets the tab position according to the default behavior of the target platform, as follows.

TTabPosition = Bottom for iOS apps
TTabPosition = Top for Android apps
See Mobile Tutorial: Using Tab Components to Display Pages (iOS and Android).

FireMonkey Supports the Pull-to-Refresh Feature for TListView on iOS and Android

XE7 provides the Pull-to-Refresh feature for TListView that allows you to pull down the list to refresh the contents. For information on how to enable and use this feature, see PullToRefresh.

FireMonkey Save State Feature

The new FireMonkey Save State feature allows you to save the state of an application before it closes so this state can be recovered once the application is restarted.

To manage this new feature, the form has a new property called SaveState that handles the saving and recovering of this state. This Save State data can be written to or read from at any time, but ideally, the saving of this state should be during the new OnSaveState event and the recovering of this state should be during the OnCreate event.

The Save State of the form can include information such as active tab, text contained in edit controls, checkbox selection, calendar date, current selected item, etc. along with user data. This feature can be used on mobile platforms as well as on desktop platforms.

For further information about this feature, see FireMonkey Save State.

Touch-Optimized MetropolisUI Styles Available

Four newly updated MetropolisUI styles are available for FireMonkey (.style files):

MetropolisUIBlack_touch
MetropolisUIBlue_touch
MetropolisUIDark_touch
MetropolisUIGreen_touch
These styles have all the UI elements of mobile apps and are touch-optimized. You can access the styles at C:\Users\Public\Documents\Embarcadero\Studio\15.0\Styles.

DesignVisible Property Was Eliminated

FMX.Controls.TControl.DesignVisible property has been removed. Now the Visible property applies to both run time and design time, and the Structure View always allows access to any component at design time.

Refactoring of FireMonkey Libraries

TAnimation has been moved from the FMX.Types unit to the FMX.Ani unit.
FMX.Controls: If you are creating a FireMonkey forms application, the following refactorings should require no code changes on your part, since the FMX.Controls unit is automatically included in FireMonkey forms apps:
These trigger-related API have been moved from the FMX.Types unit to the FMX.Controls:
FMX.Types.TFmxObject.StartTriggerAnimation (previous name) is now FMX.Ani.TAnimator.StartTriggerAnimation.
FMX.Types.TFmxObject.ApplyTriggerEffect (previous name) is now FMX.Controls.TControl.ApplyTriggerEffect.
The FMX.Edit.TNumberBox class has been moved to its own unit, FMX.NumberBox.TNumberBox. If your pre-existing apps use TNumberBox, make sure that FMX.NumberBox is in the uses/includes.
FMX.DateTimeCtrls.TCalendar has been moved to its own unit, FMX.Calendar. If your apps use TCalendar, make sure to add FMX.Calendar to the uses/includes.
TPopup has the new Size, PopupForm and VisibleStored properties.
MessageDlg, InputQuery, and InputBox have new overloads containing an anonymous method reference. This change removes previous precautions about using these methods in Android apps.
Platform Assistant Changes for XE7

Two New Commands in PAServer

v - Toggle verbose mode (verbose mode displays the command-line parameters whenever you issue a command)
r - Reset, terminate all child processes
For more information, see PAServer, the Platform Assistant Server Application.

New PAServer Manager App

We have added a new GUI app that runs on the Mac. The PAServer Manager enables you to create and manage multiple PAServer processes for Mac and iOS apps:

StartPAServerMenu.png
For more information, see:

Installing the PAServer Manager on a Mac
Running the PAServer Manager on a Mac
IDE Changes for XE7

RAD Studio Guided Tours

This release includes a new technology to provide Guided Tours to facilitate learning about RAD Studio. The Guided Tours consist of a step-by-step walk-through to show specific features and functionality.

These interactive tours display a bubble on each step explaining what you have to do in the step. You must read the instructions and follow all the steps to complete the Guided Tour successfully. You can access a Guided Tour by clicking the appropriate link in the Welcome Page. For further information, see RAD Studio Guided Tours.

Changes in the Form Designer for Multi-Device Applications

ChangesFormDesigner.png

The new Multi-Device form is a common designer for all platforms (desktop and mobile), with a styled Master form and multiple available views for different form factor and layouts. See Form Designer.

The Designer opens with the default style, the Win32 Master style. The Style drop-down menu allows you to change the Master Form style; you can choose Windows, OS X, iOS and Android. The available components and their properties change depending on the style.

The Master Form is where all the components should be placed and appropriately edited. To design mobile applications, we recommend that you use the steps in the following tutorial: Mobile Tutorial: Using Layout to Adjust Different Form Sizes or Orientations (iOS and Android).

The Views drop-down menu enables you to add predefined forms to your project, such as Android 7 Tablet or iPhone 4. After selecting an available view, the corresponding form is added to your project folder, and a reference clause to the code page. All the views inherit from the Master Form. See Adding Views to Your Multi-Device Project.

The Views allow you to personalize your project for a specific predefined layout. The available views take into account the display resolution of the target device. If you want to personalize your project for a particular resolution, you can add a customized view. See Adding a Customized View to the View Selector for more information.

When you run your project for a particular target, only the corresponding views are included in your application.

Project Files Are Automatically Added to the Deployment Manager

If you add a file to or remove a file from a project using the Project Manager, the Deployment Manager now automatically adds or removes this file. You can add media files, text files or any resource file you want to deploy with your application.

Some files, like database files, require a special treatment because they need database drivers or license files (Featured Files). In this case, the Featured Files dialog box opens automatically so you can choose the necessary files to add to the deployment list.

The Featured Files dialog box includes a new option (Show automatically when required check box) that allows you to disable the automatic adding/deleting of files in the Deployment Manager. If you deactivate this option, RAD Studio does not show the Featured Files dialog box automatically anymore; instead, you must open the Featured Files dialog box manually to add or remove featured files.

Entitlement List Added for Android

An Entitlement List page has been added for Android (iOS and Mac OS X already supported the Entitlement List). You can access the Entitlement List through Project > Options > Entitlement List.

You can set entitlements for your Android apps. For example, you can add advertising to your mobile application or allow your application to receive data from remote servers by using the remote push notification support.

See Entitlement List for more information.

Splash Screen Support for Android

You can now configure a splash screen for your Android applications. Select Project > Options > Application, enable your splash screen, enter the path to your splash screen image, and configure the alignment of your splash screen.

For more information, see Splash Images.

Git Version Control System Integrated in the IDE

RAD Studio now supports the Git version control system for your version controlled projects, and some new Subversion features have been added in the IDE.

The History Manager now presents integrated Git version control information from your local repository. After you open a project that is under version control by either Git or Subversion, you can find more information in the Contents, Information and Differences tab.
Now you can use Git Integration in the IDE to:
Clone a copy of your remote Git repository and start working with it.
Commit your changes to your local Git repository (send them)
Show the Git repository log for your version controlled projects.
When using Subversion support, now you can:
Use the new Subversion ChangeList labels to group your changed files before committing them to your remote repository.
Use the new SVN merge dialog box to start merging your changes from the IDE
Use the new Subversion switching branches feature to point your local repository changes to a new branch of your remote repository.
For more information, see:

Subversion Integration in the IDE
Git Integration in the IDE
History Manager
Delphi Personality Now Requires SDK for OS X and iOS Simulator

An SDK (Software Development Kit) is required now to develop Delphi applications for OS X and iOS.

A software development kit (SDK) provides a set of files to build applications for a target platform, and defines the actual location of those files on the target platform or an intermediate platform that supports the target platform (for example, Mac OS X provides SDKs for iOS).

For steps to add a new Mac OS X or iOS (Device or Simulator) SDK to your development system from a Mac, see Adding a Mac OS X, iOS Device or iOS Simulator SDK.

Add Java Libraries to Your Applications for Android from the Project Manager

In XE6, to add a custom Java library to your application, you had to manually create and deploy a classes.dex file.

In XE7, you can simply add your custom Java libraries from the Project Manager, using the new Libraries node that you can find within the Android platform node. See Adding A Java Library to Your Application Using the Project Manager.

Creating Metropolis UI Applications

In XE7 you can no longer create Metropolis UI applications directly from the File > New menu. Instead, select either of the following to create a new Metropolis UI application:

File > New > Other > Delphi Projects > FireMonkey Metropolis UI Application
File > New > Other > Delphi Projects > VCL Metropolis UI Application
File > New > Other > C++Builder Projects > FireMonkey Metropolis UI Application
File > New > Other > C++Builder Projects > VCL Metropolis UI Application
Run-Time Library (RTL) Changes for XE7

RTL API for Bluetooth

The RTL has a new unit, System.Bluetooth, that provides a multi-device API to access the Bluetooth features of the device that is running your application. This new unit provides support for both Classic Bluetooth and Bluetooth Low Energy. See Using Bluetooth.

App Tethering Supports Classic Bluetooth

You can now use app tethering to connect your application using not only the TCP/IP network protocol, but also the Classic Bluetooth protocol.

App Tethering Supports Connections Outside Your Subnet

In XE6, the methods to discover remote devices to connect, AutoConnect and DiscoverManagers, used to look for devices in the subnet of the local area network (LAN) where the device running your application was. As a result, you could not use app tethering to connect devices in different subnets of the same LAN, or devices with completely different IP addresses.

In XE7, both of these methods provide an optional parameter, <Target>, that you can use to override this behavior, and specify a target IP address or subnet to search for remote managers. See Connecting to Applications Outside Your Subnet.

Parallel Programming Library

By including the new System.Threading unit in your apps, you can use the new Parallel Programming Library.

XML Improvements

New Cross-Platform XML Vendor that Improves Performance

In addition to MSXML and ADOM, RAD Studio now provides a new XML vendor: OmniXML. The OmniXML cross-platform XML vendor shows much better performance results than the alternative cross-platform XML vendor: ADOM. The OmniXML XML vendor in RAD Studio is based on OmniXML, but it includes additional features, such as namespace support, and it is compatible with SOAP.

New System to Select XML Vendors

The RTL provides a new system to define the XML vendor to use, as described in Using the Document Object Model.

The new XML vendor selection system provides MSXML as the default XML vendor. MSXML only supports the Windows platform; if you do not specify a different XML vendor, your application does not have XML support in platforms other than Windows, and you see a run-time exception when you run your application in other platforms.

To choose a different XML vendor, add a reference to the unit of the vendor into the unit where you use the RTL XML features, such as the TXMLDocument class. If you add more than one XML vendor unit, the first unit referenced is used as XML vendor. To override this behavior, you can change the value of the DefaultDOMVendor global variable to the global variable of the target XML vendor.

Note: You can look up the unit and the global variable of each XML vendor in the List of Built-in XML Vendors.
When you use the TXMLDocument component, you can choose an XML vendor using its DOMVendor property. When you change the value of DOMVendor, the unit that uses the component is configured to use the specified XML vendor, so that you do not need to change unit references or the DefaultDOMVendor global variable manually.

To use a different XML vendor for each platform (such as MSXML in Windows and OmniXML in other platforms), use conditional compilation:

Conditional Compilation (Delphi)
Conditional Compilation (C++)
New Unit for Web Encoding and Decoding

The RTL provides a new unit, System.NetEncoding, that provides encoding and decoding features for Base64, HTML, and URL.

The following table shows how methods from previous versions of RAD Studio map to methods in System.NetEncoding:

XE6   XE7
Soap.EncdDecd.EncodeBase64

TNetEncoding.Base64.EncodeBytesToString

Soap.EncdDecd.DecodeBase64

TNetEncoding.Base64.DecodeStringToBytes

Soap.EncdDecd.EncodeStream
Soap.EncdDecd.EncodeString

TNetEncoding.Base64.Encode

Soap.EncdDecd.DecodeStream
Soap.EncdDecd.DecodeString

TNetEncoding.Base64.Decode

Web.HTTPApp.HTMLEncode

TNetEncoding.HTML.Encode

Web.HTTPApp.HTMLDecode

TNetEncoding.HTML.Decode

Web.HTTPApp.HTTPEncode

TNetEncoding.URL.Encode

Web.HTTPApp.HTTPDecode

TNetEncoding.URL.Decode

Some previously supported methods either support both AnsiString and UnicodeString or only support AnsiString. The new XE7 methods support only UnicodeString. To use the new methods with AnsiString in XE7, you must cast your input string and the method result as follows:

Delphi:

AnsiStringResult := AnsiString(NewMethod(string(AnsiStringInput)));
C++:

AnsiStringResult = AnsiString(NewMethod(UnicodeString(AnsiStringInput)));
PCRE 8.35 for Windows and Mobile Platforms

The PCRE library, which provides support for Perl-compatible regular expressions, has been upgraded in XE7:

Platform   XE6   XE7
32-bit Windows
64-bit Windows
7.9
(2009-04-11)

8.35
(2014-04-04)

iOS Device
Android
8.31
(2012-07-06)

Mac OS X
iOS Simulator
These platforms use the PCRE version available in the system.

To check the changes since previous versions of PCRE, see the official changelog.
To use PCRE, see the documentation of the System.RegularExpressions unit.
PCRE 8.35 Does Not Accept Group Names Starting with Digits

In XE6, you could define named groups with names that contained any combination of digits and letters, such as "1" or "2nd". For example: "(?<1>\w+)\s+(?<2>fish)\s*".

In XE7, which includes the latest version of the PCRE library, it is no longer possible to use group names that start with a digit. That is, you cannot use group names such as "1" or "2nd" anymore. However, you can still use digits in the name as long as they are not the first character of the name, such as "g1" or "my2cents".

zlib 1.2.8

RAD Studio includes a new version of the zlib compression library: 1.2.8.

To check the changes since zlib 1.2.7, see the official changelog.
To use zlib, see the documentation of the System.ZLib unit.
VCL Changes for XE7

New Component for Windows Taskbar Jump Lists

Windows 7 and later versions of Windows provide a context menu for items in the taskbar, which gives users quick access to recent files to open with your application. In XE7, the TJumpList component allows you to customize the information that the jump lists show for your application.

You can hide or show recent and frequent files, provide task entries to give your users quick access to common tasks of your application, or add completely custom categories and items to the jump lists of your application.

XE7JumpLists.png
For information about related features, see VCL Taskbars.

C++ Compiler Changes for XE7

New Versions of Boost and Dinkumware Libraries for Win64

New versions of Boost and Dinkumware libraries are now installed (both are for Win64 only).

Dinkumware STL version 6.40 for Win64
See Dinkumware Standard C++ Library.
Boost Libraries version 1.55 for Win64
See Boost Libraries.
New iOS Headers Added (libcplusplus)

The libcplusplus iOS headers are now being used in RAD Studio. These updated headers provide more C++11 features, such as atomics, and default initialization of vectors.

Navigate To command

RAD Studio now supports the Navigate To command, which was added to the Find (C++) commands previously available on the context menu in the Code Editor. The Navigate To command searches the entire active project for identifiers and constants that meet the specified search criteria. For more information, see:

Navigate To (C++)
Find Definitions and References (C++) (overview)
Delphi Packages No Longer Allow Namespace Selection in Output - C/C++ Options

For C++ Output file generation, options are different for Delphi packages vs. executables. For packages, there are two choices (instead of 11 for .exe files):

Generate DCUs (when you do not plan to use the package from C++)
Generate all C++Builder files (including package libs)
This change eliminates potential namespace issues when the Delphi package is used in C++ applications.

Delphi Compiler Changes for XE7

String-Like Operations Supported on Dynamic Arrays

Dynamic arrays can be manipulated similarly to strings. For example:
var
  A: array of integer;
  B: TBytes = [1,2,3,4]; //Initialization can be done from declaration
begin
  ...
  A:=[1,2,3]; // assignation using constant array
  A:=A+[4,5]; // addition - A will become [1,2,3,4,5]
  ...
end;
String-like support routines added:
I. The Insert function inserts a dynamic array at the beginning at the position index. It returns the modified array.

var
  A: array of integer;
begin
  ...
  A:=[1,2,3,4];
  Insert(5,A,2); // A will become [1,2,5,3,4] 
  ...
end;
II. The Delete function eliminates elements from a dynamic array and returns the modifed array:

var
  A: array of integer;
begin
  ...
  A:=[1,2,3,4];
  Delete(A,1,2); //A will become [1,4]
  ...
end;
III. The Concat function can be used to put together two different dynamic arrays:

  A := Concat([1,2,3],[4,5,6]); //A will become [1,2,3,4,5,6]
Database and Connectivity Changes for XE7

FireDAC Changes

FireDAC streaming support for blob parameters and support for MSSQL file streams
New TFDParam properties : AsStream, AsStreams, IsDataSet, IsDatasets, IsObject, IsObjects, IsStream, IsStreams, IsUnicode, and StreamMode
New TFDParam methods: GetDataReader and SetStream
New TFDParams methods: Close and Unprepare.
New TFDAdapterDataSet methods: CloseStreams.
New IBLite driver for desktop and mobile, based on existing IB driver
New DriverID = 'IBLite'
New TFDPhysIBDriverLink.Lite property
Support for DBMS API command native timeouts
Supported by FireDAC drivers: Advantage, Informix, and SQL Server
FireDAC connection parameters are now displayed in the Object Inspector as records.
TFDConnection.Params is now of TFDConnectionDefParams base class.
Depending on TFDConnection.DriverName, the params are of one of the TFDPhysXxxConnectionDefParams, where Xxx is driver ID.
Data Explorer enhancements .
Primary keys and fields are displayed.
Foreign keys and fields are displayed.
Sequences/generators are now displayed.
Metadata writing capabilities
New TFDTable.CreateTable method
New poCreateDest option of TFDBatchMove.Options
New IFDPhysCommandGenerator.GenerateCreateTable, GenerateDropTable methods
New TFDBatchMove component for copying tables data and metadata between different databases: 
New components: TFDBatchMove, TFDBatchMoveTextReader, TFDBatchMoveTextWriter, TFDBatchMoveDataSetReader, TFDBatchMoveDataSetWriter, TFDBatchMoveSQLReader, and TFDBatchMoveSQLWriter.
Old component TFDDataMove is deprecated now. Use TFDBatchMove instead of TFDDataMove .
TFDScript, TFDBatchMove along with reader and writer components, TFDDataMove are moved to the new "FireDAC ETL" page.
TFDCustomSchemaAdapter serialization:
New methods: LoadFromStream, LoadFromFile, LoadFromStream, SaveToStream, and SaveToFile
New properties: DataSets and ResourceOptions
Enterprise Mobility Service

The new Enterprise Mobility Service (EMS) offers a Mobile Enterprise Application Platform that can be hosted in the Cloud or on premises, and exposes custom REST APIs and enterprise database data.

EMS is developed to offer the customers a comprehensive solution that includes a REST API Server, remote database access, and tracking the usage of the solution. The EMS database stores the activity of the devices and users, and the EMS Server creates analytics of this information.

The main components in the EMS architecture are:

The EMS Server is the component that provides core functions and services for the EMS Clients. The EMS Server manages the EMS database that stores information such as registered users, devices, and the activity of your application (creating the analytics).
The REST API is used to access the EMS database data. EMS Clients can access the information in the EMS database by making calls to the REST built-in Administrative API of the EMS Server. You can extend the functionality of the existing EMS Server by creating your own EMS Packages or FireDAC EMS Packages, and registering these resources in the EMS Server.
EMS Clients are mobile or desktop applications that can access the EMS Server registered resources by using the REST API. EMS support for FireDAC is provided, so you can create EMS FireDAC Client Applications.
EMS Console reads the information that is stored in the EMS Database and shows in your default browser. The EMS Console displays the list of Users, Devices, and Groups, and shows graphs of analytics that are stored in the EMS database.
In XE7, new components have been added for EMS in the IDE, such as REST.Backend.EMSProvider.TEMSProvider or REST.Backend.EMSFireDAC.TEMSFireDACClient (to support FireDAC in your client application). You can also use existing BaaS Components, such as TBackendQuery, in your EMS Client applications.

Parse Provider Support for Your Android Push Notification Applications

RAD Studio REST BaaS framework now supports Parse BaaS as a provider for your Android Push Notification applications. Previously, you could use the Parse provider only for RAD Studio iOS apps.

To start receiving push notifications from the Parse BaaS provider, register your RAD Studio application as an Android Parse push notification client and configure your Parse cloud service.

For more information, see Mobile Tutorial: Using Remote Notifications (iOS and Android) and Creating the Android Push Application.

BDE Removed

BDE, our oldest database solution, has reached the final stage of deprecation, and has been removed from RAD Studio. This includes the Bde.DBBdeWeb and Bde.DBTables units. Instead, use newer database technologies such as FireDAC. For migration, see Migrating BDE Applications to FireDAC.

If you need to continue using BDE, an external installer is available on the Registered Users site: http://cc.embarcadero.com/myreg ;
The BDE help remains in the XE7 help.

Enhancements to the Data Explorer

The Data Explorer now displays these nodes for FireDAC applications:

Primary keys and their fields
Foreign keys and their fields
Generators
Online Help Changes for Database

Tutorial: Using a REST DataSnap Server with an Application and FireDAC (New)
Tutorial: Using a REST DataSnap Server with an Application (Revised)
DataSnap.FireDACJSONReflect REST Server Client Sample (New)
Debugger Changes for XE7

New PAServer Manager App on the Mac

The new Mac GUI app PAServer Manager is now delivered with PAServer (the Platform Assistant Server). PAServer Manager enables you to create and manage multiple instances of PAServer.

For more information, see:

Installing the PAServer Manager on a Mac
Running the PAServer Manager on a Mac
MultiByte Support for Mobile Debuggers

The debuggers for the mobile platforms (iOS and Android) now support the use of Unicode characters and strings with UTF8, UTF16 or UTF32 encodings.
In file names of iOS apps, the debuggers now support the use of international characters (Unicode, such as hélène and éléments).
For general information, see Debugging Multi-Device Applications.

Binary info.plist File Deployed

The info.plist file, which is required for Mac and iOS apps, continues to be generated as an XML file containing keys and associated values.

For deployment, however, the XML file is now converted to binary. For information about the contents of the info.plist file, see Version Info.

Command-Line Utility Changes for XE7

Java2OP.exe: New Native Bridge File Generator for Android

The process of allowing your application to use custom Java libraries on Android previously required you to manually create a native bridge file from a Java class file.

RAD Studio provides a new tool, Java2OP.exe (Java to Object Pascal), that automates the creation of a native bridge file for Delphi applications. This new tool allows you to generate a native bridge file from a set of JAR or Java class files, or from a specific subset of the Android API.

For this release, Java2OP.exe is available on the Registered Users site: http://cc.embarcadero.com/myreg

Application Samples Changes for XE7

The application samples delivered with the product have been reorganized, and some of the application samples are no longer delivered. We deliver the newer samples that are more relevant to multi-device application development, but we removed older samples that are less relevant. The removed samples will be made available in a separate SourceForge repository after the XE7 release.

For more information about the application samples delivered with the product, see:

Samples Descriptions
Category:Sample
See Also

Release Notes for XE7
Installation Notes for XE7
Retrieved from "http://localhost/RADStudio/XE7/e/index.php?title=What%27s_New_in_Delphi_and_C%2B%2BBuilder_XE7&oldid=232246";
Help Feedback
Copyright (C) 2014 Embarcadero Technologies, Inc. All Rights Reserved.
Current Wiki Page
----------------------------------------------
-
作者:
男 tintin1943 (零输好) ★☆☆☆☆ -
盒子活跃会员
2014/9/2 12:52:33
1楼: 新东西很多,非常期待!
----------------------------------------------
不喧哗 自有声 心静 思远 志行千里
作者:
男 isxuzhu (e.Wong) ★☆☆☆☆ -
盒子活跃会员
2014/9/2 13:15:25
2楼: Thank you!!!
----------------------------------------------
你我,都可以是个造梦者!欢迎加入脚本引擎PaxCompiler交流群303904495http://www.cnblogs.com/fireboxsoft有需要错别字检测软件的朋友可以在我博客上的地址下载使用,备注“2ccc”的朋友可以免费获取超级黄金VVVVVVVVVVIP授权
作者:
男 ptdelphi (Delphi) ▲▲▲▲△ -
普通会员
2014/9/2 13:31:07
2楼: 不错,不少啊
----------------------------------------------
还可以更好
作者:
男 kenliaoliao (ben) ★☆☆☆☆ -
普通会员
2014/9/2 15:00:28
3楼: 什么时候能在Linux上有用?
----------------------------------------------
-
作者:
男 jmhyy (jmhyy) ★☆☆☆☆ -
普通会员
2014/9/2 15:00:54
4楼: 中文不好,谁翻译一下。
----------------------------------------------
-
作者:
男 ying32 (唯有此生) ▲▲▲▲▲ -
普通会员
2014/9/2 15:25:30
5楼: 看到10.1 Java2OP.exe: New Native Bridge File Generator for Android了。。。
我以前写的那个貌似没啥用了按此在新窗口浏览图片
----------------------------------------------
一个热爱delphi的人,Golang GUI库。 --我的博客--
作者:
男 zzh2002 (鳄鱼) ★☆☆☆☆ -
普通会员
2014/9/2 15:32:29
6楼: 3.5 Splash Screen Support for Android
----------------------------------------------
DELPHI编程爱好者
作者:
男 luwakin (luwakin) ★☆☆☆☆ -
普通会员
2014/9/3 8:25:22
7楼: 浏览器翻译的,还算看得懂

显示:Delphi c++
显示偏好
有什么新鲜事在Delphi和c++ Builder XE7

从RAD Studio
有什么新鲜事


XE7版本包含了许多新的和改进的功能。

内容

1 FireMonkey XE7变化
1.1 FireMonkey Multi-Device同时支持桌面和移动平台的应用程序
1.2 FireMonkey使用新的谷歌Android手机广告的API
1.3新TMultiView控制
1.4本机表示TEdit和TCalendar iOS
1.5多显示器支持
1.6支持多点触控和手势的变化
Android 1.7全屏身临其境的模式
1.8大小属性和PlatformDefault TControl
1.9 TTabPosition PlatformDefault设置在移动应用程序
1.10 FireMonkey支持下拉功能TListView iOS和Android
1.11 FireMonkey保存状态特性
1.12触MetropolisUI风格
1.13 DesignVisible财产被淘汰
1.14重构FireMonkey库
2平台助理XE7变化
2.1在PAServer两个新的命令
2.2新PAServer管理器应用程序
3 XE7 IDE的变化
3.1 RAD Studio导游
对于多设备应用程序来说3.2表单设计器的变化
3.3项目文件被自动添加到部署管理器
3.4权利列表添加为Android
3.5闪屏支持Android
3.6 Git版本控制系统集成的IDE
3.7 Delphi人格现在需要为OS X和iOS SDK模拟器
Android 3.8 Java库添加到您的应用程序的项目经理
3.9创建大都市UI应用程序
XE7 4运行时库(RTL)变化
蓝牙4.1 RTL API
4.2应用程序共享支持典型的蓝牙
4.3应用程序共享支持连接外你的子网
4.4并行编程库
4.5 XML改进
4.5.1新跨平台XML供应商,提高了性能
4.5.2新系统选择XML供应商
4.6新单位网络编码和解码
4.7 PCRE 8.35为Windows和移动平台
4.7.1 PCRE 8.35不接受组名称从数字开始
4.8 zlib 1.2.8
5 VCL XE7变化
5.1新的Windows任务栏跳转列表组件
6 XE7 c++编译器的变化
6.1新版本的提高和Win64 Dinkumware库
6.2添加新的iOS头(libcplusplus)
6.3导航到命令
6.4 Delphi包不再允许名称空间选择输出- C / c++选项
7 Delphi XE7编译器的变化
7.1线状操作支持动态数组
8 XE7数据库和连接更改
8.1 FireDAC更改
8.2企业移动服务
8.3解析提供者支持Android推送式通知应用程序
8.4 12删除
8.5增强浏览器的数据
8.6在线帮助更改数据库
9 XE7调试器的变化
9.1新PAServer管理器应用在Mac上
9.2多字节支持移动调试器
9.3二进制info.plist文件部署
10 XE7命令行实用程序的变化
Android 10.1 Java2OP.exe:新的本地桥文件生成器
11 XE7样本应用程序更改
12看也
FireMonkey变化XE7

FireMonkey Multi-Device同时支持桌面和移动平台的应用程序

你不再需要选择创建一个桌面应用程序或一个移动应用程序。FireMonkey应用程序现在称为multi-device应用程序,默认情况下他们支持所有可用的目标平台。

FireMonkey使用新的谷歌Android手机广告的API

FireMonkey现在使用谷歌移动广告SDK提供广告的新特性在Android设备上。

以前,FireMonkey用谷歌AdMob SDK,它现在已经弃用。谷歌宣布8月1日2014年,玩商店将停止接受用谷歌AdMob SDK构建的应用程序。请更新现有的Android应用程序使用谷歌移动广告而不是AdMob。看到你的移动应用程序添加广告。

新的TMultiView控制

FireMonkey支持新的TMultiView组件,它允许您实现主从接口,可以用于任何目标平台的支持。

主面板中可以显示任何视觉控制的集合,如编辑框、标签、列表,等等。
细节窗格通常基于控件的属性显示信息在主面板。
为更多的信息关于这个组件和一个示例应用程序,看到移动教程:使用一个多视图组件来显示备用的观点信息(iOS和Android)。

本机的TEdit TCalendar iOS

iOS目标平台上,FireMonkey现在同时支持样式和本地演示TEdit和TCalendar组件。

默认情况下,当你将这些组件添加到表单设计器,RAD Studio使用风格的演示。
使用本机表示iOS目标平台上,将新的TPresentedControl.ControlType属性设置为平台。
有关更多信息,请参见TPresentedControl.ControlType。

注意:FMX.DateTimeCtrls.TCalendar类已经搬到自己的单位,FMX.Calendar。如果你已有的应用程序使用TCalendar,确保FMX.Calendar使用/包括。
多显示器支持

如果你FireMonkey应用程序运行在多个显示器,TScreen维护监控列表和他们的尺寸,并提供方法来获取监控包含一个表单或一个点,这样您就可以有效地管理用户界面的布局在几个活跃的监控。

支持多点触控和手势的变化

新FMX.MultiTouch单元包含一个TMultiTouchManager。
新ondraw事件处理手势,是纯粹的手势(不要解释为鼠标事件)。
TForm TControl现在OnTap事件当用户水龙头使用手指或类似设备(鼠标)。
全屏身临其境的模式为Android

您可以启用身临其境的全屏模式(KitKat)在你的Android 4.4应用程序。使身临其境的模式,FMX.Forms.TForm.FullScreen必须设置为True。

注意,谷歌玻璃定义身临其境的全屏应用程序。

大小属性,在TControl PlatformDefault

添加了一个新的属性、大小TControl提供管理和存储的大小控制。大小属性是一个对象类型(TControlSize)引入了一个新的领域,PlatformDefault,这是默认设置为真。PlatformDefault允许控制自动调整正确,运行时平台的预定义的大小。TControl的宽度和高度属性依然存在,但现在它们的值保存在TControlSize对象,而不是作为单独的宽度和高度。

TTabPosition PlatformDefault设置在移动应用程序

PlatformDefault FMX.TabControl.TTabPosition枚举包含一个新值,设定选项卡的位置根据目标平台的默认行为,如下。

TTabPosition =底部的iOS应用程序
TTabPosition =最高为Android应用程序
看到手机教程:使用选项卡组件来显示页面(iOS和Android)。

FireMonkey支持下拉功能TListView iOS和Android

XE7 TListView提供下拉功能,允许您下拉刷新列表信息的内容。如何启用和使用此功能,看到PullToRefresh。

FireMonkey保存状态功能

新FireMonkey保存状态特性允许您保存应用程序结束之前的状态,这种状态可以恢复一旦应用程序重新启动。

管理这个新特性,形成一个新的属性称为SaveState处理储蓄和恢复的状态。这保存状态数据可以写入或读取在任何时候,但理想情况下,这个国家的储蓄应该在新的OnSaveState事件和这个国家的复苏应该在OnCreate事件。

表单的保存状态可以包含信息,如活动选项卡,中包含的文本编辑控件,复选框选择、日历日期、当前选择项,等用户数据。这一特性可用于移动平台以及在桌面平台上。

有关此功能的更多信息,请参见FireMonkey保存状态。

称MetropolisUI风格可用

四个新更新MetropolisUI样式可供FireMonkey(.style文件):

MetropolisUIBlack_touch
MetropolisUIBlue_touch
MetropolisUIDark_touch
MetropolisUIGreen_touch
这些风格都有移动应用程序的UI元素,称。您可以访问的风格C:\Users\Public\Documents\内河码头\ Studio \ 15.0 \风格。

DesignVisible财产被淘汰

FMX.Controls.TControl.DesignVisible属性被移除。现在的可见属性适用于运行时和设计时,结构视图总是允许访问任何组件在设计时。

重构FireMonkey库

TAnimation一直从FMX.Types FMX.Ani单元单位。
FMX.Controls:如果你正在创建一个FireMonkey表单应用程序,下面的重构应该不需要更改代码部分,自FMX.Controls单元自动包含在FireMonkey形式的应用:
这些trigger-related API从FMX.Controls FMX.Types单位:
现在FMX.Ani.TAnimator.StartTriggerAnimation FMX.Types.TFmxObject.StartTriggerAnimation(以前的名称)。
现在FMX.Controls.TControl.ApplyTriggerEffect FMX.Types.TFmxObject.ApplyTriggerEffect(以前的名称)。
FMX.Edit.TNumberBox类已经搬到自己的单位,FMX.NumberBox.TNumberBox。如果你已有的应用程序使用TNumberBox,确保FMX.NumberBox使用/包括。
FMX.DateTimeCtrls.TCalendar已经搬到自己的单位,FMX.Calendar。如果你的应用程序使用TCalendar,确保FMX.Calendar添加到使用/包括。
TPopup新的大小,PopupForm和VisibleStored属性。
MessageDlg、InputQuery InputBox包含一个匿名方法引用有新的过载。这种转变的删除之前的预防措施,在Android应用程序中使用这些方法。
平台XE7助理变化

两个新的PAServer命令

v - verbose模式开关(详细模式显示了命令行参数当你发出一个命令)
r -重置,终止所有的子进程
有关更多信息,请参见PAServer,平台助理服务器应用程序。

新的PAServer管理器应用程序

我们已经添加了一个新的GUI应用程序,运行在Mac。PAServer管理器使您能够创建和管理多个PAServer Mac和iOS应用程序的流程:

StartPAServerMenu.png
有关更多信息,请参见:

在Mac上安装PAServer经理
在Mac上运行PAServer经理
IDE变化XE7

RAD Studio导游

这个版本包括一个新技术促进学习RAD Studio提供导游。导游由一个循序渐进的演练显示特定的特性和功能。

这些互动旅游展示泡沫每一步一步解释你要做的。你必须阅读说明书并遵循所有的步骤完成导游成功。您可以访问一个导游在欢迎页面点击相应的链接。为进一步的信息,看到RAD Studio导游。

对于多设备应用程序来说表单设计器的变化

ChangesFormDesigner.png

新Multi-Device形式是一种常见的设计师为所有平台(桌面和移动),一种风格的大师和多个视图可用不同的形式和布局。看到表单设计器。

设计师打开默认风格,Win32主风格。风格下拉菜单允许您更改主形式风格,你可以选择窗口,iOS和Android OS X。可用的组件及其属性变化取决于风格。

主表单的所有组件应放置和适当编辑。设计移动应用程序,我们建议您使用以下教程中的步骤:移动教程:使用布局调整不同形式的大小或方向(iOS和Android)。

视图下拉菜单允许您将预定义的形式添加到您的项目中,比如Android平板电脑7或iPhone 4。选择一个可用的视图之后,相应的形式添加到您的项目文件夹,并参考条款代码页。所有的观点继承主表单。看到Multi-Device项目添加视图。

视图允许您个性化您的项目为一个特定的预定义布局。可用的观点考虑目标设备的显示分辨率。如果你想个性化您的项目为一个特定的分辨率,可以添加一个定制的视图。添加一个定制的视图的视图选择器的更多信息。

当您运行您的项目为一个特定的目标,只有相应的视图包含在您的应用程序。

项目文件被自动添加到部署管理器

如果您添加一个文件或删除一个文件从一个项目使用项目经理,现在部署管理器自动添加或删除该文件。您可以添加媒体文件,文本文件或者任何你想要的资源文件来部署您的应用程序。

一些文件,比如数据库文件,需要特殊处理,因为他们需要数据库驱动程序或许可文件(包括文件)。在这种情况下,出现文件对话框自动打开,这样你可以选择必要的文件添加到部署清单。

出现文件对话框包含一个新选项(显示在需要时自动复选框),允许您禁用自动添加/删除文件的部署管理器。如果禁用此选项,RAD Studio不显示了文件对话框自动了;相反,您必须手动打开了文件对话框中添加或删除文件。

权限列表添加为Android

一种权利列表页面添加了Android(iOS和Mac OS X已经支持福利列表)。您可以通过项目访问权限列表>选项>福利名单。

你可以设定权利的Android应用程序。例如,您可以添加广告你的移动应用程序或允许您的应用程序接收数据从远程服务器通过远程推送式通知支持。

有关更多信息,请参见权限列表。

闪屏支持Android

现在,您可以配置一个闪屏的Android应用程序。选择Project >选项>应用程序,使您的闪屏,输入您闪屏图像的路径,并配置闪屏的对齐。

有关更多信息,请参见飞溅图像。

Git版本控制系统集成的IDE

RAD Studio现在支持版本控制的Git版本控制系统项目,并添加了一些新的Subversion特性在IDE中。

史经理现在礼物Git版本控制信息从您的本地存储库集成。当你打开一个项目,是根据Git和Subversion版本控制,你可以找到更多的信息内容、信息和不同选项卡。
现在,您可以使用Git IDE的集成:
克隆一份远程Git存储库并开始使用它。
提交您的更改到您的本地Git存储库(给他们)
向Git存储库为您的版本控制项目日志。
当使用Subversion支持,现在您可以:
使用新的Subversion变更列表标签组你改变文件提交到远程存储库之前。
开始使用新的SVN合并对话框从IDE合并您的更改
使用新的Subversion切换分支功能点你的本地存储库更改你的远程存储库的一个新的分支。
有关更多信息,请参见:

Subversion集成在IDE中
Git集成在IDE中
历史管理器
Delphi的性格现在需要为OS X和iOS SDK模拟器

需要一个SDK(软件开发工具包)现在为OS X和iOS开发Delphi应用程序。

一个软件开发工具包(SDK)提供了一组文件为目标平台构建应用程序,并定义这些文件在目标平台上的实际位置或一个中间平台,支持目标平台(例如,Mac OS X提供iOS SDK)。

步骤来添加一个新的Mac OS X或iOS SDK开发系统(设备或模拟器)从Mac,看到添加一个Mac OS X,iOS设备或模拟器iOS SDK。

Java库添加到项目经理的Android应用程序

XE6,一个定制的Java库添加到您的应用程序,您必须手动创建和部署一个classes.dex文件。

在XE7,您可以简单地添加您的自定义Java库的项目经理,使用新的库节点,您可以找到在Android平台节点。看到Java库添加到您的应用程序使用项目经理。

创建大都市UI应用程序

在XE7可以不再创建大都市UI应用程序直接从文件>新菜单。相反,选择下面的创建一个新的大都市UI应用程序:

File > New >其他>德尔福项目> FireMonkey大都市UI应用程序
File > New >其他>德尔福项目> VCL大都市UI应用程序
File > New >其他> c++ Builder项目> FireMonkey大都市UI应用程序
File > New >其他> c++ Builder项目> VCL大都市UI应用程序
运行时库(RTL)XE7变化

RTL API蓝牙

System.Bluetooth RTL有一个新的单位,提供了一个multi-device API来访问蓝牙功能的设备运行您的应用程序。这个新单元提供了支持经典蓝牙,蓝牙低能量。看到使用蓝牙。

应用经典拘束支持蓝牙

现在可以使用app拘束不仅连接您的应用程序使用TCP / IP网络协议,而且经典的蓝牙协议。

应用拘束外支持连接你的子网

XE6的方法来发现远程设备连接符和DiscoverManagers,用于寻找设备子网的局域网(LAN)设备运行您的应用程序在哪里。因此,您不能使用应用程序共享连接设备在不同子网的局域网,或设备与完全不同的IP地址。

在XE7,这两种方法提供一个可选参数,<目标>,您可以使用它来覆盖此行为,指定一个目标IP地址或子网搜索远程经理。看到你子网连接到应用程序之外。

并行编程库

包括新的System.Threading单位在您的应用程序,您可以使用新的并行编程库。

XML的改进

新跨平台XML供应商,提高了性能

现在除了MSXML和ADOM,RAD Studio提供了一个新的XML供应商:OmniXML。OmniXML跨平台XML供应商显示比另一种更好的性能结果跨平台XML供应商:ADOM。OmniXML XML供应商在RAD Studio是基于OmniXML,但它包含额外的功能,如名称空间支持,兼容肥皂。

新系统选择XML供应商

RTL提供了一个新的系统来定义XML供应商使用,如使用文档对象模型。

新的XML供应商选择系统提供MSXML作为默认XML供应商。MSXML只支持Windows平台;如果你不指定一个不同的XML供应商,您的应用程序没有XML支持在其他平台比Windows,你看到一个运行时异常,当你在其他平台上运行您的应用程序。

选择不同的XML供应商,供应商单位的引用添加到您使用RTL XML特性的单元,如TXMLDocument类。如果您添加多个XML供应商单元,第一单元引用是作为XML供应商。覆盖这种行为,您可以更改DefaultDOMVendor全局变量的值的全局变量目标XML供应商。

注意:你可以查找全局变量的单位和每个XML供应商列表中的内置XML供应商。
当您使用TXMLDocument组件时,您可以选择一个XML供应商使用其DOMVendor财产。当你改变DOMVendor的价值,使用组件被配置为使用单位指定的XML供应商,这样你不需要手动改变单元或DefaultDOMVendor全局变量的引用。

使用不同的XML为每个平台供应商(如MSXML在Windows和OmniXML在其他平台上),使用条件编译:

条件编译(Delphi)
条件编译(c++)
新单位网络编码和解码

System.NetEncoding RTL提供了一个新的单位,提供了Base64编码和解码功能,HTML,和URL。

下面的表显示了方法从早期版本的RAD Studio如何映射到System.NetEncoding方法:

XE6 XE7
Soap.EncdDecd.EncodeBase64

TNetEncoding.Base64.EncodeBytesToString

Soap.EncdDecd.DecodeBase64

TNetEncoding.Base64.DecodeStringToBytes

Soap.EncdDecd.EncodeStream
Soap.EncdDecd.EncodeString

TNetEncoding.Base64.Encode

Soap.EncdDecd.DecodeStream
Soap.EncdDecd.DecodeString

TNetEncoding.Base64.Decode

Web.HTTPApp.HTMLEncode

TNetEncoding.HTML.Encode

Web.HTTPApp.HTMLDecode

TNetEncoding.HTML.Decode

Web.HTTPApp.HTTPEncode

TNetEncoding.URL.Encode

Web.HTTPApp.HTTPDecode

TNetEncoding.URL.Decode

一些以前支持方法同时支持AnsiString和UnicodeString或只支持AnsiString。新只支持UnicodeString XE7方法。使用新的方法XE7 AnsiString,你必须把你的输入字符串和方法结果如下:

德尔菲:

AnsiStringResult:= AnsiString(NewMethod(字符串(AnsiStringInput)));
c++:

AnsiStringResult = AnsiString(NewMethod(UnicodeString(AnsiStringInput)));
PCRE 8.35为Windows和移动平台

PCRE库,它提供了支持perl的正则表达式,在XE7已经升级:

平台XE6 XE7
32位Windows
64位Windows
7.9
(2009-04-11)

8.35
(2014-04-04)

iOS设备
安卓
8.31
(2012-07-06)

Mac OS X
iOS模拟器
这些平台系统中使用PCRE版本可用。

检查更改PCRE以前版本以来,看到官方的更新日志。
使用PCRE,看到System.RegularExpressions单位的文档。
PCRE 8.35不接受组名称从数字开始

在XE6,您可以定义命名组的名字,包含任何数字和字母的组合,如“1”或“2”。例如:“(? < 1 > \ w +)\ s +(? < 2 >鱼)\ s *”。

XE7,包括PCRE库的最新版本,它不再是可以使用组名,从一个数字开始。也就是说,您不能使用组名如“1”或“2”了。不过,你仍然可以使用数字的名称,只要他们不是第一个字符的名称,如“g1”或“my2cents”。

zlib 1.2.8

RAD Studio包含一个新版本的zlib压缩库:1.2.8。

检查zlib 1.2.7以来的变化,看到官方的更新日志。
使用zlib,看到System.ZLib单位的文档。
VCL变化XE7

新的Windows任务栏跳转列表组件

Windows 7,后来版本的Windows任务栏为项目提供一个上下文菜单,让用户快速访问最近的文件与您的应用程序打开。在XE7 TJumpList组件允许您自定义应用程序的跳转列表显示的信息。

您可以隐藏或显示最近的和频繁的文件,提供给你的任务条目用户快速访问您的应用程序的常见任务,或完全自定义类别和项目添加到应用程序的跳转列表。

XE7JumpLists.png
相关功能的信息,请参阅VCL任务栏。

c++编译器为XE7变化

新版本的提高和Win64 Dinkumware库

新版本的提高和Dinkumware库现在安装(仅供Win64)。

Dinkumware STL Win64 6.40版本
看到Dinkumware标准c++库。
Win64 Boost库1.55版本
看到Boost库。
添加新的iOS头(libcplusplus)

libcplusplus iOS头现在被用于RAD Studio。这些更新头c++ 11提供更多的功能,如原子、默认初始化向量。

导航到命令

RAD Studio现在支持导航到命令,该命令添加到找到(c++)命令之前可以在上下文菜单在代码编辑器中,导航到命令搜索整个活动项目标识符和常量,以满足指定的搜索条件。更多的信息,见:

导航到(c++)
找到定义和引用(c++)(概述)
德尔福包不再允许名称空间选择输出- C / c++选项

对c++生成输出文件,选择不同的Delphi包和可执行文件。包,有两种选择(而不是11 . exe文件):

生成DCUs(当你不计划使用c++)寄来的包裹
生成c++ Builder所有文件(包括包libs)
这种变化可以消除潜在的名称空间问题当Delphi包中使用c++应用程序。

德尔福XE7编译器的变化

线状操作支持动态数组

动态数组可以操作类似于字符串。例如:
var
答:整数的数组;
B:TBytes =(1、2、3、4);/ /初始化可以从声明
开始

答:=(1、2、3);/ /分配使用常量数组
答:= +(4、5);/ /添加——将成为[1、2、3、4、5)

结束;
线状支持日常补充道:
即插入函数插入一个动态数组的开始位置指数。它返回修改后的数组。

var
答:整数的数组;
开始

答:=(1、2、3、4);
插入(5,2);/ /将成为[1、2、5、3、4)

结束;
二。Delete函数消除元素从一个动态数组并返回修改数组:

var
答:整数的数组;
开始

答:=(1、2、3、4);
删除(1,2);/ /将成为[1,4]

结束;
第三。可以使用Concat函数放在一起两个不同的动态数组:

答:= Concat([1,2,3],[4、5、6]);/ /将成为[1、2、3、4、5、6)
数据库和连接XE7变化

FireDAC变化

FireDAC流支持blob参数和支持该文件流
新的TFDParam属性:AsStream AsStreams、IsDataSet IsDatasets,IsObject,IsObjects,IsStream,IsStreams IsUnicode,StreamMode
新TFDParam方法:GetDataReader SetStream
新TFDParams方法:关闭并使不适合。
新的TFDAdapterDataSet方法:CloseStreams。
新的桌面和移动IBLite驱动程序,基于现有IB司机
新DriverID = ' IBLite '
新的TFDPhysIBDriverLink.Lite属性
支持DBMS API命令超时
支持FireDAC司机:优势、Informix SQL服务器
FireDAC连接参数现在显示在对象检查员记录。
现在TFDConnection.Params TFDConnectionDefParams的基类。
的参数是根据TFDConnection.DriverName TFDPhysXxxConnectionDefParams之一,在Xxx司机ID。
数据浏览器增强。
显示主键和字段。
外键和字段显示出来。
序列/发电机现在显示出来。
元数据的写作能力
新的TFDTable.CreateTable方法
新的TFDBatchMove.Options poCreateDest选项
新IFDPhysCommandGenerator.GenerateCreateTable GenerateDropTable方法
新的TFDBatchMove组件复制表不同数据库之间的数据和元数据:
新组件:TFDBatchMove TFDBatchMoveTextReader、TFDBatchMoveTextWriter TFDBatchMoveDataSetReader,TFDBatchMoveDataSetWriter TFDBatchMoveSQLReader,TFDBatchMoveSQLWriter。
旧组件TFDDataMove现在弃用。使用TFDBatchMove代替TFDDataMove。
TFDScript、TFDBatchMove读者和作家组件TFDDataMove搬到新的“FireDAC ETL”页面。
TFDCustomSchemaAdapter序列化:
新方法:LoadFromStream LoadFromFile、LoadFromStream SaveToStream,SaveToFile
新属性:数据集和ResourceOptions
企业移动服务

新企业移动服务(EMS)提供了一种移动企业应用平台,可以托管在云或前提,并公开定制REST api和企业数据库数据。

EMS是发达国家为客户提供全面的解决方案,包括一个REST API服务器,远程数据库访问和跟踪解决方案的使用。EMS数据库存储设备和用户的活动,和EMS服务器创建分析这些信息。

EMS体系结构的主要组件:

EMS服务器的组件,该组件提供核心功能和服务EMS客户。EMS服务器管理EMS数据库存储信息,如注册用户,设备和应用程序的活动(创建分析)。
REST API用于访问数据库的EMS数据。EMS客户端可以访问数据库中的信息EMS通过调用其他内置管理API的EMS服务器。您可以扩展现有EMS的功能服务器通过创建自己的EMS包或包FireDAC EMS,EMS和注册这些资源服务器。
EMS客户移动或桌面应用程序可以访问EMS的通过使用REST API服务器注册资源。EMS FireDAC提供支持,因此您可以创建EMS FireDAC客户机应用程序。
EMS控制台读取存储在EMS数据库的信息并显示在您的默认浏览器。EMS控制台显示用户的列表,设备,和组,显示图形的分析,数据库存储在EMS。
XE7,新组件添加了EMS的IDE,比如REST.Backend.EMSProvider.TEMSProvider或REST.Backend.EMSFireDAC.TEMSFireDACClient(在您的客户机应用程序支持FireDAC)。你也可以使用现有的主人组件,如TBackendQuery、EMS客户端应用程序。

解析提供者支持Android推送式通知应用程序

RAD Studio休息老板框架现在支持解析先生作为Android推送式通知应用程序提供者。之前,您可以使用解析提供者只对RAD Studio iOS应用程序。

开始从解析接收推送通知主人提供者,RAD Studio应用程序注册为一个Android解析推送式通知客户机和配置您的解析云服务。

有关更多信息,请参见移动教程:使用远程通知(iOS和Android)和创建Android应用程序。

12删除

12,我们最老的数据库解决方案,已达到弃用的最后阶段,并已从RAD Studio。这包括Bde.DBBdeWeb和Bde.DBTables单位。相反,使用新的数据库技术移民如FireDAC。看到FireDAC 12迁移应用程序。

如果你仍然需要继续使用12,外部安装程序可以在网站注册用户:http://cc.embarcadero.com/myreg;
12帮助仍在XE7帮助。

增强数据浏览

现在的数据浏览显示FireDAC这些节点应用程序:

主键字段
外键字段
发电机
在线帮助更改数据库

教程:使用REST DataSnap服务器应用程序和FireDAC(新)
教程:使用REST DataSnap服务器应用程序(修改后)
DataSnap.FireDACJSONReflect其他服务器客户端示例(新)
调试器变化XE7

新的PAServer管理器应用在Mac上

新的Mac GUI应用程序PAServer经理现在交付PAServer(平台助理服务器)。PAServer管理器使您能够创建和管理PAServer的多个实例。

有关更多信息,请参见:

在Mac上安装PAServer经理
在Mac上运行PAServer经理
多字节支持移动调试器

移动平台的调试器(iOS和Android)现在支持使用Unicode字符和字符串UTF8,UTF16或UTF32编码。
在文件名的iOS应用程序,调试器现在支持使用国际字符(Unicode,如海琳和元素)。
一般信息,请参见调试Multi-Device应用程序。

二进制info.plist文件部署

info.plist文件,Mac和iOS应用程序,需要继续生成作为一个XML文件,其中包含密钥和相关的值。

部署,然而,现在的XML文件转换为二进制。info.plist文件的内容信息,查看版本信息。

命令行实用程序为XE7变化

Java2OP.exe:新文件生成器为Android原生桥

允许您的应用程序使用的过程定制的Java库Android之前需要您手动创建一个本地桥文件从一个Java类文件。

RAD Studio提供了一个新的工具,Java2OP.exe帕斯卡(Java对象),自动创建一个本机桥的Delphi应用程序的文件。这个新工具允许您生成一个本地桥从一组JAR文件或Java类文件,或从一个特定的子集Android API。

这个版本,Java2OP.exe可用注册用户网站:http://cc.embarcadero.com/myreg

XE7样本应用程序更改

应用产品提供的样品都已经重组,和一些应用程序不再交付样品。我们提供的新样品更贴近multi-device应用程序开发,但我们旧的样品不太相关。删除删除样品将在一个单独的SourceForge库XE7后释放。

关于应用程序的更多信息产品提供的样品,看:

样品描述
类别:示例
另请参阅

为XE7发布说明
安装Notes XE7
从“检索http://localhost/RADStudio/XE7/e/index.php?title=What%27s_New_in_Delphi_and_C%2B%2BBuilder_XE7&oldid=232246”;
帮助反馈
版权(C)2014年内河码头技术有限公司保留所有权利。
当前的Wiki页面
----------------------------------------------
-
作者:
男 zzh2002 (鳄鱼) ★☆☆☆☆ -
普通会员
2014/9/3 8:48:05
8楼: 才知道EMB原意是内河码头啊
----------------------------------------------
DELPHI编程爱好者
作者:
男 truekbcl (truekbcl) ★☆☆☆☆ -
普通会员
2014/9/3 8:53:30
9楼: 每次升级前都说c++要支持1x,每次升级后都没有支持。
----------------------------------------------
-
作者:
男 szyourname (szyourname) ★☆☆☆☆ -
盒子活跃会员
2014/9/3 8:59:43
10楼: For Linux Server 未见,不过也算是意料之中的。
FMX Style Editor/Tool 未见进步,所以如果你公司想用XE开发APP,基本上可以省下美工一职了,因为有也是白有。
----------------------------------------------
-
作者:
男 zzh2002 (鳄鱼) ★☆☆☆☆ -
普通会员
2014/9/3 13:07:45
11楼: FMX Style Editor确实不好用,但俺也摸索出一些技巧,虽然繁琐一些,但好歹能用了
----------------------------------------------
DELPHI编程爱好者
作者:
男 lsuper (lsuper) ★☆☆☆☆ -
盒子活跃会员
2014/9/3 14:05:24
12楼: 着两个让人鸡冻啊:


Add Java Libraries to Your Applications for Android from the Project Manager

In XE6, to add a custom Java library to your application, you had to manually create and deploy a classes.dex file.

In XE7, you can simply add your custom Java libraries from the Project Manager, using the new Libraries node that you can find within the Android platform node. See Adding A Java Library to Your Application Using the Project Manager.


Java2OP.exe: New Native Bridge File Generator for Android

The process of allowing your application to use custom Java libraries on Android previously required you to manually create a native bridge file from a Java class file.
----------------------------------------------
-
作者:
男 jiucenglou (九层楼) ★☆☆☆☆ -
普通会员
2014/9/4 1:53:12
13楼: 谢谢 lsuper 介绍!原来这两个是很好的功能!:p
----------------------------------------------
-
信息
登陆以后才能回复
Copyright © 2CCC.Com 盒子论坛 v3.0.1 版权所有 页面执行129.8828毫秒 RSS