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
|
Tue, 19 Jan 2021 11:57:13 +0100 |
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
|
Mon, 18 Jan 2021 10:32:13 +0100 |
Edouard Tisserant |
Docutil : reworked Inkscape launching and path resolution in docsvg.py
svghmi
|
changeset |
files
|
Fri, 15 Jan 2021 10:15:41 +0100 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
Wed, 13 Jan 2021 10:28:09 +0100 |
Edouard Tisserant |
Removed harmful assert in ProcessLogger.
svghmi
|
changeset |
files
|
Fri, 15 Jan 2021 10:11:05 +0100 |
Edouard Tisserant |
SVGHMI: Intermediate commit while implementing i18n. WIP.
svghmi
|
changeset |
files
|
Tue, 05 Jan 2021 01:23:45 +0100 |
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
|
Mon, 04 Jan 2021 13:57:11 +0100 |
Edouard Tisserant |
SVGHMI: intermediate state of test/svghmi's SVG for backup... WIP
svghmi
|
changeset |
files
|
Mon, 04 Jan 2021 12:34:56 +0100 |
Edouard Tisserant |
SVGHMI: CircularBar: use animate() + cormetic changes
svghmi
|
changeset |
files
|
Tue, 29 Dec 2020 16:54:32 +0100 |
Edouard Tisserant |
SVGHMI: Meter widget: use animate() + cosmetic changes
svghmi
|
changeset |
files
|
Tue, 29 Dec 2020 15:53:30 +0100 |
Edouard Tisserant |
SVGHMI: Update generated xslt
svghmi
|
changeset |
files
|
Tue, 29 Dec 2020 15:39:48 +0100 |
Edouard Tisserant |
SVGHMI: Fix bug in keypad leading to error messages in browser console when keypas has no Shift or CapsLock keys
svghmi
|
changeset |
files
|
Tue, 29 Dec 2020 15:38:31 +0100 |
Edouard Tisserant |
SVGHMI: cosmetic changes
svghmi
|
changeset |
files
|
Tue, 29 Dec 2020 15:37:41 +0100 |
Edouard Tisserant |
SVGHMI: Input widget overrides undershot() and overshot() methods to display "min: xxx" or "max: xxx" when user input goes out of given range.
svghmi
|
changeset |
files
|
Tue, 29 Dec 2020 15:35:39 +0100 |
Edouard Tisserant |
SVGHMI: Added clipping to min and max value for all widget using @path,min,max syntax. Added overshot() and undershot() methods to widget base class, called when value is limited to max or min respectively.
svghmi
|
changeset |
files
|
Thu, 24 Dec 2020 17:00:43 +0100 |
Edouard Tisserant |
SVGHMI: decoupled operation string evaluation from HMI variable uptdate in change_hmi_variable(), paving the way for min/max boundaries enforcement
svghmi
|
changeset |
files
|
Thu, 24 Dec 2020 16:56:19 +0100 |
Edouard Tisserant |
SVGHMI: Added parsing of min and max value that can be given as @path,min,max in widget description
svghmi
|
changeset |
files
|
Tue, 22 Dec 2020 14:57:59 +0100 |
Edouard Tisserant |
Merged default in svghmi branch
svghmi
|
changeset |
files
|
Mon, 21 Dec 2020 11:10:27 +0100 |
Edouard Tisserant |
WebInterface: better wording for wiping PLC content: "Repair"
svghmi
|
changeset |
files
|
Fri, 18 Dec 2020 15:52:58 +0100 |
Edouard Tisserant |
SVGHMI: almost rewrote Input widget to make it new class based style.
svghmi
|
changeset |
files
|
Fri, 18 Dec 2020 11:50:28 +0100 |
Edouard Tisserant |
runtime: added restart/reset button in web settings. Accidentaly fixed web settings logging feature.
svghmi
|
changeset |
files
|
Thu, 17 Dec 2020 19:31:00 +0100 |
Edouard Tisserant |
SVGHMI: added dropdown selection highlighting and fixed scrolling so that it doesn't miss any entry while jumping from one page to the other.
svghmi
|
changeset |
files
|
Wed, 16 Dec 2020 15:44:24 +0100 |
Edouard Tisserant |
SVGHMI: change scroll buttons into single unicode triangle and center them. Use highlight rectangle duplicated and hidden to catch selection clicks so that the whole row is clickable.
svghmi
|
changeset |
files
|
Tue, 15 Dec 2020 13:43:21 +0100 |
Edouard Tisserant |
SVGHMI: DropDown widget now using new class based style
svghmi
|
changeset |
files
|
Thu, 10 Dec 2020 15:48:15 +0100 |
Edouard Tisserant |
Add a little test to see OnChange's .count .first .last in action
svghmi
|
changeset |
files
|
Thu, 10 Dec 2020 14:54:42 +0100 |
Edouard Tisserant |
Fixed "Onchange" object added in previous commit
svghmi
|
changeset |
files
|
Thu, 10 Dec 2020 11:37:27 +0100 |
Edouard Tisserant |
Python Safe Globals now have more reliable triggering of OnChange call. Added "Onchange" object to accessible runtime variables that let user python code see count of changes and first and last values.
svghmi
|
changeset |
files
|
Mon, 07 Dec 2020 09:49:34 +0100 |
Edouard Tisserant |
SVGHMI: cosmetic fixes in button widget
svghmi
|
changeset |
files
|
Sat, 05 Dec 2020 16:59:27 +0100 |
Edouard Tisserant |
SVGHMI: Rewrote button widget.
svghmi
|
changeset |
files
|
Wed, 02 Dec 2020 14:33:24 +0100 |
Edouard Tisserant |
SVGHMI: update generated XSLT
svghmi
|
changeset |
files
|
Wed, 02 Dec 2020 14:32:56 +0100 |
Edouard Tisserant |
SVGHMI: stuff test so that it moves all the time, to have better chance to spot memory leaks...
svghmi
|
changeset |
files
|
Wed, 02 Dec 2020 14:31:57 +0100 |
Edouard Tisserant |
SVGHMI: prevent unwnted context menu and pinch zoom
svghmi
|
changeset |
files
|
Wed, 02 Dec 2020 14:30:58 +0100 |
Edouard Tisserant |
SVGHMI: more attempts to prevent losing memory in JS closure
svghmi
|
changeset |
files
|
Fri, 27 Nov 2020 18:06:34 +0100 |
Edouard Tisserant |
SVGHMI: WIP trying to reduce memory usage : use .onclick onstead of SetAttribute, avoid useless closure and object creation when possible, etc.
svghmi
|
changeset |
files
|
Wed, 25 Nov 2020 14:47:47 +0100 |
Edouard Tisserant |
SVGHMI: update generated xslt file
svghmi
|
changeset |
files
|
Wed, 25 Nov 2020 14:47:23 +0100 |
Edouard Tisserant |
SVGHMI: use const when applicable
svghmi
|
changeset |
files
|
Wed, 25 Nov 2020 14:46:25 +0100 |
Edouard Tisserant |
SVGHMI: prevents text and svg elements selection on the whole page when dragging.
svghmi
|
changeset |
files
|
Wed, 25 Nov 2020 14:45:01 +0100 |
Edouard Tisserant |
SVGHMI: Update default test to check that Input widget is indeed updated when variable changes.
svghmi
|
changeset |
files
|
Wed, 25 Nov 2020 14:43:03 +0100 |
Edouard Tisserant |
SVGHMI: Fix: on screen keyboard wasn't showing up when editing local variables through Input widget.
svghmi
|
changeset |
files
|
Fri, 20 Nov 2020 11:17:40 +0100 |
Edouard Tisserant |
Project tree: avoid flickering and glitches in notebook when selecting some still not opened ConfigTreeNode
svghmi
|
changeset |
files
|
Wed, 18 Nov 2020 23:08:17 +0100 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
Wed, 18 Nov 2020 10:15:44 +0100 |
Edouard Tisserant |
py_ext: better handling of coma separated OnChange attribute for python safe global variables.
svghmi
|
changeset |
files
|
Wed, 18 Nov 2020 23:06:16 +0100 |
Edouard Tisserant |
Project tree: Clicking on ConfigTreeNode should have same behaviour as for POUS and other IEC types : simple click to select and double click to open.
svghmi
|
changeset |
files
|
Mon, 02 Nov 2020 10:56:09 +0100 |
Edouard Tisserant |
Allow customization of generated py_ext OnChange calls, by adding a static method to PythonFileCTNMixin that can the be later hot patched.
svghmi
|
changeset |
files
|
Wed, 28 Oct 2020 18:21:12 +0200 |
Edouard Tisserant |
Arbitrary variables added to JsonTable subscription are now passed as 'extra' field in json query. As an example added JsonTable filtering in tests/svghmi
svghmi
|
changeset |
files
|
Thu, 22 Oct 2020 22:44:29 +0200 |
Edouard Tisserant |
SVGHMI: Fix HMI_REAL support, and add a HMI_REAL use case in tests/svghmi.
svghmi
|
changeset |
files
|
Tue, 20 Oct 2020 00:24:49 +0200 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
Mon, 19 Oct 2020 10:17:18 +0200 |
Edouard Tisserant |
SVGHMI: JsonTable now outputs "visible" value as well.
svghmi
|
changeset |
files
|
Mon, 19 Oct 2020 10:15:26 +0200 |
Edouard Tisserant |
SVGHMI: non significant cosmetic changes
svghmi
|
changeset |
files
|
Mon, 19 Oct 2020 09:29:11 +0200 |
usveticic |
- New widget customHtml which allows to insert block of html code
svghmi
|
changeset |
files
|
Tue, 20 Oct 2020 00:23:52 +0200 |
Edouard Tisserant |
PY_EXT: OnChange is now a coma separated list of callables. Updated tests/python accordingly.
svghmi
|
changeset |
files
|
Thu, 01 Oct 2020 14:23:27 +0200 |
usveticic |
Button fix if no active or inactive state,
svghmi
|
changeset |
files
|
Wed, 30 Sep 2020 12:31:59 +0200 |
usveticic |
Merge two different heads
svghmi
|
changeset |
files
|
Thu, 24 Sep 2020 15:42:40 +0200 |
Edouard Tisserant |
SVGHMI: Documentation fix
svghmi
|
changeset |
files
|
Thu, 24 Sep 2020 11:52:40 +0200 |
usveticic |
Button and toggle reworked to use animate and dispatch
svghmi
|
changeset |
files
|
Thu, 17 Sep 2020 11:30:22 +0200 |
Edouard Tisserant |
Merge + fix side effects of making warning instead of errors in case of missing HMI variable
svghmi
|
changeset |
files
|