From OpenSCADAWiki
API
!!!!:Changes:
- SYS: Type of the limit variables "limUserFile_SZ", "limUserIts_N" changed to unsigned.
- TCntrNode: Moving from static with renaming some arguments: ctrMkNode(), ctrChkNode(). Moving ctrMkNode2() to the definition-macros with automatic NULL termination argument. Merging _ctrMkNode() to ctrMkNode(). Changing prototype of the objPropSet() function in the "val" argument.
- TVal: Moving to constant for fld().
- TFld: cntrCmdMake() added by an argument "cntrO" with renaming some arguments.
- TConfig: cntrCmdMake() and cntrCmdProc() added by an argument "cntrO" with renaming some arguments.
- TMess: UTF symbol type in getUTF8() and setUTF8() changed from int32_t to uint32_t.
- Security: Renaming the function TSecurity::access() argument "access" to "perm", also for User API.
- Transports: TTransportS::cntrCmdPrm() added by an argument "cntrO".
- DAQ: Moving the TValue flags resB1() and resB2() to the object properties in group "DAQ", that is removing such functions.
Appends:
- SYS: Appending the sysTmJmp() function as a variant of sysTm().
- Appended by the "DEF_HTaskPer" definition.
- TError: New errors: Tr_ErrUnknown, Prt_Unknown, Prt_ErrCommon, Prt_ErrParams.
- TCfg,TVal: New unified method isTransl().
- TVal: New functions: noTransl(), setNoTransl().
- TValue: New function setNoTransl().
- TCntrNode: New functions: nodeAccess(), nodeLoadACL(), nodeLoadACLSnthHgl(), nodeDocSnthHgl(), property(), propertyClrGrp(); and new definitions: ctrMkNode3(), ctrChkNode2(), ctrChkNode3(). Adding a User API function property().
- Appended by the limiting option "limObjDscr_SZ" for the description configuration fields (DESCR).
- Adding function str2time() with parsing the human time from time2str(), which added also by the "inParts" argument.
- Adding new User API functions with representing the system ones in the user space: time2str(), cpct2str(), str2time().
- XMLNodeObj: getElementsBy() and its User API variant expanded by arguments "limit" and "from".
- Mess: Adding the global label functions labTime(), labTimeSel().
- Transports: TTransportOut appended by the function isFromInput().