beremiz
Clone
Summary
Browse
Changes
Graph
SVGHMI: Generalize applying cache to widgets, be it from page or ForEach widgets. Now ForEach widget buttons work as expected.
svghmi
2020-03-25, Edouard Tisserant
bf8a39cc65e4
SVGHMI: Widget ForEach buttons now call corresponding methods.
svghmi
2020-03-24, Edouard Tisserant
99c5335ed59f
SVGHMI: ForEach now has working (un)subscribe. Fixed PageSwitch that wasn't behaving when jumping to current page with another path.
svghmi
2020-03-24, Edouard Tisserant
89c02b452717
SVGHMI: Easier way to match HMI tree elements to paths. ForEach widget now looks for paths and indexes of all items, and enforce path to be consistent with ForEach items sub widgets
svghmi
2020-03-23, Edouard Tisserant
4cf9ad35e6d0
SVGHMI: added func:get_hmi_tree_elt to match HMI tree node from path. Continue implementing ForEach widget : force order and completeness of items list. Now also collecting ForEach buttons.
svghmi
2020-03-23, Edouard Tisserant
d57a12b8f5db
SVGHMI: ForEach knows its own widgets
svghmi
2020-03-23, Edouard Tisserant
27dd409fba1d
SVGHMI: add widget_foreach.ysl2
svghmi
2020-03-20, Edouard Tisserant
8927ae8326b2
SVGHMI: make root HMI tree node a HMI_NODE, droped HMI_ROOT node type
svghmi
2020-03-20, Edouard Tisserant
ae8063127e95
SVGHMI: reworked widget (un)subscription now a method of widgect object, allowing special subscription methods
svghmi
2020-03-19, Edouard Tisserant
4eeed820fd3a
SVGHMI: Exclude (again) sub-widgets of forEach widget from page-switch managed widget.
svghmi
2020-03-19, Edouard Tisserant
7beddc62a388
SVGHMI: cosmetic changes
svghmi
2020-03-19, Edouard Tisserant
30cea13267b4
SVGHMI: Simplification and optimization. func:parselabel becomes a template.
svghmi
2020-03-19, Edouard Tisserant
6c82fad8be65
SVGHMI: intermediate untested state. Excluded ForEach widget from pages handled widgets.
svghmi
2020-03-18, Edouard Tisserant
f398896b7ebf
SVGHMI: update Makefile to pick all changes to any dependency
svghmi
2020-03-18, Edouard Tisserant
50b9832c51fc
SVGHMI: created widget_*.ysl2. Renamed widget_common in widgets_common, so that it doesn't match globing.
svghmi
2020-03-18, Edouard Tisserant
8e3d130399b0
SVGHMI: moving comments
svghmi
2020-03-17, Edouard Tisserant
ac08a5d15c15
SVGHMI: added widget_common.ysl2
svghmi
2020-03-17, Edouard Tisserant
3bb49f93d48c
SVGHMI: More readable debug output gen code
svghmi
2020-03-17, Edouard Tisserant
9da4ac0c9add
SVGHMI: Cosmetic changes
svghmi
2020-03-17, Edouard Tisserant
58e6a91dc37f
SVGHMI: added inline_svg.ysl2
svghmi
2020-03-17, Edouard Tisserant
bec552270ad1
SVGHMI: detachable_elements.ysl2 becomes detachable_pages.ysl2, and includes logic to process pages elements. Other minor code moves.
svghmi
2020-03-17, Edouard Tisserant
682bce953795
SVGHMI: moved debug code
svghmi
2020-03-17, Edouard Tisserant
d2adbc273125
SVGHMI: created detachable_elements.ysl2
svghmi
2020-03-17, Edouard Tisserant
6a12e1084deb
SVGHMI: more debug code moved to hmi_tree.ysl2
svghmi
2020-03-17, Edouard Tisserant
b67af0b8dc72
SVGHMI : create hmi_tree.ysl2, rename bbox_intersect.ysl2 into geometry.ysl2 and move more code into. Add per included ysl2 file debug output.
svghmi
2020-03-17, Edouard Tisserant
022db76c3bff
SVGHMI: created bbox_intersect.ysl2
svghmi
2020-03-16, Edouard Tisserant
83adf8859c55
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
2020-03-16, Edouard Tisserant
ed9b16b33628
SVGHMI: relative pages and page jumps
svghmi
2020-03-13, Edouard Tisserant
634b43d69897
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
2020-03-13, Edouard Tisserant
d9eb50c015d1
SVGHMI: significant whitespace changes
svghmi
2020-03-12, Edouard Tisserant
8d9757191f05
SVGHMI: unsignificant changes or changes in generated code
svghmi
2020-03-12, Edouard Tisserant
901c89c0cc08
SVGHMI: Stop ignoring HMI_NODE in HMI tree, and count it as a BOOL. Soon we use those nodes as reference for relative page jump, and as an "enable" bit for features associated to an HMI tree fragment.
svghmi
2020-03-12, Edouard Tisserant
59a855c17aa6
SVGHMI: cosmetic code moving
svghmi
2020-03-12, Edouard Tisserant
545902730141
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
2020-03-10, Edouard Tisserant
36f78f6cfabd
SVGHMI: fix wrong updates of HMI variables on each change, especially when not subscribed.
svghmi
2020-03-09, Edouard Tisserant
e120d6985a2f
SVGHMI: whitespaces
svghmi
2020-03-09, Edouard Tisserant
a108677bd3d0
SVGHMI: fixed repeated error when Input widget is missing 'value' element
svghmi
2020-03-06, Edouard Tisserant
84c16ece8e10
SVGHMI: more decoupling in between UI related and the rest of JS code, still in the aim of enhancing robustness under heavy load.
svghmi
2020-03-06, Edouard Tisserant
b7650c6abeda
SVGHMI: use requestAnimationFrame to delegate rendering of updates from network. Should help prevent browser collapse leading to watchdog in case of overload.
svghmi
2020-03-06, Edouard Tisserant
517583e21bfd
SVGHMI: Fix disapearing elements in case of nested detachable elements.
svghmi
2020-03-05, Edouard Tisserant
39c8d6079f0f
SVGHMI: Meter widget accepts 2 arguments : min and max, taken in account when min or max text element is missing
svghmi
2020-03-05, Edouard Tisserant
a5c781b2f8f9
SVGHMI: More precise error message on missing HMI path. Meter widget now defaults 0-100 range when min and max elements arent's present, without error.
svghmi
2020-03-04, Edouard Tisserant
1b529ba018ad
SVGHMI: more whitespace fixes
svghmi
2020-03-04, Edouard Tisserant
525211a54b14
SVGHMI: unlink clones (i.e. deep copy elements refered by svg:use) inside widget.
svghmi
2020-03-04, Edouard Tisserant
c7d5f46cc306
SVGHMI: whitespaces and comments
svghmi
2020-03-04, Edouard Tisserant
6d39beb19f38
SVGHMI: completely fixed indentation of generated widget description. Lets try to keep it as-is until we can use yslt indentation.
svghmi
2020-03-03, Edouard Tisserant
f7349ca820c9
SVGHMI: re-indent generated JS
svghmi
2020-03-03, Edouard Tisserant
8d15c6238e62
SVGHMI: detach/re-attach elements required by pages on page switch
svghmi
2020-03-02, Edouard Tisserant
e38654ec6281
SVGHMI: re-indenting
svghmi
2020-03-02, Edouard Tisserant
bb89a2fbb4e0
SVGHMI: declares pages detachable requirements as an object, to find more efficiently common requirements
svghmi
2020-03-02, Edouard Tisserant
c525b1083653
SVGHMI: fix some JS + add generation of detachable elements, to be continued
svghmi
2020-03-02, Edouard Tisserant
dffade5c83d3
SVGHMI: now compute discardable elements first so that we can do better grouping of required elements when sumarizing.
svghmi
2020-02-28, Edouard Tisserant
7b1db17287b6
SVGHMI : documentation for new geometry intersection computation code + little fixes...
svghmi
2020-02-28, Edouard Tisserant
61548f7d1bef
SVGHMI: detachable and discardable elements sets, Reworked geometric intersection, toward more accurate page content detection.
svghmi
2020-02-28, Edouard Tisserant
eee5dcd9fc92
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
2020-02-27, Edouard Tisserant
94696b3f69fb
SVGHMI: attempt to optimize for webkit, because of really slow style recompute in svg:use : "unlink clones" (as in inkscape) but stop deep-copy when meeting a widget, and create a new clone instead.
svghmi
2020-02-21, Edouard Tisserant
2f73f001955a
SVGHMI: optimize browser work by hiding (display:none) pages that are not displayed.
svghmi
2020-02-21, Edouard Tisserant
7c6050cde9e3
SVGHMI: Better and less verbose SVG namespace handling in XSLT transform
svghmi
2020-02-21, Edouard Tisserant
e588f25e6c74
SVGHMI: Added mostly untested switch widget
svghmi
2020-02-17, Edouard Tisserant
f4dd234faa11
SVGHMI: HMI:Page can now be a svg:g group or a svg:use clone, and included/linked widget are included in page. HMI:Jump was updated to be clickable through svg:use, to be generalized.
svghmi
2020-02-14, Edouard Tisserant
459bf80d3f46