这次更新的速度非常快。

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.

最新文章

  1. 解决Bash On Ubuntu On Window安装Zsh无效问题附安装说明
  2. js 设置Cookie 在PHP中读取(大师手法)
  3. node.js笔记
  4. mysql输入密码后闪退怎么办?
  5. C语言 日常小结
  6. ORACLE的安装与网页版创建表空间的简单操作以及PLsql的简单操作
  7. UpdateData(false) and UpdateData(true)
  8. [转]oracle EBS 基础100问
  9. 【转】iOS手势识别的详细使用(拖动,缩放,旋转,点击,手势依赖,自定义手势) -- 不错不错
  10. 认识v$fixed_view_definition
  11. javadoc简介
  12. 940D Alena And The Heater
  13. express框架学习笔记
  14. 实现mypwd&amp;mybash&amp;myod&amp;读者写者
  15. 性能测试day04_性能监控
  16. 学习C++,应该循序渐进的看哪些书?
  17. Java的Vector源码阅读
  18. hive数据导入load导入命令
  19. 使用JQuery 合并两个 json 对象
  20. tabs高度自适应方法

热门文章

  1. Security4.1.3实现根据请求跳转不同登录页以及登录后根据权限跳转到不同页配置
  2. maven - 配置强制从指定仓库拉取jar包
  3. bootstrap做的导航
  4. windows系统安装参数
  5. 面向过程中的局部变量(global)
  6. Spring MVC 基本储备
  7. Linux下类似windows下_beginthread和_endthread 的多线程开发
  8. PL/SQL Developer安装教程以及汉化包安装教程
  9. 从底层谈WebGIS 原理设计与实现(五):WebGIS中通过行列号来换算出多种瓦片的URL 之在线地图
  10. Mybatis知识(5)