Difference between revisions of "LMD VCL 2012 - What`s New?"

From LMD
Jump to: navigation, search
(Undo revision 3058 by Balabuyew (talk))
(LMD IDE-Tools)
Line 105: Line 105:
 
== LMD IDE-Tools ==
 
== LMD IDE-Tools ==
 
=== General ===
 
=== General ===
* Code normalisation for 64bit support.  
+
* Code normalisation for 64bit support.
 +
=== ScriptPack ===
 +
* Native languages (PasScript and NativeVB) VM and compilers has been adapted to x64 platform. This includes optimized Variant operations, used by VM.
 +
* The parser of the LMD-ScriptPack Importer Wizard has been improved; for example, it is able currently to parse Delphi generic (templates) as well as other new Delphi language constructs. So, the whole VCL can be parsed without parse errors.
 +
* LMD-ScriptPack Batch Importer is able currently to process specified units in the "uses" recursion order, making the use of the batch importer much easier. As well, some importing units can be marked as "supplemental"; in this case the importer will automatically uncheck everuthing inside the unit that is not used by other (non-supplemental) imported units. This is a great help while importing units such as WinAPI units: Windows.pas, AtiveX.pas, ect.
 +
* Based on new Batch Importer functionality, the VCL has been fully reimported. So, LMD-2012 release contains true reimpoting of VCL, not just a port from previous release. Thus, all new functionality (classes, methods and properies), which is compatible with script-pack should be accessible from the script.
  
 
== Changes/Enhancements since initial LMD VCL 2011 release ==
 
== Changes/Enhancements since initial LMD VCL 2011 release ==

Revision as of 14:35, 15 September 2011

<< Back to Getting started page

[edit]

General

Support for IDEs and operating systems

  • Compatible with Delphi XE2 and C++ Builder XE2, including 64bit support for Delphi XE2!
  • Supported IDEs
    • Delphi 6, 7, Delphi 2005 - 2010, XE + XE2
    • C++ Builder 6, 2006 - 2010, XE + XE2
    • Delphi 2005.NET - Delphi 2007.NET
    • Turbo (2006) Professional versions for Delphi, C++ and Delphi.NET
    • All corresponding Studio Products (BDS 2006, CRS 2007, CRS 2009, RAD Studio 2010, XE, XE2 etc.)
  • Supported operating systems
    • Win98 and WinNT4 or better (including Windows 7).

For recent Delphi releases LMD VCL package support same platforms as the VCL which is included in the IDE (e.g. Delphi 2009 officially supports Win2k or better only).

64bit support (Delphi XE2 and higher)

All packages were ported to 64bit. Exception: Compatibility controls (dcllmdlegacy) can not be used in 64bit applications. [Top]

New package naming convention

Package names have been changed to be more consistent with VCL naming convention. LMD version number and IDE version number were removed from package names. Runtime package names are prefixed now with "lmdrt", design-time package names with "dcllmd". Some examples of generated package file names are: lmdrtdocking.dcp, lmdrtdocking.bpi, lmdrtdocking.lib, dcllmddocking.dcp, dcllmddocking.bpi, dcllmddocking.lib. IDE version suffix is still contained only in generated "bpl": lmdrtdocking_160.bpl.

This change simplifies porting projects (supposed they are compiled with run-time packages) to another IDE version. Since package references contain neither IDE version nor LMD platform version, migrating to a future IDE version will require no changes. [Top]

LMD Tools

General

  • Code normalisation for 64bit support.

LMDBaseEdit

Three values added to TLMDEditOption type: eoAllowCopy, eoAllowCut, eoAllowPaste. All LMDBaseEdit descendants which expose 'Options' property now support setting separate permissions for each of Copy/Cut/Paste action.

Neweditoptions.png

Actions in popup menu are shown/hidden according to current options. For example, all copy/cut/paste operations are disabled:

Lmdeditpopup.png

[Top]

LMDFormComboBox

New component TLMDFormComboBox added. This control is a generic combobox, allowing to dropdown a form containing any visual control:

Lmdformcombobox.png

[Top]

LMDDateTimePicker

New component TLMDDateTimePicker added. LMDCalendar and LMDClock controls received Style and ColorScheme properties. See screenshots of LMDDateTimePicker with different calendar and clock styles:

Datetimepicker1.png

Datetimepicker2.png

Datetimepicker3.png

[Top]

LMDMaskEdit

LMDMaskEdit received new mask type: meDateTime and new property TimeSettings.

Timesettings.png

The mask type allows to edit both date and time part of a DateTime value. For 'meTime' mask type a convenient edit mode is now supported, similar to that for meDate mask type.

Medatetime.png

Custom time formats support added. For custom formats time separator must be ':'

Custom formats can use

  • 'h' for hours in 12 hour format,
  • 'H' for for hours 24 hour format,
  • 'm' or M for minutes,
  • 's' or S for seconds,
  • 't' for AM/PM sign if 't' is omitted, then AM/PM sign is added at the end with a space.

'hh' ('mm', 'ss') means that leading zero is displayed, 'h' ('m', 's') means that leading zero is NOT displayed.

Examples:

  • 'h:mm:ss' - 3:34:12 am
  • 'hh:mm' - 03:34 am
  • 'hh:mmt' - 03:34am
  • 't h:mm' - am 3:34
  • 'HH:mm:ss' - 03:34:12

[Top]

Deprecated Controls

TLMDDBAliasNamesComboBox

This component uses features of BDE which is deprecated. Therefore control was moved to Legacy Package. If you used this control, please make sure to install dcllmdlegacy package (not installed by default from installer!).

TLMDDBDriverComboBox

This component uses features of BDE which is deprecated. Therefore control was moved to Legacy Package. If you used this control, please make sure to install dcllmdlegacy package (not installed by default from installer!).

TLMDDBTablesComboBox

This component uses features of BDE which is deprecated. Therefore control was moved to Legacy Package. If you used this control, please make sure to install dcllmdlegacy package (not installed by default from installer!). [Top]

LMD ElPack

General

  • Code normalisation for 64bit support.

LMD IDE-Tools

General

  • Code normalisation for 64bit support.

ScriptPack

  • Native languages (PasScript and NativeVB) VM and compilers has been adapted to x64 platform. This includes optimized Variant operations, used by VM.
  • The parser of the LMD-ScriptPack Importer Wizard has been improved; for example, it is able currently to parse Delphi generic (templates) as well as other new Delphi language constructs. So, the whole VCL can be parsed without parse errors.
  • LMD-ScriptPack Batch Importer is able currently to process specified units in the "uses" recursion order, making the use of the batch importer much easier. As well, some importing units can be marked as "supplemental"; in this case the importer will automatically uncheck everuthing inside the unit that is not used by other (non-supplemental) imported units. This is a great help while importing units such as WinAPI units: Windows.pas, AtiveX.pas, ect.
  • Based on new Batch Importer functionality, the VCL has been fully reimported. So, LMD-2012 release contains true reimpoting of VCL, not just a port from previous release. Thus, all new functionality (classes, methods and properies), which is compatible with script-pack should be accessible from the script.

Changes/Enhancements since initial LMD VCL 2011 release

General

  • Delphi / C++Builder XE2 installer (32bit only for LMD 2011 platform)

See full list here LMD 2011 - History

LMD Tools

LMD ElPack

LMD IDE-Tools

Archive