Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 04 Nov 2022 22:14:14 +0100] rev 3660
IDE: Fix DropTarget() methods that must return a bool with wxPython4.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 04 Nov 2022 22:11:55 +0100] rev 3659
IDE: Fix visibility of text in Debug panel when using dark theme.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 04 Nov 2022 22:09:42 +0100] rev 3658
IDE: Fix use of deprecated wx.NamedColour
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 04 Nov 2022 17:38:37 +0100] rev 3657
Merged changes from default in wxPython4 branch
Edouard Tisserant [Fri, 04 Nov 2022 10:56:18 +0100] rev 3656
SVGHMI: update generated XSLT
Edouard Tisserant [Fri, 04 Nov 2022 10:55:30 +0100] rev 3655
SVGHMI: use messy test/projects/svghmi to give a try to ScreenSaver feature.
Edouard Tisserant [Fri, 04 Nov 2022 10:52:59 +0100] rev 3654
SVGHMI: cosmetic fix in Back widget
Edouard Tisserant [Fri, 04 Nov 2022 10:51:45 +0100] rev 3653
SVGHMI: add ScreenSaver feature. Automatically jumps to a page named "ScreenSaver" after timeout defined in page arguments.
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 03 Nov 2022 17:43:30 +0100] rev 3652
Backed out changeset c6068b674b30
Edouard Tisserant [Fri, 28 Oct 2022 10:42:35 +0200] rev 3651
SVGHMI: update generated XSLT
Edouard Tisserant [Fri, 28 Oct 2022 09:44:33 +0200] rev 3650
SVGHMI: enable periodical reconnect when browser is QtWebengine, working around memory leak with websocket on Qt's embedded Chromium.
Edouard Tisserant [Thu, 27 Oct 2022 10:52:24 +0200] rev 3649
IDE: Added filtering in POU instance variables panel.
Edouard Tisserant [Fri, 21 Oct 2022 10:39:43 +0200] rev 3648
SVGHMI: add automatic reconnection of websocket with 1s reconnection delay after first attempt.
Edouard Tisserant [Tue, 18 Oct 2022 11:09:40 +0200] rev 3647
SVGHMI: prevent browser and watchdog commands to become zombie once finished.
Edouard Tisserant [Wed, 12 Oct 2022 11:59:47 +0200] rev 3646
SVGHMI: svghmi_references exemple: add missing PLC part to demonstrate assigning PLC/HMI variables when validating a modal dialog.
Edouard Tisserant [Wed, 12 Oct 2022 11:56:04 +0200] rev 3645
SVGHMI: cosmetic fixes
Edouard Tisserant [Wed, 12 Oct 2022 11:09:33 +0200] rev 3644
runtime: remove forgotten printf at starup when retain memory is restored.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 25 Oct 2022 18:51:45 +0200] rev 3643
OPC-UA client: add ApplicationUri parameter in case it differs from server's URI
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 21 Oct 2022 18:33:06 +0200] rev 3642
Runtime: fix PLC not terminating when being Repaired (i.e purged).
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 21 Oct 2022 17:52:45 +0200] rev 3641
IDE: fix exception when re-opening previously closed tab
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 21 Oct 2022 16:29:07 +0200] rev 3640
IDE: fix SFC Action editor's text not visible on GTK3's dark themes.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 21 Oct 2022 16:26:35 +0200] rev 3639
IDE: fix action block editor's GridCellEditor. Consequence of wxPython4 bump.
etisserant <edouard.tisserant@gmail.com> [Thu, 20 Oct 2022 18:15:31 +0200] rev 3638
Update README.md
removed undue blank lines
etisserant <edouard.tisserant@gmail.com> [Thu, 20 Oct 2022 18:10:27 +0200] rev 3637
Update README.md
use back quote instead of simple quote for quoted strings.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 19 Oct 2022 22:04:39 +0200] rev 3636
IDE: fix exception when removing a file in Project Files manager.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 19 Oct 2022 20:53:01 +0200] rev 3635
Update README.md
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 11 Oct 2022 15:07:14 +0200] rev 3634
Tests: fix OPC-UA test when run from repo.
project_files directory isn't commited because empty,
test fails if project_files is missing.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 11 Oct 2022 15:02:07 +0200] rev 3633
OPC-UA: better logging in case of failure at init
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 11 Oct 2022 13:49:01 +0200] rev 3632
Tests: version bump open62541 v1.3.2 -> v1.3.3 for github CI workflow.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 11 Oct 2022 13:06:48 +0200] rev 3631
Tests: add opc-ua encrypted test
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 06 Oct 2022 10:02:46 +0200] rev 3630
Merged changes from default
Edouard Tisserant [Wed, 05 Oct 2022 09:06:18 +0200] rev 3629
SVGHMI: update generated XSLT
Edouard Tisserant [Tue, 04 Oct 2022 11:06:04 +0200] rev 3628
SVGHMI: Update svghmi_references example to demonstrate use of Assign widget.
Edouard Tisserant [Tue, 04 Oct 2022 11:04:33 +0200] rev 3627
SVGHMI: Add Assign widget, doing multiple assignments on click.
Edouard Tisserant [Thu, 29 Sep 2022 11:08:05 +0200] rev 3626
SVGHMI: add visible feedback to Jump widget when clicked/touched
Edouard Tisserant [Wed, 28 Sep 2022 09:19:07 +0200] rev 3625
SVGHMI: add support for "reference" and "frame" rectangles to spread-out ovelapping elements.
When HMI become complicated, designer needs to spread-out ovelapping elements
in order to unclutter drawing and facilitate maintenance.
Edouard Tisserant [Thu, 22 Sep 2022 09:42:38 +0200] rev 3624
SVGHMI: remove intermediate "updates" Map and apply_updates()
It was used initially to decouple DOM updates from reception of data through
websocket, but now since all widget SHOULD use animate() to modify DOM, and
dispatch() only change internal state, apply_update is unnecessary.
Edouard Tisserant [Wed, 21 Sep 2022 11:51:05 +0200] rev 3623
SVGHMI: cosmetic fix in js
Edouard Tisserant [Wed, 21 Sep 2022 11:41:28 +0200] rev 3622
SVGHMI: do not discard out-of-page elements inside widgets that are ovelapping pages.
Edouard Tisserant [Fri, 16 Sep 2022 09:03:59 +0200] rev 3621
SVGHMI: update generated XSLT
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 05 Oct 2022 20:44:01 +0200] rev 3620
OPCUA: cosmetic fixes
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 05 Oct 2022 20:25:58 +0200] rev 3619
CLI: poll runtime log and output new entries to stdout.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 05 Oct 2022 20:15:28 +0200] rev 3618
CLI: when using --keep, do not disconnect before being interrupted
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 05 Oct 2022 16:10:17 +0200] rev 3617
Runtime: work around 1s delay added when using twisted reactor's callLater.
Since wxPython4, using wxReactor from non-main thread was producing
exceptions in wxWidget's C++ code. Then reactor.run() was called from
main thread, and runtime's worker was delegating calls to reactor
with callLater(0, callable).
While this worked perfectly with wxReactor, it did introduce an unexplained
1 second delay to each worker call when using nomal linux reactors
(i.e. without wxPython). As a workaround reactor runs in a thread when using
twisted without wxPython
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 14 Sep 2022 15:24:33 +0200] rev 3616
tests: opcua_client test project is not meant to be encrypted.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 14 Sep 2022 15:02:43 +0200] rev 3615
SVGHMI: update generated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 14 Sep 2022 14:59:18 +0200] rev 3614
Merged changes from default
Edouard Tisserant [Wed, 14 Sep 2022 12:41:44 +0200] rev 3613
SVGHMI: ensures that PLC sends only fresh data to HMI, even right after variable being subscribed.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 14 Sep 2022 14:56:25 +0200] rev 3612
OPC-UA: add logging to help user to understang what went wrong when connecting.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 14 Sep 2022 14:55:13 +0200] rev 3611
OPC-UA: fix LDFLAG, missing OpenSSL's -lcrypto
open62541 is linked staticaly, therefore shared object dependencies have to be given explicitely.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 13 Sep 2022 17:52:29 +0200] rev 3610
tests: missing SSL support in open62541 build parameters
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 13 Sep 2022 16:53:15 +0200] rev 3609
Merge changes from default branch
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 13 Sep 2022 16:51:54 +0200] rev 3608
merge
etisserant <edouard.tisserant@gmail.com> [Tue, 13 Sep 2022 16:32:39 +0200] rev 3607
Merge pull request #5 from vitw/wxPython4
update installation instructions
v.petrov <v.petrov@k-soft-spb.ru> [Thu, 01 Sep 2022 11:58:29 +0500] rev 3606
docs: add additional dependencies to installation instructions
v.petrov <v.petrov@k-soft-spb.ru> [Wed, 31 Aug 2022 12:04:51 +0500] rev 3605
update installation instructions
Edouard Tisserant [Tue, 13 Sep 2022 16:31:52 +0200] rev 3604
SVGHMI: fix svghmi_jumps example's SVG file (viewport was misplaced)
Edouard Tisserant [Tue, 13 Sep 2022 16:29:21 +0200] rev 3603
SVGHMI: rework the way cached values are applied to widgets when fresh data is missing.
Edouard Tisserant [Mon, 12 Sep 2022 11:56:52 +0200] rev 3602
SVGHMI: re-arrange Animate and data Dispath code paths.
Edouard Tisserant [Fri, 09 Sep 2022 10:34:23 +0200] rev 3601
SVGHMI: add an exemple that demonstrate use of Jump widget in different use cases.
Edouard Tisserant [Fri, 09 Sep 2022 10:06:02 +0200] rev 3600
SVGHMI: refactor an factorize widget dispatch() method calling
Edouard Tisserant [Fri, 09 Sep 2022 09:45:27 +0200] rev 3599
SVGHMI: fix ToggleButton not always reflecting current state
Edouard Tisserant [Fri, 09 Sep 2022 09:44:03 +0200] rev 3598
IDE: fix exception transfering or reconnecting after tracing variables
Edouard Tisserant [Fri, 02 Sep 2022 12:02:43 +0200] rev 3597
SVGHMI: Add predefined assignments to jump widget to notify PLC or other widgets about jump.
Edouard Tisserant [Fri, 02 Sep 2022 10:46:05 +0200] rev 3596
SVGHMI: continue rework of Jump widget to cope with Enable Expressions.
Questioning widget's activity and disability all together.
Now active/inactive/disable masquarade is all managed in widgets_common.
Propagated changes to widget already using activity (buttons)
Edouard Tisserant [Wed, 31 Aug 2022 12:16:09 +0200] rev 3595
SVGHMI: rework Jump widget to cope with Enable Expressions.
Relative jumps are not disabled implicitely anymore when pointed HMI_NODE is 0.
Also, "activable()" implementation was enhanced to make it optional.
Edouard Tisserant [Tue, 23 Aug 2022 12:19:44 +0200] rev 3594
SVGHMI: add support for "enable expressions" with arbitrary variable name assignment.
HMI tree paths can be prefixed with a variable name "@name=/MY/HMI/VAR"
Widget declarations can end with a "#" followed by a JS expression that refers to name given to variables.
Widget is disabled if expression's result is false.
Commit includes some more-or-less related generated code refactoring, that should simplify extending widget's variables attributes.
Edouard Tisserant [Fri, 19 Aug 2022 10:22:16 +0200] rev 3593
SVGHMI: preliminary implementation of a general enable bit for all widgets, using "#" at the end of widget declaration, and a "disabled" element that becomes visible instead of widget when disabled.
Edouard Tisserant [Fri, 12 Aug 2022 09:34:24 +0200] rev 3592
SVGHMI: rename veriables in parse_labels.ysl2 for better readability
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 13 Sep 2022 16:22:09 +0200] rev 3591
OPC-US client: add support for x509 and user+password authentication.
Commit for backup not including tests since encrypted OPC-UA test are still not valid.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 13 Sep 2022 10:11:25 +0200] rev 3590
IDE: fix wxPython 3->4 API change leading to exception in type selection menu in CodeFileEditor
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 06 Sep 2022 21:06:36 +0200] rev 3589
OPC-UA, IDE: add CTN parameters to support OPC-UA encryption and authentication.
xmlclass had to be enhanced to support elements with no content in xsd:choice
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 23 Aug 2022 08:39:08 +0200] rev 3588
IDE: Fix tooltip not being shown anymore on any toolbars since switch to wxPython4.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 21 Aug 2022 17:44:03 +0200] rev 3587
Cleanup and update version.py
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 17 Aug 2022 15:55:56 +0200] rev 3586
IDE: Fixed About dialog exception on Windows, and typo in about dialog's content.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 16 Aug 2022 23:42:42 +0200] rev 3585
runtime: fix bugs introduced in previous commit, and refactor some code
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 16 Aug 2022 19:52:49 +0200] rev 3584
Runtime: wx.app.mainLoop and twisted reactor now share main thread with runtime.Worker.
This fixes exception when invoking python interactive shell from Runtime's tray
icon right-click menu.
Probably a consequence of wxPython upgrade, together with initial bad idea to
move wx.app.mainloop in non-main thread.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 13 Aug 2022 16:12:39 +0200] rev 3583
Remove useless assignment
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 12 Aug 2022 16:52:15 +0200] rev 3582
SVGHMI: update generated XSLT
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 12 Aug 2022 13:35:59 +0200] rev 3581
tests: fix load_and_build_tests.pytest
Leftover import from previously commented-out tests. Commented out as well.
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 11 Aug 2022 17:39:12 +0200] rev 3580
Merge changes from default in wxPython4
Edouard Tisserant [Thu, 11 Aug 2022 12:11:35 +0200] rev 3579
SVGHMI: add support for multiline widget declaration using svg:desc.
Declaration started in inkscape:label and interupted by a '\' can be continued in the description field.
After an empty line, the rest of the description field is left for description text.
Edouard Tisserant [Tue, 02 Aug 2022 11:53:37 +0200] rev 3578
Runtime: Fix PLC python thread crash in case of exception in PostStart customization hook.
Edouard Tisserant [Tue, 02 Aug 2022 11:50:54 +0200] rev 3577
IDE+Runtime: fix exception when reconnecting with non-empty trace/force list.
Sometimes, remote call to SetTraceVariableList returned None just after reconnecting:
- changed caller to accept None (in case of connection problem)
- changer SetTraceVariable list to return 4 (DEBUG_SUSPENDED) if debug is suspended
Edouard Tisserant [Fri, 22 Jul 2022 12:14:52 +0200] rev 3576
Runtime: Retain: fix missuse of static classifier leading to ever increasing offset.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 10 Aug 2022 16:44:58 +0200] rev 3575
IDE: one more consequence of wxPython's 3 to 4 version bump
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 09 Aug 2022 09:33:26 +0200] rev 3574
IDE+runtime: Fix .ico generation
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 08 Aug 2022 18:09:26 +0200] rev 3573
IDE, SVGHMI: Workaround Snap package not launching Inskape, POEdit or Chromium directly, producing lot of output in Incskape CLI, and messing with TMPDIR
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 08 Aug 2022 18:07:23 +0200] rev 3572
IDE: wxPython4 consequences : wx.OPEN -> wx.FD_OPEN
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 31 Jul 2022 12:27:47 +0200] rev 3571
toolchain: GCC: use CFLAGS, LDFLAGS and SYSROOT given in environment
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 30 Jul 2022 01:31:17 +0200] rev 3570
IDE: fix About dialog not showing (wxPython4 sequel), update copyright section.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 30 Jul 2022 10:11:59 +0200] rev 3569
IDE: fix image generation from svg script that was deleting to many files on cleanup
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 30 Jul 2022 10:08:51 +0200] rev 3568
IDE: images: regenerate png according to latest changes in SVG
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 30 Jul 2022 00:05:51 +0200] rev 3567
IDE: images/icons.svg: Update logo, icon, build, clean, transfer, connect and disconnect.
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 28 Jul 2022 13:24:49 +0200] rev 3566
LocalRuntime: Allow overriding local runtime python binary path using BEREMIZPYTHONPATH environment variable.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 27 Jul 2022 21:34:23 +0200] rev 3565
tests: debug_project IDE test: give up with unreliable OCR for "Force value" menu entry.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 27 Jul 2022 10:44:54 +0200] rev 3564
IDE: fix primary buffer selection being reset on each write to console on X11.
This problem was making debug_project IDE test randomly failing
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 25 Jul 2022 11:55:43 +0200] rev 3563
test: IDE: Fix non repeatable select-all-delete in debug_project.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 25 Jul 2022 11:51:41 +0200] rev 3562
tests: Change OCR options to be more reliable on small fonts.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 18 Jul 2022 00:38:14 +0200] rev 3561
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 17 Jul 2022 23:30:02 +0200] rev 3560
GitHub CI: my bad. m( Was just wrong version
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 17 Jul 2022 23:23:30 +0200] rev 3559
GitHub CI: actions/checkout@v3 submodules=recursive fails.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 17 Jul 2022 22:53:35 +0200] rev 3558
Merge from default branch + fix traffic light example SVG missing background + update generated XSLT
Edouard Tisserant [Thu, 14 Jul 2022 11:40:27 +0200] rev 3557
SVGHMI: update generated xslt file
Edouard Tisserant [Thu, 14 Jul 2022 11:39:19 +0200] rev 3556
SVGHMI: Warn at build time when SVG refers to non-existing widget types.
Edouard Tisserant [Thu, 14 Jul 2022 11:35:22 +0200] rev 3555
SVGHMI: add support for user JS script added in inkscape's document properties / scripting / embedded scripts.
Edouard Tisserant [Wed, 13 Jul 2022 14:40:42 +0200] rev 3554
SVGHMI: update generated XSLT file
Edouard Tisserant [Tue, 12 Jul 2022 12:12:52 +0200] rev 3553
SVGHMI: re-organize animate() to ensure that page fade-out is always visible, also make fade-out curve more aggressive to enhance visual feedback.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 17 Jul 2022 22:46:26 +0200] rev 3552
tests: recommanded build options for open62541 leads to infinite linking time when building PLC
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 17 Jul 2022 22:42:56 +0200] rev 3551
tests: one more stability related fix for debug_project IDE test
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 17 Jul 2022 22:35:45 +0200] rev 3550
tests: fix tests being systematically re-executed
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 17 Jul 2022 18:17:43 +0200] rev 3549
CLI: fix fake_wx for OPC-UA in CLI, match with test and requirements
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 17 Jul 2022 18:07:46 +0200] rev 3548
CLI: Explicitely wait for user interrupt (-k) and flush stdout each line.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 17 Jul 2022 17:49:34 +0200] rev 3547
tests: IDE: fix again debug_project, making it hopefully more stable
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 17 Jul 2022 17:47:11 +0200] rev 3546
wxPython4 sequels: fix Wx exceptions ignored because no traceback
Some exception triggered on wxPython side have None as traceback,
and exception hanlder was discarding them.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 15 Jul 2022 14:50:07 +0200] rev 3545
tests: IDE: prevent edit_project to save modifed example so that it doesn't influence following tests
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 15 Jul 2022 14:48:29 +0200] rev 3544
tests: IDE: force reporting screenshot even after failing command
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 15 Jul 2022 14:47:23 +0200] rev 3543
tests: CLI: add simple test running python example
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 15 Jul 2022 14:46:27 +0200] rev 3542
tests: docker: add dependencies for CLI testing
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 15 Jul 2022 14:42:08 +0200] rev 3541
tests: add support for CLI tests
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 15 Jul 2022 14:40:55 +0200] rev 3540
tests: fix debug_project.sikuli again.
- tooltip and context menu overlap
- text not being replaced in forcing dialog
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 15 Jul 2022 14:38:33 +0200] rev 3539
CLI: prevent LOCAL:// runtime to use GUI (tray icon) when launch from CLI.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 11 Jul 2022 23:18:14 +0200] rev 3538
Merge latest changes from default
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 11 Jul 2022 22:21:20 +0200] rev 3537
wxPython4 sequels: fix exception in connection dialog, force black text in FBD.
- wxPython4 does not have RemoveSizer in API anymore.
- On GTK3 with dark theme default text colour is white, making it unreadable.
Edouard Tisserant [Fri, 08 Jul 2022 11:58:10 +0200] rev 3536
SVGHMI: fix js exception because of trying to find already detached elements by id.
Edouard Tisserant [Wed, 06 Jul 2022 10:39:11 +0200] rev 3535
SVGHMI: better handling of page switch fade-out.
- In cases or relative jump to current page, page was keeping black after switch.
- Now keep track of undergoing page switch without comparing subscribed page to visible page.
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 07 Jul 2022 21:41:35 +0200] rev 3534
tests: nore details, please
etisserant <edouard.tisserant@gmail.com> [Wed, 06 Jul 2022 17:04:11 +0200] rev 3533
Github CI: upload artifact (reports) when failing
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 06 Jul 2022 14:39:36 +0200] rev 3532
tests: add one more ignored pic to debug_project test
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 05 Jul 2022 10:16:11 +0200] rev 3531
tests: add missing pic for debug_project sikuli test and remove depricated picture in edit_project
etisserant <edouard.tisserant@gmail.com> [Tue, 05 Jul 2022 08:35:40 +0200] rev 3530
Github CI: use new name for test launching script
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 04 Jul 2022 09:30:20 +0200] rev 3529
test: Fix context menu problems in debug view. This should fix debug_test as well.
- exception on right click on a wire
- tooltip hiding context menu in some case
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 04 Jul 2022 08:44:23 +0200] rev 3528
tests: add (broken) debug_project test, fix edit_project
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 04 Jul 2022 08:35:47 +0200] rev 3527
tests: rename build_in_docker.sh to do_test_in_docker.sh
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 27 Jun 2022 10:26:04 +0200] rev 3526
Merge default in wxPython4 branch
Edouard Tisserant [Fri, 24 Jun 2022 14:56:44 +0200] rev 3525
SVGHMI: update generated XSLT files
Edouard Tisserant [Fri, 24 Jun 2022 10:46:26 +0200] rev 3524
SVGHMI: force initial state of Display widget to empty string.
Edouard Tisserant [Fri, 24 Jun 2022 09:24:19 +0200] rev 3523
SVGHMI: set initial displayed value of input widget to empty string.
Edouard Tisserant [Fri, 24 Jun 2022 09:21:24 +0200] rev 3522
SVGHMI: add warning_labels, same as optional_labels but emits warnings at build time if element is missing.
Edouard Tisserant [Wed, 22 Jun 2022 11:55:38 +0200] rev 3521
SVGHMI: update generated XSLT files
Edouard Tisserant [Wed, 22 Jun 2022 11:48:40 +0200] rev 3520
SVGHMI: generalize detach/re-attach of binary choices for ToggleButton, PushButton, Button and Keypad's Shit and CapsLock.
Edouard Tisserant [Mon, 20 Jun 2022 09:30:11 +0200] rev 3519
SVGHMI: also use order-preserving detach re-attach for hiding and showing active and inactive state.
Edouard Tisserant [Mon, 20 Jun 2022 09:19:56 +0200] rev 3518
SVGHMI: fix Switch widget so that order of choices elements is preserved across detaching and re-attaching.
Edouard Tisserant [Wed, 15 Jun 2022 11:46:48 +0200] rev 3517
SVGHMI: update generated xslt files
Edouard Tisserant [Wed, 15 Jun 2022 11:43:51 +0200] rev 3516
SVGHMI: nasty scope shadowing bug... was making funny recursion, leading to really slow interaction.
Edouard Tisserant [Wed, 15 Jun 2022 11:41:59 +0200] rev 3515
SVGHMI: fading page switch : to avoid blinking, page stays black once fading finished and next page is still not ready.
Edouard Tisserant [Wed, 15 Jun 2022 11:39:14 +0200] rev 3514
SVGHMI: fading page switch : defer update of classList to next animate() call when finishing transition.
classList update was happening in the same call as switch_page(), but this call is not meant to do any change in the DOM. This was triggering unwanted style and layout recomputation.
Edouard Tisserant [Tue, 14 Jun 2022 11:56:05 +0200] rev 3513
SVGHMI: rework Switch widget : detach/attach elements instead of hiding with style.display, detach all possible choices at init.
Edouard Tisserant [Mon, 13 Jun 2022 12:03:58 +0200] rev 3512
SVGHMI: add fading transition to make page switch feel more responsive on slow machines.
Edouard Tisserant [Mon, 13 Jun 2022 11:57:37 +0200] rev 3511
SVGHMI: add a way for widgets and other yslt2 files to add css definitions to resultng page.
Edouard Tisserant [Fri, 10 Jun 2022 09:39:10 +0200] rev 3510
SVGHMI: update generated XSLT filesw
Edouard Tisserant [Fri, 03 Jun 2022 11:49:13 +0200] rev 3509
SVGHMI: XY graph build produces error message if provided curve_N are not consistent.
Edouard Tisserant [Wed, 01 Jun 2022 11:12:26 +0200] rev 3508
SVHMI: Keyboard: Replace untouched value when typing directly after open. Make info string (HMI variable name) optional.
Edouard Tisserant [Wed, 01 Jun 2022 09:22:07 +0200] rev 3507
merged
Edouard Tisserant [Wed, 01 Jun 2022 09:15:26 +0200] rev 3506
SVGHMI: update generated xslt.
Edouard Tisserant [Wed, 01 Jun 2022 09:14:19 +0200] rev 3505
SVGHMI: Add support for fixed X range (duration) on XY garph.
Edouard Tisserant [Wed, 01 Jun 2022 09:12:59 +0200] rev 3504
SVGHMI: add widget update rate limit on variable change.
Edouard Tisserant [Wed, 01 Jun 2022 09:09:13 +0200] rev 3503
SVGHMI: fix parsing of floating point and negative min and max limits in widget label syntax.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 13 Jun 2022 19:22:31 +0200] rev 3502
Fix typos breaking IDE
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 13 Jun 2022 18:05:12 +0200] rev 3501
Added preliminary CLI. Supports building a project, transfering and running on PLC.
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 26 May 2022 23:41:10 +0200] rev 3500
IDE: fix exception happening in debug mode when logging process termination.
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 26 May 2022 23:39:30 +0200] rev 3499
SVGHMI: Adapt to Inkscape 0.92 "-e" replaced by "-o" in 1.2, and workaround access right problem when generating thumbnails.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 25 May 2022 20:00:31 +0200] rev 3498
Various fixes to make svghmi_traffic_light example bahave on windows.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 25 May 2022 09:18:37 +0200] rev 3497
IDE: fix saveAs dialog
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 25 May 2022 09:12:58 +0200] rev 3496
IDE: fix permission checking on windows for IDE project directory.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 23 May 2022 18:12:30 +0200] rev 3495
SVGHMI: fix active/inactive being swapped in ToggleButton
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 23 May 2022 18:11:31 +0200] rev 3494
IDE/Windows: Find Inkscape binary even if Inkscape was installed for current user only.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 23 May 2022 18:10:13 +0200] rev 3493
IDE: Workaround exception caused by dead C/C++ swig-wrapped object when debug still try to update view after close.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 23 May 2022 16:27:56 +0200] rev 3492
IDE: better permission checking when opening a project.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 30 May 2022 15:30:51 +0200] rev 3491
Merge changes from default to wxPython4 branch
Edouard Tisserant [Mon, 30 May 2022 12:44:04 +0200] rev 3490
SVGHMI: more fixes for XY graph + add XY graph test.
Edouard Tisserant [Thu, 26 May 2022 12:11:42 +0200] rev 3489
SVGHMI: Seems inkscape doesn't necessarily use tspan inside of text anymore.
Edouard Tisserant [Wed, 25 May 2022 10:00:24 +0200] rev 3488
SVGHMI: multiple fixes in XY graph widget. WIP.
Edouard Tisserant [Wed, 25 May 2022 09:55:36 +0200] rev 3487
SVGHMI: fix dropdown widget in case it is used as language selection widget
global i18n definitions changed but widget wasn't updated accordingly.
Edouard Tisserant [Wed, 25 May 2022 09:52:50 +0200] rev 3486
SVGHMI: prevent exception with date/time formating in sprintf.js if lang wasn't already set.
Edouard Tisserant [Wed, 25 May 2022 09:51:22 +0200] rev 3485
SVGHMI: Add forEach to local copy of pythonic.js
Edouard Tisserant [Wed, 11 May 2022 12:12:16 +0200] rev 3484
SVGHMI: many fixes on xy trend graph. WIP.
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 26 May 2022 23:41:10 +0200] rev 3483
IDE: fix exception happening in debug mode when logging process termination.
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 26 May 2022 23:39:30 +0200] rev 3482
SVGHMI: Adapt to Inkscape 0.92 "-e" replaced by "-o" in 1.2, and workaround access right problem when generating thumbnails.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 25 May 2022 20:00:31 +0200] rev 3481
Various fixes to make svghmi_traffic_light example bahave on windows.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 25 May 2022 09:18:37 +0200] rev 3480
IDE: fix saveAs dialog
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 25 May 2022 09:12:58 +0200] rev 3479
IDE: fix permission checking on windows for IDE project directory.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 23 May 2022 18:12:30 +0200] rev 3478
SVGHMI: fix active/inactive being swapped in ToggleButton
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 23 May 2022 18:11:31 +0200] rev 3477
IDE/Windows: Find Inkscape binary even if Inkscape was installed for current user only.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 23 May 2022 18:10:13 +0200] rev 3476
IDE: Workaround exception caused by dead C/C++ swig-wrapped object when debug still try to update view after close.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 23 May 2022 16:27:56 +0200] rev 3475
IDE: better permission checking when opening a project.
Edouard Tisserant [Fri, 06 May 2022 11:04:54 +0200] rev 3474
SVGHMI: fix syntax problems in xygraph
Edouard Tisserant [Fri, 06 May 2022 11:04:17 +0200] rev 3473
SVGHMI: fix widget's update frequency forcing : syntax checking was enforcing unit and js code was using undefined variables
Edouard Tisserant [Fri, 06 May 2022 11:02:03 +0200] rev 3472
SVGHMI: fix syntax error in sprintf.js and force makefile to regen xslt files when sprintf.js changes
Edouard Tisserant [Fri, 06 May 2022 11:01:07 +0200] rev 3471
SVGHMI: fix test/projects/svghmi "unspecified" frequency that was actualy specified...
Edouard Tisserant [Thu, 05 May 2022 11:52:24 +0200] rev 3470
SVGHMI: Add premature implementation of XY chart.
Edouard Tisserant [Fri, 06 May 2022 11:04:17 +0200] rev 3469
SVGHMI: fix widget's update frequency forcing : syntax checking was enforcing unit and js code was using undefined variables
Edouard Tisserant [Fri, 06 May 2022 11:02:03 +0200] rev 3468
SVGHMI: fix syntax error in sprintf.js and force makefile to regen xslt files when sprintf.js changes
Edouard Tisserant [Fri, 06 May 2022 11:01:07 +0200] rev 3467
SVGHMI: fix test/projects/svghmi "unspecified" frequency that was actualy specified...
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 17 May 2022 14:49:23 +0200] rev 3466
merge default
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 17 May 2022 13:22:20 +0200] rev 3465
Tests: No need to archive test results before uploading them as action artifacts.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 17 May 2022 12:34:39 +0200] rev 3464
Tests: ...
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 17 May 2022 12:24:59 +0200] rev 3463
Tests: re-enable running test in github action, now that docker image should be cached.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 17 May 2022 09:22:16 +0200] rev 3462
Tests: temporary disable problematic part, to force action to succeed so caching can happen.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 17 May 2022 08:25:09 +0200] rev 3461
Tests: give test directory when creating container, not when running test.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 17 May 2022 07:27:24 +0200] rev 3460
Tests: fix docker image export for GitHub Action caching.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 16 May 2022 21:40:44 +0200] rev 3459
Tests: More fixes amd enhancments to run tests on Github Actions
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 16 May 2022 13:01:54 +0200] rev 3458
Tests: use script rather than alias so that bash doesn't need to be interactive shell with a TTY
etisserant <edouard.tisserant@gmail.com> [Mon, 16 May 2022 07:00:21 +0200] rev 3457
Tests: remove -it from docker invocation
Workaround "The input device is not a TTY" error on Github Action.
etisserant <edouard.tisserant@gmail.com> [Mon, 16 May 2022 00:10:30 +0200] rev 3456
Create run_tests_in_docker.yml
Edouard Tisserant [Thu, 05 May 2022 11:48:43 +0200] rev 3455
SVGHMI: Add support for forcing widget update frequency with period longer than a second. As an example, "HMI:Display|10s@/myvar" updates variable every 10 seconds.
Edouard Tisserant [Thu, 05 May 2022 10:37:36 +0200] rev 3454
SVGHMI: cosmetic fixes + removed dead code
Edouard Tisserant [Thu, 05 May 2022 10:35:29 +0200] rev 3453
SVGHMI: allow widgets to disable clipping on variables given with min and max. Setting this.clip = false disables clipping.
Edouard Tisserant [Thu, 05 May 2022 10:31:16 +0200] rev 3452
SVGHMI: allow designating widget's sub-elements as main element child rather than descendant. Names staring with "/" in yslt call to labels() only match direct widget childs.
Edouard Tisserant [Thu, 05 May 2022 10:24:56 +0200] rev 3451
SVGHMI: add localized Date and Time support to sprintf.js. Use with "%D" or "%2.1D" format style.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 06 May 2022 14:44:32 +0200] rev 3450
Minor changes to README.md
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 06 May 2022 14:40:33 +0200] rev 3449
wxPython4 sequels: usual naming problem in grid cell change events, non kw-args to menu.Append and event not being skipped.
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 07 Apr 2022 15:28:24 +0200] rev 3448
Tests: Fix missing <br/> in generated html report.
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 07 Apr 2022 07:40:32 +0200] rev 3447
Tests: add HTML report generation and a workaround to bad exception handling in sikuli.
In case of exception in python code, and since a thread is running
to observe stdout, sikuli was never terminated after an exception.
Unfortunately sys.exepthook doesn't work in that version of jython/sikuli.
Test are now written inside functions witch are passed to run_test to deal
with exception.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 29 Mar 2022 08:50:01 +0200] rev 3446
Tests: refactored sikuli based test
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 29 Mar 2022 08:30:03 +0200] rev 3445
IDE: Postpone execution of keyboard shortcut commands when given while previous command is still being executed, to prevent CTR/builder jamming.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 29 Mar 2022 08:19:46 +0200] rev 3444
IDE: in case of unhandled exception, write bug report to given log file, so that test report can have it.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 22 Mar 2022 14:51:30 +0100] rev 3443
Merged default's changes in wxPython4 branch
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 22 Mar 2022 14:50:46 +0100] rev 3442
Tests: fix project edit test sikuli IDE test.
Background click based on bitmap matching doesn't work.
Grid dots are not good match candidates.
Rendering probably affected by virtual display's bpp or rasterizer approximations.
Edouard Tisserant [Wed, 02 Mar 2022 11:23:50 +0100] rev 3441
runtime, retain: remove forgotten debug code.
Edouard Tisserant [Wed, 02 Mar 2022 11:22:55 +0100] rev 3440
Runtime: removing dead code
Edouard Tisserant [Tue, 15 Feb 2022 11:09:39 +0100] rev 3439
IDE: removed one (last ?) wx.NewId() that was called on each opening of project tree popup menu
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 11 Mar 2022 14:43:37 +0100] rev 3438
Tests: Re-introduced pytest based tests. Fixed them a bit, commented-out otherwise. Application tests only runs with logging test, and PLCOpenEditor tests seem broken.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 05 Mar 2022 11:14:00 +0100] rev 3437
Tests: Enhance robustness of stdout driven waiting state in Sikuli based tests.
Some tests were randomly passing, because from time to time waiting for idle was skiped. It was combination of multiple problems :
- buffering on stdout (now use readline + flush for each write to log)
- it is sometime required to wait for activity before waiting for timeout added "WaitForChangeAndIdle" to "stdoutIdleObserver"
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 28 Feb 2022 21:53:14 +0100] rev 3436
Tests: add an IDE test that relies on image matching.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 28 Feb 2022 21:46:37 +0100] rev 3435
Tests: re-introduce xvfb+x11vnc target in Makefile : xvfb_sikuli
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 28 Feb 2022 21:29:46 +0100] rev 3434
Fix sequel of wxPython 4 port : double click on tab wasn't maximizing and was showing exception.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 25 Feb 2022 14:04:09 +0100] rev 3433
Tests: Makefile's PIPESTATUS turned into small letters (wrong vim shortcut ?) leading to always passing tests.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 18 Feb 2022 15:12:06 +0100] rev 3432
Tests: Various enhancements in Makefile and sikuli common python code.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 18 Feb 2022 15:00:04 +0100] rev 3431
Tests: Added BEREMIZPYTHONPATH to point to Python interpreter to use for tests.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 18 Feb 2022 14:56:54 +0100] rev 3430
Documentation/comment fix.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 18 Feb 2022 14:51:58 +0100] rev 3429
IDE: Fix one more sequel of wxPython4 port : typo in editors/TextViewer.py
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 15 Feb 2022 16:10:19 +0100] rev 3428
Tests: Add a Makefile variable to allow changing standalone headless X server command (Xvfb by default)
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 13 Feb 2022 21:21:14 +0100] rev 3427
Merge default head that was only merged in wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 13 Feb 2022 21:05:19 +0100] rev 3426
merged default
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 13 Feb 2022 21:01:27 +0100] rev 3425
Add Docker image definition as reference platform to run IDE tests.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 13 Feb 2022 20:59:42 +0100] rev 3424
Tests: added tests/Makefile and a first test in tests/ide_tests. Test requires sikuli and Xvfb or Xnest.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 13 Feb 2022 20:53:00 +0100] rev 3423
IDE: Add -l or --log command line parameter to give a file where all content witten to console window will be appended. File can be /dev/stdout.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 02 Feb 2022 20:27:17 +0100] rev 3422
Merge default
Edouard Tisserant [Mon, 24 Jan 2022 11:14:56 +0100] rev 3421
IDE: follow-up on change in 83ed4ea362db - added workaround when matiec generated files contain unexpected characters.
Edouard Tisserant [Thu, 20 Jan 2022 11:39:05 +0100] rev 3420
Runtime : force using monotonic time in Timer (threading). Prevent watchdog to trigger when changing system time.
Edouard Tisserant [Thu, 20 Jan 2022 11:16:52 +0100] rev 3419
SVGHMI: remove debug code
Edouard Tisserant [Wed, 19 Jan 2022 11:41:37 +0100] rev 3418
SVGHMI: update generated XSLT
Edouard Tisserant [Wed, 19 Jan 2022 11:41:04 +0100] rev 3417
SVGHMI: fix again appication of frequency value when given in label. Use it on PushButton instance in svghmi test.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 25 Jan 2022 17:05:14 +0100] rev 3416
TESTS: moved non-automated tests Beremiz projects stored as directories in /tests to new directory /tests/projects
etisserant <edouard.tisserant@gmail.com> [Tue, 25 Jan 2022 16:37:16 +0100] rev 3415
Create README.md in tests
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 19 Jan 2022 08:56:16 +0100] rev 3414
SVGHMI: update generated xslt, and svghmi test project files
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 19 Jan 2022 08:53:49 +0100] rev 3413
SVGHMI: Add pushbutton widget, that can take reflect short press in variable, but has no garantee on consistency.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 19 Jan 2022 08:51:45 +0100] rev 3412
SVGHMI: Fixed support for frequency parsing in widget label
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 18 Jan 2022 11:35:05 +0100] rev 3411
Merge
Edouard Tisserant [Tue, 18 Jan 2022 10:57:43 +0100] rev 3410
SVGHMI: update generated xslt
Edouard Tisserant [Tue, 18 Jan 2022 10:57:11 +0100] rev 3409
SVGHMI test: add special commandline to launch chromium as new intependent window, without GPU acceleration.
Edouard Tisserant [Tue, 18 Jan 2022 10:55:14 +0100] rev 3408
SVGHMI: add syntax for widget update frequency in widget label: HMI:WidgetType|freq:arg0:arg1@path
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 17 Jan 2022 15:17:47 +0100] rev 3407
OPC-UA client: "static" class was forgotten for open62541 client structure preventing multiple client.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 17 Jan 2022 15:15:00 +0100] rev 3406
OPC-UA: cosmetic fix and armless typo
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 16 Jan 2022 17:00:58 +0100] rev 3405
Merged default in wxPython4, include runtimeLists
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 16 Jan 2022 16:59:40 +0100] rev 3404
Merge
Edouard Tisserant [Fri, 14 Jan 2022 11:40:22 +0100] rev 3403
SVGHMI: added ListSwitch widget
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 16 Jan 2022 16:57:56 +0100] rev 3402
Merged RuntimeLists branch
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 16 Jan 2022 16:55:27 +0100] rev 3401
Close RuntimeLists branch
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 27 Dec 2021 19:21:59 +0100] rev 3400
Fix bug introduced in previous commit : dual link list wasn't append and remove wasn't implemented correctly. Removed debug code, enhanced variable names and comments.
Edouard Tisserant [Thu, 23 Dec 2021 11:36:37 +0100] rev 3399
SVGHMI: optimization of C part : stop traversing the whole HMI tree, use dual linked list for subscriptions and single linked list for changes from HMI. Intermediate commit, still crashing in some cases.
Edouard Tisserant [Thu, 16 Dec 2021 08:32:58 +0100] rev 3398
Xenomai runtime: ensure that __DEBUG global variable is set when resuming debug.
Edouard Tisserant [Thu, 16 Dec 2021 08:15:34 +0100] rev 3397
SVGHMI: Adapt svghmi.c to changes in UnpackVar
Edouard Tisserant [Wed, 15 Dec 2021 11:56:34 +0100] rev 3396
Runtime: Now retain uses a list based on data available in VARIABLES.csv instead of traversing the whole instance tree looking for RETAIN flag.
Edouard Tisserant [Thu, 09 Dec 2021 10:21:45 +0100] rev 3395
RUNTIME: Variable forcing now uses limited list and buffer instead of systematical instance tree traversal and in-tree "fvalue" to keep track of forced value for pointed variables (external, located). Pointer swapping is performed when forcing externals and located, with backup being restored when forcing is reset. Retain still uses tree traversal.
Edouard Tisserant [Wed, 01 Dec 2021 09:54:02 +0100] rev 3394
RUNTIME: Variable trace now uses limited list and buffer instead of flags in instance tree that was requiring systematical instance tree traversal, and worst size buffer. Forcing and retain still use tree traversal.
Edouard Tisserant [Tue, 30 Nov 2021 09:52:42 +0100] rev 3393
SVGHMI: more accurate filtering of elements to unlink or not
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 30 Nov 2021 18:43:10 +0100] rev 3392
OPC-UA client: generated code now take UA_Variants on the stack directly, avoid useless allocation on write, and unalloc implicitely allocated data on read
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 30 Nov 2021 18:43:10 +0100] rev 3391
OPC-UA client: generated code now take UA_Variants on the stack directly, avoid useless allocation on write, and unalloc implicitely allocated data on read
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 16 Nov 2021 20:31:11 +0100] rev 3390
IDE: Tutorial/Example menu was broken : path of project being open was the same for all menu entries.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 17 Nov 2021 09:20:16 +0100] rev 3389
IDE: Tutorial/Example menu was broken, probably after a merge. Menu (and corresponding code) was duplicated. Also, path of project beeing open was the same for all menu entries.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 16 Nov 2021 20:10:50 +0100] rev 3388
Fix bug when updating data in variable panel.
Grid event naming CHANGE->CHANGING was wrong. CHANGE->CHANGED is the way to go.
Edouard Tisserant [Mon, 08 Nov 2021 14:10:36 +0100] rev 3387
SVGHMI: update tests/evghmi to reflect/test latest changes. update generated XSLT.
Edouard Tisserant [Mon, 08 Nov 2021 14:09:44 +0100] rev 3386
SVGHMI: multiple non significant changes: doc fixes, modern style access to attributes, enforce double quotes around member name in object literals.
Edouard Tisserant [Mon, 08 Nov 2021 14:06:29 +0100] rev 3385
SVGHMI: Changes /CURRENT_PAGE_* behaviour to prevent problem whith multiclient : all clients were switching page when one was jumping.
- now PLC have to prefix page name with "!" to order page switch.
- HMI do not prefix with "!" when jumping, this avoiding looping incidently
- In case of multiple client:
CURRENT_PAGE reflects current page of last client hwo did jump
Setting CURRENT_PAGE with "!" affects all clients simultaneously
Edouard Tisserant [Mon, 08 Nov 2021 14:03:21 +0100] rev 3384
SVGHMI: changes that should fix some corner cases about unlinking and discardable element that still didn't show until now.
- list that would have been declared in some groups could have been discarded.
- elements to be unlinked were comuted based on filtering $hmi_elements, whereas $hmi_widget already filtered list
Edouard Tisserant [Thu, 04 Nov 2021 12:03:43 +0100] rev 3383
SVGHMI: update generated XSLT
Edouard Tisserant [Thu, 04 Nov 2021 12:02:08 +0100] rev 3382
merged
Edouard Tisserant [Thu, 04 Nov 2021 12:00:50 +0100] rev 3381
SVGHMI: add CURRENT_PAGE_{location} global variable to reflect currently visible page. If PLC wites some valid page reference in that variable, it triggers page switch. Additionally, fixed /HEARTBEAT being subscribed systematically by JS code even when wtchdog is not enabled.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 02 Nov 2021 08:36:06 +0100] rev 3380
Follow-up on 83ed4ea362db 'IDE: prevent invoking matiec when IEC code did not change since last build' : build unconditionally after clean
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 29 Oct 2021 18:20:03 +0200] rev 3379
merged
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 29 Oct 2021 18:07:28 +0200] rev 3378
OPC-UA: fix types in model not being preserved after reload of CSV file, leading to exception when changing selection lists content.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 29 Oct 2021 18:00:54 +0200] rev 3377
OPC-UA: Removed more "LocalizedText()", this time in selected variable list
Edouard Tisserant [Fri, 29 Oct 2021 11:49:22 +0200] rev 3376
IDE: prevent invoking matiec when IEC code did not change since last build.
Edouard Tisserant [Fri, 29 Oct 2021 10:27:31 +0200] rev 3375
SVGHMI: prevent systematic rebuild when there are multiple instances of SVGHMI CTN.
Edouard Tisserant [Fri, 29 Oct 2021 09:45:39 +0200] rev 3374
SVGHMI: optimize HMI tree handling C code to lower CPU usage when traversing large trees
Edouard Tisserant [Tue, 26 Oct 2021 11:41:03 +0200] rev 3373
merged
Edouard Tisserant [Thu, 21 Oct 2021 09:45:21 +0200] rev 3372
SVGHMI: prevents watchdog being triggered when SVGHMI is empty.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 22 Oct 2021 12:48:22 +0200] rev 3371
Backed out changeset c646a1f0fb0b - was on wrong branch
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 21 Oct 2021 20:56:05 +0200] rev 3370
Make OPC-UA client compatible with wxPython3, util wxPython4 branch deserve to be merged
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 21 Oct 2021 20:56:05 +0200] rev 3369
Make OPC-UA client compatible with wxPython3, util wxPython4 branch deserve to be merged
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 21 Oct 2021 13:18:18 +0200] rev 3368
IDE: Enforce wxPython3 menu appending syntax in default branch... (Fixes exception at startup)
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 19 Oct 2021 13:09:45 +0200] rev 3367
OPCUA: fix display names appearing with a "LocalizedText(" prefix when browsing localized server.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 19 Oct 2021 12:58:22 +0200] rev 3366
OPCUA: Add browsing of variables exposed by client when selecting location from variable panel.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 18 Oct 2021 20:41:31 +0200] rev 3365
OPCUA client: fix handling of string type Node Identifier
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 18 Oct 2021 12:40:53 +0200] rev 3364
Add OPC-UA simple synchronous client extension.
This extension uses python-opcua to growse server nodes, and generates runtime C code that use open62541.
- python-opcua must be available in python path (i.e. "import opcua" must succeed). Can be installed from pypi with "python2 -m pip install opcua --user" .
- at build time, open62541 is expected to be build in "open62541" directory, aside "beremiz" directory.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 04 Oct 2021 07:55:57 +0200] rev 3363
SVGHMI: update test/svghmi to reflect latest changes
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 04 Oct 2021 07:52:54 +0200] rev 3362
SVGHMI: Update generated xslt
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 04 Oct 2021 07:41:18 +0200] rev 3361
SVGHMI: remove "value" element in meter and circularbar widget. Adding support for printf like formating make widget label too heavy. It is better to use Display widget instead.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 04 Oct 2021 07:38:46 +0200] rev 3360
SVGHMI: Move sprintf.js out of widget_display.ysl2 since it is used in other widgets as well
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 01 Oct 2021 23:19:04 +0200] rev 3359
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 01 Oct 2021 15:36:09 +0200] rev 3358
SVGHMI: Update generated XSLT (PathSlider widget)
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 01 Oct 2021 15:34:04 +0200] rev 3357
SVGHMI: simplication in ScrollBar widget JS code
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 01 Oct 2021 15:32:38 +0200] rev 3356
SVGHMI: Added PathSlider widget
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 01 Oct 2021 02:54:35 +0200] rev 3355
SVGHMI: update generated xslt (List related changes)
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 01 Oct 2021 02:52:25 +0200] rev 3354
SVGHMI: add files missing in ee9e98c856a : Add TextList widget, add support for TextList in DropDown widget, move List, TextStyleList and TextList widget code in dedicated file with documentation.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 20 Sep 2021 15:43:10 +0200] rev 3353
SVGHMI: add test for Dropdown using TextList
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 20 Sep 2021 15:42:17 +0200] rev 3352
SVGHMI: Add TextList widget, add support for TextList in DropDown widget, move List, TextStyleList and TextList widget code in dedicated file with documentation.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 13 Sep 2021 22:23:14 +0200] rev 3351
IDE: Add a "Tutorials and Examples" sub menu to "File" menu to directly open projects in /exemples directory. Move 'python' and 'first_steps' projecvts from /tests to /exemple
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 13 Sep 2021 17:57:47 +0200] rev 3350
WxPython 3.x -> 4.x : removed exception on stdout when closing at IDE frame
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 10 Sep 2021 14:48:07 +0200] rev 3349
Tests/svghmi_scrollbar: Fix variables names and remove useless "OnStart OnStop OnWatchdog" to use defaults.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 10 Sep 2021 14:44:20 +0200] rev 3348
IDE/windows: Avoid exception on quit caused by runtime being killed without disconnecting.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 10 Sep 2021 14:42:46 +0200] rev 3347
Runtime/unix: Fix typo preventing start of Pyro server
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 09 Sep 2021 21:52:27 +0200] rev 3346
Fix SVGHMI exception when running on Windows, missing ENODATA in errno.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 07 Sep 2021 09:08:40 +0200] rev 3345
Runtime: avoids using "pipe to self" bailout unblocking trick on windows, since select() only takes sockets.
Edouard Tisserant [Wed, 20 Oct 2021 08:57:07 +0200] rev 3344
Merge deafult in wxPython4
Edouard Tisserant [Tue, 19 Oct 2021 15:15:03 +0200] rev 3343
Merge changes about wamp reconnecting options, and added missing parts so that these changes make sense.
dgaberscek [Mon, 11 Oct 2021 09:04:53 +0200] rev 3342
Fixed Wamp reconnect on lost connection.
Edouard Tisserant [Tue, 19 Oct 2021 09:41:48 +0200] rev 3341
SVGHMI: force MaxConnections sum back to zero, preventing it to grow indefinitely on each build.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 19 Oct 2021 13:09:45 +0200] rev 3340
OPCUA: fix display names appearing with a "LocalizedText(" prefix when browsing localized server.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 19 Oct 2021 12:58:22 +0200] rev 3339
OPCUA: Add browsing of variables exposed by client when selecting location from variable panel.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 18 Oct 2021 20:41:31 +0200] rev 3338
OPCUS client: fix handling of string type Node Identifier
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 18 Oct 2021 12:40:53 +0200] rev 3337
Add OPC-UA simple synchronous client extension.
This extension uses python-opcua to growse server nodes, and generates runtime C code that use open62541.
- python-opcua must be available in python path (i.e. "import opcua" must succeed). Can be installed from pypi with "python2 -m pip install opcua --user" .
- at build time, open62541 is expected to be build in "open62541" directory, aside "beremiz" directory.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 18 Oct 2021 12:34:30 +0200] rev 3336
IDE: fix wxpython4 sequel : project "add" menu was having no extension entry visible.
Edouard Tisserant [Fri, 08 Oct 2021 09:13:02 +0200] rev 3335
Prevent exception when asking for CSV dump while variable traces are still empty
Edouard Tisserant [Fri, 08 Oct 2021 09:11:55 +0200] rev 3334
Fix wrong comment
Edouard Tisserant [Wed, 06 Oct 2021 10:45:06 +0200] rev 3333
Fixed two exceptions happening when interacting with viewer(s) in debug mode, when debug data is still not initialized.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 04 Oct 2021 07:55:57 +0200] rev 3332
SVGHMI: update test/svghmi to reflect latest changes
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 04 Oct 2021 07:52:54 +0200] rev 3331
SVGHMI: Update generated xslt
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 04 Oct 2021 07:41:18 +0200] rev 3330
SVGHMI: remove "value" element in meter and circularbar widget. Adding support for printf like formating make widget label too heavy. It is better to use Display widget instead.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 04 Oct 2021 07:38:46 +0200] rev 3329
SVGHMI: Move sprintf.js out of widget_display.ysl2 since it is used in other widgets as well
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 01 Oct 2021 23:19:04 +0200] rev 3328
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 01 Oct 2021 17:44:52 +0200] rev 3327
Merge from default
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 01 Oct 2021 15:36:09 +0200] rev 3326
SVGHMI: Update generated XSLT (PathSlider widget)
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 01 Oct 2021 15:34:04 +0200] rev 3325
SVGHMI: simplication in ScrollBar widget JS code
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 01 Oct 2021 15:32:38 +0200] rev 3324
SVGHMI: Added PathSlider widget
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 01 Oct 2021 02:54:35 +0200] rev 3323
SVGHMI: update generated xslt (List related changes)
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 01 Oct 2021 02:52:25 +0200] rev 3322
SVGHMI: add files missing in ee9e98c856a : Add TextList widget, add support for TextList in DropDown widget, move List, TextStyleList and TextList widget code in dedicated file with documentation.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 20 Sep 2021 15:43:10 +0200] rev 3321
SVGHMI: add test for Dropdown using TextList
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 20 Sep 2021 15:42:17 +0200] rev 3320
SVGHMI: Add TextList widget, add support for TextList in DropDown widget, move List, TextStyleList and TextList widget code in dedicated file with documentation.
Edouard Tisserant [Thu, 16 Sep 2021 09:40:36 +0200] rev 3319
Sequel to 95fe62bfe920 : Copy description when DnD variables from Globals in resources and configuration variable panels to POUs, now including ST/IL POUs.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 13 Sep 2021 22:23:14 +0200] rev 3318
IDE: Add a "Tutorials and Examples" sub menu to "File" menu to directly open projects in /exemples directory. Move 'python' and 'first_steps' projecvts from /tests to /exemple
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 13 Sep 2021 17:57:47 +0200] rev 3317
WxPython 3.x -> 4.x : removed exception on stdout when closing at IDE frame
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 13 Sep 2021 13:02:52 +0200] rev 3316
Merged default
Edouard Tisserant [Mon, 13 Sep 2021 12:19:17 +0200] rev 3315
Xenomai runtime: more verbose error message when problem with RT-Pipes.
Edouard Tisserant [Mon, 13 Sep 2021 12:18:08 +0200] rev 3314
Re-introduce sertup.py from Ivan Tyagov, accidentally deleted during SVGHMI branch merge
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 10 Sep 2021 14:48:07 +0200] rev 3313
Tests/svghmi_scrollbar: Fix variables names and remove useless "OnStart OnStop OnWatchdog" to use defaults.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 10 Sep 2021 14:44:20 +0200] rev 3312
IDE/windows: Avoid exception on quit caused by runtime being killed without disconnecting.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 10 Sep 2021 14:42:46 +0200] rev 3311
Runtime/unix: Fix typo preventing start of Pyro server
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 09 Sep 2021 21:52:27 +0200] rev 3310
Fix SVGHMI exception when running on Windows, missing ENODATA in errno.
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 09 Sep 2021 09:37:03 +0200] rev 3309
Workaround missing "IsMaximized" attribute for AuiPaneInfo in wxPython 4.1.0
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 07 Sep 2021 09:08:40 +0200] rev 3308
Runtime: avoids using "pipe to self" bailout unblocking trick on windows, since select() only takes sockets.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 05 Sep 2021 15:24:14 +0200] rev 3307
More WxPython 3.x->4.x API update
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 05 Sep 2021 05:43:17 +0200] rev 3306
Workaround RubberBand drawing problem on GTK3
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 05 Sep 2021 05:03:36 +0200] rev 3305
Depricated PyGridCellEditor becomes GridCellEditor
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 05 Sep 2021 05:01:34 +0200] rev 3304
Fix exception when canvas becomes null because of window resize, and avoid useless parameter+condition in GetLogicalDC
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 02 Sep 2021 22:18:14 +0200] rev 3303
Preliminary support for WxPython 4.1.0. Needs more testing. Grid selection/focus seems broken, and probably many other bugs hidden in dialogs and editors.
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 02 Sep 2021 21:36:29 +0200] rev 3302
Merge SVGHMI in default
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 02 Sep 2021 21:37:10 +0200] rev 3301
Close SVGHMI branch
Edouard Tisserant [Mon, 30 Aug 2021 09:39:23 +0200] rev 3300
Copy description when DnD variables from Globals in resources and configuration variable panels to POUs. Also prevent making exception in case some other DropSource wouldn't provide description.
Edouard Tisserant [Fri, 27 Aug 2021 11:31:32 +0200] rev 3299
SVGHMI: Allow toggling fulscreen mode my right click or long press.
Edouard Tisserant [Tue, 24 Aug 2021 11:12:41 +0200] rev 3298
Xenomai runtime: fixed bugs introduced in e3db472b0dfb (RT->nRT wakeup) + other small typos
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 21 Aug 2021 11:02:09 +0200] rev 3297
IDE: systematically log command when launching process (was not showing in case of LOCAL:// runtime being launched)
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 21 Aug 2021 10:54:13 +0200] rev 3296
Win32 runtime: fix build with gcc 9.3.0 from msys2
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 17 Aug 2021 12:29:36 +0200] rev 3295
Runtime+SVGHMI: Add generic wakeup of threads from PLC thread to windows implementation of plc_main.c. Also added nRT_reschedule to abstract sched_yield.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 16 Aug 2021 22:49:08 +0200] rev 3294
Runtime+SVGHMI: Added a generic way to wakeup non-real-time threads from real-time PLC thread. Replace SVGHMI specific calls in Linux and Xenomai implementations of plc_main.c. Fixed xenomai build, xeno-config making problems with --no-auto-init argument.
Edouard Tisserant [Thu, 29 Jul 2021 11:59:28 +0200] rev 3293
Runtime: Better handling of nested strings in spawn_subprocess commandline parsing
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 29 Jul 2021 08:25:26 +0200] rev 3292
IDE: Fixed use of RingBuffers in variable traces graphs when switching to 2D trend graph.
Edouard Tisserant [Mon, 26 Jul 2021 10:20:39 +0200] rev 3291
IDE: On windows, align better "reset to default" button in CTN config panel.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 26 Jul 2021 08:42:26 +0200] rev 3290
SVGHMI: Fix detection of library without instance and instances without library. Added one more widget in the widget library. Renamed "view_name" in "name" in commands substitutions.
Edouard Tisserant [Fri, 23 Jul 2021 13:16:15 +0200] rev 3289
SVGHMI: Fix missing "OnWatchdog" in XSD, accidentally deleted in earlier commit.
Edouard Tisserant [Fri, 23 Jul 2021 13:15:19 +0200] rev 3288
IDE: Add a "undo" button for each field in CTN config panel to reset to default value.
Edouard Tisserant [Thu, 22 Jul 2021 12:03:34 +0200] rev 3287
SVGHMI: detect watchdog abuse (more than one HMI instance with watchdog) at build time
Edouard Tisserant [Thu, 22 Jul 2021 12:02:50 +0200] rev 3286
SVGHMI: code refactoring allowing more in depth customization for substitution on start/stop/restart commands, and default SVG choice.
Edouard Tisserant [Tue, 20 Jul 2021 10:52:25 +0200] rev 3285
Runtime: more robust loading of Wamp config, specially in case config file was corrupted.
Edouard Tisserant [Tue, 20 Jul 2021 09:43:35 +0200] rev 3284
SVGHMI: add arguments to pass to ressource factory when attaching rerssource to svghmi root
Edouard Tisserant [Tue, 20 Jul 2021 09:12:45 +0200] rev 3283
SVGHMI: fix typo in slider widget
Edouard Tisserant [Thu, 15 Jul 2021 11:50:44 +0200] rev 3282
Runtime: Handle errors in user's python code more gracefully : make exceptions and allow repair.
Edouard Tisserant [Thu, 15 Jul 2021 11:48:02 +0200] rev 3281
SVGHMI: Fixed halting problem when there is no session opened.
Edouard Tisserant [Tue, 13 Jul 2021 16:19:07 +0200] rev 3280
SVGHMI: Widget lib: small doc fix.
Edouard Tisserant [Tue, 13 Jul 2021 16:18:37 +0200] rev 3279
SVGHMI: DnD UI: Use widget's short description, initially forgoten.
Edouard Tisserant [Tue, 13 Jul 2021 16:16:58 +0200] rev 3278
SVGHMI: Fixed typo on session manager unregister, leading to wrong count of sessions and then exceptions when creating more session than allowed in protocol options. Also added more safety check in protocol in case session would be missing.
Edouard Tisserant [Tue, 13 Jul 2021 16:13:21 +0200] rev 3277
SVGHMI: set some boundaries for watchdog timings and max connection count.
Edouard Tisserant [Tue, 13 Jul 2021 16:12:15 +0200] rev 3276
SVGHMI: update generated xslt
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 12 Jul 2021 23:26:14 +0200] rev 3275
SVGHMI: fixed bug introduced in 7bdb766c2a4d, typo breaking meter widget
Edouard Tisserant [Mon, 12 Jul 2021 16:29:55 +0200] rev 3274
SVGHMI: default library path, default page when starting a SVGHMI project, error page when no SVG present
Edouard Tisserant [Mon, 12 Jul 2021 14:13:29 +0200] rev 3273
SVGHMI: finished multiclient support. Still needs more testing.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 12 Jul 2021 10:07:52 +0200] rev 3272
SVGHMI: Fixed iterator in session manager. Getting closer to working multiclient, to be continued.
Edouard Tisserant [Fri, 09 Jul 2021 15:47:43 +0200] rev 3271
SVGHMI: Fixing last commit's multiclient implementation, in case of watchdog. To be continued, since multiclient still fail...
Edouard Tisserant [Wed, 07 Jul 2021 16:31:13 +0200] rev 3270
SVGHMI: Implemented multiserver+multiclient, but only tested with single client and single server for now. To be continued...
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 05 Jul 2021 10:51:02 +0200] rev 3269
SVGHMI: More configuration parameters : network interface, TCP port, URL path and watchdog enabling.
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 01 Jul 2021 14:33:14 +0200] rev 3268
SVGHMI: Added a way to distinguish watchdog-enabled HMI from multi-client HMI in URL.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 30 Jun 2021 15:51:59 +0200] rev 3267
SVGHMI: Prepare accepting multiple clients on multiple HMI: Use POULibrary new capability to add variables to PLC Configuration. Now heartbeat and HMI tree root are added by the library part of SVGHMI, and not by each instance.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 30 Jun 2021 15:44:32 +0200] rev 3266
IDE: Allow POU Libraries to inject PLC Configurations globals during build.
Edouard Tisserant [Fri, 18 Jun 2021 14:13:03 +0200] rev 3265
SVGHMI: DnD UI: Add hint instructing user to Drag HMI tree items to text field.
Edouard Tisserant [Fri, 18 Jun 2021 11:47:55 +0200] rev 3264
SVGHMI: update generated XSLT files
Edouard Tisserant [Fri, 18 Jun 2021 11:47:33 +0200] rev 3263
SVGHMI: DnD UI: Fix SVG gen that was dropping widget name and making XSLTExceptions plus some UX enhancements.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 18 Jun 2021 10:57:33 +0200] rev 3262
removed useless import
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 18 Jun 2021 10:49:10 +0200] rev 3261
SVGHMI: DnD UI: SVG for DnD now generated again based on paths and args entries filled by user.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 16 Jun 2021 18:27:27 +0200] rev 3260
merge
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 16 Jun 2021 18:27:05 +0200] rev 3259
SVGHMI: UI: added prefill of arguments according to values in widget instance in library. Also added library's widget instance description to description field.
Edouard Tisserant [Wed, 16 Jun 2021 12:15:02 +0200] rev 3258
IDE: Fixed variable traces graphs RingBuffers. Removed an apparently useless wxCallAfter in trend graph that was leading to pydeadobject exception on wxGTK when double-clicking.
Edouard Tisserant [Mon, 14 Jun 2021 16:48:39 +0200] rev 3257
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.
Edouard Tisserant [Fri, 11 Jun 2021 11:56:07 +0200] rev 3256
IDE: Log: Prevent crash when display progress on empty log.
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 10 Jun 2021 14:05:44 +0200] rev 3255
merge
Edouard Tisserant [Thu, 10 Jun 2021 09:40:05 +0200] rev 3254
Copy description when DnD variables from CodeFile CTN to POUs
Edouard Tisserant [Wed, 09 Jun 2021 15:28:00 +0200] rev 3253
SVGHMI: fix exception when stored widget library path does not exist anymore
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 10 Jun 2021 13:47:58 +0200] rev 3252
SVGHMI: added checking of widget literal argument in DnD UI according to type given in widget description
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 09 Jun 2021 10:06:23 +0200] rev 3251
SVGHMI: UI Updates validity indicator when DnD HMI tree node in text field, according to node type
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 31 May 2021 16:06:00 +0200] rev 3250
SVGHMI: Fixed typo in last commit
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 31 May 2021 10:10:00 +0200] rev 3249
merged
Edouard Tisserant [Tue, 25 May 2021 15:05:38 +0200] rev 3248
Runtime: Fix exception "Worker is disabled" when connecting while PLC runtime is starting.
Pyro/wamp/UI delegate jobs to Worker, causing race condition if worker isn't already started.
Added a function to ensure that Worker is already created when pyro or UI starts
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 31 May 2021 10:08:02 +0200] rev 3247
SVGHMI: UI now have multiple HMI tree variables DnD to widget paths. Still no type checking, WIP.
Edouard Tisserant [Mon, 24 May 2021 14:33:54 +0200] rev 3246
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.
Edouard Tisserant [Thu, 20 May 2021 12:16:51 +0200] rev 3245
SVGHMI: DnD UI : changed layout again, moved description in a vertical splitter, added scrollbar for preview and signature, fixed flickering description
Edouard Tisserant [Wed, 19 May 2021 18:54:35 +0200] rev 3244
SVGHMI: UI: Swap widget selection tree and preview panel
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 19 May 2021 15:29:18 +0200] rev 3243
SVGHMI: WIP: Widget Library UI: Reworking widget selection and binding.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 18 May 2021 09:28:44 +0200] rev 3242
Merged SVGHMI branches
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 18 May 2021 09:22:17 +0200] rev 3241
SVGHMI: WIP on Widget DnD UI : Added documentation to widgets, that is injected in widget parse tree during widget analysis
Edouard Tisserant [Mon, 17 May 2021 08:52:38 +0200] rev 3240
SVGHMI: Fix behaviour of Jump widget, that wasn't displaying "disabled" state in some cases.
Edouard Tisserant [Wed, 12 May 2021 11:38:00 +0200] rev 3239
merged default in svghmi
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 03 May 2021 00:14:38 +0200] rev 3238
SVGHMI: updating generated XSLT
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 03 May 2021 00:14:11 +0200] rev 3237
SVGHMI: Intermediate state while updating UI, preparing for displaying widget description and multiple variables selections
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 03 May 2021 00:06:03 +0200] rev 3236
SVGHMI: Extend widget labels parsing to allow expressing widget's accepted types in labels
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 03 May 2021 00:04:08 +0200] rev 3235
SVGHMI: Add analyse_widget stylesheet and python code to execute it, in order to obtain widget signature independently of DnD SVG file generation.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 02 May 2021 23:43:57 +0200] rev 3234
SVGHMI: drop useless code from gen_dnd_widget.yslt2, renamed python callback to pass messages
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 02 May 2021 23:15:23 +0200] rev 3233
SVGHMI: Added widget_desc to declare widget signature and description
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 02 May 2021 23:01:08 +0200] rev 3232
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.
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 15 Apr 2021 09:15:23 +0200] rev 3231
SVGHMI: keep track of order of selection in HMI tree, so that variable can be passed in same order to DnD widget
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 14 Apr 2021 09:21:18 +0200] rev 3230
SVGHMI: fixed typo
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 13 Apr 2021 21:04:46 +0200] rev 3229
SVGHMI: still quite naive path substitution whn prepearing widget for DnD, but now uses label generation.
Multiple widget DnD and mutiple variable still make no sense because all path are replaced with same path, but atleast min/max value are preserved...
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 13 Apr 2021 21:00:34 +0200] rev 3228
SVGHMI: Added text box for tranformation feedback aside widget mignature
Edouard Tisserant [Fri, 09 Apr 2021 09:47:06 +0200] rev 3227
Merged default in SVGHMI
Edouard Tisserant [Tue, 06 Apr 2021 16:07:56 +0200] rev 3226
SVGHMI: prototype of widget interface description using SVG's desc field, added to SVGHMI's internal svg widget library.
Edouard Tisserant [Tue, 06 Apr 2021 16:05:58 +0200] rev 3225
SVGHMI: Naive implementation of widget path substitution in widget DnD: considers widget always have only one variable, and no type checking.
Edouard Tisserant [Tue, 06 Apr 2021 14:04:08 +0200] rev 3224
SVGHMI: Widget transform before DnD now have HMI path as a parameter
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 06 Apr 2021 11:47:07 +0200] rev 3223
SVGHMI: Widget transform before DnD now should have HMI path as a parameter, but this path isn't computed for some reason... WIP.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 05 Apr 2021 18:22:30 +0200] rev 3222
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.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 02 Apr 2021 21:16:18 +0200] rev 3221
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.
Edouard Tisserant [Thu, 01 Apr 2021 16:00:58 +0200] rev 3220
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.
Edouard Tisserant [Thu, 01 Apr 2021 15:57:06 +0200] rev 3219
SVGHMI: Code cleanup for ToggleButton.
Edouard Tisserant [Thu, 01 Apr 2021 15:56:19 +0200] rev 3218
SVGHMI: Fixed last i18n changes meant to allow checking changes in PO files. Was making build exception when no PO files available.
Edouard Tisserant [Thu, 01 Apr 2021 15:51:24 +0200] rev 3217
IDE: Add a shortcut to project "Clean" action : F9
Edouard Tisserant [Wed, 31 Mar 2021 15:30:07 +0200] rev 3216
merge
Edouard Tisserant [Wed, 31 Mar 2021 15:28:09 +0200] rev 3215
SVGHMI: fixed embedded fonts family name not matching when using windows version of inkscape
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 31 Mar 2021 09:08:15 +0200] rev 3214
SVGHMI: force svghmi build if any change in fonts or translation (.PO) files
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 31 Mar 2021 08:25:18 +0200] rev 3213
SVGHMI: Add file type drag'n'drop to widget picker, for now drops widget's original SVG.