2021-06-14 |
Edouard Tisserant |
IDE: Cleaned up some useless tests in variable trace data handling code, changed from bare numpy arrays to RingBuffers inorder to avoid RAM outage and crash after long tracing session.
svghmi
|
changeset |
files
|
2021-06-11 |
Edouard Tisserant |
IDE: Log: Prevent crash when display progress on empty log.
svghmi
|
changeset |
files
|
2021-06-10 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
2021-06-10 |
Edouard Tisserant |
Copy description when DnD variables from CodeFile CTN to POUs
svghmi
|
changeset |
files
|
2021-06-09 |
Edouard Tisserant |
SVGHMI: fix exception when stored widget library path does not exist anymore
svghmi
|
changeset |
files
|
2021-06-10 |
Edouard Tisserant |
SVGHMI: added checking of widget literal argument in DnD UI according to type given in widget description
svghmi
|
changeset |
files
|
2021-06-09 |
Edouard Tisserant |
SVGHMI: UI Updates validity indicator when DnD HMI tree node in text field, according to node type
svghmi
|
changeset |
files
|
2021-05-31 |
Edouard Tisserant |
SVGHMI: Fixed typo in last commit
svghmi
|
changeset |
files
|
2021-05-31 |
Edouard Tisserant |
merged
svghmi
|
changeset |
files
|
2021-05-25 |
Edouard Tisserant |
Runtime: Fix exception "Worker is disabled" when connecting while PLC runtime is starting.
svghmi
|
changeset |
files
|
2021-05-31 |
Edouard Tisserant |
SVGHMI: UI now have multiple HMI tree variables DnD to widget paths. Still no type checking, WIP.
svghmi
|
changeset |
files
|
2021-05-24 |
Edouard Tisserant |
Finished fixing Wx IDs abuse. There was still some wasted IDs because of wx.NewId calls in many places where it wasn't needed, and those IDs were not re-used. As a consequence Beremiz was making exception crashing after a few hours of intensive use.
svghmi
|
changeset |
files
|
2021-05-20 |
Edouard Tisserant |
SVGHMI: DnD UI : changed layout again, moved description in a vertical splitter, added scrollbar for preview and signature, fixed flickering description
svghmi
|
changeset |
files
|
2021-05-19 |
Edouard Tisserant |
SVGHMI: UI: Swap widget selection tree and preview panel
svghmi
|
changeset |
files
|
2021-05-19 |
Edouard Tisserant |
SVGHMI: WIP: Widget Library UI: Reworking widget selection and binding.
svghmi
|
changeset |
files
|
2021-05-18 |
Edouard Tisserant |
Merged SVGHMI branches
svghmi
|
changeset |
files
|
2021-05-18 |
Edouard Tisserant |
SVGHMI: WIP on Widget DnD UI : Added documentation to widgets, that is injected in widget parse tree during widget analysis
svghmi
|
changeset |
files
|
2021-05-17 |
Edouard Tisserant |
SVGHMI: Fix behaviour of Jump widget, that wasn't displaying "disabled" state in some cases.
svghmi
|
changeset |
files
|
2021-05-12 |
Edouard Tisserant |
merged default in svghmi
svghmi
|
changeset |
files
|
2021-05-02 |
Edouard Tisserant |
SVGHMI: updating generated XSLT
svghmi
|
changeset |
files
|
2021-05-02 |
Edouard Tisserant |
SVGHMI: Intermediate state while updating UI, preparing for displaying widget description and multiple variables selections
svghmi
|
changeset |
files
|
2021-05-02 |
Edouard Tisserant |
SVGHMI: Extend widget labels parsing to allow expressing widget's accepted types in labels
svghmi
|
changeset |
files
|
2021-05-02 |
Edouard Tisserant |
SVGHMI: Add analyse_widget stylesheet and python code to execute it, in order to obtain widget signature independently of DnD SVG file generation.
svghmi
|
changeset |
files
|
2021-05-02 |
Edouard Tisserant |
SVGHMI: drop useless code from gen_dnd_widget.yslt2, renamed python callback to pass messages
svghmi
|
changeset |
files
|
2021-05-02 |
Edouard Tisserant |
SVGHMI: Added widget_desc to declare widget signature and description
svghmi
|
changeset |
files
|
2021-05-02 |
Edouard Tisserant |
SVGHMI: In order to allow widget signature and description to coexist in same ysl2 file, introduced widget_class, widget_defs to declare widget codegen templates and gen_index_xhtml to mark templates that are only usefull in gen_index_xhtml.xslt.
svghmi
|
changeset |
files
|
2021-04-15 |
Edouard Tisserant |
SVGHMI: keep track of order of selection in HMI tree, so that variable can be passed in same order to DnD widget
svghmi
|
changeset |
files
|
2021-04-14 |
Edouard Tisserant |
SVGHMI: fixed typo
svghmi
|
changeset |
files
|
2021-04-13 |
Edouard Tisserant |
SVGHMI: still quite naive path substitution whn prepearing widget for DnD, but now uses label generation.
svghmi
|
changeset |
files
|
2021-04-13 |
Edouard Tisserant |
SVGHMI: Added text box for tranformation feedback aside widget mignature
svghmi
|
changeset |
files
|
2021-04-09 |
Edouard Tisserant |
Merged default in SVGHMI
svghmi
|
changeset |
files
|
2021-04-06 |
Edouard Tisserant |
SVGHMI: prototype of widget interface description using SVG's desc field, added to SVGHMI's internal svg widget library.
svghmi
|
changeset |
files
|
2021-04-06 |
Edouard Tisserant |
SVGHMI: Naive implementation of widget path substitution in widget DnD: considers widget always have only one variable, and no type checking.
svghmi
|
changeset |
files
|
2021-04-06 |
Edouard Tisserant |
SVGHMI: Widget transform before DnD now have HMI path as a parameter
svghmi
|
changeset |
files
|
2021-04-06 |
Edouard Tisserant |
SVGHMI: Widget transform before DnD now should have HMI path as a parameter, but this path isn't computed for some reason... WIP.
svghmi
|
changeset |
files
|
2021-04-05 |
Edouard Tisserant |
SVGHMI: Widget DnD to Inkscape : Added source SVG widget label parsing and pass selecte HMI subtree to XSLT tranform, so that SVG containing multiple widgets can later be matched against hmi tree fragments, in order to DnD complex groups of widgets.
svghmi
|
changeset |
files
|
2021-04-02 |
Edouard Tisserant |
SVGHMI: Widget Library Picker now transforms SVG widget before allowing DnD. Transform is just identity forn now, but label parsing have already been included. To be continued.
svghmi
|
changeset |
files
|
2021-04-01 |
Edouard Tisserant |
SVGHMI: Ensure that when widgets are nested in HMI:Switch widget, their sub-elements are taken as switch's choice in case their label match the syntax.
svghmi
|
changeset |
files
|
2021-04-01 |
Edouard Tisserant |
SVGHMI: Code cleanup for ToggleButton.
svghmi
|
changeset |
files
|
2021-04-01 |
Edouard Tisserant |
SVGHMI: Fixed last i18n changes meant to allow checking changes in PO files. Was making build exception when no PO files available.
svghmi
|
changeset |
files
|
2021-04-01 |
Edouard Tisserant |
IDE: Add a shortcut to project "Clean" action : F9
svghmi
|
changeset |
files
|
2021-03-31 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
2021-03-31 |
Edouard Tisserant |
SVGHMI: fixed embedded fonts family name not matching when using windows version of inkscape
svghmi
|
changeset |
files
|
2021-03-31 |
Edouard Tisserant |
SVGHMI: force svghmi build if any change in fonts or translation (.PO) files
svghmi
|
changeset |
files
|
2021-03-31 |
Edouard Tisserant |
SVGHMI: Add file type drag'n'drop to widget picker, for now drops widget's original SVG.
svghmi
|
changeset |
files
|
2021-03-30 |
Edouard Tisserant |
SVGHMI: silence debug output in generated xhtml.
svghmi
|
changeset |
files
|
2021-03-30 |
Edouard Tisserant |
SVGHMI: Implemented "Add Font" and "Remove Font", add font embedding in CSS at build time, tested ok with some OTF for now.
svghmi
|
changeset |
files
|
2021-03-30 |
Edouard Tisserant |
SVGHMI: Add font management buttons and icons, doing nothing for now
svghmi
|
changeset |
files
|
2021-03-29 |
Edouard Tisserant |
Fixed misuse of GridCellEditor in DurationCellEditor, potentially leading to crash on windows.
svghmi
|
changeset |
files
|
2021-03-29 |
Edouard Tisserant |
SVGHMI: Fix update of HMI tree in UI when loading from XML at start. Removed some dead code left after split of svghmi.py into svghmi.py+ui.py.
svghmi
|
changeset |
files
|
2021-03-29 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
2021-03-29 |
Edouard Tisserant |
SVGHMI: added "page_node" variable that reflects the HMI tree path of current relative page
svghmi
|
changeset |
files
|
2021-03-26 |
Edouard Tisserant |
SVGHMI: Add list of HMI tree path in a JS array, so that we can use it for multiple purpose :
svghmi
|
changeset |
files
|
2021-03-26 |
Edouard Tisserant |
SVGHMI: Fixed wierd CDATA mess in output xhtml, because of backticks copy pasted in some yml ||text block||
svghmi
|
changeset |
files
|
2021-03-29 |
Edouard Tisserant |
SVGHMI: Added fonts.py with functions to convert ttf, otf and woff fonts into data_uri based CSS font-face
svghmi
|
changeset |
files
|
2021-03-25 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
2021-03-25 |
Edouard Tisserant |
SVGHMI: split svghmi.py into svghmi.py (Config Tree Node + code gen) and ui.py (UI for HMI tree and Widget picking)
svghmi
|
changeset |
files
|
2021-03-25 |
Edouard Tisserant |
SVGHMI: stop serving HMI open wide on all interfaces. That was a security hole. It is user/developer responsibity to forward connection with for exemple stunnel and make it securely accessible from LAN.
svghmi
|
changeset |
files
|
2021-03-25 |
Edouard Tisserant |
SVGHMI: Filter unseen geometry from inkscape CSV output.
svghmi
|
changeset |
files
|
2021-03-23 |
Edouard Tisserant |
SVGHMI: Fix typo in error message formating in i18n.
svghmi
|
changeset |
files
|
2021-03-24 |
Edouard Tisserant |
SVGHMI: split svghmi.py into hmi_tree.py + svghmi.py
svghmi
|
changeset |
files
|
2021-03-23 |
Edouard Tisserant |
Merged
svghmi
|
changeset |
files
|
2021-03-18 |
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
|
2021-03-23 |
Edouard Tisserant |
SVGHMI: Added small widget library for library browser testing.
svghmi
|
changeset |
files
|
2021-03-23 |
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
|
2021-03-23 |
Edouard Tisserant |
Allow using spin() from ProcessLogger even with no logger given.
svghmi
|
changeset |
files
|
2021-03-17 |
Edouard Tisserant |
merged
svghmi
|
changeset |
files
|
2021-03-16 |
Edouard Tisserant |
SVGHMI: cosmetic change, missing semicolon
svghmi
|
changeset |
files
|
2021-03-16 |
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
|
2021-03-15 |
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
|
2021-03-12 |
Edouard Tisserant |
SVGHMI: change default values for JsonTable, leading to scrollbar initialized at annoying non-zero position
svghmi
|
changeset |
files
|
2021-03-11 |
Edouard Tisserant |
SVGHMI: Ensure that when a HMI:List is refered, none of its refered elements are discarded.
svghmi
|
changeset |
files
|
2021-03-11 |
Edouard Tisserant |
Backed out changeset b2ba6eeb61ec. Users reported text styling being messed in some cases.
svghmi
|
changeset |
files
|
2021-03-11 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
2021-03-10 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
2021-03-10 |
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
|
2021-03-10 |
Edouard Tisserant |
SVGHMI: Add generic action buttons to JSON table, with an example in tests/svghmi: wipe alar list.
svghmi
|
changeset |
files
|
2021-03-10 |
Edouard Tisserant |
SVGHMI: do not do XSLT transform if both SVGHMI and HMI Tree didn't change since last build
svghmi
|
changeset |
files
|
2021-03-05 |
Edouard Tisserant |
Merged
svghmi
|
changeset |
files
|
2021-03-03 |
Edouard Tisserant |
SVGHMI: Make ScrollBar's variables order match JsonTable's variables order to avoid confusion
svghmi
|
changeset |
files
|
2021-03-05 |
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
|
2021-03-04 |
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
|
2021-03-02 |
Edouard Tisserant |
SVGHMI: attempt to prevent crazy styling with HMI:TextStyleList when inkscape store style in tspan instead of text element.
svghmi
|
changeset |
files
|
2021-03-02 |
Edouard Tisserant |
IDE: Fix logging of external process execution time so that it is visible on windows as well.
svghmi
|
changeset |
files
|
2021-03-02 |
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
|
2021-03-02 |
Edouard Tisserant |
IDE: Iec2CSettings: Log wasn't available in case of exception when launching iec2c.
svghmi
|
changeset |
files
|
2021-03-02 |
Edouard Tisserant |
IDE: Log: Cosmetic changes, refactoring
svghmi
|
changeset |
files
|
2021-03-01 |
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
|
2021-03-01 |
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
|
2021-03-01 |
Edouard Tisserant |
merged
svghmi
|
changeset |
files
|
2021-02-26 |
Edouard Tisserant |
SVGHMI: Fixed progress time computation
svghmi
|
changeset |
files
|
2021-02-28 |
Edouard Tisserant |
IDE: Fixed log console that was not updating line by line smoothly when building.
svghmi
|
changeset |
files
|
2021-02-26 |
Edouard Tisserant |
SVGHMI: Optimized overlapping geometry (widget ot page belonging) computation. Added human readable messages for progress. Includes updated XSLT.
svghmi
|
changeset |
files
|
2021-02-25 |
Edouard Tisserant |
merged
svghmi
|
changeset |
files
|
2021-02-24 |
Edouard Tisserant |
Merge changes from default into svghmi branch
svghmi
|
changeset |
files
|
2021-02-24 |
Edouard Tisserant |
SVGHMI: More build time optimization : def_by_label now takes far less time.
svghmi
|
changeset |
files
|
2021-02-23 |
Edouard Tisserant |
SVGHMI: Optimize sumarized_elements xslt function, taking most of SVGHMI build time.
svghmi
|
changeset |
files
|
2021-02-22 |
Edouard Tisserant |
Merge
svghmi
|
changeset |
files
|
2021-02-19 |
Edouard Tisserant |
SVGHMI: Add icons
svghmi
|
changeset |
files
|
2021-02-19 |
Edouard Tisserant |
SVGHMI: Fixed/extended error message when failing to launch POEdit.
svghmi
|
changeset |
files
|
2021-02-19 |
Edouard Tisserant |
SVGHMI: Fix launch of POEdit on widows. Parsing oommand in registry based on heuristic was bad, now using regex should be safer. TODO : replicate for Inkscape launch.
svghmi
|
changeset |
files
|
2021-02-22 |
Edouard Tisserant |
SVGHMI: display progress in IDE console while building
svghmi
|
changeset |
files
|
2021-02-21 |
Edouard Tisserant |
SVGHMI: finally found why HMI:Input wasnt't initializing properly: vsprintf takes a list. Also, removed intermediate variable last_val, since edit_value() works on strings anyhow, and in case of formated floats, it is better to workl on already formated value.
svghmi
|
changeset |
files
|
2021-02-19 |
Edouard Tisserant |
SVGHMI: update generated XSLT
svghmi
|
changeset |
files
|
2021-02-19 |
Edouard Tisserant |
Allow printf-like formating in HMI:Input, usefull for example when dealing with floating point numbers.
svghmi
|
changeset |
files
|
2021-02-19 |
Edouard Tisserant |
SVGHMI: Switch from {object} to Map for "updates" global, for performance but also preventing wierd behaviour when iterating
svghmi
|
changeset |
files
|
2021-02-18 |
Edouard Tisserant |
SVGHMI: Fixed HMI:ScrollBar to exclude cursor size from accessible range ( position is now 0->range-size instead of 0->range ). Fixed and extended tests/svghmi to have working ScrollBar on two alarm pages. Includes generated XSLT update.
svghmi
|
changeset |
files
|
2021-02-18 |
Edouard Tisserant |
SVGHMI: JsonTable removed useless promise since fetch() already does one. Updated generated XSLT.
svghmi
|
changeset |
files
|
2021-02-18 |
Edouard Tisserant |
SVGHMI: Optimization for JsonTable : reload JSON only when necessary, and avoid concurrent http requests.
svghmi
|
changeset |
files
|
2021-02-16 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
2021-02-16 |
Edouard Tisserant |
SVGHMI: update generated XSLT
svghmi
|
changeset |
files
|
2021-02-16 |
Edouard Tisserant |
SVGHMI: little fix ihn i18n example.
svghmi
|
changeset |
files
|
2021-02-16 |
Edouard Tisserant |
SVGHMI: Fixed sending HMI_REAL to PLC. Added a svghmi_real test that illustrates using printf style formating in HMI:Display to control precision of Float number display.
svghmi
|
changeset |
files
|
2021-02-16 |
Edouard Tisserant |
SVGHMI: i18n: ensure langs always appea in same order, and add two variables that are updated automatically when selecting a new language : lang_name and lang_code. Also fixed i18n startup, prevent wrong lang numer to crash loading.
svghmi
|
changeset |
files
|
2021-02-15 |
Edouard Tisserant |
SVGHMI: more straightforward implementation of dragging position computation in Scrollbar + some little fix about boundaries.
svghmi
|
changeset |
files
|
2021-02-14 |
Edouard Tisserant |
SVGHMI: allow i18n of formated strings of HMI:Messages. This was by construction impossible since formating was given as an argument. Now added optional "format" labelled element in HMI:Display, so that it can be translated, when labelled "_format".
svghmi
|
changeset |
files
|
2021-02-14 |
Edouard Tisserant |
SVGHMI: update generated XSLT
svghmi
|
changeset |
files
|
2021-02-14 |
Edouard Tisserant |
SVGHMI: i18n: prevent creating messages.pot if no translation
svghmi
|
changeset |
files
|
2021-02-14 |
Edouard Tisserant |
SVGHMI: Add inhibition to widget's apply_hmi_value() so that it does not change variable more frquently than given widget's frequency. This prevents flooding network with many update if browser is producing events at high rate, as for exemple when dragging ScrollBar's cursor.
svghmi
|
changeset |
files
|
2021-02-14 |
Edouard Tisserant |
SVGHMI: fix scrollbar not behaving when rotated.
svghmi
|
changeset |
files
|
2021-02-14 |
Edouard Tisserant |
SVGHMI: remove forgotten debug code
svghmi
|
changeset |
files
|
2021-02-12 |
Edouard Tisserant |
SVGHMI: Add a robust ScrollBar widget. HMI:ScrollBar@positionrange@size
svghmi
|
changeset |
files
|
2021-02-12 |
Edouard Tisserant |
SVGHMI: propagate default local variables (HMI_LOCAL, PAGE_LOCAL) to widgets at startup
svghmi
|
changeset |
files
|
2021-02-09 |
Edouard Tisserant |
SVGHMI: Update generated XSLT
svghmi
|
changeset |
files
|
2021-02-09 |
Edouard Tisserant |
SVGHMI: HMI:DropDown:#langs@lang now automatically shows human readable list of languages. tests/svghmi_i18n updated accordingly.
svghmi
|
changeset |
files
|
2021-02-09 |
Edouard Tisserant |
SVGHMI: Add a simple i18n test
svghmi
|
changeset |
files
|
2021-02-09 |
Edouard Tisserant |
SVGHMI: Prevent Dropdown widget to mak exception whe value out of range
svghmi
|
changeset |
files
|
2021-02-09 |
Edouard Tisserant |
SVGHMI: removed dead code
svghmi
|
changeset |
files
|
2021-02-09 |
Edouard Tisserant |
SVGHMI: Add "lang" permament persistent HMI_LOCAL variable to reflect selected language, apply stored language choice at startup and make it always subscribed to a pseudo widget (as for hearbeat) that apply language choice when it changes.
svghmi
|
changeset |
files
|
2021-02-09 |
Edouard Tisserant |
SVGHMI: Added HMI:VarInitPersistent to initialize persistent HMI_LOCAL and PAGE_LOCAL variables, stored as cookies in browser.
svghmi
|
changeset |
files
|
2021-02-09 |
Edouard Tisserant |
SVGHMI: Enforce formating HMI_LOCAL and PAGE_LOCAL variables until the end of variable name
svghmi
|
changeset |
files
|
2021-02-04 |
Edouard Tisserant |
SVGHMI: generate JS translation literals so that it is possible to also translate uses of texts, and added JS code that apply translations to tspans
svghmi
|
changeset |
files
|
2021-02-04 |
Edouard Tisserant |
SVGHMI: widget activable elements : moved code to wher it belongs, rewrote cleaner
svghmi
|
changeset |
files
|
2021-02-02 |
Edouard Tisserant |
SVGHMI: update generated XSLT
svghmi
|
changeset |
files
|
2021-02-02 |
Edouard Tisserant |
Merged
svghmi
|
changeset |
files
|
2021-02-02 |
Edouard Tisserant |
SVGHMI: make a copy of tests/svghmi as test/svghmi_widget because too crowded since having pages for widget documentation. Strip those pages from tests/svghmi, so that it
svghmi
|
changeset |
files
|
2021-02-02 |
Edouard Tisserant |
SVGHMI: Prevent excluded widget to appear in generated pages' widget list.
svghmi
|
changeset |
files
|
2021-02-02 |
Edouard Tisserant |
SVGHMI: Remove recursive walk in parsed widget to find unique type and use xsl:key instead.
svghmi
|
changeset |
files
|
2021-01-26 |
Edouard Tisserant |
SVGHMI: Fix browser side exception when some widget are not used, and are then discarded and not present in final SVG. In that case JS code was still making reference to discarded widget elements and was raising exception at init.
svghmi
|
changeset |
files
|
2021-01-26 |
Edouard Tisserant |
SVGHMI : removed support for changing keyboard position and showing at user defined location. Feature was problematic in many respect.
svghmi
|
changeset |
files
|
2021-01-25 |
Edouard Tisserant |
SVGHMI: Make an error when pages are nested
svghmi
|
changeset |
files
|
2021-01-22 |
Edouard Tisserant |
SVGHMI: i18n: finished passing back translated messaged to xslt proc, finished template to generate corresponding javascript literals.
svghmi
|
changeset |
files
|
2021-01-22 |
Edouard Tisserant |
SVGHMI: i18n: various fixes about unicode encoding and converting translation result back to XML to feed xslt processor
svghmi
|
changeset |
files
|
2021-01-21 |
Edouard Tisserant |
SVGHMI: i18n: better warning messages, more explicit.
svghmi
|
changeset |
files
|
2021-01-21 |
Edouard Tisserant |
SVGHMI: i18n: now loads PO filesand match translation against catalog. Refactored a bit to move i18n related code in i18n.py
svghmi
|
changeset |
files
|
2021-01-19 |
Edouard Tisserant |
SVGHMI: still WIP, now POT file is properly generated with utf-8 encoding and POEdit is launched when pressing button.
svghmi
|
changeset |
files
|
2021-01-18 |
Edouard Tisserant |
Docutil : reworked Inkscape launching and path resolution in docsvg.py
svghmi
|
changeset |
files
|
2021-01-15 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
2021-01-13 |
Edouard Tisserant |
Removed harmful assert in ProcessLogger.
svghmi
|
changeset |
files
|
2021-01-15 |
Edouard Tisserant |
SVGHMI: Intermediate commit while implementing i18n. WIP.
svghmi
|
changeset |
files
|
2021-01-05 |
Edouard Tisserant |
SVGHMI: Jump widget: switch to class based declaraion, and add some TODO comments to prepare for jump to relative page being selected through a DropDown widget.
svghmi
|
changeset |
files
|
2021-01-04 |
Edouard Tisserant |
SVGHMI: intermediate state of test/svghmi's SVG for backup... WIP
svghmi
|
changeset |
files
|
2021-01-04 |
Edouard Tisserant |
SVGHMI: CircularBar: use animate() + cormetic changes
svghmi
|
changeset |
files
|
2020-12-29 |
Edouard Tisserant |
SVGHMI: Meter widget: use animate() + cosmetic changes
svghmi
|
changeset |
files
|
2020-12-29 |
Edouard Tisserant |
SVGHMI: Update generated xslt
svghmi
|
changeset |
files
|
2020-12-29 |
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
|
2020-12-29 |
Edouard Tisserant |
SVGHMI: cosmetic changes
svghmi
|
changeset |
files
|
2020-12-29 |
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
|
2020-12-29 |
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
|
2020-12-24 |
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
|
2020-12-24 |
Edouard Tisserant |
SVGHMI: Added parsing of min and max value that can be given as @path,min,max in widget description
svghmi
|
changeset |
files
|
2020-12-22 |
Edouard Tisserant |
Merged default in svghmi branch
svghmi
|
changeset |
files
|
2020-12-21 |
Edouard Tisserant |
WebInterface: better wording for wiping PLC content: "Repair"
svghmi
|
changeset |
files
|
2020-12-18 |
Edouard Tisserant |
SVGHMI: almost rewrote Input widget to make it new class based style.
svghmi
|
changeset |
files
|
2020-12-18 |
Edouard Tisserant |
runtime: added restart/reset button in web settings. Accidentaly fixed web settings logging feature.
svghmi
|
changeset |
files
|
2020-12-17 |
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
|
2020-12-16 |
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
|
2020-12-15 |
Edouard Tisserant |
SVGHMI: DropDown widget now using new class based style
svghmi
|
changeset |
files
|
2020-12-10 |
Edouard Tisserant |
Add a little test to see OnChange's .count .first .last in action
svghmi
|
changeset |
files
|
2020-12-10 |
Edouard Tisserant |
Fixed "Onchange" object added in previous commit
svghmi
|
changeset |
files
|
2020-12-10 |
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
|
2020-12-07 |
Edouard Tisserant |
SVGHMI: cosmetic fixes in button widget
svghmi
|
changeset |
files
|
2020-12-05 |
Edouard Tisserant |
SVGHMI: Rewrote button widget.
svghmi
|
changeset |
files
|
2020-12-02 |
Edouard Tisserant |
SVGHMI: update generated XSLT
svghmi
|
changeset |
files
|
2020-12-02 |
Edouard Tisserant |
SVGHMI: stuff test so that it moves all the time, to have better chance to spot memory leaks...
svghmi
|
changeset |
files
|
2020-12-02 |
Edouard Tisserant |
SVGHMI: prevent unwnted context menu and pinch zoom
svghmi
|
changeset |
files
|
2020-12-02 |
Edouard Tisserant |
SVGHMI: more attempts to prevent losing memory in JS closure
svghmi
|
changeset |
files
|
2020-11-27 |
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
|
2020-11-25 |
Edouard Tisserant |
SVGHMI: update generated xslt file
svghmi
|
changeset |
files
|
2020-11-25 |
Edouard Tisserant |
SVGHMI: use const when applicable
svghmi
|
changeset |
files
|
2020-11-25 |
Edouard Tisserant |
SVGHMI: prevents text and svg elements selection on the whole page when dragging.
svghmi
|
changeset |
files
|
2020-11-25 |
Edouard Tisserant |
SVGHMI: Update default test to check that Input widget is indeed updated when variable changes.
svghmi
|
changeset |
files
|
2020-11-25 |
Edouard Tisserant |
SVGHMI: Fix: on screen keyboard wasn't showing up when editing local variables through Input widget.
svghmi
|
changeset |
files
|
2020-11-20 |
Edouard Tisserant |
Project tree: avoid flickering and glitches in notebook when selecting some still not opened ConfigTreeNode
svghmi
|
changeset |
files
|
2020-11-18 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
2020-11-18 |
Edouard Tisserant |
py_ext: better handling of coma separated OnChange attribute for python safe global variables.
svghmi
|
changeset |
files
|
2020-11-18 |
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
|
2020-11-02 |
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
|
2020-10-28 |
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
|
2020-10-22 |
Edouard Tisserant |
SVGHMI: Fix HMI_REAL support, and add a HMI_REAL use case in tests/svghmi.
svghmi
|
changeset |
files
|
2020-10-19 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
2020-10-19 |
Edouard Tisserant |
SVGHMI: JsonTable now outputs "visible" value as well.
svghmi
|
changeset |
files
|
2020-10-19 |
Edouard Tisserant |
SVGHMI: non significant cosmetic changes
svghmi
|
changeset |
files
|
2020-10-19 |
usveticic |
- New widget customHtml which allows to insert block of html code
svghmi
|
changeset |
files
|
2020-10-19 |
Edouard Tisserant |
PY_EXT: OnChange is now a coma separated list of callables. Updated tests/python accordingly.
svghmi
|
changeset |
files
|
2020-10-01 |
usveticic |
Button fix if no active or inactive state,
svghmi
|
changeset |
files
|
2020-09-30 |
usveticic |
Merge two different heads
svghmi
|
changeset |
files
|
2020-09-24 |
Edouard Tisserant |
SVGHMI: Documentation fix
svghmi
|
changeset |
files
|
2020-09-24 |
usveticic |
Button and toggle reworked to use animate and dispatch
svghmi
|
changeset |
files
|
2020-09-17 |
Edouard Tisserant |
Merge + fix side effects of making warning instead of errors in case of missing HMI variable
svghmi
|
changeset |
files
|
2020-09-16 |
usveticic |
Updated svg and xml for testing program
svghmi
|
changeset |
files
|
2020-09-16 |
usveticic |
Button, ToggleButton and slider updated. Error to warning when building
svghmi
|
changeset |
files
|
2020-09-15 |
Edouard Tisserant |
Modbus: fixed typo in ctype typing.
svghmi
|
changeset |
files
|
2020-09-11 |
Edouard Tisserant |
MODBUS: Fix saving of websettings.
svghmi
|
changeset |
files
|
2020-09-10 |
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
|
2020-09-03 |
Edouard Tisserant |
SVGHMI: Better error message when inkscape is not installed.
svghmi
|
changeset |
files
|
2020-09-02 |
Edouard Tisserant |
SVGHMI: nicer error message
svghmi
|
changeset |
files
|
2020-09-01 |
Edouard Tisserant |
Merge
svghmi
|
changeset |
files
|
2020-08-31 |
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
|
2020-08-28 |
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
|
2020-08-28 |
Edouard Tisserant |
Merged
svghmi
|
changeset |
files
|
2020-08-28 |
Edouard Tisserant |
SVGHMI: cosmetic fix in test
svghmi
|
changeset |
files
|
2020-08-18 |
usveticic |
All widgets reworked to use widget class and animate function if needed
svghmi
|
changeset |
files
|
2020-08-27 |
Edouard Tisserant |
SVGHMI: Moved JsonTable/Alarm related test in a separate page.
svghmi
|
changeset |
files
|
2020-08-27 |
Edouard Tisserant |
SVGHMI: JsonTable now ignores elements and groups starting with #
svghmi
|
changeset |
files
|
2020-08-27 |
Edouard Tisserant |
SVGHMI: Fix keypad : non-number input was always considered invalid because of missing type checking.
svghmi
|
changeset |
files
|
2020-08-26 |
Edouard Tisserant |
SVGHMI: JsonTable now updates range and position variables so that slider widget can update.
svghmi
|
changeset |
files
|
2020-08-26 |
Edouard Tisserant |
SVGHMI: Fix multiple variable support in widget
svghmi
|
changeset |
files
|
2020-08-26 |
Edouard Tisserant |
SVGHMI: Add TODOs in Button widgets.
svghmi
|
changeset |
files
|
2020-08-26 |
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
|
2020-08-25 |
Edouard Tisserant |
SVGHMI: little fix in HMI:Button
svghmi
|
changeset |
files
|
2020-08-25 |
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
|
2020-08-24 |
Edouard Tisserant |
SVGHMI: removed debug code forgotten here and there.
svghmi
|
changeset |
files
|
2020-08-21 |
Edouard Tisserant |
SVGHMI: JsonTable now makes meaningfull JSON request : all arguments and variables are passed in.
svghmi
|
changeset |
files
|
2020-08-21 |
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
|
2020-08-20 |
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
|
2020-08-20 |
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
|
2020-08-20 |
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
|
2020-08-17 |
Edouard Tisserant |
SVGHMI: Fix svg test file while testing latest JsonTableChanges
svghmi
|
changeset |
files
|
2020-08-15 |
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
|
2020-08-15 |
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
|
2020-08-13 |
Edouard Tisserant |
SVGHMI: factorize dispatch calling logic.
svghmi
|
changeset |
files
|
2020-08-13 |
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
|
2020-08-12 |
Edouard Tisserant |
Merge
svghmi
|
changeset |
files
|
2020-08-12 |
Edouard Tisserant |
SVGHMI: Add more local HMI variable tests in tests/svghmi.
svghmi
|
changeset |
files
|
2020-08-11 |
Edouard Tisserant |
SVGHMI: finished initial implementation of PAGE_LOCAL and HMI_LOCAL variables.
svghmi
|
changeset |
files
|
2020-08-10 |
Edouard Tisserant |
SVGHMI: add a SetPoint to Slider Widget, visible only when operating the slider.
svghmi
|
changeset |
files
|
2020-08-10 |
Edouard Tisserant |
SVGHMI: Update Slider widget so that it doesn't display future value but actual value only.
svghmi
|
changeset |
files
|
2020-08-10 |
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
|
2020-08-10 |
Edouard Tisserant |
Merge
svghmi
|
changeset |
files
|