Mon, 29 Mar 2021 14:35:45 +0200 |
Edouard Tisserant |
SVGHMI: Fix update of HMI tree in UI when loading from XML at start. Removed some dead code left after split of svghmi.py into svghmi.py+ui.py.
svghmi
|
changeset |
files
|
Mon, 29 Mar 2021 10:26:42 +0200 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
Mon, 29 Mar 2021 10:26:21 +0200 |
Edouard Tisserant |
SVGHMI: added "page_node" variable that reflects the HMI tree path of current relative page
svghmi
|
changeset |
files
|
Fri, 26 Mar 2021 14:53:35 +0100 |
Edouard Tisserant |
SVGHMI: Add list of HMI tree path in a JS array, so that we can use it for multiple purpose :
svghmi
|
changeset |
files
|
Fri, 26 Mar 2021 14:46:38 +0100 |
Edouard Tisserant |
SVGHMI: Fixed wierd CDATA mess in output xhtml, because of backticks copy pasted in some yml ||text block||
svghmi
|
changeset |
files
|
Mon, 29 Mar 2021 07:11:45 +0200 |
Edouard Tisserant |
SVGHMI: Added fonts.py with functions to convert ttf, otf and woff fonts into data_uri based CSS font-face
svghmi
|
changeset |
files
|
Thu, 25 Mar 2021 13:08:19 +0100 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
Thu, 25 Mar 2021 13:07:52 +0100 |
Edouard Tisserant |
SVGHMI: split svghmi.py into svghmi.py (Config Tree Node + code gen) and ui.py (UI for HMI tree and Widget picking)
svghmi
|
changeset |
files
|
Thu, 25 Mar 2021 10:48:24 +0100 |
Edouard Tisserant |
SVGHMI: stop serving HMI open wide on all interfaces. That was a security hole. It is user/developer responsibity to forward connection with for exemple stunnel and make it securely accessible from LAN.
svghmi
|
changeset |
files
|
Thu, 25 Mar 2021 10:13:12 +0100 |
Edouard Tisserant |
SVGHMI: Filter unseen geometry from inkscape CSV output.
svghmi
|
changeset |
files
|
Tue, 23 Mar 2021 14:09:55 +0100 |
Edouard Tisserant |
SVGHMI: Fix typo in error message formating in i18n.
svghmi
|
changeset |
files
|
Wed, 24 Mar 2021 05:34:46 +0100 |
Edouard Tisserant |
SVGHMI: split svghmi.py into hmi_tree.py + svghmi.py
svghmi
|
changeset |
files
|
Tue, 23 Mar 2021 05:15:19 +0100 |
Edouard Tisserant |
Merged
svghmi
|
changeset |
files
|
Thu, 18 Mar 2021 14:32:21 +0100 |
Edouard Tisserant |
SVGHMI: JsonTable: Fixed options not being passed in JSON post when jumping to a page where additional variables are pre-defined by a HMI:VarInit.
svghmi
|
changeset |
files
|
Tue, 23 Mar 2021 05:13:18 +0100 |
Edouard Tisserant |
SVGHMI: Added small widget library for library browser testing.
svghmi
|
changeset |
files
|
Tue, 23 Mar 2021 05:11:23 +0100 |
Edouard Tisserant |
SVGHMI: Added SVG widget library browser. Supports browsing and previewing widgets. Widget validation and drag'n'drop are still to be implemented.
svghmi
|
changeset |
files
|
Tue, 23 Mar 2021 05:08:51 +0100 |
Edouard Tisserant |
Allow using spin() from ProcessLogger even with no logger given.
svghmi
|
changeset |
files
|
Wed, 17 Mar 2021 11:07:29 +0100 |
Edouard Tisserant |
merged
svghmi
|
changeset |
files
|
Tue, 16 Mar 2021 14:19:22 +0100 |
Edouard Tisserant |
SVGHMI: cosmetic change, missing semicolon
svghmi
|
changeset |
files
|
Tue, 16 Mar 2021 14:18:39 +0100 |
Edouard Tisserant |
SVGHMI: JsonTable should refresh when re-subscibing, because data might have changed while not on the page we are switching to.
svghmi
|
changeset |
files
|
Mon, 15 Mar 2021 11:25:24 +0100 |
Edouard Tisserant |
SVGHMI: Fixed problems happening when value is higher than maximum or lower than minimum in Input widget. "max" and "min" string was getting into keypad text field, was not diplayed systematically, and was staying forever sometime.
svghmi
|
changeset |
files
|
Fri, 12 Mar 2021 15:12:38 +0100 |
Edouard Tisserant |
SVGHMI: change default values for JsonTable, leading to scrollbar initialized at annoying non-zero position
svghmi
|
changeset |
files
|
Thu, 11 Mar 2021 20:46:05 +0100 |
Edouard Tisserant |
SVGHMI: Ensure that when a HMI:List is refered, none of its refered elements are discarded.
svghmi
|
changeset |
files
|
Thu, 11 Mar 2021 10:35:23 +0100 |
Edouard Tisserant |
Backed out changeset b2ba6eeb61ec. Users reported text styling being messed in some cases.
svghmi
|
changeset |
files
|
Thu, 11 Mar 2021 09:13:51 +0100 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
Wed, 10 Mar 2021 10:01:05 +0100 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
Wed, 10 Mar 2021 09:59:18 +0100 |
Edouard Tisserant |
Runtime: Added PostStart methot to PLCObject, called after PLC is started, with all libraries and python object already created, and python extensions "Start" methods being called.
svghmi
|
changeset |
files
|
Wed, 10 Mar 2021 19:29:49 +0100 |
Edouard Tisserant |
SVGHMI: Add generic action buttons to JSON table, with an example in tests/svghmi: wipe alar list.
svghmi
|
changeset |
files
|
Wed, 10 Mar 2021 19:27:41 +0100 |
Edouard Tisserant |
SVGHMI: do not do XSLT transform if both SVGHMI and HMI Tree didn't change since last build
svghmi
|
changeset |
files
|
Fri, 05 Mar 2021 09:36:22 +0100 |
Edouard Tisserant |
Merged
svghmi
|
changeset |
files
|
Wed, 03 Mar 2021 11:45:13 +0100 |
Edouard Tisserant |
SVGHMI: Make ScrollBar's variables order match JsonTable's variables order to avoid confusion
svghmi
|
changeset |
files
|
Fri, 05 Mar 2021 09:24:45 +0100 |
Edouard Tisserant |
SVGHMI: Lighter display of HMI Tree, no more icons and use buttons. Auto expand root. Fix loading of HMI tree XML backup (hmiclass attribute wasn't kept).
svghmi
|
changeset |
files
|
Fri, 05 Mar 2021 00:02:52 +0100 |
Edouard Tisserant |
SVGHMI: Systematically save HMI Tree in build directory as hmitree.xml when building, so that HMI Tree can be displayed when re-opening project, without having to build
svghmi
|
changeset |
files
|
Tue, 02 Mar 2021 17:30:13 +0100 |
Edouard Tisserant |
SVGHMI: attempt to prevent crazy styling with HMI:TextStyleList when inkscape store style in tspan instead of text element.
svghmi
|
changeset |
files
|
Tue, 02 Mar 2021 10:11:45 +0100 |
Edouard Tisserant |
IDE: Fix logging of external process execution time so that it is visible on windows as well.
svghmi
|
changeset |
files
|
Tue, 02 Mar 2021 09:42:50 +0100 |
Edouard Tisserant |
IDE: Process Logging : Add annotation in log so that user can see build is still alive and how long external process takes.
svghmi
|
changeset |
files
|
Tue, 02 Mar 2021 09:28:44 +0100 |
Edouard Tisserant |
IDE: Iec2CSettings: Log wasn't available in case of exception when launching iec2c.
svghmi
|
changeset |
files
|
Tue, 02 Mar 2021 09:25:55 +0100 |
Edouard Tisserant |
IDE: Log: Cosmetic changes, refactoring
svghmi
|
changeset |
files
|
Mon, 01 Mar 2021 15:46:23 +0100 |
Edouard Tisserant |
SVGHMI: Make build log less redundant, and refactor progress information code a bit, to make it also a bit less redundant.
svghmi
|
changeset |
files
|
Mon, 01 Mar 2021 15:45:13 +0100 |
Edouard Tisserant |
IDE: Make ST code generation more verbose, since it can be really long in case of big programs, and it is better to let the user know build is still in progress.
svghmi
|
changeset |
files
|
Mon, 01 Mar 2021 10:03:50 +0100 |
Edouard Tisserant |
merged
svghmi
|
changeset |
files
|
Fri, 26 Feb 2021 11:08:51 +0100 |
Edouard Tisserant |
SVGHMI: Fixed progress time computation
svghmi
|
changeset |
files
|
Sun, 28 Feb 2021 21:45:10 +0100 |
Edouard Tisserant |
IDE: Fixed log console that was not updating line by line smoothly when building.
svghmi
|
changeset |
files
|
Fri, 26 Feb 2021 10:00:14 +0100 |
Edouard Tisserant |
SVGHMI: Optimized overlapping geometry (widget ot page belonging) computation. Added human readable messages for progress. Includes updated XSLT.
svghmi
|
changeset |
files
|
Thu, 25 Feb 2021 11:22:10 +0100 |
Edouard Tisserant |
merged
svghmi
|
changeset |
files
|
Wed, 24 Feb 2021 09:37:00 +0100 |
Edouard Tisserant |
Merge changes from default into svghmi branch
svghmi
|
changeset |
files
|
Wed, 24 Feb 2021 15:36:37 +0100 |
Edouard Tisserant |
SVGHMI: More build time optimization : def_by_label now takes far less time.
svghmi
|
changeset |
files
|
Tue, 23 Feb 2021 10:07:21 +0100 |
Edouard Tisserant |
SVGHMI: Optimize sumarized_elements xslt function, taking most of SVGHMI build time.
svghmi
|
changeset |
files
|
Mon, 22 Feb 2021 10:09:57 +0100 |
Edouard Tisserant |
Merge
svghmi
|
changeset |
files
|
Fri, 19 Feb 2021 14:56:14 +0100 |
Edouard Tisserant |
SVGHMI: Add icons
svghmi
|
changeset |
files
|
Fri, 19 Feb 2021 12:03:42 +0100 |
Edouard Tisserant |
SVGHMI: Fixed/extended error message when failing to launch POEdit.
svghmi
|
changeset |
files
|
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
|
changeset |
files
|
Mon, 22 Feb 2021 10:08:36 +0100 |
Edouard Tisserant |
SVGHMI: display progress in IDE console while building
svghmi
|
changeset |
files
|
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
|
changeset |
files
|
Fri, 19 Feb 2021 10:04:36 +0100 |
Edouard Tisserant |
SVGHMI: update generated XSLT
svghmi
|
changeset |
files
|
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
|
changeset |
files
|
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
|
changeset |
files
|
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
|
changeset |
files
|
Thu, 18 Feb 2021 10:43:10 +0100 |
Edouard Tisserant |
SVGHMI: JsonTable removed useless promise since fetch() already does one. Updated generated XSLT.
svghmi
|
changeset |
files
|
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
|
changeset |
files
|
Tue, 16 Feb 2021 11:47:52 +0100 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
Tue, 16 Feb 2021 11:35:56 +0100 |
Edouard Tisserant |
SVGHMI: update generated XSLT
svghmi
|
changeset |
files
|
Tue, 16 Feb 2021 11:32:37 +0100 |
Edouard Tisserant |
SVGHMI: little fix ihn i18n example.
svghmi
|
changeset |
files
|
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
|
changeset |
files
|
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
|
changeset |
files
|
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
|
changeset |
files
|
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
|
changeset |
files
|
Sun, 14 Feb 2021 05:30:29 +0100 |
Edouard Tisserant |
SVGHMI: update generated XSLT
svghmi
|
changeset |
files
|
Sun, 14 Feb 2021 05:29:51 +0100 |
Edouard Tisserant |
SVGHMI: i18n: prevent creating messages.pot if no translation
svghmi
|
changeset |
files
|
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
|
changeset |
files
|
Sun, 14 Feb 2021 05:17:25 +0100 |
Edouard Tisserant |
SVGHMI: fix scrollbar not behaving when rotated.
svghmi
|
changeset |
files
|
Sun, 14 Feb 2021 05:15:13 +0100 |
Edouard Tisserant |
SVGHMI: remove forgotten debug code
svghmi
|
changeset |
files
|
Fri, 12 Feb 2021 22:00:07 +0100 |
Edouard Tisserant |
SVGHMI: Add a robust ScrollBar widget. HMI:ScrollBar@positionrange@size
svghmi
|
changeset |
files
|
Fri, 12 Feb 2021 21:58:03 +0100 |
Edouard Tisserant |
SVGHMI: propagate default local variables (HMI_LOCAL, PAGE_LOCAL) to widgets at startup
svghmi
|
changeset |
files
|
Tue, 09 Feb 2021 17:10:08 +0100 |
Edouard Tisserant |
SVGHMI: Update generated XSLT
svghmi
|
changeset |
files
|
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
|
changeset |
files
|
Tue, 09 Feb 2021 08:11:22 +0100 |
Edouard Tisserant |
SVGHMI: Add a simple i18n test
svghmi
|
changeset |
files
|
Tue, 09 Feb 2021 07:57:14 +0100 |
Edouard Tisserant |
SVGHMI: Prevent Dropdown widget to mak exception whe value out of range
svghmi
|
changeset |
files
|
Tue, 09 Feb 2021 07:56:25 +0100 |
Edouard Tisserant |
SVGHMI: removed dead code
svghmi
|
changeset |
files
|
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
|
changeset |
files
|
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
|
changeset |
files
|
Tue, 09 Feb 2021 07:41:24 +0100 |
Edouard Tisserant |
SVGHMI: Enforce formating HMI_LOCAL and PAGE_LOCAL variables until the end of variable name
svghmi
|
changeset |
files
|
Thu, 04 Feb 2021 21:23:58 +0100 |
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
|
Thu, 04 Feb 2021 21:20:01 +0100 |
Edouard Tisserant |
SVGHMI: widget activable elements : moved code to wher it belongs, rewrote cleaner
svghmi
|
changeset |
files
|
Tue, 02 Feb 2021 16:39:02 +0100 |
Edouard Tisserant |
SVGHMI: update generated XSLT
svghmi
|
changeset |
files
|
Tue, 02 Feb 2021 11:20:54 +0100 |
Edouard Tisserant |
Merged
svghmi
|
changeset |
files
|
Tue, 02 Feb 2021 11:17:03 +0100 |
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
|
Tue, 02 Feb 2021 10:59:00 +0100 |
Edouard Tisserant |
SVGHMI: Prevent excluded widget to appear in generated pages' widget list.
svghmi
|
changeset |
files
|
Tue, 02 Feb 2021 10:43:43 +0100 |
Edouard Tisserant |
SVGHMI: Remove recursive walk in parsed widget to find unique type and use xsl:key instead.
svghmi
|
changeset |
files
|
Tue, 26 Jan 2021 11:17:08 +0100 |
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
|
Tue, 26 Jan 2021 11:14:22 +0100 |
Edouard Tisserant |
SVGHMI : removed support for changing keyboard position and showing at user defined location. Feature was problematic in many respect.
svghmi
|
changeset |
files
|
Mon, 25 Jan 2021 14:02:08 +0100 |
Edouard Tisserant |
SVGHMI: Make an error when pages are nested
svghmi
|
changeset |
files
|
Fri, 22 Jan 2021 11:30:37 +0100 |
Edouard Tisserant |
SVGHMI: i18n: finished passing back translated messaged to xslt proc, finished template to generate corresponding javascript literals.
svghmi
|
changeset |
files
|
Fri, 22 Jan 2021 08:43:24 +0100 |
Edouard Tisserant |
SVGHMI: i18n: various fixes about unicode encoding and converting translation result back to XML to feed xslt processor
svghmi
|
changeset |
files
|
Thu, 21 Jan 2021 11:08:04 +0100 |
Edouard Tisserant |
SVGHMI: i18n: better warning messages, more explicit.
svghmi
|
changeset |
files
|
Thu, 21 Jan 2021 05:04:23 +0100 |
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
|