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
|
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
|
Wed, 16 Sep 2020 09:42:26 +0200 |
usveticic |
Updated svg and xml for testing program
svghmi
|
changeset |
files
|
Wed, 16 Sep 2020 09:41:52 +0200 |
usveticic |
Button, ToggleButton and slider updated. Error to warning when building
svghmi
|
changeset |
files
|
Tue, 15 Sep 2020 13:57:06 +0200 |
Edouard Tisserant |
Modbus: fixed typo in ctype typing.
svghmi
|
changeset |
files
|
Fri, 11 Sep 2020 13:46:41 +0200 |
Edouard Tisserant |
MODBUS: Fix saving of websettings.
svghmi
|
changeset |
files
|
Thu, 10 Sep 2020 16:08:26 +0200 |
Edouard Tisserant |
Runtime/PLCObject : move call to PreStartPLC right after call to the "start" method of all python extensions, and then just before the start of the python loop executing python_* blocks.
svghmi
|
changeset |
files
|
Thu, 03 Sep 2020 11:16:08 +0200 |
Edouard Tisserant |
SVGHMI: Better error message when inkscape is not installed.
svghmi
|
changeset |
files
|
Wed, 02 Sep 2020 11:45:41 +0200 |
Edouard Tisserant |
SVGHMI: nicer error message
svghmi
|
changeset |
files
|
Tue, 01 Sep 2020 11:15:48 +0200 |
Edouard Tisserant |
Merge
svghmi
|
changeset |
files
|
Mon, 31 Aug 2020 13:54:08 +0200 |
Edouard Tisserant |
Attempt to workaround problem reported about empty plc.xml after unrelated crash. Now, if etree model is corrupted in a way tostring() would generate an empty string, exception prevents saving.
svghmi
|
changeset |
files
|
Fri, 28 Aug 2020 15:29:35 +0200 |
Edouard Tisserant |
SVGHMI: JsonTable can now have clickable elements, that trigger a request with extra argument whose content is taken from Json data.
svghmi
|
changeset |
files
|
Fri, 28 Aug 2020 11:31:18 +0200 |
Edouard Tisserant |
Merged
svghmi
|
changeset |
files
|
Fri, 28 Aug 2020 11:27:07 +0200 |
Edouard Tisserant |
SVGHMI: cosmetic fix in test
svghmi
|
changeset |
files
|
Tue, 18 Aug 2020 11:42:28 +0200 |
usveticic |
All widgets reworked to use widget class and animate function if needed
svghmi
|
changeset |
files
|
Thu, 27 Aug 2020 14:34:48 +0200 |
Edouard Tisserant |
SVGHMI: Moved JsonTable/Alarm related test in a separate page.
svghmi
|
changeset |
files
|
Thu, 27 Aug 2020 14:34:00 +0200 |
Edouard Tisserant |
SVGHMI: JsonTable now ignores elements and groups starting with #
svghmi
|
changeset |
files
|
Thu, 27 Aug 2020 09:59:35 +0200 |
Edouard Tisserant |
SVGHMI: Fix keypad : non-number input was always considered invalid because of missing type checking.
svghmi
|
changeset |
files
|
Wed, 26 Aug 2020 14:27:54 +0200 |
Edouard Tisserant |
SVGHMI: JsonTable now updates range and position variables so that slider widget can update.
svghmi
|
changeset |
files
|
Wed, 26 Aug 2020 14:24:43 +0200 |
Edouard Tisserant |
SVGHMI: Fix multiple variable support in widget
svghmi
|
changeset |
files
|
Wed, 26 Aug 2020 11:34:06 +0200 |
Edouard Tisserant |
SVGHMI: Add TODOs in Button widgets.
svghmi
|
changeset |
files
|
Wed, 26 Aug 2020 11:26:45 +0200 |
Edouard Tisserant |
SVGHMI: Alarm test not using Button widget anymore, too many problems. Use Input widget instead to increment value on each click and execute python code on change.
svghmi
|
changeset |
files
|
Tue, 25 Aug 2020 14:34:49 +0200 |
Edouard Tisserant |
SVGHMI: little fix in HMI:Button
svghmi
|
changeset |
files
|
Tue, 25 Aug 2020 14:32:39 +0200 |
Edouard Tisserant |
SVGHMI: JsonTable now use intermediate variables again to address JSON data without duplicating code or referencing. Using intermediate variables also alows to check for availability of data and stop evaluating early if data is missing. Finally added complete roundtrip example to illustrate use of JSonTable to display "alarms" collected in python from changes on PLC boolean variables.
svghmi
|
changeset |
files
|
Mon, 24 Aug 2020 09:48:35 +0200 |
Edouard Tisserant |
SVGHMI: removed debug code forgotten here and there.
svghmi
|
changeset |
files
|
Fri, 21 Aug 2020 14:29:03 +0200 |
Edouard Tisserant |
SVGHMI: JsonTable now makes meaningfull JSON request : all arguments and variables are passed in.
svghmi
|
changeset |
files
|
Fri, 21 Aug 2020 13:22:54 +0200 |
Edouard Tisserant |
SVGHMI: Keypad is now keeping Javascript type constency. In other words, if a number was given as initial value, input value will have to convert to number in order to be valid. In case invalid value is entered, initial value is restored.
svghmi
|
changeset |
files
|
Thu, 20 Aug 2020 14:12:49 +0200 |
Edouard Tisserant |
SVGHMI: Behave when project path include spaces, and make more understandable error in case of problem extracting geometry with inkscape.
svghmi
|
changeset |
files
|
Thu, 20 Aug 2020 13:56:21 +0200 |
Edouard Tisserant |
SVGHMI: Refactor the way JsonTable generate javascript code to access json data. Now support multiple assignments, used in the case of text to change both content and style on the same element.
svghmi
|
changeset |
files
|
Thu, 20 Aug 2020 13:52:00 +0200 |
Edouard Tisserant |
SVGHMI: Fix again clone unlinking, and this time add an "original" attribute to track the id of the original object before unlinking.
svghmi
|
changeset |
files
|
Mon, 17 Aug 2020 10:00:25 +0200 |
Edouard Tisserant |
SVGHMI: Fix svg test file while testing latest JsonTableChanges
svghmi
|
changeset |
files
|
Sat, 15 Aug 2020 18:50:25 +0200 |
Edouard Tisserant |
SVGHMI: HMI:JsonTable also recognize TextStyleList, but parsing of textContent is still not implemented and style is still not updated.
svghmi
|
changeset |
files
|
Sat, 15 Aug 2020 18:46:35 +0200 |
Edouard Tisserant |
SVGHMI: Deeper clone unlinking. Was actually not recursive, and clones in clones where not unlinked. Stack successive ids to avoid collisions.
svghmi
|
changeset |
files
|
Thu, 13 Aug 2020 11:37:39 +0200 |
Edouard Tisserant |
SVGHMI: factorize dispatch calling logic.
svghmi
|
changeset |
files
|
Thu, 13 Aug 2020 11:30:18 +0200 |
Edouard Tisserant |
SVGHMI: HMI:VarInit:"a string"@a_value : empty widget (i.e. empty svg:group) that initialize content of local variables to value given as first argument.
svghmi
|
changeset |
files
|
Wed, 12 Aug 2020 15:24:02 +0200 |
Edouard Tisserant |
Merge
svghmi
|
changeset |
files
|
Wed, 12 Aug 2020 13:36:18 +0200 |
Edouard Tisserant |
SVGHMI: Add more local HMI variable tests in tests/svghmi.
svghmi
|
changeset |
files
|
Tue, 11 Aug 2020 14:37:33 +0200 |
Edouard Tisserant |
SVGHMI: finished initial implementation of PAGE_LOCAL and HMI_LOCAL variables.
svghmi
|
changeset |
files
|
Mon, 10 Aug 2020 15:25:57 +0200 |
Edouard Tisserant |
SVGHMI: add a SetPoint to Slider Widget, visible only when operating the slider.
svghmi
|
changeset |
files
|
Mon, 10 Aug 2020 14:00:20 +0200 |
Edouard Tisserant |
SVGHMI: Update Slider widget so that it doesn't display future value but actual value only.
svghmi
|
changeset |
files
|
Mon, 10 Aug 2020 13:58:55 +0200 |
Edouard Tisserant |
SVGHMI: provide request_animate() to Widget authors so that they can register redraw code when events lead to redraw. Widget member animate() is called when it is time to update DOM.
svghmi
|
changeset |
files
|
Mon, 10 Aug 2020 11:30:06 +0200 |
Edouard Tisserant |
Merge
svghmi
|
changeset |
files
|
Sat, 08 Aug 2020 15:53:28 +0200 |
Edouard Tisserant |
SVGHMI: Intermediate state while implementing local HMI variables. Now write to cache only (no send), still need to implement dispatch on change.
svghmi
|
changeset |
files
|
Wed, 05 Aug 2020 15:20:10 +0200 |
usveticic |
Beremiz test project with newly created widgets.
svghmi
|
changeset |
files
|
Wed, 05 Aug 2020 15:18:00 +0200 |
usveticic |
Rebuilded gen_index_html.xslt after all new widgets were commited
svghmi
|
changeset |
files
|
Wed, 05 Aug 2020 15:16:43 +0200 |
usveticic |
Create new multistate widget which extand class widget
svghmi
|
changeset |
files
|
Wed, 05 Aug 2020 15:16:03 +0200 |
usveticic |
Create new CircularSlider widget which extand class widget
svghmi
|
changeset |
files
|
Wed, 05 Aug 2020 15:15:33 +0200 |
usveticic |
Create new slider widget which extand class widget
svghmi
|
changeset |
files
|
Wed, 05 Aug 2020 15:14:39 +0200 |
usveticic |
Reworked togglebutton widget to extand class widget
svghmi
|
changeset |
files
|
Wed, 05 Aug 2020 15:13:59 +0200 |
usveticic |
Changed keyboard to show on defined position.
svghmi
|
changeset |
files
|
Wed, 05 Aug 2020 15:04:53 +0200 |
usveticic |
Reworked button widget so it uses classes.
svghmi
|
changeset |
files
|
Thu, 06 Aug 2020 15:01:01 +0200 |
Edouard Tisserant |
SVGHMI: allow multiple variables and formatting in Display widget. Formatting is printf style and given as first argument. If no formating is given as widget argument, space separated.
svghmi
|
changeset |
files
|
Thu, 06 Aug 2020 14:59:04 +0200 |
Edouard Tisserant |
SVGHMI : have to move some JS declarations from "preamble" to "declarations" and others from "declarations" to "definitions" section to make room for JS libraries that would be used by widget classes.
svghmi
|
changeset |
files
|
Wed, 05 Aug 2020 18:53:56 +0200 |
Edouard Tisserant |
SVGHMI: JS refactoring continued : "dispatch_value_to_widget" becomes widget class member "new_hmi_value" (was also broken by previous relativeness commit)
svghmi
|
changeset |
files
|
Wed, 05 Aug 2020 18:49:29 +0200 |
Edouard Tisserant |
SVGHMI: widgets are not anymore binary relative or absolute, but have a "relativeness".
svghmi
|
changeset |
files
|
Tue, 04 Aug 2020 11:53:39 +0200 |
Edouard Tisserant |
SVGHMI: More JS code refactoring : change_hmi_value and apply_hmi_value now methods of widget class.
svghmi
|
changeset |
files
|
Mon, 03 Aug 2020 18:25:23 +0200 |
Edouard Tisserant |
SVGHMI: Better JS code semantic in ForEach widget class. Update lagging generated xslt.
svghmi
|
changeset |
files
|
Mon, 03 Aug 2020 18:22:19 +0200 |
Edouard Tisserant |
SVGHMI: Add ForEach Widget is svghmi test
svghmi
|
changeset |
files
|
Mon, 03 Aug 2020 16:34:44 +0200 |
Edouard Tisserant |
SVGHMI: add get_idx(index) to widget objects to factorize a bit code repeated accross widgets. To be continued.
svghmi
|
changeset |
files
|
Mon, 03 Aug 2020 16:32:23 +0200 |
Edouard Tisserant |
SVGHMI: prefer apply_hmi_value() to change_hmi_value() when possible
svghmi
|
changeset |
files
|
Mon, 03 Aug 2020 16:30:16 +0200 |
Edouard Tisserant |
SVGHMI: Add RelativePages to tests
svghmi
|
changeset |
files
|
Mon, 03 Aug 2020 12:08:25 +0200 |
Edouard Tisserant |
SVGHMI: Update Widget Display templates to generate Class based declaration.
svghmi
|
changeset |
files
|
Wed, 22 Jul 2020 13:56:43 +0200 |
Edouard Tisserant |
SVGHMI: JsonTable now picks items from HMI:List, and update texts, all according to Json data. Still miss scrolling.
svghmi
|
changeset |
files
|
Fri, 17 Jul 2020 12:21:45 +0200 |
Edouard Tisserant |
SVGHMI: JsonTable now generate working data access code for data/* elements.
svghmi
|
changeset |
files
|
Fri, 17 Jul 2020 12:19:53 +0200 |
Edouard Tisserant |
SVGHMI: Minimal support for HMI:List : clones pointing to elements of any HMI:List are never unlinked, widgets using HMI:List will rely on this.
svghmi
|
changeset |
files
|
Tue, 14 Jul 2020 22:05:47 +0200 |
Edouard Tisserant |
SVGHMI: minimal JSON Table Widget communication infra + corresponding python code as py_ext code in svghmi test. To be continued.
svghmi
|
changeset |
files
|
Mon, 13 Jul 2020 13:56:42 +0200 |
Edouard Tisserant |
Python Runtime: order of execution of extension's init() and cleanup() now reflects order of appearance of extensions in configuration tree.
svghmi
|
changeset |
files
|
Fri, 10 Jul 2020 11:15:41 +0200 |
Edouard Tisserant |
Python Runtime : stil untested optimization of Python Safe Globals.
svghmi
|
changeset |
files
|
Fri, 03 Jul 2020 14:02:04 +0200 |
Edouard Tisserant |
Prevent global python_poll blocks to be created when accidentally adding content to C-File OnChange column.
svghmi
|
changeset |
files
|
Fri, 03 Jul 2020 10:03:25 +0200 |
Edouard Tisserant |
Merge from default
svghmi
|
changeset |
files
|
Mon, 29 Jun 2020 14:38:04 +0200 |
Edouard Tisserant |
Modbus: fix strange side effect of re-use of condition variables or mutex with Xenomai : without bzero of the associated types, mutex keeps locked.
svghmi
|
changeset |
files
|
Wed, 24 Jun 2020 14:38:11 +0200 |
Edouard Tisserant |
Modbus: fix client timer invalid arguments.
svghmi
|
changeset |
files
|
Tue, 23 Jun 2020 13:50:21 +0200 |
Edouard Tisserant |
Modbus add a timer thread, and switch timer to SIGEV_THREAD_ID to follow xenomai posix skin restrictions.
svghmi
|
changeset |
files
|
Fri, 19 Jun 2020 11:07:25 +0200 |
Edouard Tisserant |
Runtime: Fix typo in PLCObject leading to exception when reporting failure.
svghmi
|
changeset |
files
|
Thu, 18 Jun 2020 14:18:40 +0200 |
Edouard Tisserant |
merged
svghmi
|
changeset |
files
|
Thu, 18 Jun 2020 14:16:19 +0200 |
Edouard Tisserant |
SVGHMI: Fix bug introduced when merging default
svghmi
|
changeset |
files
|
Thu, 18 Jun 2020 14:15:43 +0200 |
Edouard Tisserant |
SVGHMI: Add use of Python PLC Globals it test
svghmi
|
changeset |
files
|
Thu, 18 Jun 2020 11:00:26 +0200 |
Edouard Tisserant |
Merge default changes in SVGHMI
svghmi
|
changeset |
files
|
Thu, 18 Jun 2020 10:42:08 +0200 |
Edouard Tisserant |
Merge default changes in SVGHMI
svghmi
|
changeset |
files
|
Thu, 04 Jun 2020 11:14:21 +0200 |
Edouard Tisserant |
SVGHMI: add "unsubscribable" property to widgets in order to generalize what already happens for jump buttons.
svghmi
|
changeset |
files
|
Wed, 03 Jun 2020 13:31:55 +0200 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
Fri, 29 May 2020 09:46:07 +0200 |
dgaberscek |
Merge
svghmi
|
changeset |
files
|
Tue, 26 May 2020 10:59:01 +0200 |
dgaberscek |
SVGHMI: Added widget toggleButton.
svghmi
|
changeset |
files
|
Tue, 26 May 2020 10:53:02 +0200 |
dgaberscek |
SVGHMI: Changed widget button handler to element attribute.
svghmi
|
changeset |
files
|
Tue, 02 Jun 2020 13:37:34 +0200 |
Edouard Tisserant |
Runtime: create .md5 file at the end of all transfered files being written to disk, so that it presence indicates completeness of transfer.
svghmi
|
changeset |
files
|
Tue, 02 Jun 2020 11:34:50 +0200 |
Edouard Tisserant |
IDE: Main toolbar : Show repair button also in stop mode. Move repair button after disconnect button.
svghmi
|
changeset |
files
|
Mon, 01 Jun 2020 14:47:31 +0200 |
Edouard Tisserant |
Runtime: fsync() files when transfering them, to prebent data loss when poweroff soon after programming. Fixed variable naming as a side effect.
svghmi
|
changeset |
files
|
Thu, 28 May 2020 11:38:09 +0200 |
Edouard Tisserant |
PLCObject : reorganize code in StartPLC(), add a PreStartPLC() empty method, to be overloaded by runtime extensions.
svghmi
|
changeset |
files
|
Tue, 26 May 2020 09:58:20 +0200 |
Edouard Tisserant |
Solve import order problem when POULibrary imports ConfigTreeNode because of UserAddressedException. Now UserAddressedException is declared in POULibrary.py, as a quick and dirty fix, but some independant module should be created for beremiz exceptions in general.
svghmi
|
changeset |
files
|
Thu, 21 May 2020 11:29:45 +0200 |
Edouard Tisserant |
SVGHMI: stop using eval in change_hmi_value, apparently slowly leaking memory.
svghmi
|
changeset |
files
|
Thu, 14 May 2020 17:49:20 +0200 |
Edouard Tisserant |
SVGHMI: Switch widget was picking sub-elements from original SVG, not the result SVG ehwe clones are unlinked, thus making problems with svg:use based widgets.
svghmi
|
changeset |
files
|
Thu, 14 May 2020 17:48:58 +0200 |
Edouard Tisserant |
SVGHMI: When unlinking a clone of a group, do not create additional group, but merge transformation and styles, and replace label. This allows svg:use based widgets to directly access elements of svg:use targeted element.
svghmi
|
changeset |
files
|
Thu, 14 May 2020 17:48:15 +0200 |
Edouard Tisserant |
SVGHMI: Applies clone unlinking to widget themselves, not only to clones inside widgets.
svghmi
|
changeset |
files
|
Thu, 14 May 2020 09:24:09 +0200 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
Wed, 13 May 2020 14:48:52 +0200 |
Edouard Tisserant |
SVGHMI: Makes error when HMI tree is not well formed. Prevents multiple and non-first HMI_NODE, and ensure that all paths in HMI tree are unique.
svghmi
|
changeset |
files
|
Wed, 13 May 2020 14:47:17 +0200 |
Edouard Tisserant |
Added FatalError call to Libraries code gen, so that they can emit messages addressed like config tree nodes do.
svghmi
|
changeset |
files
|
Wed, 13 May 2020 22:25:22 +0200 |
Edouard Tisserant |
SVGHMI: more Widget properties declared ES6 style.
svghmi
|
changeset |
files
|
Wed, 13 May 2020 22:22:13 +0200 |
Edouard Tisserant |
SVGHMI: Switch widget now use class declaration
svghmi
|
changeset |
files
|
Wed, 13 May 2020 18:50:07 +0200 |
Edouard Tisserant |
SVGHMI: Update Button widget to class declaration, and add a button widget in tests/svghmi.
svghmi
|
changeset |
files
|
Wed, 13 May 2020 18:47:09 +0200 |
Edouard Tisserant |
SVGHMI: explicit handling of undefined maximum widget update frequency
svghmi
|
changeset |
files
|
Wed, 13 May 2020 18:27:26 +0200 |
Edouard Tisserant |
SVGHMI: removed dead code
svghmi
|
changeset |
files
|
Wed, 13 May 2020 18:26:38 +0200 |
Edouard Tisserant |
SVGHMI: Back button updated to class style
svghmi
|
changeset |
files
|
Mon, 11 May 2020 11:33:00 +0200 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
Mon, 11 May 2020 11:10:38 +0200 |
Edouard Tisserant |
DEBUG: (IDE side) fixed wrong implementation of anti-rapid-fire leading to systematic delay in subscribing
svghmi
|
changeset |
files
|
Sun, 10 May 2020 23:40:43 +0200 |
Edouard Tisserant |
SVGHMI: Exclude non-widget HMI:* labeled elements from hmi_widget. Namely : HMI:Page HMI:Lang and HMI:List have been excluded.
svghmi
|
changeset |
files
|
Sun, 10 May 2020 17:01:09 +0200 |
Edouard Tisserant |
SVGHMI: clean up dead code, update generated xslt.
svghmi
|
changeset |
files
|
Sun, 10 May 2020 16:36:41 +0200 |
Edouard Tisserant |
SVGHMI: apply per class overloading of sub/unsub to Jump widget
svghmi
|
changeset |
files
|
Sun, 10 May 2020 16:36:09 +0200 |
Edouard Tisserant |
SVGHMI: apply per class overloading of sub/unsub to ForEach widget
svghmi
|
changeset |
files
|
Sun, 10 May 2020 16:34:44 +0200 |
Edouard Tisserant |
SVGHMI: Widget's specific sub/unsub traits are now wxpressed in widget's class.
svghmi
|
changeset |
files
|
Sun, 10 May 2020 16:32:19 +0200 |
Edouard Tisserant |
SVGHMI: Parameters common to all widget constructors now passed as ordered parameters.
svghmi
|
changeset |
files
|
Fri, 08 May 2020 16:51:43 +0200 |
Edouard Tisserant |
SVGHMI: One class per widget type, widget objects are instances of these classes, and members are passed through constructor. This allows to keep compatible with previous widget_defs template used in most widgets.
svghmi
|
changeset |
files
|
Fri, 08 May 2020 16:47:52 +0200 |
Edouard Tisserant |
SVGHMI: Add an exslt function to collect used widget types, in order to only include necessary JS definitions in furure changes.
svghmi
|
changeset |
files
|
Fri, 08 May 2020 16:44:20 +0200 |
Edouard Tisserant |
SVGHMI: Systematically output local name as /* comment */ when emiting content.
svghmi
|
changeset |
files
|
Fri, 24 Apr 2020 10:03:40 +0200 |
Edouard Tisserant |
Merge
svghmi
|
changeset |
files
|
Fri, 24 Apr 2020 10:02:13 +0200 |
Edouard Tisserant |
SVGHMI: Fix flawed logic to place nodes in the HMI tree, leading to wrecked tree in some cases.
svghmi
|
changeset |
files
|
Wed, 22 Apr 2020 15:33:53 +0200 |
dgaberscek |
Added button and circular bar widgets.
svghmi
|
changeset |
files
|
Mon, 20 Apr 2020 16:19:31 +0200 |
Edouard Tisserant |
SVGHMI: added more meaningful namespaces to emit javascript code from.
svghmi
|
changeset |
files
|
Sun, 19 Apr 2020 22:44:41 +0200 |
Edouard Tisserant |
SVGHMI: moved JS code of foreach and jump widget in corresponding widget_*.ysl2. To be continued.
svghmi
|
changeset |
files
|
Sun, 19 Apr 2020 22:01:12 +0200 |
Edouard Tisserant |
SVGHMI: spread JS code from svghmi/scripts.ysl2 in other .ysl2 files, using dedicated preamble and epilogue namespaces
svghmi
|
changeset |
files
|
Sun, 19 Apr 2020 10:48:34 +0200 |
Edouard Tisserant |
SVGHMI: Introduced "emit" to simplify producing per-topic code and content from anywhere in code. Applied to debug output, next to JS.
svghmi
|
changeset |
files
|
Sat, 18 Apr 2020 14:06:41 +0200 |
Edouard Tisserant |
SVGHMI: Move reflective debug tags from "reflect" to "debug" namespace, preparing for per-purpose namespaces.
svghmi
|
changeset |
files
|
Sat, 18 Apr 2020 13:14:45 +0200 |
Edouard Tisserant |
SVGHMI: Added scripts.ysl2
svghmi
|
changeset |
files
|
Sat, 18 Apr 2020 11:49:02 +0200 |
Edouard Tisserant |
SVGHMI: moving code wher it belongs, and reformulate some declarations for better readability.
svghmi
|
changeset |
files
|
Thu, 16 Apr 2020 10:21:25 +0200 |
Edouard Tisserant |
SVGHMI: HMI:DropDown: more documentation.
svghmi
|
changeset |
files
|
Wed, 15 Apr 2020 14:29:19 +0200 |
Edouard Tisserant |
SVGHMI: Comments in HMI:DropDown source code
svghmi
|
changeset |
files
|
Tue, 14 Apr 2020 23:04:54 +0200 |
Edouard Tisserant |
SVGHMI: HMI:DropDown menu aligns to selected when opening
svghmi
|
changeset |
files
|
Tue, 14 Apr 2020 22:08:52 +0200 |
Edouard Tisserant |
SVGHMI: When clicking outside of opened HMI:DropDown box, close it.
svghmi
|
changeset |
files
|
Tue, 14 Apr 2020 19:22:18 +0200 |
Edouard Tisserant |
SVGHMI: Fix HMI:DropDown flicker on close.
svghmi
|
changeset |
files
|
Tue, 14 Apr 2020 17:31:45 +0200 |
Edouard Tisserant |
SVGHMI: HMI:DropDown now temporarily takes content from widget's arguments, until HMI:List is implemented.
svghmi
|
changeset |
files
|
Tue, 14 Apr 2020 17:17:35 +0200 |
Edouard Tisserant |
SVGHMI: Connect HMI:DropDown to value in HMI Tree, in svghmi test as well.
svghmi
|
changeset |
files
|
Tue, 14 Apr 2020 17:16:25 +0200 |
Edouard Tisserant |
SVGHMI: fix probable problem in HMI:Input, where value could be applied to wrong index if used in relative page.
svghmi
|
changeset |
files
|
Tue, 14 Apr 2020 17:15:02 +0200 |
Edouard Tisserant |
SVGHMI: HMI:DropDown element is brought in front when opened, so that it isn't occulted by other widgets at the same level.
svghmi
|
changeset |
files
|
Tue, 14 Apr 2020 17:13:12 +0200 |
Edouard Tisserant |
SVGHMI: HMI:DropDown now catches all clicks when open
svghmi
|
changeset |
files
|
Tue, 14 Apr 2020 12:07:08 +0200 |
Edouard Tisserant |
SVGHMI: Add button element to HMI:DropDown, also fix problem with computed box margins.
svghmi
|
changeset |
files
|
Tue, 14 Apr 2020 10:56:45 +0200 |
Edouard Tisserant |
SVGHMI: HMI:DropDown now scrolls forward and backward
svghmi
|
changeset |
files
|
Mon, 13 Apr 2020 18:28:22 +0200 |
Edouard Tisserant |
SVGHMI: progress on HMI:DropDown - now selects some value on click, and close
svghmi
|
changeset |
files
|
Sun, 12 Apr 2020 21:43:42 +0200 |
Edouard Tisserant |
SVGHMI: HMI:DropDown work in progress, intermediate commit. Now menu's rectangle grows up to viewport borders.
svghmi
|
changeset |
files
|
Thu, 09 Apr 2020 09:52:34 +0200 |
Edouard Tisserant |
SVGHMI: intermediate commit while working on dropdown widget.
svghmi
|
changeset |
files
|
Tue, 07 Apr 2020 10:01:23 +0200 |
Edouard Tisserant |
SVGHMI: HMI is not speculating on PLC variable update anymore when sending new variable value.
svghmi
|
changeset |
files
|
Sat, 04 Apr 2020 22:32:54 +0200 |
Edouard Tisserant |
SVGHMI: finished shift and capslock support n keypad widget. Added a helper in widgets_common to collect subelements likle active/inactive/disabled...
svghmi
|
changeset |
files
|
Sat, 04 Apr 2020 17:47:16 +0200 |
Edouard Tisserant |
SVGHMI: fixed keypad JS regarding shift/capslock and other details
svghmi
|
changeset |
files
|
Sat, 04 Apr 2020 09:41:32 +0200 |
Edouard Tisserant |
Fix unmatched "Courier" font for monospace fonts on latest ubuntu 20.04. Selected "FreeMono" instead, present since at least 18.04
svghmi
|
changeset |
files
|
Fri, 03 Apr 2020 14:37:41 +0200 |
Edouard Tisserant |
SVGHMI: Keypad working for HMI_STRING, still Shift/CapsLock not finished.
svghmi
|
changeset |
files
|
Fri, 03 Apr 2020 09:52:57 +0200 |
Edouard Tisserant |
SVGHMI: fix keyboard not showing
svghmi
|
changeset |
files
|
Fri, 03 Apr 2020 08:30:00 +0200 |
Edouard Tisserant |
SVGHMI: Added keypads to svghmi test's SVG file
svghmi
|
changeset |
files
|
Fri, 03 Apr 2020 08:13:47 +0200 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
Thu, 02 Apr 2020 15:18:15 +0200 |
Edouard Tisserant |
SVGHMI: Keypad: added code to re-attach keypad when starting edit.
svghmi
|
changeset |
files
|
Thu, 02 Apr 2020 14:04:21 +0200 |
Edouard Tisserant |
SVGHMI: removed debug code
svghmi
|
changeset |
files
|
Thu, 02 Apr 2020 14:03:38 +0200 |
Edouard Tisserant |
SVGHMI: More infrastructure for editing values with a keypad.
svghmi
|
changeset |
files
|
Thu, 02 Apr 2020 09:38:53 +0200 |
Edouard Tisserant |
SVGHMI: Widget input buttons should be clickable through svg:use (onclick attribute instead of addEventListener)
svghmi
|
changeset |
files
|
Wed, 01 Apr 2020 18:10:45 +0200 |
Edouard Tisserant |
SVGHMI: moved dead code to where it belongs
svghmi
|
changeset |
files
|
Wed, 01 Apr 2020 14:42:50 +0200 |
Edouard Tisserant |
SVGHMI: empty widget_keypad.ysl2, WIP
svghmi
|
changeset |
files
|
Tue, 31 Mar 2020 13:20:15 +0200 |
Edouard Tisserant |
SVGHMI: HMI:Switch now accepts boolean values 'true' and 'false'
svghmi
|
changeset |
files
|
Mon, 30 Mar 2020 14:26:42 +0200 |
Edouard Tisserant |
SVGHMI: Jump widget, if it has a 'disabled' labeled element, reflects value of the pointed HMITree variable by showing this element when value is False, and behaving normaly otherwise.
svghmi
|
changeset |
files
|
Mon, 30 Mar 2020 11:06:12 +0200 |
Edouard Tisserant |
SVGHMI: prevent man-made memory leak by limiting back button history items count to 42
svghmi
|
changeset |
files
|
Sun, 29 Mar 2020 16:11:21 +0200 |
Edouard Tisserant |
SVGHMI: collect debug data through xslt reflectivity instead of yml2/python trick
svghmi
|
changeset |
files
|
Fri, 27 Mar 2020 14:25:24 +0100 |
Edouard Tisserant |
SVGHMI: Jump widget can now display as active or inactive, if corresponfing "active" and "inactive labeled elements are provided.
svghmi
|
changeset |
files
|
Thu, 26 Mar 2020 14:21:52 +0100 |
Edouard Tisserant |
SVGHMI: added Back widget.
svghmi
|
changeset |
files
|
Thu, 26 Mar 2020 13:33:20 +0100 |
Edouard Tisserant |
SVGHMI: Jump widget now make errors if path given for relative jump doesn't match target page reference path class.
svghmi
|
changeset |
files
|
Thu, 26 Mar 2020 11:17:34 +0100 |
Edouard Tisserant |
SVGHMI: Check that explicit relative page jump path is consistant with destination page reference path.
svghmi
|
changeset |
files
|
Wed, 25 Mar 2020 14:09:15 +0100 |
Edouard Tisserant |
SVGHMI: ForEach Widget now has a better wrap-around when scrolling : hit the boundary systematically before wrapping
svghmi
|
changeset |
files
|
Wed, 25 Mar 2020 13:56:04 +0100 |
Edouard Tisserant |
SVGHMI: Alow relative relative Jump. (i.e, relative jump from a foreach widget)
svghmi
|
changeset |
files
|
Wed, 25 Mar 2020 13:36:04 +0100 |
Edouard Tisserant |
SVGHMI: Generalize applying cache to widgets, be it from page or ForEach widgets. Now ForEach widget buttons work as expected.
svghmi
|
changeset |
files
|
Tue, 24 Mar 2020 23:07:54 +0100 |
Edouard Tisserant |
SVGHMI: Widget ForEach buttons now call corresponding methods.
svghmi
|
changeset |
files
|
Tue, 24 Mar 2020 14:03:19 +0100 |
Edouard Tisserant |
SVGHMI: ForEach now has working (un)subscribe. Fixed PageSwitch that wasn't behaving when jumping to current page with another path.
svghmi
|
changeset |
files
|
Mon, 23 Mar 2020 21:44:28 +0100 |
Edouard Tisserant |
SVGHMI: Easier way to match HMI tree elements to paths. ForEach widget now looks for paths and indexes of all items, and enforce path to be consistent with ForEach items sub widgets
svghmi
|
changeset |
files
|
Mon, 23 Mar 2020 15:13:36 +0100 |
Edouard Tisserant |
SVGHMI: added func:get_hmi_tree_elt to match HMI tree node from path. Continue implementing ForEach widget : force order and completeness of items list. Now also collecting ForEach buttons.
svghmi
|
changeset |
files
|
Mon, 23 Mar 2020 10:16:38 +0100 |
Edouard Tisserant |
SVGHMI: ForEach knows its own widgets
svghmi
|
changeset |
files
|
Fri, 20 Mar 2020 10:46:15 +0100 |
Edouard Tisserant |
SVGHMI: add widget_foreach.ysl2
svghmi
|
changeset |
files
|
Fri, 20 Mar 2020 10:00:59 +0100 |
Edouard Tisserant |
SVGHMI: make root HMI tree node a HMI_NODE, droped HMI_ROOT node type
svghmi
|
changeset |
files
|
Thu, 19 Mar 2020 19:23:56 +0100 |
Edouard Tisserant |
SVGHMI: reworked widget (un)subscription now a method of widgect object, allowing special subscription methods
svghmi
|
changeset |
files
|
Thu, 19 Mar 2020 11:32:20 +0100 |
Edouard Tisserant |
SVGHMI: Exclude (again) sub-widgets of forEach widget from page-switch managed widget.
svghmi
|
changeset |
files
|
Thu, 19 Mar 2020 09:57:26 +0100 |
Edouard Tisserant |
SVGHMI: cosmetic changes
svghmi
|
changeset |
files
|
Thu, 19 Mar 2020 09:31:07 +0100 |
Edouard Tisserant |
SVGHMI: Simplification and optimization. func:parselabel becomes a template.
svghmi
|
changeset |
files
|
Wed, 18 Mar 2020 12:06:50 +0100 |
Edouard Tisserant |
SVGHMI: intermediate untested state. Excluded ForEach widget from pages handled widgets.
svghmi
|
changeset |
files
|
Wed, 18 Mar 2020 09:37:26 +0100 |
Edouard Tisserant |
SVGHMI: update Makefile to pick all changes to any dependency
svghmi
|
changeset |
files
|
Wed, 18 Mar 2020 09:16:14 +0100 |
Edouard Tisserant |
SVGHMI: created widget_*.ysl2. Renamed widget_common in widgets_common, so that it doesn't match globing.
svghmi
|
changeset |
files
|
Tue, 17 Mar 2020 14:11:54 +0100 |
Edouard Tisserant |
SVGHMI: moving comments
svghmi
|
changeset |
files
|
Tue, 17 Mar 2020 14:01:37 +0100 |
Edouard Tisserant |
SVGHMI: added widget_common.ysl2
svghmi
|
changeset |
files
|
Tue, 17 Mar 2020 13:43:19 +0100 |
Edouard Tisserant |
SVGHMI: More readable debug output gen code
svghmi
|
changeset |
files
|
Tue, 17 Mar 2020 13:34:07 +0100 |
Edouard Tisserant |
SVGHMI: Cosmetic changes
svghmi
|
changeset |
files
|
Tue, 17 Mar 2020 13:16:01 +0100 |
Edouard Tisserant |
SVGHMI: added inline_svg.ysl2
svghmi
|
changeset |
files
|
Tue, 17 Mar 2020 11:24:07 +0100 |
Edouard Tisserant |
SVGHMI: detachable_elements.ysl2 becomes detachable_pages.ysl2, and includes logic to process pages elements. Other minor code moves.
svghmi
|
changeset |
files
|
Tue, 17 Mar 2020 10:34:26 +0100 |
Edouard Tisserant |
SVGHMI: moved debug code
svghmi
|
changeset |
files
|
Tue, 17 Mar 2020 09:29:04 +0100 |
Edouard Tisserant |
SVGHMI: created detachable_elements.ysl2
svghmi
|
changeset |
files
|
Tue, 17 Mar 2020 08:00:33 +0100 |
Edouard Tisserant |
SVGHMI: more debug code moved to hmi_tree.ysl2
svghmi
|
changeset |
files
|
Tue, 17 Mar 2020 07:39:50 +0100 |
Edouard Tisserant |
SVGHMI : create hmi_tree.ysl2, rename bbox_intersect.ysl2 into geometry.ysl2 and move more code into. Add per included ysl2 file debug output.
svghmi
|
changeset |
files
|
Mon, 16 Mar 2020 18:27:49 +0100 |
Edouard Tisserant |
SVGHMI: created bbox_intersect.ysl2
svghmi
|
changeset |
files
|
Mon, 16 Mar 2020 17:09:23 +0100 |
Edouard Tisserant |
SVGHMI: Re-enable dispatch to arrays of functions in case of multiple suscription per widget. Still unused, but disabled for reasons not any more true.
svghmi
|
changeset |
files
|
Fri, 13 Mar 2020 21:42:40 +0100 |
Edouard Tisserant |
SVGHMI: relative pages and page jumps
svghmi
|
changeset |
files
|
Fri, 13 Mar 2020 10:36:13 +0100 |
Edouard Tisserant |
SVGHMI: take care of path given in HMI:Page and HMI:Jump, but do not apply subscription offset for now. Intermediate commit in a "working" state.
svghmi
|
changeset |
files
|
Thu, 12 Mar 2020 13:16:18 +0100 |
Edouard Tisserant |
SVGHMI: significant whitespace changes
svghmi
|
changeset |
files
|
Thu, 12 Mar 2020 13:15:54 +0100 |
Edouard Tisserant |
SVGHMI: unsignificant changes or changes in generated code
svghmi
|
changeset |
files
|
Thu, 12 Mar 2020 13:14:38 +0100 |
Edouard Tisserant |
SVGHMI: Stop ignoring HMI_NODE in HMI tree, and count it as a BOOL. Soon we use those nodes as reference for relative page jump, and as an "enable" bit for features associated to an HMI tree fragment.
svghmi
|
changeset |
files
|
Thu, 12 Mar 2020 09:33:20 +0100 |
Edouard Tisserant |
SVGHMI: cosmetic code moving
svghmi
|
changeset |
files
|
Tue, 10 Mar 2020 13:57:29 +0100 |
Edouard Tisserant |
SVGHMI: split page switch into switching subscription and switching elements in the DOM, to ensure that subscriptions have been send before changing DOM, and avoid some flicker.
svghmi
|
changeset |
files
|
Mon, 09 Mar 2020 13:43:34 +0100 |
Edouard Tisserant |
SVGHMI: fix wrong updates of HMI variables on each change, especially when not subscribed.
svghmi
|
changeset |
files
|
Mon, 09 Mar 2020 13:40:45 +0100 |
Edouard Tisserant |
SVGHMI: whitespaces
svghmi
|
changeset |
files
|
Fri, 06 Mar 2020 14:43:03 +0100 |
Edouard Tisserant |
SVGHMI: fixed repeated error when Input widget is missing 'value' element
svghmi
|
changeset |
files
|
Fri, 06 Mar 2020 14:42:08 +0100 |
Edouard Tisserant |
SVGHMI: more decoupling in between UI related and the rest of JS code, still in the aim of enhancing robustness under heavy load.
svghmi
|
changeset |
files
|
Fri, 06 Mar 2020 09:35:08 +0100 |
Edouard Tisserant |
SVGHMI: use requestAnimationFrame to delegate rendering of updates from network. Should help prevent browser collapse leading to watchdog in case of overload.
svghmi
|
changeset |
files
|
Thu, 05 Mar 2020 13:54:29 +0100 |
Edouard Tisserant |
SVGHMI: Fix disapearing elements in case of nested detachable elements.
svghmi
|
changeset |
files
|
Thu, 05 Mar 2020 10:23:03 +0100 |
Edouard Tisserant |
SVGHMI: Meter widget accepts 2 arguments : min and max, taken in account when min or max text element is missing
svghmi
|
changeset |
files
|
Wed, 04 Mar 2020 20:02:15 +0100 |
Edouard Tisserant |
SVGHMI: More precise error message on missing HMI path. Meter widget now defaults 0-100 range when min and max elements arent's present, without error.
svghmi
|
changeset |
files
|
Wed, 04 Mar 2020 16:46:35 +0100 |
Edouard Tisserant |
SVGHMI: more whitespace fixes
svghmi
|
changeset |
files
|
Wed, 04 Mar 2020 16:46:03 +0100 |
Edouard Tisserant |
SVGHMI: unlink clones (i.e. deep copy elements refered by svg:use) inside widget.
svghmi
|
changeset |
files
|
Wed, 04 Mar 2020 09:31:53 +0100 |
Edouard Tisserant |
SVGHMI: whitespaces and comments
svghmi
|
changeset |
files
|
Tue, 03 Mar 2020 16:29:22 +0100 |
Edouard Tisserant |
SVGHMI: completely fixed indentation of generated widget description. Lets try to keep it as-is until we can use yslt indentation.
svghmi
|
changeset |
files
|
Tue, 03 Mar 2020 10:58:00 +0100 |
Edouard Tisserant |
SVGHMI: re-indent generated JS
svghmi
|
changeset |
files
|
Mon, 02 Mar 2020 16:30:29 +0100 |
Edouard Tisserant |
SVGHMI: detach/re-attach elements required by pages on page switch
svghmi
|
changeset |
files
|
Mon, 02 Mar 2020 16:25:35 +0100 |
Edouard Tisserant |
SVGHMI: re-indenting
svghmi
|
changeset |
files
|
Mon, 02 Mar 2020 14:43:21 +0100 |
Edouard Tisserant |
SVGHMI: declares pages detachable requirements as an object, to find more efficiently common requirements
svghmi
|
changeset |
files
|
Mon, 02 Mar 2020 10:29:41 +0100 |
Edouard Tisserant |
SVGHMI: fix some JS + add generation of detachable elements, to be continued
svghmi
|
changeset |
files
|
Fri, 28 Feb 2020 22:54:07 +0100 |
Edouard Tisserant |
SVGHMI: now compute discardable elements first so that we can do better grouping of required elements when sumarizing.
svghmi
|
changeset |
files
|
Fri, 28 Feb 2020 17:52:35 +0100 |
Edouard Tisserant |
SVGHMI : documentation for new geometry intersection computation code + little fixes...
svghmi
|
changeset |
files
|
Fri, 28 Feb 2020 16:09:21 +0100 |
Edouard Tisserant |
SVGHMI: detachable and discardable elements sets, Reworked geometric intersection, toward more accurate page content detection.
svghmi
|
changeset |
files
|
Thu, 27 Feb 2020 13:14:24 +0100 |
Edouard Tisserant |
SVGHMI : still trying to optimize. Added xslt code to identitfy minimum set of elements needed by a particular page. Plan is to remove unseen/unused elements from the DOM, and re-appending them later when used, on page switch. Disabled previous optimization.
svghmi
|
changeset |
files
|
Fri, 21 Feb 2020 16:22:44 +0100 |
Edouard Tisserant |
SVGHMI: attempt to optimize for webkit, because of really slow style recompute in svg:use : "unlink clones" (as in inkscape) but stop deep-copy when meeting a widget, and create a new clone instead.
svghmi
|
changeset |
files
|
Fri, 21 Feb 2020 16:18:53 +0100 |
Edouard Tisserant |
SVGHMI: optimize browser work by hiding (display:none) pages that are not displayed.
svghmi
|
changeset |
files
|
Fri, 21 Feb 2020 16:15:33 +0100 |
Edouard Tisserant |
SVGHMI: Better and less verbose SVG namespace handling in XSLT transform
svghmi
|
changeset |
files
|
Mon, 17 Feb 2020 13:57:44 +0100 |
Edouard Tisserant |
SVGHMI: Added mostly untested switch widget
svghmi
|
changeset |
files
|
Fri, 14 Feb 2020 21:41:13 +0100 |
Edouard Tisserant |
SVGHMI: HMI:Page can now be a svg:g group or a svg:use clone, and included/linked widget are included in page. HMI:Jump was updated to be clickable through svg:use, to be generalized.
svghmi
|
changeset |
files
|
Fri, 14 Feb 2020 10:29:10 +0100 |
Edouard Tisserant |
SVGHMI: ensure that coordinate in CSV file generated by inkscape are both matching svg default unit and in default reference frame
svghmi
|
changeset |
files
|
Thu, 13 Feb 2020 09:43:35 +0100 |
Edouard Tisserant |
SVGHMI : still behave, even if important things are missing in SVG widget definitions (ex: needle missing for Meter widget)
svghmi
|
changeset |
files
|
Thu, 13 Feb 2020 09:41:43 +0100 |
Edouard Tisserant |
SVGHMI : fix watchdog exception when timeout null
svghmi
|
changeset |
files
|
Tue, 11 Feb 2020 13:56:48 +0100 |
Edouard Tisserant |
SVGHMI: be a bit more tolerant with missing HMI paths or missing elements in widgets : continue build (with warning) and fail silently at runtime.
svghmi
|
changeset |
files
|
Thu, 30 Jan 2020 14:33:06 +0100 |
Edouard Tisserant |
SVGHMI : fixed bug happening when some SVG ids are containing dashes
svghmi
|
changeset |
files
|
Thu, 23 Jan 2020 13:46:05 +0100 |
Edouard Tisserant |
SVGHMI : wait for initial timeout after watchdog is triggered, since it generaly induces HMI restart
svghmi
|
changeset |
files
|
Thu, 23 Jan 2020 11:22:09 +0100 |
Edouard Tisserant |
SVGHMI : watchdog is now taking an initial and interval duration as CTN fields.
svghmi
|
changeset |
files
|
Tue, 21 Jan 2020 13:55:03 +0100 |
Edouard Tisserant |
SVGHMI : avoid caching of xhtml file by forcing cache-control header in http response.
svghmi
|
changeset |
files
|
Fri, 17 Jan 2020 16:25:45 +0100 |
Edouard Tisserant |
SVGHMI : HMI_STRING now also supported from HMI to PLC
svghmi
|
changeset |
files
|
Wed, 15 Jan 2020 11:13:39 +0100 |
Edouard Tisserant |
SVGHMI : cosmetic
svghmi
|
changeset |
files
|
Wed, 15 Jan 2020 09:35:29 +0100 |
Edouard Tisserant |
SVGHMI non significant fixes
svghmi
|
changeset |
files
|
Tue, 14 Jan 2020 11:09:26 +0100 |
Edouard Tisserant |
SVGHMI : support for HMI_STRING and HMI_BOOL
svghmi
|
changeset |
files
|
Tue, 14 Jan 2020 11:04:18 +0100 |
Edouard Tisserant |
plc_debug.c/var_acces.c : whitespace cleanup and other cosmetic changes
svghmi
|
changeset |
files
|
Mon, 13 Jan 2020 15:15:01 +0100 |
Edouard Tisserant |
SVGHMI : Added python fomating {port} and {name} to commands so that command can build target URL
svghmi
|
changeset |
files
|
Fri, 10 Jan 2020 17:00:01 +0100 |
Edouard Tisserant |
SVGHMI : add on Start, Stop and Watchdog command fields to configuration
svghmi
|
changeset |
files
|
Fri, 10 Jan 2020 13:15:07 +0100 |
Edouard Tisserant |
SVGHMI: added a watchdog. To ensure that the whole chain is checked, watchdog use a periodic echo of a hearteat variable. JS client code systematically register /HEARTBEAT at 1s update freq, and reacts on updates of /HEARTBEAT by systematically incrementing it. C code catch /HEARTBEAT update and feeds python-implemented watchdog. For now, watchdog does nothing when tiggered
svghmi
|
changeset |
files
|
Wed, 18 Dec 2019 13:31:22 +0100 |
Edouard Tisserant |
Add --on-plc-start --on-plc-stop and --status-change to runtime command line, calling given command respectively on start stop or any event. Command line string is python formated (to eventually include status with {}) before being split (supports quoted strings) and passed to Popen for non-blocking execution.
svghmi
|
changeset |
files
|
Mon, 09 Dec 2019 14:53:42 +0100 |
Edouard Tisserant |
SVGHMI : had to move the problem of wkaing up python thread from plc thread to platform specific code.
svghmi
|
changeset |
files
|
Mon, 09 Dec 2019 10:43:54 +0100 |
Edouard Tisserant |
SVGHMI: change collect/send thread looping condition to fix infinite loop in some cases
svghmi
|
changeset |
files
|
Tue, 03 Dec 2019 09:46:12 +0100 |
Edouard Tisserant |
SVGHMI: re-implemented tree view with classic wxTreeCtl
svghmi
|
changeset |
files
|
Tue, 03 Dec 2019 09:44:48 +0100 |
Edouard Tisserant |
Non significant changes, whitespaces, etc.
svghmi
|
changeset |
files
|
Fri, 15 Nov 2019 10:34:14 +0100 |
Edouard Tisserant |
SVGHMI: Added simple HMI Tree View.
svghmi
|
changeset |
files
|
Thu, 14 Nov 2019 08:46:32 +0100 |
Edouard Tisserant |
SVGHMI: add a class attribute to HMI Tree nodes, set when using HMI_NODE
svghmi
|
changeset |
files
|
Wed, 13 Nov 2019 11:22:53 +0100 |
Edouard Tisserant |
SVGHMI: HMI_LABEL and HMI_CLASS become HMI_NODE.
svghmi
|
changeset |
files
|
Wed, 13 Nov 2019 11:21:04 +0100 |
Edouard Tisserant |
Add FatalError() method to ConfigTreeNode.
svghmi
|
changeset |
files
|
Thu, 07 Nov 2019 16:40:48 +0100 |
Edouard Tisserant |
SVGHMI: various fixes to make SVGHMI behave on more versions of twisted and GCC.
svghmi
|
changeset |
files
|
Wed, 30 Oct 2019 15:17:05 +0100 |
Edouard Tisserant |
SVGHMI - prepare page with cached data when switching. This prevents values that do not change and that was already subscribed in previous page from keeping undefined.
svghmi
|
changeset |
files
|
Tue, 29 Oct 2019 11:18:58 +0100 |
Edouard Tisserant |
SVGHMI: various insignificant code moves, commenting and typos fixes.
svghmi
|
changeset |
files
|
Tue, 29 Oct 2019 09:10:10 +0100 |
Edouard Tisserant |
SVGHMI : fancier second page in tests/svghmi
svghmi
|
changeset |
files
|
Mon, 28 Oct 2019 19:52:43 +0100 |
Edouard Tisserant |
SVGHMI: SVG viewport now defined so that HMI take scales and fit to the view. Implemented page switch through viewport change, no hiding of widget for now.
svghmi
|
changeset |
files
|
Mon, 28 Oct 2019 10:30:20 +0100 |
Edouard Tisserant |
SVGHMI - added simple Meter widget.
svghmi
|
changeset |
files
|
Sun, 27 Oct 2019 22:28:51 +0100 |
Edouard Tisserant |
SVGHMI: Quicker update path for input widget when pressing on buttons, do not wait until data comes back, and simply update value text of the pressed widget. Updated PLC prog for more amimated value to display
svghmi
|
changeset |
files
|
Sun, 27 Oct 2019 21:38:10 +0100 |
Edouard Tisserant |
SVGHMI: fixed HMI->PLC dataflow : not updates as expected, and not initialized properly after subscribe.
svghmi
|
changeset |
files
|
Thu, 24 Oct 2019 11:20:04 +0200 |
Edouard Tisserant |
Fixed one more sequel of 5f79b194fa63 'SVGHMI: filter out temporary variables created while generating ST code out of FBD.'
svghmi
|
changeset |
files
|
Thu, 24 Oct 2019 10:02:07 +0200 |
Edouard Tisserant |
SVGHMI: Added relative changes of HMI value from widgets.
svghmi
|
changeset |
files
|
Tue, 22 Oct 2019 22:58:55 +0200 |
Edouard Tisserant |
SVGHMI - Fixed svghmi.{c,js} about HMI -> PLC data unpack.
svghmi
|
changeset |
files
|
Tue, 22 Oct 2019 17:06:31 +0200 |
Edouard Tisserant |
SVGHMI: Added init call to all widgets at startup to bind events. More features in Input widget : Edit and Change buttons. WIP HMI->PLC value update, incoherent data detected in C part on update.
svghmi
|
changeset |
files
|
Sat, 19 Oct 2019 01:23:30 +0200 |
Edouard Tisserant |
SVGHMI: dispatching data to minimalist "Display" text widget.
svghmi
|
changeset |
files
|
Thu, 17 Oct 2019 15:48:09 +0200 |
Edouard Tisserant |
SVGHMI: Many fixes. Subscriptions to HMItree seems to be working, and dispatch function is called in JS with good data. Bidirectional communication now really working.
svghmi
|
changeset |
files
|
Tue, 15 Oct 2019 17:14:48 +0200 |
Edouard Tisserant |
SVGHMI : many details about communication implemented in JS, with side effects.
svghmi
|
changeset |
files
|
Fri, 11 Oct 2019 12:03:14 +0200 |
Edouard Tisserant |
SVGHMI: added a widgets description object, accessed by id. Added frequency to widgets, as separate template to allow future customization. Excluded non svg elements (i.e inkscape Sets) with HMI: labels from widgets.
svghmi
|
changeset |
files
|
Thu, 10 Oct 2019 10:03:47 +0200 |
Edouard Tisserant |
SVGHMI fix logic for page membership detection
svghmi
|
changeset |
files
|
Thu, 10 Oct 2019 09:54:44 +0200 |
Edouard Tisserant |
SVGHMI compute default page
svghmi
|
changeset |
files
|
Wed, 09 Oct 2019 11:15:14 +0200 |
Edouard Tisserant |
SVGHMI: deduce pages content out of geometry (elements contained in page bounding box are in)
svghmi
|
changeset |
files
|
Wed, 09 Oct 2019 09:04:35 +0200 |
Edouard Tisserant |
SVGHMI: use func:function for parsing labels so that it can be used in predicates
svghmi
|
changeset |
files
|
Tue, 08 Oct 2019 13:27:00 +0200 |
Edouard Tisserant |
SVGHMI: moved/fixed some templates, avoided namespace problems, added parsing of HMI:* inkscape labels
svghmi
|
changeset |
files
|
Mon, 07 Oct 2019 12:02:45 +0200 |
Edouard Tisserant |
SVGHMI: now generating JS object describing widgets and pointing to SVG elements
svghmi
|
changeset |
files
|
Sat, 05 Oct 2019 09:45:58 +0200 |
Edouard Tisserant |
SVGHI: compute hmitree variables ordered index in xslt
svghmi
|
changeset |
files
|
Wed, 02 Oct 2019 11:31:02 +0200 |
Edouard Tisserant |
SVGHMI: now built.
svghmi
|
changeset |
files
|
Mon, 30 Sep 2019 13:26:11 +0200 |
Edouard Tisserant |
SVGHMI: Work in progress. C side mostly implemented, neither built nor tested.
svghmi
|
changeset |
files
|
Fri, 27 Sep 2019 06:54:35 +0200 |
Edouard Tisserant |
SVGHMI: More strict formating of active HMI labels : @ separator only used for paths
svghmi
|
changeset |
files
|
Thu, 26 Sep 2019 09:33:49 +0200 |
Edouard Tisserant |
SVGHMI: new test svg to drive next implementation
svghmi
|
changeset |
files
|
Wed, 25 Sep 2019 08:53:27 +0200 |
Edouard Tisserant |
Non significant changes in generated xslt, side effect of changes in yslt_noindent.yml2
svghmi
|
changeset |
files
|
Tue, 24 Sep 2019 11:58:31 +0200 |
Edouard Tisserant |
Merge default in SVGHMI branch
svghmi
|
changeset |
files
|
Fri, 20 Sep 2019 13:38:58 +0200 |
Edouard Tisserant |
SVGHMI: Starting to define JS side more in details.
svghmi
|
changeset |
files
|
Thu, 19 Sep 2019 15:32:36 +0200 |
Edouard Tisserant |
SVGHMI: added transformation of code given in inkscape's description fields into javascript functions
svghmi
|
changeset |
files
|
Thu, 19 Sep 2019 10:41:39 +0200 |
Edouard Tisserant |
SVGHMI: gui.svg -> svghmi.svg
svghmi
|
changeset |
files
|
Thu, 19 Sep 2019 09:01:49 +0200 |
Edouard Tisserant |
SVGHMI: moved static JS code to a separate file included at xhtml generation time
svghmi
|
changeset |
files
|
Wed, 18 Sep 2019 11:09:35 +0200 |
Edouard Tisserant |
SVGHMI: Work In Progress : fixed pointer types in ctypes interface, cleaned up server startup and cleanup code, changed document type to XHTML, cleaner JS script : encapsulated in a function and in CDATA.
svghmi
|
changeset |
files
|
Wed, 18 Sep 2019 11:03:56 +0200 |
Edouard Tisserant |
PLCobject: Call "stop" and "cleanup" methods from python runtime files in reverse order compared to "init" and "start".
svghmi
|
changeset |
files
|
Mon, 16 Sep 2019 13:45:04 +0200 |
Edouard Tisserant |
SVGHMI: WIP for python<->C data exchange : message from browser hit the C side.
svghmi
|
changeset |
files
|
Mon, 16 Sep 2019 11:44:20 +0200 |
Edouard Tisserant |
SVGHMI: WIP for python<->C data exchange
svghmi
|
changeset |
files
|
Mon, 16 Sep 2019 10:54:15 +0200 |
Edouard Tisserant |
SVGHMI: WIP for python<->C data exchange
svghmi
|
changeset |
files
|
Thu, 12 Sep 2019 12:56:47 +0200 |
Edouard Tisserant |
SVGHMI: WIP for python<->C data exchange
svghmi
|
changeset |
files
|
Thu, 12 Sep 2019 12:55:32 +0200 |
Edouard Tisserant |
SVGHMI: single session for now
svghmi
|
changeset |
files
|
Thu, 12 Sep 2019 12:54:36 +0200 |
Edouard Tisserant |
SVGHMI: few fixes on serving
svghmi
|
changeset |
files
|
Wed, 11 Sep 2019 12:24:30 +0200 |
Edouard Tisserant |
WIP on svghmi, now builds and runs. HTTP serving + WS transport ready, missing actual data to transmit and thread to collect it.
svghmi
|
changeset |
files
|
Wed, 11 Sep 2019 11:20:11 +0200 |
Edouard Tisserant |
Non significant changes to mute GCC warnings about unused variables.
svghmi
|
changeset |
files
|
Thu, 05 Sep 2019 08:35:33 +0200 |
Edouard Tisserant |
Fixed sequel of 5f79b194fa63 'SVGHMI: filter out temporary variables created while generating ST code out of FBD.'. Some ref to temporary variables are still not using the _TMP_ prefix. They are quite hard to find, so to be continued...
svghmi
|
changeset |
files
|
Tue, 03 Sep 2019 12:17:33 +0200 |
Edouard Tisserant |
SVGHMI: Intermediate state while working on svghmi.c
svghmi
|
changeset |
files
|
Mon, 26 Aug 2019 08:54:02 +0200 |
Edouard Tisserant |
svghmi.c : deduplicated variable access code borrowed from plc_debug.c. Added targets/var_access.c.
svghmi
|
changeset |
files
|
Fri, 23 Aug 2019 14:01:31 +0200 |
Edouard Tisserant |
SVGHMI: Added iterators in svghmi.c copy-pasted form plc_debug.c
svghmi
|
changeset |
files
|
Fri, 23 Aug 2019 13:01:37 +0200 |
Edouard Tisserant |
SVGHMI: svghmi.c now has mutex, iterator, and read/write buffer.
svghmi
|
changeset |
files
|
Thu, 22 Aug 2019 14:58:53 +0200 |
Edouard Tisserant |
SVGHMI: draft for svghmi.c. It has all PLC variables pointed in HMI tree in an array.
svghmi
|
changeset |
files
|
Tue, 20 Aug 2019 10:32:34 +0200 |
Edouard Tisserant |
Pass HMITree to SVG transform. It seems it could really help to reduce JS tree binding logic in the end.
svghmi
|
changeset |
files
|
Tue, 20 Aug 2019 10:30:59 +0200 |
Edouard Tisserant |
Add special nodes at HMI Tree root, fix code to handle special node (no path).
svghmi
|
changeset |
files
|
Tue, 20 Aug 2019 10:08:11 +0200 |
Edouard Tisserant |
Swap CTN code gen and Libraries code gen, because SVGHMI use both, and need the library part to produce hmitree before CTN part.
svghmi
|
changeset |
files
|
Tue, 20 Aug 2019 10:01:18 +0200 |
Edouard Tisserant |
yslt_noindent : Avoid YSLT's indent logic to interfere when using linequote.
svghmi
|
changeset |
files
|
Wed, 14 Aug 2019 13:06:03 +0200 |
Edouard Tisserant |
SVGHMI: make a reasonably basic test
svghmi
|
changeset |
files
|
Wed, 14 Aug 2019 11:05:17 +0200 |
Edouard Tisserant |
SVGHMI: filter out temporary variables created while generating ST code out of FBD.
svghmi
|
changeset |
files
|
Tue, 13 Aug 2019 14:04:13 +0200 |
Edouard Tisserant |
SVGHMI: added deduction of HMI tree from list of HMI_* instances.
svghmi
|
changeset |
files
|
Mon, 12 Aug 2019 13:09:55 +0200 |
Edouard Tisserant |
SVGHMI: added extraction of SVG bounding boxes, obtained from "inkscape -S", and passed to XSLT transform as variable.
svghmi
|
changeset |
files
|
Mon, 12 Aug 2019 13:06:11 +0200 |
Edouard Tisserant |
Allow using docutil.get_inkscape_path() on Linux also.
svghmi
|
changeset |
files
|
Fri, 09 Aug 2019 12:12:24 +0200 |
Edouard Tisserant |
SVGHMI: little fixes to make the build go through
svghmi
|
changeset |
files
|
Fri, 09 Aug 2019 12:11:31 +0200 |
Edouard Tisserant |
SVGHMI: Added XSLT transformation, Makefile to get XSLT from ysl2 (copy of plcopen/Makefile) and a minimal stylesheet to start with.
svghmi
|
changeset |
files
|
Fri, 09 Aug 2019 12:07:33 +0200 |
Edouard Tisserant |
Moved XSLT model query python code so that XSLT part can be reused for other transformations (i.e. in SVGHMI)
svghmi
|
changeset |
files
|
Thu, 08 Aug 2019 15:56:17 +0200 |
Edouard Tisserant |
Complete SVGUI test minimal skeleton so that it builds.
svghmi
|
changeset |
files
|
Wed, 07 Aug 2019 14:18:22 +0200 |
Edouard Tisserant |
intermediate commit, work in progress
svghmi
|
changeset |
files
|
Thu, 18 Jul 2019 14:09:33 +0200 |
Edouard Tisserant |
Use a POU Library's Generate_C to collect all variables in SVGHMI.
svghmi
|
changeset |
files
|