beremiz
Clone
Summary
Browse
Changes
Graph
SVGHMI: Fixed HMI:ScrollBar to exclude cursor size from accessible range ( position is now 0->range-size instead of 0->range ). Fixed and extended tests/svghmi to have working ScrollBar on two alarm pages. Includes generated XSLT update.
svghmi
2021-02-18, Edouard Tisserant
8e5d383a58cb
SVGHMI: JsonTable removed useless promise since fetch() already does one. Updated generated XSLT.
svghmi
2021-02-18, Edouard Tisserant
5a1bb6ec48a0
SVGHMI: Optimization for JsonTable : reload JSON only when necessary, and avoid concurrent http requests.
svghmi
2021-02-18, Edouard Tisserant
d32e6246cd59
merge
svghmi
2021-02-16, Edouard Tisserant
b8c0dfdf364b
SVGHMI: i18n: ensure langs always appea in same order, and add two variables that are updated automatically when selecting a new language : lang_name and lang_code. Also fixed i18n startup, prevent wrong lang numer to crash loading.
svghmi
2021-02-16, Edouard Tisserant
2af6afaccaf2
SVGHMI: update generated XSLT
svghmi
2021-02-16, Edouard Tisserant
910290aec533
SVGHMI: little fix ihn i18n example.
svghmi
2021-02-16, Edouard Tisserant
b18f78582f8c
SVGHMI: Fixed sending HMI_REAL to PLC. Added a svghmi_real test that illustrates using printf style formating in HMI:Display to control precision of Float number display.
svghmi
2021-02-16, Edouard Tisserant
80ebb88cf7b7
SVGHMI: more straightforward implementation of dragging position computation in Scrollbar + some little fix about boundaries.
svghmi
2021-02-15, Edouard Tisserant
8388e6d4aa61
SVGHMI: allow i18n of formated strings of HMI:Messages. This was by construction impossible since formating was given as an argument. Now added optional "format" labelled element in HMI:Display, so that it can be translated, when labelled "_format".
svghmi
2021-02-14, Edouard Tisserant
2637bb6a6bb0
SVGHMI: update generated XSLT
svghmi
2021-02-14, Edouard Tisserant
6d4c1e6560ac
SVGHMI: i18n: prevent creating messages.pot if no translation
svghmi
2021-02-14, Edouard Tisserant
cae53fe54cf2
SVGHMI: Add inhibition to widget's apply_hmi_value() so that it does not change variable more frquently than given widget's frequency. This prevents flooding network with many update if browser is producing events at high rate, as for exemple when dragging ScrollBar's cursor.
svghmi
2021-02-14, Edouard Tisserant
1f5ca646ce6e
SVGHMI: fix scrollbar not behaving when rotated.
svghmi
2021-02-14, Edouard Tisserant
1d724e8d5592
SVGHMI: remove forgotten debug code
svghmi
2021-02-14, Edouard Tisserant
ac3ec66e9c6d
SVGHMI: Add a robust ScrollBar widget. HMI:ScrollBar@positionrange@size
svghmi
2021-02-12, Edouard Tisserant
784c839d4259
SVGHMI: propagate default local variables (HMI_LOCAL, PAGE_LOCAL) to widgets at startup
svghmi
2021-02-12, Edouard Tisserant
d723472a18a4
SVGHMI: Update generated XSLT
svghmi
2021-02-09, Edouard Tisserant
af558c9a5141
SVGHMI: HMI:DropDown:#langs@lang now automatically shows human readable list of languages. tests/svghmi_i18n updated accordingly.
svghmi
2021-02-09, Edouard Tisserant
450cd01324ad
SVGHMI: Add a simple i18n test
svghmi
2021-02-09, Edouard Tisserant
a1e2eff0bc58
SVGHMI: Prevent Dropdown widget to mak exception whe value out of range
svghmi
2021-02-09, Edouard Tisserant
2d750e38a4c6
SVGHMI: removed dead code
svghmi
2021-02-09, Edouard Tisserant
bdd81e12e7b5
SVGHMI: Add "lang" permament persistent HMI_LOCAL variable to reflect selected language, apply stored language choice at startup and make it always subscribed to a pseudo widget (as for hearbeat) that apply language choice when it changes.
svghmi
2021-02-09, Edouard Tisserant
f2709923c82c
SVGHMI: Added HMI:VarInitPersistent to initialize persistent HMI_LOCAL and PAGE_LOCAL variables, stored as cookies in browser.
svghmi
2021-02-09, Edouard Tisserant
32a4675af377
SVGHMI: Enforce formating HMI_LOCAL and PAGE_LOCAL variables until the end of variable name
svghmi
2021-02-09, Edouard Tisserant
d4dfd47f8156
SVGHMI: generate JS translation literals so that it is possible to also translate uses of texts, and added JS code that apply translations to tspans
svghmi
2021-02-04, Edouard Tisserant
f45e413a0f40
SVGHMI: widget activable elements : moved code to wher it belongs, rewrote cleaner
svghmi
2021-02-04, Edouard Tisserant
1fb0c07bd97b
SVGHMI: update generated XSLT
svghmi
2021-02-02, Edouard Tisserant
f263359d8108
Merged
svghmi
2021-02-02, Edouard Tisserant
f8cba959553f
SVGHMI: make a copy of tests/svghmi as test/svghmi_widget because too crowded since having pages for widget documentation. Strip those pages from tests/svghmi, so that it
svghmi
2021-02-02, Edouard Tisserant
229795c03e11
SVGHMI: Prevent excluded widget to appear in generated pages' widget list.
svghmi
2021-02-02, Edouard Tisserant
8094494113b6
SVGHMI: Remove recursive walk in parsed widget to find unique type and use xsl:key instead.
svghmi
2021-02-02, Edouard Tisserant
7ecaefe38f6f
SVGHMI: Fix browser side exception when some widget are not used, and are then discarded and not present in final SVG. In that case JS code was still making reference to discarded widget elements and was raising exception at init.
svghmi
2021-01-26, Edouard Tisserant
17a9c7a334f7
SVGHMI : removed support for changing keyboard position and showing at user defined location. Feature was problematic in many respect.
svghmi
2021-01-26, Edouard Tisserant
e704b0487515
SVGHMI: Make an error when pages are nested
svghmi
2021-01-25, Edouard Tisserant
f058542d0caa
SVGHMI: i18n: finished passing back translated messaged to xslt proc, finished template to generate corresponding javascript literals.
svghmi
2021-01-22, Edouard Tisserant
6da94ec04325
SVGHMI: i18n: various fixes about unicode encoding and converting translation result back to XML to feed xslt processor
svghmi
2021-01-22, Edouard Tisserant
77cfbf1aacf0
SVGHMI: i18n: better warning messages, more explicit.
svghmi
2021-01-21, Edouard Tisserant
fb1e320836e8
SVGHMI: i18n: now loads PO filesand match translation against catalog. Refactored a bit to move i18n related code in i18n.py
svghmi
2021-01-21, Edouard Tisserant
18133b90196e
SVGHMI: still WIP, now POT file is properly generated with utf-8 encoding and POEdit is launched when pressing button.
svghmi
2021-01-19, Edouard Tisserant
bd20f9112014
modbus plugin: add (user accessible) transaction bool flags for servers/slaves; FIX BUG in previous commit affecting RTU slaves.
mc9_backport_2
2021-01-28, Mario de Sousa
8579a6a6fad2
modbus plugin: add (user accessible) transaction counters for servers/slaves
mc9_backport_2
2021-01-28, Mario de Sousa
652a5d65aa97
Merge
2021-02-02, Tomaz Orac
3f3f9dce9140
merge
2021-01-28, Mario de Sousa
cde2e410b874
modbus plugin: add (user accessible) transaction bool flags for servers/slaves; FIX BUG in previous commit affecting RTU slaves.
2021-01-28, Mario de Sousa
5d72a52b8f9c
modbus plugin: add (user accessible) transaction counters for servers/slaves
2021-01-28, Mario de Sousa
367eb26972b1
modbus plugin: add/fix comments
mc9_backport_2
2020-12-25, Mario de Sousa
b61c1010cca8
Modbus plugin: fix bug - map BOOL flag onto C u8 (was incorrectly mapped onto u16)
mc9_backport_2
2020-12-21, Mario de Sousa
6e71f9ead7a8
Modbus plugin: map status of MB transaction onto 2 located BYTE vars (instead of a singlw WORD var).
mc9_backport_2
2020-12-21, Mario de Sousa
b16ca430b79b
Modbus plugin: provide user programs feedback on current connection status mapped onto a WORD located variable
mc9_backport_2
2020-12-21, Mario de Sousa
1882c13f1212
Merge
2021-01-18, Edouard Tisserant
745b64e7c695
merge
2020-12-25, Mario de Sousa
76e8ec46828a
modbus plugin: add/fix comments
2020-12-25, Mario de Sousa
b3b6991f1cb6
merge
2020-12-21, Mario de Sousa
ebb2595504f0
Modbus plugin: fix bug - map BOOL flag onto C u8 (was incorrectly mapped onto u16)
2020-12-21, Mario de Sousa
1215a6b741d5
Modbus plugin: map status of MB transaction onto 2 located BYTE vars (instead of a singlw WORD var).
2020-12-21, Mario de Sousa
0b636dc947a2
Modbus plugin: provide user programs feedback on current connection status mapped onto a WORD located variable
2020-12-21, Mario de Sousa
680ea4684209
Docutil : reworked Inkscape launching and path resolution in docsvg.py
svghmi
2021-01-18, Edouard Tisserant
5d9ae04ee50f
merge
svghmi
2021-01-15, Edouard Tisserant
476bd870313d
SVGHMI: Intermediate commit while implementing i18n. WIP.
svghmi
2021-01-15, Edouard Tisserant
079419e7228d