这次更新的速度非常快。

4.81.00 May 9 2015

 Important notes (changes that may break existing code)
======================================================
* Changed TkbmMWOnFileAccess event to allow rewriting Path.
TkbmMWOnFileAccess = procedure (Sender:TObject; var Path:string;
var AccessPermissions:TkbmMWFileAccessPermissions) of object;
* Made many more things case sensitive in the XML parser and handlers
to adhere correctly to XML standards.
Thus the attribute ID is different from the attribute id now! New stuff
=========
- Added JQueryEscaping:boolean property (default false) to
TkbmMWJSONStreamer. It will double escape all backslashes (\) to
adhere to jQuery non standards. Notice that double escaping is NOT
JSON standards, but a defacto requirement when using jQuery as the
recieving end.
- Added optional AJQueryEscaping:boolean argument to
kbmMWJSONQuoteString global function.
- Added support for NaN and INF in kbmMWFloatToString,
kbmMWStringToFloat and kbmMWTryStringToFloat.
- Added new optional additional kbmMW_Element_Flags argument to
kbmMW_Element attribute. Eg.
TMyObject = class...
[kbmMW_Element('somename',[mwefData])]
MyField:integer; {kbmMW_Element('someothername')]
MyOtherField:integer;
end;
This will marshal/unmarshal MyField as data of the TMyObject instead
of a sub element called somename.
Eg. <TMyObject>20
<someothername>30</someothername>
</TMyObject>
See the new sample: DynamicXMLMarshalling.
- Added new optional additional TypeStoreName and TypeValue arguments
to kbmMW_Root attribute which are to be used in combination with the
new kbmMW_ConditionalType attribute.
TypeStoreName refers to a local string field in the object which
will hold/be set to the type of the object while
marshalling/unmarshalling.
TypeValue is the value that will be set in that field.
The new kbmMW_ConditionalType attribute takes a condition and a
string value indicating the name of the type of the object if the
condition is evaluated to true. A condition can be a simple equal
statement or be a complex condition with AND and OR and multiple
statements.
See the new sample: DynamicXMLMarshalling. Changes/minor additions
=======================
- Changed TkbmMWOnFileAccess event to allow rewriting Path.
TkbmMWOnFileAccess = procedure (Sender:TObject; var Path:string;
var AccessPermissions:TkbmMWFileAccessPermissions) of object;
Notice that if you do have code using this event, you should cut out
the event code, save, then doubleclick the event handler again and
paste in your old code.
Also notice that the path is always relative to the defined RootPath
of the service.
The RootPath is defined in the TkbmMWFileServiceDefinition returned
when registering the file service.
- Changed TkbmMWCustomSAXXMLParser to inherit from TInterfacedObject
and removed custom referencecounting.
This also affects TkbmMWDOMXML which descends from
TkbmMWCustomSAXXMLParser.
- Made a number of properties available via the IkbmMWDOMXMLParser
interface:
Root, Top,,IgnoreDuplicateIDs, AutoIndent, PreserveWhiteSpace,
AutoLineFeed, StreamBOM, AutoDetectEncoding.
- Changed TkbmMWDOMXMLNode to allow access to ID and Ref properties as
attributes (id, ref).
Changing the attribute id or ref will thus also affect the
properties id and ref.
- Removed handling href attributes as ref attribute in
TkbmMWDOMXMLNode. href is now an ordinary attribute, without special
handling.
- Made many more things case sensitive in the XML parser and handlers
to adhere correctly to XML standards.
Thus the attribute ID is different from the attribute id now!
- Changed so XML GetAsInt, GetAsInt64, GetAsFloat, GetAsDuration,
GetAsBoolean and GetAsDataTime automatically filter out all
whitespace characters (including cr/lf) before attempting to
interpret value.
- Changed XML parsing so if PreserveWhiteSpace property is false, then
only leading and trailing whitespace is filtered. Fixes
=====
- Fixed leak of TkbmMWHTTPURLRewrites object instance in
TkbmMWHTTPServiceDefinition.
- Fixed JSON marshalling of collection objects.
- Fixed IOS Macapi.Foundation compilation issue in kbmMWGlobal.pas.
- Fixed bug in AttribByNameIsNil property in kbmMWXML.pas.

