Commit Graph

30 Commits

Author SHA1 Message Date
kevin
98ed33d2cc cwUi.h/cpp : Add queueBlkCnt and queueBlkByteCnt to websock based API's.
Removed websockTimeOutMs from UI cfg. and replace it as an argument to ui::ws::exec().
2024-03-28 19:47:29 -04:00
kevin
55aed815e1 cwUi.h/cpp : Added ui::ws::realTimeReport(). 2024-03-25 14:29:58 -04:00
kevin
6ed0f6c080 cwUi.h/cpp : Added sendMsg(). eleA[] now doubles in size with each reallocation. 2024-01-06 08:44:53 -05:00
kevin
c0cf1ca956 cwIo,cwUi : Added realTimeReport() 2023-12-03 11:18:02 -05:00
kevin
15fb486c4b Add enableCache() and flushCache(). 2023-05-19 21:59:35 -04:00
kevin
445c5d5076 cwUi.cpp: Received 'value' messages are now automatically reflected to other Websock sessions.
The idle message is now sent to the client only when no other message has been send for 'idle_delay_ms'.
Added createFromRsrc().
The resource object passed via create() is now duplicated and maintained for the life of the UI object.
2022-12-13 16:53:10 -05:00
kevin
95b0d4f213 cwUi.h/cpp : Handle partial messages arriving from the websocket by buffering and reconstructing the message. 2022-05-14 10:16:09 -04:00
kevin
babda9b32d cwUi,cwIo,cwUiTest.cpp,html/uiTest/js/ui.js,html/uiTest/ui.cfg : Added 'string_disp' type. 2021-12-27 16:48:58 -05:00
kevin
40465b335c cwUi.h/cpp, cwUiDecls.h : Added set/getOrderKey(). Added set/get/clearBlob(). Added destroyElement(). 2021-11-14 11:55:09 -05:00
kevin
15f64c7493 cwUi.h/cpp: Added findNewElementUuId( h, parentUuid, ... )
Added use of eleTypePropertyA[] in cwUi.cpp - div's can now pass arbitrary element attributes.
2021-11-05 22:21:25 -04:00
kevin
9848068d3c cwUi* : Added set/get visible/enable() functions. Added parentAndAppIdToUuId() removed findElementUuId(parentUuId,appId/eleName). 2021-11-04 09:33:42 -04:00
kevin
dce46bd419 cwUi.h/cpp : Removed use of 'wsSessId' from 'createXXX()' calls, and added 'chanId' to 'createXXX()' calls.
Added 'click' event, 'clickable' and 'select' properties and associated setters/getters.
2021-11-03 11:03:30 -04:00
kevin
3d56bb70c8 cwUi.h/cpp, cwUiDecls.h : Changed UI to break connection between creating and transmitting
elements to the remote UI's.
2021-11-01 21:47:22 -04:00
kevin
421625d62b cwList.h/cpp, cwUiTest.cpp : Added cwCreateList() and use of log in cwUiTest. 2021-11-01 10:11:27 -04:00
kevin
3b593c5336 cwUi.h/cpp,cwUiTest: cppAdded uiCreateLog(),uiSetNumbRange(),uiSetProgRange(). 2021-10-12 16:52:45 -04:00
kevin
e3b104fb61 cwUi.h/cpp : Fixed bug in _parseValueMsg() and updated comments in cwUi.h 2021-01-31 11:07:29 -05:00
kevin
8f4455ae95 cwUi.h/cpp : Added findElementUuId( h, appId) to return uuid of the first occurence of an element with appId. 2021-01-22 09:46:10 -05:00
kevin
c929804d4c cwUi.h/cpp,cwUiTest.h/cpp, cwUiDecls.h : Moved public variables to cwUiDecls.h. Added a version of create() which uses an arg_t record. Added parseArgs() and releaseArgs(). 2021-01-20 13:10:56 -05:00
kevin.larke
4982c61d60 cwUi.h/cpp : Added single element creation functions which take there values from the system rather than setting them from their default value. 2020-05-18 11:03:42 -04:00
kevin
222e058579 cwUi : Added widget type "numb_disp". 2020-05-15 11:59:39 -04:00
kevin.larke
6be205ecb5 cwUi.h/cpp : Added findElementAppId(). 2020-04-30 15:10:54 -04:00
kevin.larke
e2f1d9915f cwUi.h,cpp,cwUiTest.cpp : Added appIdMap[] as arg. to constructor. 2020-04-27 08:14:26 -04:00
kevin.larke
87455db469 cwUI.h/cpp : Added session id tracking and 'idle' message generation. 2020-04-26 09:19:19 -04:00
kevin.larke
ebfe4dd224 cwUI.h/cpp,cwUiTest.cpp,html/uiTest/ui.js : Implemented 'echo' protocol to send values to the browser. Implemented initial default HTML class attribute assignments. 2020-04-24 10:20:25 -04:00
kevin.larke
a2588cdfd7 cwUi.h/cpp : Added createFromObject(). 2020-04-21 14:59:55 -04:00
kevin.larke
c6ccaefcdb cwUI.h/cpp, cwUiTest.cpp : Separated the UI component into three parts ui, ws, srv. 2020-04-07 16:24:34 -04:00
kevin.larke
b6d716e8ff cwUi.h/cpp, cwUiTest.cpp, html/uiTest : Initial working version of cwUI. 2020-04-06 19:17:04 -04:00
kevin.larke
2372f153b3 cwUi : Initial UI creation from resource file. 2020-03-31 13:10:45 -04:00
kevin.larke
9d1170b1eb cwUi.h/cpp : Added shell for functions createFromFile(), createFromText(). 2020-03-25 11:35:37 -04:00
kpl
78b351b753 cwUi* : Initial implementation. 2020-03-23 10:50:10 -04:00