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
|
2020-08-08 |
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
|
2020-08-05 |
usveticic |
Beremiz test project with newly created widgets.
svghmi
|
changeset |
files
|
2020-08-05 |
usveticic |
Rebuilded gen_index_html.xslt after all new widgets were commited
svghmi
|
changeset |
files
|
2020-08-05 |
usveticic |
Create new multistate widget which extand class widget
svghmi
|
changeset |
files
|
2020-08-05 |
usveticic |
Create new CircularSlider widget which extand class widget
svghmi
|
changeset |
files
|
2020-08-05 |
usveticic |
Create new slider widget which extand class widget
svghmi
|
changeset |
files
|
2020-08-05 |
usveticic |
Reworked togglebutton widget to extand class widget
svghmi
|
changeset |
files
|
2020-08-05 |
usveticic |
Changed keyboard to show on defined position.
svghmi
|
changeset |
files
|
2020-08-05 |
usveticic |
Reworked button widget so it uses classes.
svghmi
|
changeset |
files
|
2020-08-06 |
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
|
2020-08-06 |
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
|
2020-08-05 |
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
|
2020-08-05 |
Edouard Tisserant |
SVGHMI: widgets are not anymore binary relative or absolute, but have a "relativeness".
svghmi
|
changeset |
files
|
2020-08-04 |
Edouard Tisserant |
SVGHMI: More JS code refactoring : change_hmi_value and apply_hmi_value now methods of widget class.
svghmi
|
changeset |
files
|
2020-08-03 |
Edouard Tisserant |
SVGHMI: Better JS code semantic in ForEach widget class. Update lagging generated xslt.
svghmi
|
changeset |
files
|
2020-08-03 |
Edouard Tisserant |
SVGHMI: Add ForEach Widget is svghmi test
svghmi
|
changeset |
files
|
2020-08-03 |
Edouard Tisserant |
SVGHMI: add get_idx(index) to widget objects to factorize a bit code repeated accross widgets. To be continued.
svghmi
|
changeset |
files
|
2020-08-03 |
Edouard Tisserant |
SVGHMI: prefer apply_hmi_value() to change_hmi_value() when possible
svghmi
|
changeset |
files
|
2020-08-03 |
Edouard Tisserant |
SVGHMI: Add RelativePages to tests
svghmi
|
changeset |
files
|
2020-08-03 |
Edouard Tisserant |
SVGHMI: Update Widget Display templates to generate Class based declaration.
svghmi
|
changeset |
files
|
2020-07-22 |
Edouard Tisserant |
SVGHMI: JsonTable now picks items from HMI:List, and update texts, all according to Json data. Still miss scrolling.
svghmi
|
changeset |
files
|
2020-07-17 |
Edouard Tisserant |
SVGHMI: JsonTable now generate working data access code for data/* elements.
svghmi
|
changeset |
files
|
2020-07-17 |
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
|
2020-07-14 |
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
|
2020-07-13 |
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
|
2020-07-10 |
Edouard Tisserant |
Python Runtime : stil untested optimization of Python Safe Globals.
svghmi
|
changeset |
files
|
2020-07-03 |
Edouard Tisserant |
Prevent global python_poll blocks to be created when accidentally adding content to C-File OnChange column.
svghmi
|
changeset |
files
|
2020-07-03 |
Edouard Tisserant |
Merge from default
svghmi
|
changeset |
files
|
2020-06-29 |
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
|
2020-06-24 |
Edouard Tisserant |
Modbus: fix client timer invalid arguments.
svghmi
|
changeset |
files
|
2020-06-23 |
Edouard Tisserant |
Modbus add a timer thread, and switch timer to SIGEV_THREAD_ID to follow xenomai posix skin restrictions.
svghmi
|
changeset |
files
|
2020-06-19 |
Edouard Tisserant |
Runtime: Fix typo in PLCObject leading to exception when reporting failure.
svghmi
|
changeset |
files
|
2020-06-18 |
Edouard Tisserant |
merged
svghmi
|
changeset |
files
|
2020-06-18 |
Edouard Tisserant |
SVGHMI: Fix bug introduced when merging default
svghmi
|
changeset |
files
|
2020-06-18 |
Edouard Tisserant |
SVGHMI: Add use of Python PLC Globals it test
svghmi
|
changeset |
files
|
2020-06-18 |
Edouard Tisserant |
Merge default changes in SVGHMI
svghmi
|
changeset |
files
|
2020-06-18 |
Edouard Tisserant |
Merge default changes in SVGHMI
svghmi
|
changeset |
files
|
2020-06-04 |
Edouard Tisserant |
SVGHMI: add "unsubscribable" property to widgets in order to generalize what already happens for jump buttons.
svghmi
|
changeset |
files
|
2020-06-03 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
2020-05-29 |
dgaberscek |
Merge
svghmi
|
changeset |
files
|
2020-05-26 |
dgaberscek |
SVGHMI: Added widget toggleButton.
svghmi
|
changeset |
files
|
2020-05-26 |
dgaberscek |
SVGHMI: Changed widget button handler to element attribute.
svghmi
|
changeset |
files
|
2020-06-02 |
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
|
2020-06-02 |
Edouard Tisserant |
IDE: Main toolbar : Show repair button also in stop mode. Move repair button after disconnect button.
svghmi
|
changeset |
files
|
2020-06-01 |
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
|
2020-05-28 |
Edouard Tisserant |
PLCObject : reorganize code in StartPLC(), add a PreStartPLC() empty method, to be overloaded by runtime extensions.
svghmi
|
changeset |
files
|
2020-05-26 |
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
|
2020-05-21 |
Edouard Tisserant |
SVGHMI: stop using eval in change_hmi_value, apparently slowly leaking memory.
svghmi
|
changeset |
files
|
2020-05-14 |
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
|
2020-05-14 |
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
|
2020-05-14 |
Edouard Tisserant |
SVGHMI: Applies clone unlinking to widget themselves, not only to clones inside widgets.
svghmi
|
changeset |
files
|
2020-05-14 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
2020-05-13 |
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
|
2020-05-13 |
Edouard Tisserant |
Added FatalError call to Libraries code gen, so that they can emit messages addressed like config tree nodes do.
svghmi
|
changeset |
files
|
2020-05-13 |
Edouard Tisserant |
SVGHMI: more Widget properties declared ES6 style.
svghmi
|
changeset |
files
|
2020-05-13 |
Edouard Tisserant |
SVGHMI: Switch widget now use class declaration
svghmi
|
changeset |
files
|
2020-05-13 |
Edouard Tisserant |
SVGHMI: Update Button widget to class declaration, and add a button widget in tests/svghmi.
svghmi
|
changeset |
files
|
2020-05-13 |
Edouard Tisserant |
SVGHMI: explicit handling of undefined maximum widget update frequency
svghmi
|
changeset |
files
|
2020-05-13 |
Edouard Tisserant |
SVGHMI: removed dead code
svghmi
|
changeset |
files
|
2020-05-13 |
Edouard Tisserant |
SVGHMI: Back button updated to class style
svghmi
|
changeset |
files
|
2020-05-11 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
2020-05-11 |
Edouard Tisserant |
DEBUG: (IDE side) fixed wrong implementation of anti-rapid-fire leading to systematic delay in subscribing
svghmi
|
changeset |
files
|
2020-05-10 |
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
|
2020-05-10 |
Edouard Tisserant |
SVGHMI: clean up dead code, update generated xslt.
svghmi
|
changeset |
files
|
2020-05-10 |
Edouard Tisserant |
SVGHMI: apply per class overloading of sub/unsub to Jump widget
svghmi
|
changeset |
files
|
2020-05-10 |
Edouard Tisserant |
SVGHMI: apply per class overloading of sub/unsub to ForEach widget
svghmi
|
changeset |
files
|
2020-05-10 |
Edouard Tisserant |
SVGHMI: Widget's specific sub/unsub traits are now wxpressed in widget's class.
svghmi
|
changeset |
files
|
2020-05-10 |
Edouard Tisserant |
SVGHMI: Parameters common to all widget constructors now passed as ordered parameters.
svghmi
|
changeset |
files
|
2020-05-08 |
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
|
2020-05-08 |
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
|
2020-05-08 |
Edouard Tisserant |
SVGHMI: Systematically output local name as /* comment */ when emiting content.
svghmi
|
changeset |
files
|
2020-04-24 |
Edouard Tisserant |
Merge
svghmi
|
changeset |
files
|
2020-04-24 |
Edouard Tisserant |
SVGHMI: Fix flawed logic to place nodes in the HMI tree, leading to wrecked tree in some cases.
svghmi
|
changeset |
files
|
2020-04-22 |
dgaberscek |
Added button and circular bar widgets.
svghmi
|
changeset |
files
|
2020-04-20 |
Edouard Tisserant |
SVGHMI: added more meaningful namespaces to emit javascript code from.
svghmi
|
changeset |
files
|
2020-04-19 |
Edouard Tisserant |
SVGHMI: moved JS code of foreach and jump widget in corresponding widget_*.ysl2. To be continued.
svghmi
|
changeset |
files
|
2020-04-19 |
Edouard Tisserant |
SVGHMI: spread JS code from svghmi/scripts.ysl2 in other .ysl2 files, using dedicated preamble and epilogue namespaces
svghmi
|
changeset |
files
|
2020-04-19 |
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
|
2020-04-18 |
Edouard Tisserant |
SVGHMI: Move reflective debug tags from "reflect" to "debug" namespace, preparing for per-purpose namespaces.
svghmi
|
changeset |
files
|
2020-04-18 |
Edouard Tisserant |
SVGHMI: Added scripts.ysl2
svghmi
|
changeset |
files
|
2020-04-18 |
Edouard Tisserant |
SVGHMI: moving code wher it belongs, and reformulate some declarations for better readability.
svghmi
|
changeset |
files
|
2020-04-16 |
Edouard Tisserant |
SVGHMI: HMI:DropDown: more documentation.
svghmi
|
changeset |
files
|
2020-04-15 |
Edouard Tisserant |
SVGHMI: Comments in HMI:DropDown source code
svghmi
|
changeset |
files
|
2020-04-14 |
Edouard Tisserant |
SVGHMI: HMI:DropDown menu aligns to selected when opening
svghmi
|
changeset |
files
|
2020-04-14 |
Edouard Tisserant |
SVGHMI: When clicking outside of opened HMI:DropDown box, close it.
svghmi
|
changeset |
files
|
2020-04-14 |
Edouard Tisserant |
SVGHMI: Fix HMI:DropDown flicker on close.
svghmi
|
changeset |
files
|
2020-04-14 |
Edouard Tisserant |
SVGHMI: HMI:DropDown now temporarily takes content from widget's arguments, until HMI:List is implemented.
svghmi
|
changeset |
files
|
2020-04-14 |
Edouard Tisserant |
SVGHMI: Connect HMI:DropDown to value in HMI Tree, in svghmi test as well.
svghmi
|
changeset |
files
|
2020-04-14 |
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
|
2020-04-14 |
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
|
2020-04-14 |
Edouard Tisserant |
SVGHMI: HMI:DropDown now catches all clicks when open
svghmi
|
changeset |
files
|
2020-04-14 |
Edouard Tisserant |
SVGHMI: Add button element to HMI:DropDown, also fix problem with computed box margins.
svghmi
|
changeset |
files
|
2020-04-14 |
Edouard Tisserant |
SVGHMI: HMI:DropDown now scrolls forward and backward
svghmi
|
changeset |
files
|
2020-04-13 |
Edouard Tisserant |
SVGHMI: progress on HMI:DropDown - now selects some value on click, and close
svghmi
|
changeset |
files
|
2020-04-12 |
Edouard Tisserant |
SVGHMI: HMI:DropDown work in progress, intermediate commit. Now menu's rectangle grows up to viewport borders.
svghmi
|
changeset |
files
|
2020-04-09 |
Edouard Tisserant |
SVGHMI: intermediate commit while working on dropdown widget.
svghmi
|
changeset |
files
|
2020-04-07 |
Edouard Tisserant |
SVGHMI: HMI is not speculating on PLC variable update anymore when sending new variable value.
svghmi
|
changeset |
files
|
2020-04-04 |
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
|
2020-04-04 |
Edouard Tisserant |
SVGHMI: fixed keypad JS regarding shift/capslock and other details
svghmi
|
changeset |
files
|
2020-04-04 |
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
|
2020-04-03 |
Edouard Tisserant |
SVGHMI: Keypad working for HMI_STRING, still Shift/CapsLock not finished.
svghmi
|
changeset |
files
|
2020-04-03 |
Edouard Tisserant |
SVGHMI: fix keyboard not showing
svghmi
|
changeset |
files
|
2020-04-03 |
Edouard Tisserant |
SVGHMI: Added keypads to svghmi test's SVG file
svghmi
|
changeset |
files
|
2020-04-03 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
2020-04-02 |
Edouard Tisserant |
SVGHMI: Keypad: added code to re-attach keypad when starting edit.
svghmi
|
changeset |
files
|
2020-04-02 |
Edouard Tisserant |
SVGHMI: removed debug code
svghmi
|
changeset |
files
|
2020-04-02 |
Edouard Tisserant |
SVGHMI: More infrastructure for editing values with a keypad.
svghmi
|
changeset |
files
|
2020-04-02 |
Edouard Tisserant |
SVGHMI: Widget input buttons should be clickable through svg:use (onclick attribute instead of addEventListener)
svghmi
|
changeset |
files
|
2020-04-01 |
Edouard Tisserant |
SVGHMI: moved dead code to where it belongs
svghmi
|
changeset |
files
|
2020-04-01 |
Edouard Tisserant |
SVGHMI: empty widget_keypad.ysl2, WIP
svghmi
|
changeset |
files
|
2020-03-31 |
Edouard Tisserant |
SVGHMI: HMI:Switch now accepts boolean values 'true' and 'false'
svghmi
|
changeset |
files
|
2020-03-30 |
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
|
2020-03-30 |
Edouard Tisserant |
SVGHMI: prevent man-made memory leak by limiting back button history items count to 42
svghmi
|
changeset |
files
|
2020-03-29 |
Edouard Tisserant |
SVGHMI: collect debug data through xslt reflectivity instead of yml2/python trick
svghmi
|
changeset |
files
|
2020-03-27 |
Edouard Tisserant |
SVGHMI: Jump widget can now display as active or inactive, if corresponfing "active" and "inactive labeled elements are provided.
svghmi
|
changeset |
files
|
2020-03-26 |
Edouard Tisserant |
SVGHMI: added Back widget.
svghmi
|
changeset |
files
|
2020-03-26 |
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
|
2020-03-26 |
Edouard Tisserant |
SVGHMI: Check that explicit relative page jump path is consistant with destination page reference path.
svghmi
|
changeset |
files
|
2020-03-25 |
Edouard Tisserant |
SVGHMI: ForEach Widget now has a better wrap-around when scrolling : hit the boundary systematically before wrapping
svghmi
|
changeset |
files
|
2020-03-25 |
Edouard Tisserant |
SVGHMI: Alow relative relative Jump. (i.e, relative jump from a foreach widget)
svghmi
|
changeset |
files
|
2020-03-25 |
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
|
2020-03-24 |
Edouard Tisserant |
SVGHMI: Widget ForEach buttons now call corresponding methods.
svghmi
|
changeset |
files
|
2020-03-24 |
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
|
2020-03-23 |
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
|
2020-03-23 |
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
|
2020-03-23 |
Edouard Tisserant |
SVGHMI: ForEach knows its own widgets
svghmi
|
changeset |
files
|
2020-03-20 |
Edouard Tisserant |
SVGHMI: add widget_foreach.ysl2
svghmi
|
changeset |
files
|
2020-03-20 |
Edouard Tisserant |
SVGHMI: make root HMI tree node a HMI_NODE, droped HMI_ROOT node type
svghmi
|
changeset |
files
|
2020-03-19 |
Edouard Tisserant |
SVGHMI: reworked widget (un)subscription now a method of widgect object, allowing special subscription methods
svghmi
|
changeset |
files
|
2020-03-19 |
Edouard Tisserant |
SVGHMI: Exclude (again) sub-widgets of forEach widget from page-switch managed widget.
svghmi
|
changeset |
files
|
2020-03-19 |
Edouard Tisserant |
SVGHMI: cosmetic changes
svghmi
|
changeset |
files
|
2020-03-19 |
Edouard Tisserant |
SVGHMI: Simplification and optimization. func:parselabel becomes a template.
svghmi
|
changeset |
files
|
2020-03-18 |
Edouard Tisserant |
SVGHMI: intermediate untested state. Excluded ForEach widget from pages handled widgets.
svghmi
|
changeset |
files
|
2020-03-18 |
Edouard Tisserant |
SVGHMI: update Makefile to pick all changes to any dependency
svghmi
|
changeset |
files
|
2020-03-18 |
Edouard Tisserant |
SVGHMI: created widget_*.ysl2. Renamed widget_common in widgets_common, so that it doesn't match globing.
svghmi
|
changeset |
files
|
2020-03-17 |
Edouard Tisserant |
SVGHMI: moving comments
svghmi
|
changeset |
files
|
2020-03-17 |
Edouard Tisserant |
SVGHMI: added widget_common.ysl2
svghmi
|
changeset |
files
|
2020-03-17 |
Edouard Tisserant |
SVGHMI: More readable debug output gen code
svghmi
|
changeset |
files
|
2020-03-17 |
Edouard Tisserant |
SVGHMI: Cosmetic changes
svghmi
|
changeset |
files
|
2020-03-17 |
Edouard Tisserant |
SVGHMI: added inline_svg.ysl2
svghmi
|
changeset |
files
|
2020-03-17 |
Edouard Tisserant |
SVGHMI: detachable_elements.ysl2 becomes detachable_pages.ysl2, and includes logic to process pages elements. Other minor code moves.
svghmi
|
changeset |
files
|
2020-03-17 |
Edouard Tisserant |
SVGHMI: moved debug code
svghmi
|
changeset |
files
|
2020-03-17 |
Edouard Tisserant |
SVGHMI: created detachable_elements.ysl2
svghmi
|
changeset |
files
|
2020-03-17 |
Edouard Tisserant |
SVGHMI: more debug code moved to hmi_tree.ysl2
svghmi
|
changeset |
files
|
2020-03-17 |
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
|
2020-03-16 |
Edouard Tisserant |
SVGHMI: created bbox_intersect.ysl2
svghmi
|
changeset |
files
|
2020-03-16 |
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
|
2020-03-13 |
Edouard Tisserant |
SVGHMI: relative pages and page jumps
svghmi
|
changeset |
files
|
2020-03-13 |
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
|
2020-03-12 |
Edouard Tisserant |
SVGHMI: significant whitespace changes
svghmi
|
changeset |
files
|
2020-03-12 |
Edouard Tisserant |
SVGHMI: unsignificant changes or changes in generated code
svghmi
|
changeset |
files
|
2020-03-12 |
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
|
2020-03-12 |
Edouard Tisserant |
SVGHMI: cosmetic code moving
svghmi
|
changeset |
files
|
2020-03-10 |
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
|
2020-03-09 |
Edouard Tisserant |
SVGHMI: fix wrong updates of HMI variables on each change, especially when not subscribed.
svghmi
|
changeset |
files
|
2020-03-09 |
Edouard Tisserant |
SVGHMI: whitespaces
svghmi
|
changeset |
files
|
2020-03-06 |
Edouard Tisserant |
SVGHMI: fixed repeated error when Input widget is missing 'value' element
svghmi
|
changeset |
files
|
2020-03-06 |
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
|
2020-03-06 |
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
|
2020-03-05 |
Edouard Tisserant |
SVGHMI: Fix disapearing elements in case of nested detachable elements.
svghmi
|
changeset |
files
|
2020-03-05 |
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
|
2020-03-04 |
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
|
2020-03-04 |
Edouard Tisserant |
SVGHMI: more whitespace fixes
svghmi
|
changeset |
files
|
2020-03-04 |
Edouard Tisserant |
SVGHMI: unlink clones (i.e. deep copy elements refered by svg:use) inside widget.
svghmi
|
changeset |
files
|
2020-03-04 |
Edouard Tisserant |
SVGHMI: whitespaces and comments
svghmi
|
changeset |
files
|
2020-03-03 |
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
|
2020-03-03 |
Edouard Tisserant |
SVGHMI: re-indent generated JS
svghmi
|
changeset |
files
|
2020-03-02 |
Edouard Tisserant |
SVGHMI: detach/re-attach elements required by pages on page switch
svghmi
|
changeset |
files
|