2021-02-28 |
Edouard Tisserant |
IDE: Fixed log console that was not updating line by line smoothly when building.
svghmi
|
changeset |
files
|
2021-02-26 |
Edouard Tisserant |
SVGHMI: Optimized overlapping geometry (widget ot page belonging) computation. Added human readable messages for progress. Includes updated XSLT.
svghmi
|
changeset |
files
|
2021-02-25 |
Edouard Tisserant |
merged
svghmi
|
changeset |
files
|
2021-02-24 |
Edouard Tisserant |
Merge changes from default into svghmi branch
svghmi
|
changeset |
files
|
2021-02-24 |
Edouard Tisserant |
SVGHMI: More build time optimization : def_by_label now takes far less time.
svghmi
|
changeset |
files
|
2021-02-23 |
Edouard Tisserant |
SVGHMI: Optimize sumarized_elements xslt function, taking most of SVGHMI build time.
svghmi
|
changeset |
files
|
2021-02-22 |
Edouard Tisserant |
Merge
svghmi
|
changeset |
files
|
2021-02-19 |
Edouard Tisserant |
SVGHMI: Add icons
svghmi
|
changeset |
files
|
2021-02-19 |
Edouard Tisserant |
SVGHMI: Fixed/extended error message when failing to launch POEdit.
svghmi
|
changeset |
files
|
2021-02-19 |
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
|
changeset |
files
|
2021-02-22 |
Edouard Tisserant |
SVGHMI: display progress in IDE console while building
svghmi
|
changeset |
files
|
2021-02-21 |
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
|
changeset |
files
|
2021-02-19 |
Edouard Tisserant |
SVGHMI: update generated XSLT
svghmi
|
changeset |
files
|
2021-02-19 |
Edouard Tisserant |
Allow printf-like formating in HMI:Input, usefull for example when dealing with floating point numbers.
svghmi
|
changeset |
files
|
2021-02-19 |
Edouard Tisserant |
SVGHMI: Switch from {object} to Map for "updates" global, for performance but also preventing wierd behaviour when iterating
svghmi
|
changeset |
files
|
2021-02-18 |
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
|
changeset |
files
|
2021-02-18 |
Edouard Tisserant |
SVGHMI: JsonTable removed useless promise since fetch() already does one. Updated generated XSLT.
svghmi
|
changeset |
files
|
2021-02-18 |
Edouard Tisserant |
SVGHMI: Optimization for JsonTable : reload JSON only when necessary, and avoid concurrent http requests.
svghmi
|
changeset |
files
|
2021-02-16 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
2021-02-16 |
Edouard Tisserant |
SVGHMI: update generated XSLT
svghmi
|
changeset |
files
|
2021-02-16 |
Edouard Tisserant |
SVGHMI: little fix ihn i18n example.
svghmi
|
changeset |
files
|
2021-02-16 |
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
|
changeset |
files
|
2021-02-16 |
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
|
changeset |
files
|
2021-02-15 |
Edouard Tisserant |
SVGHMI: more straightforward implementation of dragging position computation in Scrollbar + some little fix about boundaries.
svghmi
|
changeset |
files
|
2021-02-14 |
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
|
changeset |
files
|
2021-02-14 |
Edouard Tisserant |
SVGHMI: update generated XSLT
svghmi
|
changeset |
files
|
2021-02-14 |
Edouard Tisserant |
SVGHMI: i18n: prevent creating messages.pot if no translation
svghmi
|
changeset |
files
|
2021-02-14 |
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
|
changeset |
files
|
2021-02-14 |
Edouard Tisserant |
SVGHMI: fix scrollbar not behaving when rotated.
svghmi
|
changeset |
files
|
2021-02-14 |
Edouard Tisserant |
SVGHMI: remove forgotten debug code
svghmi
|
changeset |
files
|
2021-02-12 |
Edouard Tisserant |
SVGHMI: Add a robust ScrollBar widget. HMI:ScrollBar@positionrange@size
svghmi
|
changeset |
files
|
2021-02-12 |
Edouard Tisserant |
SVGHMI: propagate default local variables (HMI_LOCAL, PAGE_LOCAL) to widgets at startup
svghmi
|
changeset |
files
|
2021-02-09 |
Edouard Tisserant |
SVGHMI: Update generated XSLT
svghmi
|
changeset |
files
|
2021-02-09 |
Edouard Tisserant |
SVGHMI: HMI:DropDown:#langs@lang now automatically shows human readable list of languages. tests/svghmi_i18n updated accordingly.
svghmi
|
changeset |
files
|
2021-02-09 |
Edouard Tisserant |
SVGHMI: Add a simple i18n test
svghmi
|
changeset |
files
|
2021-02-09 |
Edouard Tisserant |
SVGHMI: Prevent Dropdown widget to mak exception whe value out of range
svghmi
|
changeset |
files
|
2021-02-09 |
Edouard Tisserant |
SVGHMI: removed dead code
svghmi
|
changeset |
files
|
2021-02-09 |
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
|
changeset |
files
|
2021-02-09 |
Edouard Tisserant |
SVGHMI: Added HMI:VarInitPersistent to initialize persistent HMI_LOCAL and PAGE_LOCAL variables, stored as cookies in browser.
svghmi
|
changeset |
files
|
2021-02-09 |
Edouard Tisserant |
SVGHMI: Enforce formating HMI_LOCAL and PAGE_LOCAL variables until the end of variable name
svghmi
|
changeset |
files
|
2021-02-04 |
Edouard Tisserant |
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
|
changeset |
files
|
2021-02-04 |
Edouard Tisserant |
SVGHMI: widget activable elements : moved code to wher it belongs, rewrote cleaner
svghmi
|
changeset |
files
|
2021-02-02 |
Edouard Tisserant |
SVGHMI: update generated XSLT
svghmi
|
changeset |
files
|
2021-02-02 |
Edouard Tisserant |
Merged
svghmi
|
changeset |
files
|
2021-02-02 |
Edouard Tisserant |
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
|
changeset |
files
|
2021-02-02 |
Edouard Tisserant |
SVGHMI: Prevent excluded widget to appear in generated pages' widget list.
svghmi
|
changeset |
files
|
2021-02-02 |
Edouard Tisserant |
SVGHMI: Remove recursive walk in parsed widget to find unique type and use xsl:key instead.
svghmi
|
changeset |
files
|
2021-01-26 |
Edouard Tisserant |
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
|
changeset |
files
|
2021-01-26 |
Edouard Tisserant |
SVGHMI : removed support for changing keyboard position and showing at user defined location. Feature was problematic in many respect.
svghmi
|
changeset |
files
|
2021-01-25 |
Edouard Tisserant |
SVGHMI: Make an error when pages are nested
svghmi
|
changeset |
files
|
2021-01-22 |
Edouard Tisserant |
SVGHMI: i18n: finished passing back translated messaged to xslt proc, finished template to generate corresponding javascript literals.
svghmi
|
changeset |
files
|
2021-01-22 |
Edouard Tisserant |
SVGHMI: i18n: various fixes about unicode encoding and converting translation result back to XML to feed xslt processor
svghmi
|
changeset |
files
|
2021-01-21 |
Edouard Tisserant |
SVGHMI: i18n: better warning messages, more explicit.
svghmi
|
changeset |
files
|
2021-01-21 |
Edouard Tisserant |
SVGHMI: i18n: now loads PO filesand match translation against catalog. Refactored a bit to move i18n related code in i18n.py
svghmi
|
changeset |
files
|
2021-01-19 |
Edouard Tisserant |
SVGHMI: still WIP, now POT file is properly generated with utf-8 encoding and POEdit is launched when pressing button.
svghmi
|
changeset |
files
|
2021-01-18 |
Edouard Tisserant |
Docutil : reworked Inkscape launching and path resolution in docsvg.py
svghmi
|
changeset |
files
|
2021-01-15 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
2021-01-13 |
Edouard Tisserant |
Removed harmful assert in ProcessLogger.
svghmi
|
changeset |
files
|
2021-01-15 |
Edouard Tisserant |
SVGHMI: Intermediate commit while implementing i18n. WIP.
svghmi
|
changeset |
files
|
2021-01-05 |
Edouard Tisserant |
SVGHMI: Jump widget: switch to class based declaraion, and add some TODO comments to prepare for jump to relative page being selected through a DropDown widget.
svghmi
|
changeset |
files
|