beremiz
Clone
Summary
Browse
Changes
Graph
SVGHMI : drop ECMA script's arrow function, 'let' scoped declaration for compatibility with older browsers.
SVGHMI_compat
2019-11-07, Edouard Tisserant
8cfcb4580dd2
SVGHMI: various fixes to make SVGHMI behave on more versions of twisted and GCC.
svghmi
2019-11-07, Edouard Tisserant
68ac5bf43525
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
2019-10-30, Edouard Tisserant
4a81cec5f786
SVGHMI: various insignificant code moves, commenting and typos fixes.
svghmi
2019-10-29, Edouard Tisserant
63b9a37b73c7
SVGHMI : fancier second page in tests/svghmi
svghmi
2019-10-29, Edouard Tisserant
b9c540253263
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
2019-10-28, Edouard Tisserant
dc78ffa5253d
SVGHMI - added simple Meter widget.
svghmi
2019-10-28, Edouard Tisserant
7fa21b3b5f9f
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
2019-10-27, Edouard Tisserant
7d0e81cdedb0
SVGHMI: fixed HMI->PLC dataflow : not updates as expected, and not initialized properly after subscribe.
svghmi
2019-10-27, Edouard Tisserant
e521e0d133d5
Fixed one more sequel of 5f79b194fa63 'SVGHMI: filter out temporary variables created while generating ST code out of FBD.'
svghmi
2019-10-24, Edouard Tisserant
a6be58a1a8b7
SVGHMI: Added relative changes of HMI value from widgets.
svghmi
2019-10-24, Edouard Tisserant
f48121cf31b6
SVGHMI - Fixed svghmi.{c,js} about HMI -> PLC data unpack.
svghmi
2019-10-22, Edouard Tisserant
64e6f73b9859
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
2019-10-22, Edouard Tisserant
390acff12755
SVGHMI: dispatching data to minimalist "Display" text widget.
svghmi
2019-10-19, Edouard Tisserant
68cee1366b9c
SVGHMI: Many fixes. Subscriptions to HMItree seems to be working, and dispatch function is called in JS with good data. Bidirectional communication now really working.
svghmi
2019-10-17, Edouard Tisserant
f5da343b9b63
SVGHMI : many details about communication implemented in JS, with side effects.
svghmi
2019-10-15, Edouard Tisserant
ddb2c4668a6b
SVGHMI: added a widgets description object, accessed by id. Added frequency to widgets, as separate template to allow future customization. Excluded non svg elements (i.e inkscape Sets) with HMI: labels from widgets.
svghmi
2019-10-11, Edouard Tisserant
c5ba1e77f054
SVGHMI fix logic for page membership detection
svghmi
2019-10-10, Edouard Tisserant
c7a22ce8c156
SVGHMI compute default page
svghmi
2019-10-10, Edouard Tisserant
c0cf62bb9aa7
SVGHMI: deduce pages content out of geometry (elements contained in page bounding box are in)
svghmi
2019-10-09, Edouard Tisserant
c10069a02ed0
SVGHMI: use func:function for parsing labels so that it can be used in predicates
svghmi
2019-10-09, Edouard Tisserant
2a97688c94c5
SVGHMI: moved/fixed some templates, avoided namespace problems, added parsing of HMI:* inkscape labels
svghmi
2019-10-08, Edouard Tisserant
0c0d3895b036
SVGHMI: now generating JS object describing widgets and pointing to SVG elements
svghmi
2019-10-07, Edouard Tisserant
d022523cb621
SVGHI: compute hmitree variables ordered index in xslt
svghmi
2019-10-05, Edouard Tisserant
8fab1886ebec
SVGHMI: now built.
svghmi
2019-10-02, Edouard Tisserant
ba0dd2ec6dc4
SVGHMI: Work in progress. C side mostly implemented, neither built nor tested.
svghmi
2019-09-30, Edouard Tisserant
2ed9ff826d03
SVGHMI: More strict formating of active HMI labels : @ separator only used for paths
svghmi
2019-09-27, Edouard Tisserant
86a572fb05f8
SVGHMI: new test svg to drive next implementation
svghmi
2019-09-26, Edouard Tisserant
1b82f21b2b41
Non significant changes in generated xslt, side effect of changes in yslt_noindent.yml2
svghmi
2019-09-25, Edouard Tisserant
29196dcb25b1
Merge default in SVGHMI branch
svghmi
2019-09-24, Edouard Tisserant
35eeb1ed105f
Fixed unitialized parameter in instances_path stylesheet, leading to
2019-09-24, Edouard Tisserant
39d78c530cbb
SVGHMI: Starting to define JS side more in details.
svghmi
2019-09-20, Edouard Tisserant
5ee6967f721d
SVGHMI: added transformation of code given in inkscape's description fields into javascript functions
svghmi
2019-09-19, Edouard Tisserant
723e420dfe72
SVGHMI: gui.svg -> svghmi.svg
svghmi
2019-09-19, Edouard Tisserant
fbdd0fd8ee4f
SVGHMI: moved static JS code to a separate file included at xhtml generation time
svghmi
2019-09-19, Edouard Tisserant
e468f18df200
SVGHMI: Work In Progress : fixed pointer types in ctypes interface, cleaned up server startup and cleanup code, changed document type to XHTML, cleaner JS script : encapsulated in a function and in CDATA.
svghmi
2019-09-18, Edouard Tisserant
75c6a31caca6
PLCobject: Call "stop" and "cleanup" methods from python runtime files in reverse order compared to "init" and "start".
svghmi
2019-09-18, Edouard Tisserant
cdf23b10b8f7
SVGHMI: WIP for python<->C data exchange : message from browser hit the C side.
svghmi
2019-09-16, Edouard Tisserant
cdf6584953a0
SVGHMI: WIP for python<->C data exchange
svghmi
2019-09-16, Edouard Tisserant
246ae685ab65
SVGHMI: WIP for python<->C data exchange
svghmi
2019-09-16, Edouard Tisserant
3b93409ba22c
SVGHMI: WIP for python<->C data exchange
svghmi
2019-09-12, Edouard Tisserant
9857b4b0d979
SVGHMI: single session for now
svghmi
2019-09-12, Edouard Tisserant
6e5e752372c8
SVGHMI: few fixes on serving
svghmi
2019-09-12, Edouard Tisserant
3f1dd8312710
WIP on svghmi, now builds and runs. HTTP serving + WS transport ready, missing actual data to transmit and thread to collect it.
svghmi
2019-09-11, Edouard Tisserant
361366b891ca
Non significant changes to mute GCC warnings about unused variables.
svghmi
2019-09-11, Edouard Tisserant
41fc23fd21c4
Fixed sequel of 5f79b194fa63 'SVGHMI: filter out temporary variables created while generating ST code out of FBD.'. Some ref to temporary variables are still not using the _TMP_ prefix. They are quite hard to find, so to be continued...
svghmi
2019-09-05, Edouard Tisserant
b20c94352074
SVGHMI: Intermediate state while working on svghmi.c
svghmi
2019-09-03, Edouard Tisserant
31785529a657
svghmi.c : deduplicated variable access code borrowed from plc_debug.c. Added targets/var_access.c.
svghmi
2019-08-26, Edouard Tisserant
302347f48193
SVGHMI: Added iterators in svghmi.c copy-pasted form plc_debug.c
svghmi
2019-08-23, Edouard Tisserant
3f3b1b8ccba4
SVGHMI: svghmi.c now has mutex, iterator, and read/write buffer.
svghmi
2019-08-23, Edouard Tisserant
887aba5ef178
SVGHMI: draft for svghmi.c. It has all PLC variables pointed in HMI tree in an array.
svghmi
2019-08-22, Edouard Tisserant
b75cc2cf4e50
Pass HMITree to SVG transform. It seems it could really help to reduce JS tree binding logic in the end.
svghmi
2019-08-20, Edouard Tisserant
ce04d79b8e57
Add special nodes at HMI Tree root, fix code to handle special node (no path).
svghmi
2019-08-20, Edouard Tisserant
282500e03dbc
Swap CTN code gen and Libraries code gen, because SVGHMI use both, and need the library part to produce hmitree before CTN part.
svghmi
2019-08-20, Edouard Tisserant
2684d643f60f
yslt_noindent : Avoid YSLT's indent logic to interfere when using linequote.
svghmi
2019-08-20, Edouard Tisserant
42a7ef43a0d8
SVGHMI: make a reasonably basic test
svghmi
2019-08-14, Edouard Tisserant
7345bd8a98eb
SVGHMI: filter out temporary variables created while generating ST code out of FBD.
svghmi
2019-08-14, Edouard Tisserant
5f79b194fa63
SVGHMI: added deduction of HMI tree from list of HMI_* instances.
svghmi
2019-08-13, Edouard Tisserant
c901baa36bb3
SVGHMI: added extraction of SVG bounding boxes, obtained from "inkscape -S", and passed to XSLT transform as variable.
svghmi
2019-08-12, Edouard Tisserant
f94bc35a023e
Allow using docutil.get_inkscape_path() on Linux also.
svghmi
2019-08-12, Edouard Tisserant
4efc509e9a1a