From OpenSCADAWiki
< Documents | Release 0.8.0
Revision as of 21:07, 3 June 2020 by RomanSavochenko (Talk | contribs) (Created page with "{{CntHdr|БД}} * FIX: TBDS::dataDel() виправлено для видалення записів із конфігураційного файлу після таких с...")
Це оновлення релізу 0.8 LTS виправляє біля 30 помилок та додає деякі удосконалення, які цілком ви можете почитати у протоколі змін оновлення.
API
!!!!:Зміни:
- TConfig,DB.*: Видалено глобальний прапорець noTransl() як застарілий.
- Безпека: Для користувачів та їх груп перейменовано функції lName() та descr() у descr() та longDescr(), відповідно до полів БД.
- TElem: Розширено для створення TFld із прикладу-шаблону наявного TFld але із відмінним ID. Додано TElem::fldClear() для очищення полів.
- TVarObj: Функції propGet() та propSet() розширено для ієрархічного доступу за шляхом.
Доповнення:
- TConfig,DB: Для визначення ключа додано та використано функцію isKey().
- DB: Додано метод TTable::fullDBName().
- DAQ.JavaLikeCalc: Додано вбудовану функцію користувацького API tr() для запиту до бази перекладів постійних рядків, як термінатор для сумісності із робочою версією.
SYS
- FIX:TCntrNode::chldPresent() змінено для визначення всіх присутніх вузлів, вимкнених також. Значним чином для гарантованого визначення за назвою.
- FIX: Забезпечено примусове створення завдань та записів щодо них у випадку помилок на зразок граничного часу запуску. Попередження падінь у деяких випадках.
- FIX: Вимкнено виключення у випадку встановлення значення атрибуту у режимі NoWrite, просто вихід з функції. Значним чином для виправлення проблем із DAQ.BlockCalc.
- FIX: Безпека: Розмір пароля розширено на більш ніж 8 символів шляхом переключення до кодування MD5. Збережено зворотну сумісність для попередньо встановлених паролів. Виявлено Василем Григорьєвим.
- CntrIf,UI.{QTCfg,WebCfgD}: До таблиці додано прапорець "noReload" з метою контролю цілковитого перевантаження вмісту великої таблиці після запиту "SET", також використано у таблиці об'єкту БД.
- DAQ, DAQ.JavaLikeCalc, UI.{QTCfg,Vision}: Додано атрибут "font" до кореневого вузла правил підсвічення синтаксису з метою визначення типового шрифту конфігурації. Типовий шрифт для JavaLikeCalc процедур встановлено у "Courier".
- З метою кращого визначення проблем властивостей реального часу до статусу завдання додано значення максимальної затримки виклику та використаного часу.
- XMLNode::childGet(): додано підтримку негативних індексів з метою відліку від кінця.
- Використання "LibGD" у OpenSCADA ядрі вимкнено по замовченню та замість використано "SVG".
БД
- FIX: TBDS::dataDel() виправлено для видалення записів із конфігураційного файлу після таких спроб у БД, значним чином для виправлення видалення однакових записів БД.
- FIX:SQLite,MySQL,PostgreSQL,FireBird: Виправлено для попередження завантаження перекладу із непорожнього але вимкненого для перекладу поля БД.
- FIX:FireBird: dataSeek() виправлено поведінку у випадку порожнього SELECT.
- MySQL,PostgreSQL,FireBird: Для нульової довжини рядка по замовченню використано тип TEXT.
DAQ
- FIX: Flag "prcStRd" early set into redundant task is added for prevent wrong the task starting at the connection to remote station miss and crash at stop.
- FIX:JavaLikeCalc: To function compileFunc() the resource added at "<auto>" function ID generation and prevent multiple attach to one.
- FIX: Early start, at load, for function's libraries is added. Mostly for make allow the functions before DAQ.BlockCalc start.
- Func::SysAttr flag removed for IOs "f_frq", "f_start", "f_stop", "this" and allow the storring by the libraries priority start.
- FIX:Siemens: Resources allocation mostly revised and added global API resource for prevent crashes at the reconnection by parallel access and remaping the connections index. Source code mostly cleaned.
- FIX:BlockCalc: Sort blocks procedure mostly rewrote for fix. Blocks table copy into BLOCK_SH prevent at the controller object copy.
- DCON,ModBus: Tries apply for connections set by possible the send request breakdown and no response.
- LogicLev: Link to object's property by path "{ModType}.{Cntr}.{Prm}.{Attr}#{ObjPath}" is added.
- FIX:DAQGate: Processed parameters list cleaning moved from stop to disable stage. Pass empty parameter into separated attributes request mode is added, for traffic and overall request time decrease.
- SoundCard: Expand for X86_64 specific with short framesPerBuffer call to CallBack function.
Archive
- FIX:FSArch: Fixed for prevent doubles and wrong archives connection for later appended data sources and checking before new created is added. Point to the data area for last value index prevented for the type String.
Transport
- FIX:TTransportIn: Early stop into postDisable() is added for prevent crash at stop into the destructor with freed data into heir object.
Protocol
- FIX:ModBus: Inconsistent diagnostic format of node to real counters fix.
UI
- FIX:VCAEngine,Vision: Changes down procedure mostly fixed and adapted for update the parent widget into open for edit state. Cells edition to view "Table" of primitive "FormEl" support is added.
- QTCfg,Vision: Wait cursor set moved to already set and restore only after timeout 50 ms, for blink prevent and some DE load by that.
- FIX:WebUser: Crash at new HTTP variable processing into a respond prevented.
- FIX:QTCfg: Size policy for Boolean value into RO mode fixed. Table widget significant expanded by:
- Enable vertical scrolling by pixels.
- resizeRowsToContents expanded by rows height limit to 0.9 table height and call on header section mouse press, for refit.
- String represent for multiline texts into ItemsDelegate rewrote for prevet wrong Qt eliding to line and other.
- FIX:VCAEngine: Double set the pages to processing and the firstinited context lost prevented. Double call the pages to first execution from processing procedure and cascade from the top-level page is prevented.
- FIX: Mime download expanded and fixed for projects.
- Access to project's session time table unified by append the session attributes access functions sessAttr(), sessAttrSet(). The functions used to: primitive "Document", session's Style, edited resources by user's API functions "mime()" and "mimeSet()", "fromSess" and "toSess" user's API functions "attr()" and "attrSet()". Service "/serv/attrSess/" is added for access to session's attributes.
- Inheritance support is added for owner and permition of the widgets.
- Automatic sessions creation update at the module enable is added.
- Access to DAQ properties of Object's type by path into links like "/DAQ/{Cntr}/{Prm}/{Attr}#/{oAttr1}/{oAttr2}" is added.
- FIX:Vision: Set focus proxy from the edited widget container to the widget into development mode for allow the single focus source and included widgets selection lost at some cases.
- FIX: Primitive "Diagram" fix for actual cursor set and the parameters value into the cursor position for significant time difference between the session server host and the session visualiser host, for arrears the cursor position to one period.
- FIX: LineEdit widget some fix for apply real button size obtain and prevent the window size float.
- FIX: Ticks lost for Slider view and related views deffects of primitive FormEl at press to the elements' container widget by prevent that's QEvent::MouseButtonPress and QEvent::MouseButtonRelease events global process.
- FIX: Changes update after that apply into attributes manager of the widgets into group mode fixed to update different widget's attributes into the group and on the contrary for first widget into the group.
- Resources cache mostly improved for make faster for access and update.
- Run time window's position control and save is added by option "winPosCntrSave" enable and using new service "/serv/attrSess/". Screen number expanded for not only assign to different physical display and for independent position control and save.
- Session set for automatic starting is added into parameter "Run projects list", mostly for connect to already started or background sessions.
- Restore connection time control is added for remote connection to visualisation server hang prevent and display update.
- WebVision: Scroll for the included containers correct for different variants. Images cache expanded clean up like to UI.Vision.
- WebCfgD: Expanded for loading files WebCfgDVCA.html and WebCfgDVCA.js from work directory try. JavaScript code mostly cleaned and Table expanded for simplify control and exit from cells edit mode.
Special
- FIX:FLibSYS: strDec4Bin() function fix and expand by separator argument into default value " ", for compatibility restore.