Fri, 19 Feb 2021 10:03:00 +0100 |
Edouard Tisserant |
SVGHMI: Switch from {object} to Map for "updates" global, for performance but also preventing wierd behaviour when iterating
svghmi
|
file |
diff |
annotate
|
Tue, 16 Feb 2021 11:47:52 +0100 |
Edouard Tisserant |
merge
svghmi
|
file |
diff |
annotate
|
Tue, 16 Feb 2021 11:32:00 +0100 |
Edouard Tisserant |
SVGHMI: Fixed sending HMI_REAL to PLC. Added a svghmi_real test that illustrates using printf style formating in HMI:Display to control precision of Float number display.
svghmi
|
file |
diff |
annotate
|
Tue, 16 Feb 2021 09:38:28 +0100 |
Edouard Tisserant |
SVGHMI: i18n: ensure langs always appea in same order, and add two variables that are updated automatically when selecting a new language : lang_name and lang_code. Also fixed i18n startup, prevent wrong lang numer to crash loading.
svghmi
|
file |
diff |
annotate
|
Sun, 14 Feb 2021 19:15:20 +0100 |
Edouard Tisserant |
SVGHMI: allow i18n of formated strings of HMI:Messages. This was by construction impossible since formating was given as an argument. Now added optional "format" labelled element in HMI:Display, so that it can be translated, when labelled "_format".
svghmi
|
file |
diff |
annotate
|
Sun, 14 Feb 2021 05:15:13 +0100 |
Edouard Tisserant |
SVGHMI: remove forgotten debug code
svghmi
|
file |
diff |
annotate
|
Tue, 09 Feb 2021 07:56:25 +0100 |
Edouard Tisserant |
SVGHMI: removed dead code
svghmi
|
file |
diff |
annotate
|
Tue, 09 Feb 2021 07:55:16 +0100 |
Edouard Tisserant |
SVGHMI: Add "lang" permament persistent HMI_LOCAL variable to reflect selected language, apply stored language choice at startup and make it always subscribed to a pseudo widget (as for hearbeat) that apply language choice when it changes.
svghmi
|
file |
diff |
annotate
|
Tue, 09 Feb 2021 07:46:02 +0100 |
Edouard Tisserant |
SVGHMI: Added HMI:VarInitPersistent to initialize persistent HMI_LOCAL and PAGE_LOCAL variables, stored as cookies in browser.
svghmi
|
file |
diff |
annotate
|
Thu, 04 Feb 2021 21:23:58 +0100 |
Edouard Tisserant |
SVGHMI: generate JS translation literals so that it is possible to also translate uses of texts, and added JS code that apply translations to tspans
svghmi
|
file |
diff |
annotate
|
Thu, 04 Feb 2021 21:20:01 +0100 |
Edouard Tisserant |
SVGHMI: widget activable elements : moved code to wher it belongs, rewrote cleaner
svghmi
|
file |
diff |
annotate
|
Tue, 26 Jan 2021 11:14:22 +0100 |
Edouard Tisserant |
SVGHMI : removed support for changing keyboard position and showing at user defined location. Feature was problematic in many respect.
svghmi
|
file |
diff |
annotate
|
Thu, 24 Dec 2020 17:00:43 +0100 |
Edouard Tisserant |
SVGHMI: decoupled operation string evaluation from HMI variable uptdate in change_hmi_variable(), paving the way for min/max boundaries enforcement
svghmi
|
file |
diff |
annotate
|
Wed, 02 Dec 2020 14:31:57 +0100 |
Edouard Tisserant |
SVGHMI: prevent unwnted context menu and pinch zoom
svghmi
|
file |
diff |
annotate
|
Fri, 27 Nov 2020 18:06:34 +0100 |
Edouard Tisserant |
SVGHMI: WIP trying to reduce memory usage : use .onclick onstead of SetAttribute, avoid useless closure and object creation when possible, etc.
svghmi
|
file |
diff |
annotate
|
Wed, 25 Nov 2020 14:47:23 +0100 |
Edouard Tisserant |
SVGHMI: use const when applicable
svghmi
|
file |
diff |
annotate
|
Wed, 25 Nov 2020 14:43:03 +0100 |
Edouard Tisserant |
SVGHMI: Fix: on screen keyboard wasn't showing up when editing local variables through Input widget.
svghmi
|
file |
diff |
annotate
|
Thu, 22 Oct 2020 22:44:29 +0200 |
Edouard Tisserant |
SVGHMI: Fix HMI_REAL support, and add a HMI_REAL use case in tests/svghmi.
svghmi
|
file |
diff |
annotate
|
Mon, 24 Aug 2020 09:48:35 +0200 |
Edouard Tisserant |
SVGHMI: removed debug code forgotten here and there.
svghmi
|
file |
diff |
annotate
|
Wed, 12 Aug 2020 15:24:02 +0200 |
Edouard Tisserant |
Merge
svghmi
|
file |
diff |
annotate
|
Tue, 11 Aug 2020 14:37:33 +0200 |
Edouard Tisserant |
SVGHMI: finished initial implementation of PAGE_LOCAL and HMI_LOCAL variables.
svghmi
|
file |
diff |
annotate
|
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
|
file |
diff |
annotate
|
Mon, 10 Aug 2020 11:30:06 +0200 |
Edouard Tisserant |
Merge
svghmi
|
file |
diff |
annotate
|
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
|
file |
diff |
annotate
|
Wed, 05 Aug 2020 15:13:59 +0200 |
usveticic |
Changed keyboard to show on defined position.
svghmi
|
file |
diff |
annotate
|
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
|
file |
diff |
annotate
|
Wed, 05 Aug 2020 18:49:29 +0200 |
Edouard Tisserant |
SVGHMI: widgets are not anymore binary relative or absolute, but have a "relativeness".
svghmi
|
file |
diff |
annotate
|
Mon, 03 Aug 2020 16:32:23 +0200 |
Edouard Tisserant |
SVGHMI: prefer apply_hmi_value() to change_hmi_value() when possible
svghmi
|
file |
diff |
annotate
|
Thu, 21 May 2020 11:29:45 +0200 |
Edouard Tisserant |
SVGHMI: stop using eval in change_hmi_value, apparently slowly leaking memory.
svghmi
|
file |
diff |
annotate
|
Wed, 13 May 2020 18:47:09 +0200 |
Edouard Tisserant |
SVGHMI: explicit handling of undefined maximum widget update frequency
svghmi
|
file |
diff |
annotate
|
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
|
file |
diff |
annotate
|
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
|
file |
diff |
annotate
|
Tue, 07 Apr 2020 10:01:23 +0200 |
Edouard Tisserant |
SVGHMI: HMI is not speculating on PLC variable update anymore when sending new variable value.
svghmi
|
file |
diff |
annotate
|
Sat, 04 Apr 2020 22:32:54 +0200 |
Edouard Tisserant |
SVGHMI: finished shift and capslock support n keypad widget. Added a helper in widgets_common to collect subelements likle active/inactive/disabled...
svghmi
|
file |
diff |
annotate
|
Fri, 03 Apr 2020 14:37:41 +0200 |
Edouard Tisserant |
SVGHMI: Keypad working for HMI_STRING, still Shift/CapsLock not finished.
svghmi
|
file |
diff |
annotate
|
Fri, 03 Apr 2020 09:52:57 +0200 |
Edouard Tisserant |
SVGHMI: fix keyboard not showing
svghmi
|
file |
diff |
annotate
|
Thu, 02 Apr 2020 15:18:15 +0200 |
Edouard Tisserant |
SVGHMI: Keypad: added code to re-attach keypad when starting edit.
svghmi
|
file |
diff |
annotate
|
Thu, 02 Apr 2020 14:04:21 +0200 |
Edouard Tisserant |
SVGHMI: removed debug code
svghmi
|
file |
diff |
annotate
|
Thu, 02 Apr 2020 14:03:38 +0200 |
Edouard Tisserant |
SVGHMI: More infrastructure for editing values with a keypad.
svghmi
|
file |
diff |
annotate
|
Mon, 30 Mar 2020 11:06:12 +0200 |
Edouard Tisserant |
SVGHMI: prevent man-made memory leak by limiting back button history items count to 42
svghmi
|
file |
diff |
annotate
|
Fri, 27 Mar 2020 14:25:24 +0100 |
Edouard Tisserant |
SVGHMI: Jump widget can now display as active or inactive, if corresponfing "active" and "inactive labeled elements are provided.
svghmi
|
file |
diff |
annotate
|
Thu, 26 Mar 2020 14:21:52 +0100 |
Edouard Tisserant |
SVGHMI: added Back widget.
svghmi
|
file |
diff |
annotate
|
Wed, 25 Mar 2020 14:09:15 +0100 |
Edouard Tisserant |
SVGHMI: ForEach Widget now has a better wrap-around when scrolling : hit the boundary systematically before wrapping
svghmi
|
file |
diff |
annotate
|
Wed, 25 Mar 2020 13:36:04 +0100 |
Edouard Tisserant |
SVGHMI: Generalize applying cache to widgets, be it from page or ForEach widgets. Now ForEach widget buttons work as expected.
svghmi
|
file |
diff |
annotate
|
Tue, 24 Mar 2020 23:07:54 +0100 |
Edouard Tisserant |
SVGHMI: Widget ForEach buttons now call corresponding methods.
svghmi
|
file |
diff |
annotate
|
Tue, 24 Mar 2020 14:03:19 +0100 |
Edouard Tisserant |
SVGHMI: ForEach now has working (un)subscribe. Fixed PageSwitch that wasn't behaving when jumping to current page with another path.
svghmi
|
file |
diff |
annotate
|
Fri, 20 Mar 2020 10:00:59 +0100 |
Edouard Tisserant |
SVGHMI: make root HMI tree node a HMI_NODE, droped HMI_ROOT node type
svghmi
|
file |
diff |
annotate
|
Thu, 19 Mar 2020 19:23:56 +0100 |
Edouard Tisserant |
SVGHMI: reworked widget (un)subscription now a method of widgect object, allowing special subscription methods
svghmi
|
file |
diff |
annotate
|
Mon, 16 Mar 2020 17:09:23 +0100 |
Edouard Tisserant |
SVGHMI: Re-enable dispatch to arrays of functions in case of multiple suscription per widget. Still unused, but disabled for reasons not any more true.
svghmi
|
file |
diff |
annotate
|
Fri, 13 Mar 2020 21:42:40 +0100 |
Edouard Tisserant |
SVGHMI: relative pages and page jumps
svghmi
|
file |
diff |
annotate
|
Fri, 13 Mar 2020 10:36:13 +0100 |
Edouard Tisserant |
SVGHMI: take care of path given in HMI:Page and HMI:Jump, but do not apply subscription offset for now. Intermediate commit in a "working" state.
svghmi
|
file |
diff |
annotate
|
Thu, 12 Mar 2020 13:15:54 +0100 |
Edouard Tisserant |
SVGHMI: unsignificant changes or changes in generated code
svghmi
|
file |
diff |
annotate
|
Thu, 12 Mar 2020 09:33:20 +0100 |
Edouard Tisserant |
SVGHMI: cosmetic code moving
svghmi
|
file |
diff |
annotate
|
Tue, 10 Mar 2020 13:57:29 +0100 |
Edouard Tisserant |
SVGHMI: split page switch into switching subscription and switching elements in the DOM, to ensure that subscriptions have been send before changing DOM, and avoid some flicker.
svghmi
|
file |
diff |
annotate
|
Fri, 06 Mar 2020 14:42:08 +0100 |
Edouard Tisserant |
SVGHMI: more decoupling in between UI related and the rest of JS code, still in the aim of enhancing robustness under heavy load.
svghmi
|
file |
diff |
annotate
|
Fri, 06 Mar 2020 09:35:08 +0100 |
Edouard Tisserant |
SVGHMI: use requestAnimationFrame to delegate rendering of updates from network. Should help prevent browser collapse leading to watchdog in case of overload.
svghmi
|
file |
diff |
annotate
|
Mon, 02 Mar 2020 16:30:29 +0100 |
Edouard Tisserant |
SVGHMI: detach/re-attach elements required by pages on page switch
svghmi
|
file |
diff |
annotate
|
Thu, 27 Feb 2020 13:14:24 +0100 |
Edouard Tisserant |
SVGHMI : still trying to optimize. Added xslt code to identitfy minimum set of elements needed by a particular page. Plan is to remove unseen/unused elements from the DOM, and re-appending them later when used, on page switch. Disabled previous optimization.
svghmi
|
file |
diff |
annotate
|
Fri, 21 Feb 2020 16:18:53 +0100 |
Edouard Tisserant |
SVGHMI: optimize browser work by hiding (display:none) pages that are not displayed.
svghmi
|
file |
diff |
annotate
|
Thu, 13 Feb 2020 09:43:35 +0100 |
Edouard Tisserant |
SVGHMI : still behave, even if important things are missing in SVG widget definitions (ex: needle missing for Meter widget)
svghmi
|
file |
diff |
annotate
|