KbmMW 4.50.00 测试版发布
We are happy to announce the release of kbmMW v. 4.50.00 Beta
Professional and Enterprise Edition with XE6 support.
4.50.00 Beta 1 May 12 2014
New stuff
=========
- Added XSD parser support and code generator. A demo is
included, showing how the XSD parser is used
in combination with the code generator, to generate Pascal
objects that kbmMW can use for marshalling
to and from objects.
- Added CaptureMode to kbmMW RemoteDesktop client/server
classes to allow for selecting between GDI and DirectX.
Default is GDI.
- Added new ViewMode types including mwrdvm_Device to kbmMW
RemoteDesktop client/server classes to allow for using
the best fitting view mode, compared to the current screen
bitdepth on the server end.
By using the best fitting view mode, the RemoteDesktop server
part use less CPU.
- Added support in kbmMW RemoteDesktop to detect if screen
capture is to slow to be useful (typically
on old graphic cards like Matrox G400 with Hardware
accelleration enabled).
- Added new kbmMWNullable generic. If you need to define a
simple datatype that should be nullable, you can
define it as var myInt:kbmMWNullable<integer>; for example.
It can be used as any regular variable.
Use myInt.IsNull to check if its null. If you have compile
error due to conversion problems you can
use myInt.Value to access the value directly.
- Added new TkbmMWDateTime type to replace TDateTime. It works
similar to TDateTime except it is timezone and null aware,
and knows if its being used to store a time, a date or a date
time value, and thus can
provide correct matching string conversion automatically.
It supports more than 760 different timezone abbrevations,
and has full support for ISO8601 formats.
Internally it always store time as UTC with a timezone
difference, depending on the chosen timezone.
On assigning a TDateTime value to it, it always assumes not
timezone given (and thus its UTC).
When assigning Now to it, you will want to use the LocalTime
property to assign now.
Eg. mytime:TkbmMWDateTime; mytime.LocalTime:=Now. By doing
so, it will autodetect the appropriate
local timezone.
- Added new very fast TkbmMWLockFreeHashArray to kbmMWGlobal.
Its as the names imply a lock free
hash array which stores an integer value with a uint64 key.
- Enhanced TkbmMWLock to automatically detect lock escalation,
and allow finetuning of spin/sleep time.
Tests show that TkbmMWLock is now the fastest implementation
of a MREW with lock escalation handling for
Delphi/C++Builder. In addition it allows for checking which
threads holds which locks at any time,
via the kbmMWConcurrentMREWReadLocks hash array.
- Added to kbmMWGlobal.pas
function kbmMWExpectChars(var APChar:PChar;
const AChars:TSysCharSet):boolean;
function kbmMWSearchChars(var APChar:PChar;
const AChars:TSysCharSet):boolean;
function kbmMWSearchDigit(var APChar:PChar):boolean;
function kbmMWSearchNonDigit(var APChar:PChar):boolean;
function kbmMWGetDateFromWeek(const AYear:integer;
const AWeekNo:integer;
const ADayInWeek:integer):TDateTime;
function kbmMWGetDateFromDayOfYear(const AYear:integer;
const ADayOfYear:integer):TDateTime;
function kbmMWRoundToPowerOf2(
const AValue:integer):integer;
function kbmMWMurmurHash3(const AValue:cardinal):cardinal;
function kbmMWMurmurHash3(const AValue:int64):int64;
function kbmMWDigestToString(
const ADigest:TkbmMWDigest256):string;
procedure TkbmMWStringBuilder.Append(
const AStringBuilder:TkbmMWStringBuilder);
- Added function TkbmMWRegisteredTransportStreamList.
ControllerClassByID(AID:string):
TkbmMWCustomTransportStreamControllerClass;
- Added support for multiple statements in SQLite adapter
function TkbmMWSQLiteConnection.Query(
const AClass:TkbmCustomMemTableClass;
const ASQL:string):TkbmCustomMemTable;
Only last will however be returned.
- Added to kbmMWXML.pas:
TkbmMWXMLNativeDataType to handle true native XML datatype
understanding.
(TkbmMWDOMXMLNode) property
ChildrenByName[AName:string]:TkbmMWDOMXMLNodeList read
GetChildrenByName;
(TkbmMWDOMXMLNode) property
ChildrenByID[AName:string]:TkbmMWDOMXMLNodeList read
GetChildrenByID;
(TkbmMWDOMXMLNode) function GetNativeDataType(
AType:string = ''):TkbmMWXMLNativeDataType;
(TkbmMWDOMXMLNode) function GetDataTypeName(
var ANameSpace:string; AType:string=''):string;
(TkbmMWDOMXMLNode) property AttribByNameIsNil[
const AName:string]:boolean read GetAttribByNameIsNil
write SetAttribByNameIsNil;
- Added support for ftShortint as parameter and field type.
- Added support for int64/uint64 versions of CompareAndExchange
for pre XE.
- Added support for XE6.
- Added new HTTP FastCGI able custom service and demo
application.
Changes/minor additions
=======================
- Updated object marshaller (incl. JSON and XML) to support new
kbmMWNullable and TkbmMWDateTime types.
Internally there have been made many changes to also support
objects defined by XSD import.
- Dropped own implementation of TkbmMWEvent, and instead
aliases TkbmMWEvent to fastest Delphi/C++Builder
implementation
for given Embarcadero version.
- Removed from kbmMWGlobal.pas
function kbmMWDateTimeToISO8601String(
const AValue:TDateTime):string;
function kbmMWISO8601StringToDateTime(
const AString:string):TDateTime;
function kbmMWDateToISO8601String(
const AValue:TDateTime):string;
function kbmMWISO8601StringToDate(
const AString:string):TDateTime;
function kbmMWTimeToISO8601String(
const AValue:TDateTime):string;
function kbmMWISO8601StringToTime(
const AString:string):TDateTime;
they have been replaced with TkbmMWDateTime.
- Removed from kbmMWXML.pas:
function kbmMWXMLTryStringToDateTime(AValue:string;
var ADateTime:TDateTime):boolean;
function kbmMWXMLDateTimeToString(AValue:TDateTime):string;
function kbmMWXMLStringToDateTime(AString:string):TDateTime;
function kbmMWXMLDateToString(AValue:TDateTime):string;
function kbmMWXMLStringToDate(AString:string):TDateTime;
function kbmMWXMLTimeToString(AValue:TDateTime):string;
function kbmMWXMLStringToTime(AString:string):TDateTime;
Instead use TkbmMWDateTime functionality.
- Modified in kbmMWGlobal.pas
class function TkbmMWPlatformMarshal.UTF8Decode(
const ABytes:TkbmMWBytes; ACount:TkbmNativeInt =
-1):string;
Added optional ACount.
- Made general use of TkbmMWLock and TkbmMWDateTime internally.
- Performance optimized XML parser.
Large XML files now parses 20-fold faster.
(example 165 MB XML now parsed in 7.6 secs. Before parsed
in 3.5 minutes)
Fixes
=====
- Fixed bugs in kbmMWCipherHash.pas:
procedure TkbmMWCustomHash.UpdateString(const Str:string);
function TkbmMWCustomCipher.EncryptString(
const Str:string):string;
function TkbmMWCustomCipher.DecryptString(
const Str:string):string;
function TkbmMWCustomBlockCipher.EncryptString(
const Str:string):string;
function TkbmMWCustomBlockCipher.DecryptString(
const Str:string):string;
- Fixed bugs in kbmMWMime.pas:
function kbmMWMimeEncodeString(const S:string):string;
function kbmMWMimeEncodeStringNoCRLF(const S:string):string;
function kbmMWMimeDecodeString(const S:string):string;
function kbmMWMimeDecodeString2Bytes(const S:string):
TkbmMWBytes;
procedure kbmMWMimeEncode(const InputBuffer:TkbmMWBytes;
var InputBufferOffset:cardinal; const InputByteCount:
Cardinal; var OutputBuffer:TkbmMWBytes;
var OutputBufferOffset:cardinal);
function kbmMWMimeDecodedSize(const InputSize: Cardinal):
Cardinal;
- Fixed bug in SQLite adapter when query didnt result in fields.
- Fixed function kbmMWEncodingToString(
const AEncoding:TEncoding):string; to use correct lowercase
encoding names.
- Fixed bugs in kbmMWCustomClientMessagingTransport.pas
- Fixed multi database operation on user transaction bug.
- Fixed compilation for pre XE.
- Fixed transport backwards compatibility support.
- Fixed client app automatically linking in TkbmMWServer in
kbmMW Ent Edition.
The Professional and Enterprise Edition is available for all with a
current active SAU.
If your SAU has run out, please visit our shop to extend it with another
12 months.
An earlier version of kbmMW CodeGear Edition is available for free for
Delphi XE3/Win32 and includes kbmMemTable CodeGear Edition.
KbmMW 4.50.00 测试版发布的更多相关文章
- KbmMW 4.40.00 测试发布
经过漫长的等待,支持移动开发的kbmmw 4.40.00 终于发布了,这次不但支持各个平台的开发, 而且增加了认证管理器等很多新特性,非常值得升级.具体见下表. 4.40.00 BETA 1 Oct ...
- kbmmw 5.06.00 beta 发布
原生.高效.可扩展.跨平台通信库来了. we are happy to announce v5.06.00 BETA of our popular middleware for Delphi and ...
- kbmMW 5.07.00试用笔记
在kbmMW 5.06.20试用笔记中遇到的问题,在这个版本中,基本都解决了.但还是发现修正后存在的小问题及新问题: 1.Resolve返回值错误 当提交的ClientQuery是执行一条sql语句, ...
- PDF 补丁丁 0.4.3.1342 测试版发布:修复崩溃问题
PDF 补丁丁 0.4.3.1342 测试版发布了. 此测试版修复了之前测试版在合并文件.书签编辑器.文档结构探查器中出现的崩溃问题. 推荐下载了0.4.3测试版的网友尽快更新.
- PDF 补丁丁 0.4.2.1023 测试版发布:新增旋转页面功能
新的测试版发布啦.此版本增加了旋转页面的功能. 在“PDF文档选项”对话框的“页面设置”选项卡中,可设置需要旋转的页面(输入页码范围),以及旋转角度. 此外,还修复了统一页面尺寸功能的小问题.
- kbmmw 5.05.00 发布
新年前最后几天,kbmmw 发布了新版本,增加一大波功能.we are happy to announce v5.05.50 of our popular middleware for Delphi ...
- KbmMW 4.30.00 发布
今天早上,KbmMW发布了4.30.00 版,这个版本开始支持XE4 的WIN/WIN64/OSX. 暂时不支持ios开发,同时加强了通过JSON 的对象序列化.还有就是解决了我提交的几个有关 汉字处 ...
- KbmMW 4.40.00 正式版发布
经过快3个月的测试,kbmmw 4.40 正式版终于在圣诞节前发布了. We are happy to announce the availability of a new kbmMW release ...
- KBMMW 4.92.00 发布
We are happy to announce the release of kbmMW Professional and Enterprise Edition. Yet again kbmMW c ...
随机推荐
- 13.小结Action
转自:https://wenku.baidu.com/view/84fa86ae360cba1aa911da02.html 在struts2中一个普通的java类只要有public String ex ...
- 机器学习入门-随机森林温度预测-增加样本数据 1.sns.pairplot(画出两个关系的散点图) 2.MAE(平均绝对误差) 3.MAPE(准确率指标)
在上一个博客中,我们构建了随机森林温度预测的基础模型,并且研究了特征重要性. 在这个博客中,我们将从两方面来研究数据对预测结果的影响 第一方面:特征不变,只增加样本的数据 第二方面:增加特征数,增加样 ...
- mysql闯关练习
1.表关系 班级表:class 学生表:student cid caption grade_id sid sname gender clas ...
- mysql insert on duplicate key, update, ignore
insert 语句中不能使用where,所以如果需要根据插入的数据在已有的数据库表是否重复做一些操作可以使用下面三种方法: 1. 使用insert,捕获duplicate错误 2. insert in ...
- PowerEdge服务器生命周期控制器:Lifecycle Controller
戴尔从第11代服务器开始推出生命周期控制器(简称LC,即Lifecycle Controller).生命周期控制器(LC)通过在主板上部署的控制芯片和闪存,与BMC以及iDRAC卡配合,在服务器的整个 ...
- 【转】Java自学之路——by马士兵
作者:马士兵老师 JAVA自学之路 一:学会选择 为了就业,不少同学参加各种各样的培训. 决心做软件的,大多数人选的是java,或是.net,也有一些选择了手机.嵌入式.游戏.3G.测试等. 那么究竟 ...
- Spring 集成Hibernate的三种方式
首先把hibernate的配置文件hibernate.cfg.xml放入spring的src目录下,并且为了便于测试导入了一个实体类Student.java以及它的Student.hbm.xml文件 ...
- Moment-JavaScript 日期处理类库
来源:http://momentjs.cn/ 日期格式化 moment().format('MMMM Do YYYY, h:mm:ss a'); // 二月 22日 2017, 4:04:26 下午 ...
- 导出 java.io.IOException: 权限不够
项目原先都是开发使用root账号登陆服务器,人肉部署. 今天改成了自动部署,部署之后发现导出用不了了,查看服务器日志提示: 查看项目启动用户是app,推断是app用户的权限不够,导致导出无法在服务器创 ...
- 可重入函数reentrant function
可重入函数主要用于多任务环境中,一个可重入的函数简单来说就是可以被中断的函数:而不可重入的函数由于使用了一些系统资源,比如全局变量区,中断向量表等,所以它如果被中断的话,可能会出现问题,这类函数是不能 ...