2020-12-02 |
Edouard Tisserant |
SVGHMI: prevent unwnted context menu and pinch zoom
svghmi
|
file |
diff |
annotate
|
2020-11-27 |
Edouard Tisserant |
SVGHMI: WIP trying to reduce memory usage : use .onclick onstead of SetAttribute, avoid useless closure and object creation when possible, etc.
svghmi
|
file |
diff |
annotate
|
2020-11-25 |
Edouard Tisserant |
SVGHMI: use const when applicable
svghmi
|
file |
diff |
annotate
|
2020-11-25 |
Edouard Tisserant |
SVGHMI: Fix: on screen keyboard wasn't showing up when editing local variables through Input widget.
svghmi
|
file |
diff |
annotate
|
2020-10-22 |
Edouard Tisserant |
SVGHMI: Fix HMI_REAL support, and add a HMI_REAL use case in tests/svghmi.
svghmi
|
file |
diff |
annotate
|
2020-08-24 |
Edouard Tisserant |
SVGHMI: removed debug code forgotten here and there.
svghmi
|
file |
diff |
annotate
|
2020-08-12 |
Edouard Tisserant |
Merge
svghmi
|
file |
diff |
annotate
|
2020-08-11 |
Edouard Tisserant |
SVGHMI: finished initial implementation of PAGE_LOCAL and HMI_LOCAL variables.
svghmi
|
file |
diff |
annotate
|
2020-08-10 |
Edouard Tisserant |
SVGHMI: provide request_animate() to Widget authors so that they can register redraw code when events lead to redraw. Widget member animate() is called when it is time to update DOM.
svghmi
|
file |
diff |
annotate
|
2020-08-10 |
Edouard Tisserant |
Merge
svghmi
|
file |
diff |
annotate
|
2020-08-08 |
Edouard Tisserant |
SVGHMI: Intermediate state while implementing local HMI variables. Now write to cache only (no send), still need to implement dispatch on change.
svghmi
|
file |
diff |
annotate
|
2020-08-05 |
usveticic |
Changed keyboard to show on defined position.
svghmi
|
file |
diff |
annotate
|
2020-08-05 |
Edouard Tisserant |
SVGHMI: JS refactoring continued : "dispatch_value_to_widget" becomes widget class member "new_hmi_value" (was also broken by previous relativeness commit)
svghmi
|
file |
diff |
annotate
|
2020-08-05 |
Edouard Tisserant |
SVGHMI: widgets are not anymore binary relative or absolute, but have a "relativeness".
svghmi
|
file |
diff |
annotate
|
2020-08-03 |
Edouard Tisserant |
SVGHMI: prefer apply_hmi_value() to change_hmi_value() when possible
svghmi
|
file |
diff |
annotate
|
2020-05-21 |
Edouard Tisserant |
SVGHMI: stop using eval in change_hmi_value, apparently slowly leaking memory.
svghmi
|
file |
diff |
annotate
|
2020-05-13 |
Edouard Tisserant |
SVGHMI: explicit handling of undefined maximum widget update frequency
svghmi
|
file |
diff |
annotate
|
2020-05-10 |
Edouard Tisserant |
SVGHMI: Widget's specific sub/unsub traits are now wxpressed in widget's class.
svghmi
|
file |
diff |
annotate
|
2020-04-19 |
Edouard Tisserant |
SVGHMI: moved JS code of foreach and jump widget in corresponding widget_*.ysl2. To be continued.
svghmi
|
file |
diff |
annotate
|
2020-04-07 |
Edouard Tisserant |
SVGHMI: HMI is not speculating on PLC variable update anymore when sending new variable value.
svghmi
|
file |
diff |
annotate
|
2020-04-04 |
Edouard Tisserant |
SVGHMI: finished shift and capslock support n keypad widget. Added a helper in widgets_common to collect subelements likle active/inactive/disabled...
svghmi
|
file |
diff |
annotate
|
2020-04-03 |
Edouard Tisserant |
SVGHMI: Keypad working for HMI_STRING, still Shift/CapsLock not finished.
svghmi
|
file |
diff |
annotate
|
2020-04-03 |
Edouard Tisserant |
SVGHMI: fix keyboard not showing
svghmi
|
file |
diff |
annotate
|
2020-04-02 |
Edouard Tisserant |
SVGHMI: Keypad: added code to re-attach keypad when starting edit.
svghmi
|
file |
diff |
annotate
|
2020-04-02 |
Edouard Tisserant |
SVGHMI: removed debug code
svghmi
|
file |
diff |
annotate
|
2020-04-02 |
Edouard Tisserant |
SVGHMI: More infrastructure for editing values with a keypad.
svghmi
|
file |
diff |
annotate
|
2020-03-30 |
Edouard Tisserant |
SVGHMI: prevent man-made memory leak by limiting back button history items count to 42
svghmi
|
file |
diff |
annotate
|
2020-03-27 |
Edouard Tisserant |
SVGHMI: Jump widget can now display as active or inactive, if corresponfing "active" and "inactive labeled elements are provided.
svghmi
|
file |
diff |
annotate
|
2020-03-26 |
Edouard Tisserant |
SVGHMI: added Back widget.
svghmi
|
file |
diff |
annotate
|
2020-03-25 |
Edouard Tisserant |
SVGHMI: ForEach Widget now has a better wrap-around when scrolling : hit the boundary systematically before wrapping
svghmi
|
file |
diff |
annotate
|
2020-03-25 |
Edouard Tisserant |
SVGHMI: Generalize applying cache to widgets, be it from page or ForEach widgets. Now ForEach widget buttons work as expected.
svghmi
|
file |
diff |
annotate
|
2020-03-24 |
Edouard Tisserant |
SVGHMI: Widget ForEach buttons now call corresponding methods.
svghmi
|
file |
diff |
annotate
|
2020-03-24 |
Edouard Tisserant |
SVGHMI: ForEach now has working (un)subscribe. Fixed PageSwitch that wasn't behaving when jumping to current page with another path.
svghmi
|
file |
diff |
annotate
|
2020-03-20 |
Edouard Tisserant |
SVGHMI: make root HMI tree node a HMI_NODE, droped HMI_ROOT node type
svghmi
|
file |
diff |
annotate
|
2020-03-19 |
Edouard Tisserant |
SVGHMI: reworked widget (un)subscription now a method of widgect object, allowing special subscription methods
svghmi
|
file |
diff |
annotate
|
2020-03-16 |
Edouard Tisserant |
SVGHMI: Re-enable dispatch to arrays of functions in case of multiple suscription per widget. Still unused, but disabled for reasons not any more true.
svghmi
|
file |
diff |
annotate
|
2020-03-13 |
Edouard Tisserant |
SVGHMI: relative pages and page jumps
svghmi
|
file |
diff |
annotate
|
2020-03-13 |
Edouard Tisserant |
SVGHMI: take care of path given in HMI:Page and HMI:Jump, but do not apply subscription offset for now. Intermediate commit in a "working" state.
svghmi
|
file |
diff |
annotate
|
2020-03-12 |
Edouard Tisserant |
SVGHMI: unsignificant changes or changes in generated code
svghmi
|
file |
diff |
annotate
|
2020-03-12 |
Edouard Tisserant |
SVGHMI: cosmetic code moving
svghmi
|
file |
diff |
annotate
|
2020-03-10 |
Edouard Tisserant |
SVGHMI: split page switch into switching subscription and switching elements in the DOM, to ensure that subscriptions have been send before changing DOM, and avoid some flicker.
svghmi
|
file |
diff |
annotate
|
2020-03-06 |
Edouard Tisserant |
SVGHMI: more decoupling in between UI related and the rest of JS code, still in the aim of enhancing robustness under heavy load.
svghmi
|
file |
diff |
annotate
|
2020-03-06 |
Edouard Tisserant |
SVGHMI: use requestAnimationFrame to delegate rendering of updates from network. Should help prevent browser collapse leading to watchdog in case of overload.
svghmi
|
file |
diff |
annotate
|
2020-03-02 |
Edouard Tisserant |
SVGHMI: detach/re-attach elements required by pages on page switch
svghmi
|
file |
diff |
annotate
|
2020-02-27 |
Edouard Tisserant |
SVGHMI : still trying to optimize. Added xslt code to identitfy minimum set of elements needed by a particular page. Plan is to remove unseen/unused elements from the DOM, and re-appending them later when used, on page switch. Disabled previous optimization.
svghmi
|
file |
diff |
annotate
|
2020-02-21 |
Edouard Tisserant |
SVGHMI: optimize browser work by hiding (display:none) pages that are not displayed.
svghmi
|
file |
diff |
annotate
|
2020-02-13 |
Edouard Tisserant |
SVGHMI : still behave, even if important things are missing in SVG widget definitions (ex: needle missing for Meter widget)
svghmi
|
file |
diff |
annotate
|
2020-02-11 |
Edouard Tisserant |
SVGHMI: be a bit more tolerant with missing HMI paths or missing elements in widgets : continue build (with warning) and fail silently at runtime.
svghmi
|
file |
diff |
annotate
|
2020-01-17 |
Edouard Tisserant |
SVGHMI : HMI_STRING now also supported from HMI to PLC
svghmi
|
file |
diff |
annotate
|
2020-01-15 |
Edouard Tisserant |
SVGHMI non significant fixes
svghmi
|
file |
diff |
annotate
|
2020-01-14 |
Edouard Tisserant |
SVGHMI : support for HMI_STRING and HMI_BOOL
svghmi
|
file |
diff |
annotate
|
2020-01-10 |
Edouard Tisserant |
SVGHMI: added a watchdog. To ensure that the whole chain is checked, watchdog use a periodic echo of a hearteat variable. JS client code systematically register /HEARTBEAT at 1s update freq, and reacts on updates of /HEARTBEAT by systematically incrementing it. C code catch /HEARTBEAT update and feeds python-implemented watchdog. For now, watchdog does nothing when tiggered
svghmi
|
file |
diff |
annotate
|
2019-10-30 |
Edouard Tisserant |
SVGHMI - prepare page with cached data when switching. This prevents values that do not change and that was already subscribed in previous page from keeping undefined.
svghmi
|
file |
diff |
annotate
|
2019-10-29 |
Edouard Tisserant |
SVGHMI: various insignificant code moves, commenting and typos fixes.
svghmi
|
file |
diff |
annotate
|
2019-10-28 |
Edouard Tisserant |
SVGHMI: SVG viewport now defined so that HMI take scales and fit to the view. Implemented page switch through viewport change, no hiding of widget for now.
svghmi
|
file |
diff |
annotate
|
2019-10-27 |
Edouard Tisserant |
SVGHMI: Quicker update path for input widget when pressing on buttons, do not wait until data comes back, and simply update value text of the pressed widget. Updated PLC prog for more amimated value to display
svghmi
|
file |
diff |
annotate
|
2019-10-27 |
Edouard Tisserant |
SVGHMI: fixed HMI->PLC dataflow : not updates as expected, and not initialized properly after subscribe.
svghmi
|
file |
diff |
annotate
|
2019-10-24 |
Edouard Tisserant |
SVGHMI: Added relative changes of HMI value from widgets.
svghmi
|
file |
diff |
annotate
|
2019-10-22 |
Edouard Tisserant |
SVGHMI - Fixed svghmi.{c,js} about HMI -> PLC data unpack.
svghmi
|
file |
diff |
annotate
|
2019-10-22 |
Edouard Tisserant |
SVGHMI: Added init call to all widgets at startup to bind events. More features in Input widget : Edit and Change buttons. WIP HMI->PLC value update, incoherent data detected in C part on update.
svghmi
|
file |
diff |
annotate
|