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
|