KBMMW 4.81.00 发布的更多相关文章

  1. kbmmw 5.05.00 发布

    新年前最后几天,kbmmw 发布了新版本,增加一大波功能.we are happy to announce v5.05.50 of our popular middleware for Delphi ...

  2. KBMMW 4.82.00 发布

    作者最近加紧了更新进度,赞一个. 时间都去哪儿了? 还没好好看4.81, 新版就来了. 这个版本主要是增强日志管理,已经强大到替换delphi 本身的异常处理了. We are happy to an ...

  3. KbmMW 4.30.00 发布

    今天早上,KbmMW发布了4.30.00 版,这个版本开始支持XE4 的WIN/WIN64/OSX. 暂时不支持ios开发,同时加强了通过JSON 的对象序列化.还有就是解决了我提交的几个有关 汉字处 ...

  4. KBMMW 4.92.00 发布

    We are happy to announce the release of kbmMW Professional and Enterprise Edition. Yet again kbmMW c ...

  5. KBMMW 4.90.00 发布

    kbmMW is a portable, highly scalable, high end application server andenterprise architecture integra ...

  6. KBMMW 4.84.00 发布

    kbmMW is a portable, highly scalable, high end application server and enterprise architecture integr ...

  7. KBMMW 4.83.00 发布

    新版本又来了,端午节都不让大家过好:) 这次终于支持ios 64了,不用我再手工改了. Components4Developers is a company established in 1999 w ...

  8. KBMMW 4.80.00 发布

    一大波更新来了. 4.80.00 March 30 2015 Important notes (changes that may break existing code)        ======= ...

  9. KBMMW 4.70.00 发布

    We are happy to announce the release of kbmMW v. 4.70.00 Professional and Enterprise Edition. kbmMW ...

随机推荐

  1. zabbix自动发现与监控内存和CPU使用率最高的进程,监测路由器

    https://cloud.tencent.com/info/488cfc410f29d110c03bcf0faaac55b2.html         (未测试) https://www.cnblo ...

  2. HTML5 Canvas ( 画一个五角星 ) lineJoin miterLimit

    <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title> ...

  3. css之单边阴影

    css之单边阴影 需求:在网上找的其他博客上说单边阴影需要牺牲掉模糊,实际上牺牲掉模糊直接用border不就好了 效果: 原理: 1.在左边的外阴影就是右边的内阴影 2.将box-shadow写在be ...

  4. springboot之登录注册

    springboot之登录注册 目录结构 pom.xml <?xml version="1.0" encoding="UTF-8"?> <pr ...

  5. Activity服务类-1 DynamicBpmnService服务类

    这个服务是5.19版本后新增的一个服务,和RepositoryService的作用相似,都是与流程定义有关,但是却完全不同.从名字上来看是动态的BPMN服务,看里面的方法都是改变流程的相关属性.这个方 ...

  6. vector实现(只能装入string)

    #include<iostream> #include<string> #include<memory> #include<utility> using ...

  7. Mysql 知识(1)

    1. 请简洁地描述下MySQL中InnoDB支持的四种事务隔离级别名称,以及逐级之间的区别? 答: SQL标准定义的四个隔离级别为:read uncommited,read committed,rep ...

  8. Haskell语言学习笔记(69)Yesod

    Yesod Yesod 是一个使用 Haskell 语言的 Web 框架. 安装 Yesod 首先更新 Haskell Platform 到最新版 (Yesod 依赖的库非常多,版本不一致的话很容易安 ...

  9. Session的作用和使用场景

    1.session何时被创建? 客户首次访问服务器时,回话session对象被创建并分配一个唯一的Id,同时id号发送到客户端,并存入cookie,使得客户端session对象和服务器端一致. 2.如 ...

  10. 实现溢出文本eclipsis的解决

    实现溢出文本eclipsis的解决:overflow:hidden;text-overflow:ellipsis; white-space:nowrap; 如:<a href="&qu ...