Fri, 19 Feb 2021 12:02:49 +0100 Edouard Tisserant SVGHMI: Fix launch of POEdit on widows. Parsing oommand in registry based on heuristic was bad, now using regex should be safer. TODO : replicate for Inkscape launch. svghmi
Mon, 22 Feb 2021 10:08:36 +0100 Edouard Tisserant SVGHMI: display progress in IDE console while building svghmi
Sun, 21 Feb 2021 21:38:44 +0100 Edouard Tisserant SVGHMI: finally found why HMI:Input wasnt't initializing properly: vsprintf takes a list. Also, removed intermediate variable last_val, since edit_value() works on strings anyhow, and in case of formated floats, it is better to workl on already formated value. svghmi
Fri, 19 Feb 2021 10:04:36 +0100 Edouard Tisserant SVGHMI: update generated XSLT svghmi
Fri, 19 Feb 2021 10:04:17 +0100 Edouard Tisserant Allow printf-like formating in HMI:Input, usefull for example when dealing with floating point numbers. svghmi
Fri, 19 Feb 2021 10:03:00 +0100 Edouard Tisserant SVGHMI: Switch from {object} to Map for "updates" global, for performance but also preventing wierd behaviour when iterating svghmi
Thu, 18 Feb 2021 12:02:28 +0100 Edouard Tisserant 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
Thu, 18 Feb 2021 10:43:10 +0100 Edouard Tisserant SVGHMI: JsonTable removed useless promise since fetch() already does one. Updated generated XSLT. svghmi
Thu, 18 Feb 2021 05:39:46 +0100 Edouard Tisserant SVGHMI: Optimization for JsonTable : reload JSON only when necessary, and avoid concurrent http requests. svghmi
Tue, 16 Feb 2021 11:47:52 +0100 Edouard Tisserant merge svghmi
Tue, 16 Feb 2021 11:35:56 +0100 Edouard Tisserant SVGHMI: update generated XSLT svghmi
Tue, 16 Feb 2021 11:32:37 +0100 Edouard Tisserant SVGHMI: little fix ihn i18n example. svghmi
Tue, 16 Feb 2021 11:32:00 +0100 Edouard Tisserant 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
Tue, 16 Feb 2021 09:38:28 +0100 Edouard Tisserant 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
Mon, 15 Feb 2021 15:46:47 +0100 Edouard Tisserant SVGHMI: more straightforward implementation of dragging position computation in Scrollbar + some little fix about boundaries. svghmi
Sun, 14 Feb 2021 19:15:20 +0100 Edouard Tisserant 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
Sun, 14 Feb 2021 05:30:29 +0100 Edouard Tisserant SVGHMI: update generated XSLT svghmi
Sun, 14 Feb 2021 05:29:51 +0100 Edouard Tisserant SVGHMI: i18n: prevent creating messages.pot if no translation svghmi
Sun, 14 Feb 2021 05:22:30 +0100 Edouard Tisserant 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
Sun, 14 Feb 2021 05:17:25 +0100 Edouard Tisserant SVGHMI: fix scrollbar not behaving when rotated. svghmi
Sun, 14 Feb 2021 05:15:13 +0100 Edouard Tisserant SVGHMI: remove forgotten debug code svghmi
Fri, 12 Feb 2021 22:00:07 +0100 Edouard Tisserant SVGHMI: Add a robust ScrollBar widget. HMI:ScrollBar@positionrange@size svghmi
Fri, 12 Feb 2021 21:58:03 +0100 Edouard Tisserant SVGHMI: propagate default local variables (HMI_LOCAL, PAGE_LOCAL) to widgets at startup svghmi
Tue, 09 Feb 2021 17:10:08 +0100 Edouard Tisserant SVGHMI: Update generated XSLT svghmi
Tue, 09 Feb 2021 17:09:08 +0100 Edouard Tisserant SVGHMI: HMI:DropDown:#langs@lang now automatically shows human readable list of languages. tests/svghmi_i18n updated accordingly. svghmi
Tue, 09 Feb 2021 08:11:22 +0100 Edouard Tisserant SVGHMI: Add a simple i18n test svghmi
Tue, 09 Feb 2021 07:57:14 +0100 Edouard Tisserant SVGHMI: Prevent Dropdown widget to mak exception whe value out of range svghmi
Tue, 09 Feb 2021 07:56:25 +0100 Edouard Tisserant SVGHMI: removed dead code svghmi
Tue, 09 Feb 2021 07:55:16 +0100 Edouard Tisserant 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
Tue, 09 Feb 2021 07:46:02 +0100 Edouard Tisserant SVGHMI: Added HMI:VarInitPersistent to initialize persistent HMI_LOCAL and PAGE_LOCAL variables, stored as cookies in browser. svghmi