7 weeks agoRemoved useless bitmaps
Edouard Tisserant <edouard@beremiz.fr> [Fri, 24 Jan 2025 11:33:18 +0100] rev 4093
Removed useless bitmaps

8 weeks agoSVGHMI: update generated xslt
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 20 Jan 2025 18:45:21 +0100] rev 4092
SVGHMI: update generated xslt

previous commit actually didn't include all updates
+ white space fix in foreach widget to align with xslt

8 weeks agoSVGHMI: back button widget is optionally activable.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 20 Jan 2025 17:59:39 +0100] rev 4091
SVGHMI: back button widget is optionally activable.
+ update generated xslt file

2 months agoUpdate GitHub Actions to use upload-artifact@v4
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 09 Jan 2025 18:21:36 +0100] rev 4090
Update GitHub Actions to use upload-artifact@v4

2 months agoMerge remote-tracking branch 'hggit/python3' into python3
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 09 Jan 2025 18:05:45 +0100] rev 4089
Merge remote-tracking branch 'hggit/python3' into python3

2 months agofixing outdated comments
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 05 Jan 2025 23:12:53 +0100] rev 4088
fixing outdated comments

2 months agoSVGHMI: Fix potential zombie thread after stop caused by misuse of ctype.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 05 Jan 2025 23:09:34 +0100] rev 4087
SVGHMI: Fix potential zombie thread after stop caused by misuse of ctype.

2 months agoCLI: filter out useless progress refresh on stdout.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 05 Jan 2025 23:05:08 +0100] rev 4086
CLI: filter out useless progress refresh on stdout.

2 months agoSVGHMI: update generated xslt files
Edouard Tisserant <edouard@beremiz.fr> [Thu, 09 Jan 2025 17:11:18 +0100] rev 4085
SVGHMI: update generated xslt files

2 months agoSVGHMI: strip useless placeholder bitmap of HMI:Image in resulting xhtml
Edouard Tisserant <edouard@beremiz.fr> [Thu, 09 Jan 2025 17:10:40 +0100] rev 4084
SVGHMI: strip useless placeholder bitmap of HMI:Image in resulting xhtml

2 months agoSVGHMI: fix build exception when static file directory is missing
Edouard Tisserant <edouard@beremiz.fr> [Thu, 09 Jan 2025 17:09:00 +0100] rev 4083
SVGHMI: fix build exception when static file directory is missing

2 months agoVarious unrelated code quality enhancements and fixes with no effect on execution.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 20 Dec 2024 14:37:10 +0100] rev 4082
Various unrelated code quality enhancements and fixes with no effect on execution.

2 months agoMQTT: allow publish and subscribe from user python code.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 20 Dec 2024 14:32:33 +0100] rev 4081
MQTT: allow publish and subscribe from user python code.

2 months agopython runtime: fix exception when transfering files with identical content.
Edouard Tisserant <edouard@beremiz.fr> [Thu, 09 Jan 2025 09:46:43 +0100] rev 4080
python runtime: fix exception when transfering files with identical content.

2 months agoSVGHMI: add static file serving feature.
Edouard Tisserant <edouard@beremiz.fr> [Thu, 09 Jan 2025 09:45:21 +0100] rev 4079
SVGHMI: add static file serving feature.

Added two buttons to add and remove files.
Files are stored in project inside a directory named "static",
itself located in svghmi CTN instance files. Exemple :
exemples/svghmi_csv_json_img_table/svghmi_0@svghmi/static/
Files are transfered as "extra_files", but with a prefix
added to their name to avoid conflics.

2 months agoMake Input widget actionable. Includes example from kraskrom@github.
Edouard Tisserant <edouard@beremiz.fr> [Mon, 06 Jan 2025 17:00:03 +0100] rev 4078
Make Input widget actionable. Includes example from kraskrom@github.

3 months agoMerge remote-tracking branch 'origin/python3' into python3
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 17 Dec 2024 21:18:40 +0100] rev 4077
Merge remote-tracking branch 'origin/python3' into python3

3 months agoUpdate README.md
etisserant <edouard@beremiz.fr> [Tue, 17 Dec 2024 14:04:11 +0100] rev 4076
Update README.md

3 months agoSVGHMI: fix inverted behavior of SuppressBrowserOutput.
Edouard Tisserant <edouard@beremiz.fr> [Mon, 16 Dec 2024 11:40:55 +0100] rev 4075
SVGHMI: fix inverted behavior of SuppressBrowserOutput.

3 months agoTests: matiec version bump
etisserant <edouard@beremiz.fr> [Sat, 14 Dec 2024 15:39:42 +0100] rev 4074
Tests: matiec version bump

3 months agoUpdate requirements and add minimal non-frozen requirements for developer setup
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 12 Dec 2024 11:56:17 +0100] rev 4073
Update requirements and add minimal non-frozen requirements for developer setup

3 months agoMerge remote-tracking branch 'origin/python3' into python3
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 12 Dec 2024 11:36:24 +0100] rev 4072
Merge remote-tracking branch 'origin/python3' into python3

3 months agoruntime: make standard output more silent.
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 12 Dec 2024 11:33:08 +0100] rev 4071
runtime: make standard output more silent.

3 months agoSVGHMI: Make Back widget activable. (#52)
Dino Kosic <44305363+kraskrom@users.noreply.github.com> [Wed, 11 Dec 2024 09:31:35 +0100] rev 4070
SVGHMI: Make Back widget activable. (#52)

3 months agoPLC build: prevent duplicated CFLAGS for PLC C files.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 11 Dec 2024 09:30:07 +0100] rev 4069
PLC build: prevent duplicated CFLAGS for PLC C files.

3 months agoIDE: more wxPython4 related fixes. AUI Update crash on exit + PLCOpenEditor Save exception.
Edouard Tisserant <edouard@beremiz.fr> [Tue, 10 Dec 2024 12:44:38 +0100] rev 4068
IDE: more wxPython4 related fixes. AUI Update crash on exit + PLCOpenEditor Save exception.

3 months agomerge
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 09 Dec 2024 15:51:41 +0100] rev 4067
merge

3 months agopy_ext: CSV Writer output FB interface: ERROR and RESULT are valid when ACK is TRUE.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 06 Dec 2024 15:48:54 +0100] rev 4066
py_ext: CSV Writer output FB interface: ERROR and RESULT are valid when ACK is TRUE.

+ updated svghmi_csv_json_img_table accordingly

3 months agoIDE: fix exception when changing or resizing comments in FBD
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 08 Dec 2024 15:26:26 +0100] rev 4065
IDE: fix exception when changing or resizing comments in FBD

3 months agoPLCOpen editor: fix exception when using file open dialog
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 08 Dec 2024 13:59:36 +0100] rev 4064
PLCOpen editor: fix exception when using file open dialog

Consequence of wxPython 3 to 4 API changes.

3 months agoIDE: Fix wrong red wire coloring in FBD, this time for good.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 08 Dec 2024 11:41:31 +0100] rev 4063
IDE: Fix wrong red wire coloring in FBD, this time for good.

3 months agopy_ext: fix CSV update happening only once.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 06 Dec 2024 12:16:07 +0100] rev 4062
py_ext: fix CSV update happening only once.

3 months agopy_ext: rework logic CSV reader FB output refresh logic.
Edouard Tisserant <edouard@beremiz.fr> [Thu, 05 Dec 2024 16:45:37 +0100] rev 4061
py_ext: rework logic CSV reader FB output refresh logic.

Saving with CSV write FB now triggers CSV read FBs to refresh outputs immediately.

3 months agopy_ext: fix CSV Writer
Edouard Tisserant <edouard@beremiz.fr> [Thu, 05 Dec 2024 13:56:59 +0100] rev 4060
py_ext: fix CSV Writer

fix POU logic :
- SAVE is a BOOL
- invocation of py_eval on rising edge of SAVE
- remove save python argument

fix python:
- use no encoding for file open (python2)
- re-use detected dialect if any
- use no "rt+" and truncate since no need to re-sniff dialect for output file
- return "OK" instead of "#SUCCESS", preventing POU logic to ACK result
- support creating new line if writing just after last line
- support appending data on short rows

fix example:
- use a HMI:Button to trigger CSV write instead of HMI:Input +1
- reload CSVs on on each new CSV opened in file browser
- add display of CSV write output

3 months agoIDE: Fix wrong red wire coloring in FBD
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 04 Dec 2024 12:00:37 +0100] rev 4059
IDE: Fix wrong red wire coloring in FBD

3 months agoC runtime: move generated erpc interface in separate "service" directory
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 03 Dec 2024 21:26:52 +0100] rev 4058
C runtime: move generated erpc interface in separate "service" directory

3 months agoIDE: Fix PLCOpenEditor (wxPython4 menus) and drop broken PDF doc support.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 03 Dec 2024 21:22:45 +0100] rev 4057
IDE: Fix PLCOpenEditor (wxPython4 menus) and drop broken PDF doc support.

3 months agoExtend HMI:JsonTable, create Edit CSV POU, create example, add some doc (#41)
Dino Kosic <44305363+kraskrom@users.noreply.github.com> [Mon, 02 Dec 2024 11:33:19 +0100] rev 4056
Extend HMI:JsonTable, create Edit CSV POU, create example, add some doc (#41)

* Extend Jsontable widget, create Edit CSV POU, create example for both

* Add doc for HMI:Image and HMI:JsonTable

* Expand example to include HMI:Image

3 months agoTests: matiec version bump for GH workflow
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 28 Nov 2024 14:46:50 +0100] rev 4055
Tests: matiec version bump for GH workflow

3 months agoMerge remote-tracking branch 'hggit/python3' into python3
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 28 Nov 2024 14:39:26 +0100] rev 4054
Merge remote-tracking branch 'hggit/python3' into python3

3 months agoIDE: fix exception when moving FBD elements with keyboard.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 27 Nov 2024 19:48:12 +0100] rev 4053
IDE: fix exception when moving FBD elements with keyboard.

3 months agoTests: matiec version bum for GH workflow
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 27 Nov 2024 16:31:24 +0100] rev 4052
Tests: matiec version bum for GH workflow

3 months agomerge
Edouard Tisserant <edouard@beremiz.fr> [Thu, 28 Nov 2024 14:27:58 +0100] rev 4051
merge

3 months agoTests: extend FOR loop tests in IEC-61131 language test
Edouard Tisserant <edouard@beremiz.fr> [Thu, 28 Nov 2024 14:13:03 +0100] rev 4050
Tests: extend FOR loop tests in IEC-61131 language test

4 months agoModbus: allows modbus thread stack size customization with MODBUS_STACK_SIZE macro.
Edouard Tisserant <edouard@beremiz.fr> [Wed, 13 Nov 2024 14:42:34 +0100] rev 4049
Modbus: allows modbus thread stack size customization with MODBUS_STACK_SIZE macro.

For example, add "-DMODBUS_STACK_SIZE=0x2000" to target CFLAGS to limit stack size to 128kB

5 months agoSVGHMI: swap position and range of ForEach widget so that both range and size can be optional.
Edouard Tisserant <edouard@beremiz.fr> [Wed, 16 Oct 2024 15:45:15 +0200] rev 4048
SVGHMI: swap position and range of ForEach widget so that both range and size can be optional.

3 months agoTests: add ST FOR loop tests to IEC-61131 language tests
Edouard Tisserant <edouard@beremiz.fr> [Wed, 27 Nov 2024 16:05:26 +0100] rev 4047
Tests: add ST FOR loop tests to IEC-61131 language tests

3 months agorequirements: update eRPC dependency to include subdirectory for Python
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 23 Nov 2024 01:09:55 +0100] rev 4046
requirements: update eRPC dependency to include subdirectory for Python

3 months agoC runtime: fix ExtendedCall stub
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 23 Nov 2024 00:49:57 +0100] rev 4045
C runtime: fix ExtendedCall stub

3 months agoeRPC: switch to beremiz/erpc fork with no CRC on TCP
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 23 Nov 2024 00:49:26 +0100] rev 4044
eRPC: switch to beremiz/erpc fork with no CRC on TCP

3 months agoMerge remote-tracking branch 'hggit/python3' into python3
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 22 Nov 2024 16:31:51 +0100] rev 4043
Merge remote-tracking branch 'hggit/python3' into python3

3 months agoIDE: Allow environment variable override in ThirdPartyPath, and use it also for matiec.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 19 Nov 2024 23:52:04 +0100] rev 4042
IDE: Allow environment variable override in ThirdPartyPath, and use it also for matiec.

4 months agoIDE: re-use eRPC URI definitions in connector factory.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 18 Nov 2024 22:42:11 +0100] rev 4041
IDE: re-use eRPC URI definitions in connector factory.

Preparing for serial and US eRPC connection.

4 months agoCosmetic changes
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 18 Nov 2024 13:55:51 +0100] rev 4040
Cosmetic changes

4 months agoIDE: refactor discovery panel / zeroconf
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 18 Nov 2024 13:52:40 +0100] rev 4039
IDE: refactor discovery panel / zeroconf

Bundle ZeroConf listener and interfaces changes monitor into separate module.
Prepare to extend with USB device browsing.

4 months agoIDE: refactor ERPC URI editor, add serial and USB URI types
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 18 Nov 2024 13:37:08 +0100] rev 4038
IDE: refactor ERPC URI editor, add serial and USB URI types

4 months agopython runtime: update ServicePublisher to current Zeroconf API
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 13 Nov 2024 23:10:36 +0100] rev 4037
python runtime: update ServicePublisher to current Zeroconf API

4 months agoeRPC: Backward compatibility with runtime versions missing GetVersions extended call.
Edouard Tisserant <edouard@beremiz.fr> [Mon, 11 Nov 2024 15:22:44 +0100] rev 4036
eRPC: Backward compatibility with runtime versions missing GetVersions extended call.

4 months agoeRPC: Version bump
Edouard Tisserant <edouard@beremiz.fr> [Fri, 08 Nov 2024 11:34:46 +0100] rev 4035
eRPC: Version bump

4 months agopython_runtime: fix ExtendedCall register/unregistering.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 08 Nov 2024 11:34:00 +0100] rev 4034
python_runtime: fix ExtendedCall register/unregistering.

4 months agoeRPC: Server closes connection on exception to prevent client to block until timeout when it happens.
Edouard Tisserant <edouard@beremiz.fr> [Mon, 28 Oct 2024 16:06:50 +0100] rev 4033
eRPC: Server closes connection on exception to prevent client to block until timeout when it happens.

4 months agoAdd ExtendedCall to PLCObject as a replacement of RemoteExec and reflect it in eRPC interface.
Edouard Tisserant <edouard@beremiz.fr> [Mon, 28 Oct 2024 16:02:47 +0100] rev 4032
Add ExtendedCall to PLCObject as a replacement of RemoteExec and reflect it in eRPC interface.

ExtendedCall is a generic remote procedure call that runtime code can register to and that IDE extensions can call.
For example a fieldbus extension can use ExtendedCall to browse the fieldbus devices connected to the runtime.

4 months agoRemoved dependency in requirements.txt.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 25 Oct 2024 14:51:38 +0200] rev 4031
Removed dependency in requirements.txt.

5 months agoTESTS: Update Matiec revision in GH workflow
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 16 Oct 2024 12:18:14 +0200] rev 4030
TESTS: Update Matiec revision in GH workflow

5 months agoMQTT: update test project to reflect latest changes
Edouard Tisserant <edouard@beremiz.fr> [Fri, 11 Oct 2024 10:49:07 +0200] rev 4029
MQTT: update test project to reflect latest changes

5 months agoSVGHMI update generated XSLT
Edouard Tisserant <edouard@beremiz.fr> [Fri, 11 Oct 2024 10:46:46 +0200] rev 4028
SVGHMI update generated XSLT

5 months agoSVGHMI: remove widgets deprecated since long
Edouard Tisserant <edouard@beremiz.fr> [Fri, 11 Oct 2024 10:38:30 +0200] rev 4027
SVGHMI: remove widgets deprecated since long

5 months agoSVGHMI: add ForEach widget example
Edouard Tisserant <edouard@beremiz.fr> [Fri, 11 Oct 2024 10:34:15 +0200] rev 4026
SVGHMI: add ForEach widget example

5 months agoSVGHMI: Extend ForEach widget to expose range, position and size in a way comparable with ScrollBar widget.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 11 Oct 2024 10:18:57 +0200] rev 4025
SVGHMI: Extend ForEach widget to expose range, position and size in a way comparable with ScrollBar widget.

5 months agoSVGHMI: code cleanup
Edouard Tisserant <edouard@beremiz.fr> [Fri, 11 Oct 2024 09:31:34 +0200] rev 4024
SVGHMI: code cleanup

5 months agoMQTT: Add status global variable MQTT_STATUS_n, one per MQTT client
Edouard Tisserant <edouard@beremiz.fr> [Mon, 30 Sep 2024 16:21:11 +0200] rev 4023
MQTT: Add status global variable MQTT_STATUS_n, one per MQTT client

5 months agoMQTT: strip unsupported types from type choice dropdown, better wrong type detection in build.
Edouard Tisserant <edouard@beremiz.fr> [Thu, 26 Sep 2024 15:28:10 +0200] rev 4022
MQTT: strip unsupported types from type choice dropdown, better wrong type detection in build.

5 months agoMQTT: remove debug prints
Edouard Tisserant <edouard@beremiz.fr> [Thu, 26 Sep 2024 09:40:09 +0200] rev 4021
MQTT: remove debug prints

5 months agoMQTT: add JSON fixed size 1D array support. WIP. Parsing array still broken.
Edouard Tisserant <edouard@beremiz.fr> [Wed, 25 Sep 2024 11:10:33 +0200] rev 4020
MQTT: add JSON fixed size 1D array support. WIP. Parsing array still broken.

6 months agoMQTT: do not convert to UPPERCASE json keys.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 20 Sep 2024 15:30:22 +0200] rev 4019
MQTT: do not convert to UPPERCASE json keys.

6 months agoMQTT: added support for strings in JSON payload only.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 20 Sep 2024 15:12:53 +0200] rev 4018
MQTT: added support for strings in JSON payload only.

6 months agoMQTT: remove accidentally committed debug printfs + cosmetic
Edouard Tisserant <edouard@beremiz.fr> [Thu, 19 Sep 2024 15:12:45 +0200] rev 4017
MQTT: remove accidentally committed debug printfs + cosmetic

6 months agoMQTT: fix invocation of json_scanf (use pointers, not values...)
Edouard Tisserant <edouard@beremiz.fr> [Thu, 19 Sep 2024 12:06:53 +0200] rev 4016
MQTT: fix invocation of json_scanf (use pointers, not values...)

6 months agoMQTT: fix bisection failing when topics start with same substring.
Edouard Tisserant <edouard@beremiz.fr> [Thu, 19 Sep 2024 12:05:35 +0200] rev 4015
MQTT: fix bisection failing when topics start with same substring.

6 months agoMQTT: Update available type choices when data types are changed in the IDE
Edouard Tisserant <edouard@beremiz.fr> [Tue, 17 Sep 2024 11:17:24 +0200] rev 4014
MQTT: Update available type choices when data types are changed in the IDE

6 months agoMQTT: remove standalone MQTT clien generator code.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 13 Sep 2024 14:28:07 +0200] rev 4013
MQTT: remove standalone MQTT clien generator code.

Code was inherited from OPC-UA extension, but not properly maintained.

6 months agoMQTT: add JSON payload corresponding to IEC Structured types
Edouard Tisserant <edouard@beremiz.fr> [Fri, 13 Sep 2024 14:26:55 +0200] rev 4012
MQTT: add JSON payload corresponding to IEC Structured types

- uses https://github.com/cesanta/frozen
- frozen.c is added as a resulting c file in generat_C (fix toolchain_gcc.py as it was breaking dependency checking)
- structured types are converted to C #define, in turn generating json_scanf and json_printf statements

6 months agoMQTT: WIP supporting structured types : do not crash when generating C code if using location with no size
Edouard Tisserant <edouard@beremiz.fr> [Thu, 05 Sep 2024 15:55:46 +0200] rev 4011
MQTT: WIP supporting structured types : do not crash when generating C code if using location with no size

6 months agoMQTT: add dropdown to select type assigned to a topic
Edouard Tisserant <edouard@beremiz.fr> [Fri, 30 Aug 2024 15:17:03 +0200] rev 4010
MQTT: add dropdown to select type assigned to a topic

6 months agoMQTT+IDE: Allow user to associate IEC structure datatype to a topic.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 30 Aug 2024 11:54:36 +0200] rev 4009
MQTT+IDE: Allow user to associate IEC structure datatype to a topic.

6 months agoIDE: allow structures to be located.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 30 Aug 2024 11:50:23 +0200] rev 4008
IDE: allow structures to be located.

6 months agomerge MQTT grafted from python2 branch - untested
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 07 Sep 2024 12:50:57 +0200] rev 4007
merge MQTT grafted from python2 branch - untested

6 months agoMQTT: add test projects, to be later included in automated testing.
Edouard Tisserant <edouard@beremiz.fr> [Thu, 22 Aug 2024 12:16:45 +0200] rev 4006
MQTT: add test projects, to be later included in automated testing.

6 months agoMQTT: add SSL support
Edouard Tisserant <edouard@beremiz.fr> [Thu, 22 Aug 2024 12:15:31 +0200] rev 4005
MQTT: add SSL support

7 months agoSVGHMI: cosmetic
Edouard Tisserant <edouard@beremiz.fr> [Thu, 08 Aug 2024 14:56:13 +0200] rev 4004
SVGHMI: cosmetic

7 months agoSVGHMI: Fix watchdog not cleanly restarting browser because not waiting for stop operation to finish before restarting.
Edouard Tisserant <edouard@beremiz.fr> [Tue, 06 Aug 2024 15:25:57 +0200] rev 4003
SVGHMI: Fix watchdog not cleanly restarting browser because not waiting for stop operation to finish before restarting.

7 months agoMQTT: WIP, re-organized disconnection handling, now keep track of connection status and reconnect accordingly.
Edouard Tisserant <edouard@beremiz.fr> [Thu, 01 Aug 2024 12:11:11 +0200] rev 4002
MQTT: WIP, re-organized disconnection handling, now keep track of connection status and reconnect accordingly.

This fixes bug with non-reconnecting to broker when having no published variables.

7 months agoMQTT: link to SSL only when needed.
Edouard Tisserant <edouard@beremiz.fr> [Thu, 01 Aug 2024 12:09:28 +0200] rev 4001
MQTT: link to SSL only when needed.

7 months agoIDE: Fix "Save" toolbar button and file menu entry not appearing when extension makes changes
Edouard Tisserant <edouard@beremiz.fr> [Wed, 24 Jul 2024 15:14:02 +0200] rev 4000
IDE: Fix "Save" toolbar button and file menu entry not appearing when extension makes changes

7 months agoMQTT: WIP fix modified status not being set when adding and modifying topics or attributes.
Edouard Tisserant <edouard@beremiz.fr> [Tue, 23 Jul 2024 17:05:59 +0200] rev 3999
MQTT: WIP fix modified status not being set when adding and modifying topics or attributes.

Fix loading of CSV that was not applying model types, and that not checking conformance either.

7 months agoMQTT: WIP, PLC starts even if MQTT client can't connect broker, and publish+subscribe again when reconnecting.
Edouard Tisserant <edouard@beremiz.fr> [Tue, 23 Jul 2024 15:30:04 +0200] rev 3998
MQTT: WIP, PLC starts even if MQTT client can't connect broker, and publish+subscribe again when reconnecting.

7 months agoMQTT: WIP, destroys paho client during failure handling at init and at cleanup. Use mutex to protect retrieve.
Edouard Tisserant <edouard@beremiz.fr> [Tue, 23 Jul 2024 11:05:46 +0200] rev 3997
MQTT: WIP, destroys paho client during failure handling at init and at cleanup. Use mutex to protect retrieve.

8 months agoMQTT: Implements reconnecting in publish thread in case thread is waken-up but client is disconnected.
Edouard Tisserant <edouard@beremiz.fr> [Mon, 22 Jul 2024 16:13:27 +0200] rev 3996
MQTT: Implements reconnecting in publish thread in case thread is waken-up but client is disconnected.

Note: paho's lostConnection callback got already disabled in previous commit.

8 months agoMQTT: take C part away from python code for readability.
Edouard Tisserant <edouard@beremiz.fr> [Mon, 22 Jul 2024 16:09:12 +0200] rev 3995
MQTT: take C part away from python code for readability.

C lines change a bit because of unnecessary escaping for '\'.

8 months agoMQTT: WIP, prevent crash after disconnect. Disable auto-reconnect on connection lost callback.
Edouard Tisserant <edouard@beremiz.fr> [Mon, 22 Jul 2024 12:12:33 +0200] rev 3994
MQTT: WIP, prevent crash after disconnect. Disable auto-reconnect on connection lost callback.

8 months agoMQTT: Stop publish thread properly on PLC stop
Edouard Tisserant <edouard@beremiz.fr> [Thu, 18 Jul 2024 12:05:26 +0200] rev 3993
MQTT: Stop publish thread properly on PLC stop

8 months agoMQTT: Fix overkill use of wx sizer
Edouard Tisserant <edouard@beremiz.fr> [Thu, 18 Jul 2024 11:42:08 +0200] rev 3992
MQTT: Fix overkill use of wx sizer

8 months agoMQTT: Fix crash when browsing locations
Edouard Tisserant <edouard@beremiz.fr> [Thu, 18 Jul 2024 11:28:38 +0200] rev 3991
MQTT: Fix crash when browsing locations

8 months agoMQTT: WIP. Added handling of received messages (subscriptions)
Edouard Tisserant <edouard@beremiz.fr> [Wed, 17 Jul 2024 17:02:32 +0200] rev 3990
MQTT: WIP. Added handling of received messages (subscriptions)

Dropped perfect hash in favor of bisection
Also fixed indentation (tabs)

8 months agoMQTT: WIP, added publish thread waking-up when published variables change.
Edouard Tisserant <edouard@beremiz.fr> [Tue, 16 Jul 2024 09:41:45 +0200] rev 3989
MQTT: WIP, added publish thread waking-up when published variables change.

8 months agoMQTT: WIP, subscibed topics have no "Retained" attribute.
Edouard Tisserant <edouard@beremiz.fr> [Mon, 15 Jul 2024 09:40:11 +0200] rev 3988
MQTT: WIP, subscibed topics have no "Retained" attribute.

Allow subscribed and published data models to be different, by removing "Retained" column.

8 months agoMQTT: WIP, now publishes initial values at init.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 12 Jul 2024 15:36:17 +0200] rev 3987
MQTT: WIP, now publishes initial values at init.

8 months agoMQTT: WIP, now connects to broker. Added MQTT 3 support and protocol version selection in IDE.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 12 Jul 2024 11:24:06 +0200] rev 3986
MQTT: WIP, now connects to broker. Added MQTT 3 support and protocol version selection in IDE.

8 months agoMQTT: (WIP) Fix OpenSSL linking.
Edouard Tisserant <edouard@beremiz.fr> [Wed, 10 Jul 2024 11:10:05 +0200] rev 3985
MQTT: (WIP) Fix OpenSSL linking.

8 months agoMQTT: still WIP, generated C code builds and link.
Edouard Tisserant <edouard@beremiz.fr> [Tue, 09 Jul 2024 11:46:19 +0200] rev 3984
MQTT: still WIP, generated C code builds and link.

8 months agoExtensions: add optional arguments to ThirdPartyPath
Edouard Tisserant <edouard@beremiz.fr> [Tue, 09 Jul 2024 11:44:49 +0200] rev 3983
Extensions: add optional arguments to ThirdPartyPath

ThirdPartyPath("name", "path1", "path2") will resolve by default into "../name/path1/path2"

8 months agoGCC BUILD: Prevent Memory Error when compiling huge projects.
Edouard Tisserant <edouard@beremiz.fr> [Thu, 04 Jul 2024 11:24:04 +0200] rev 3982
GCC BUILD: Prevent Memory Error when compiling huge projects.

Also deleted dead code.

8 months agoMQTT WIP: intermediate state, added perfect hash to map topic to variables
Edouard Tisserant <edouard@beremiz.fr> [Wed, 03 Jul 2024 11:44:01 +0200] rev 3981
MQTT WIP: intermediate state, added perfect hash to map topic to variables

9 months agoMQTT WIP: intermediate state, implementing MQTT client C code generator.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 14 Jun 2024 15:56:12 +0200] rev 3980
MQTT WIP: intermediate state, implementing MQTT client C code generator.

9 months agoWIP: Add skeleton for MQTT extension based on part of OPC-UA extension.
Edouard Tisserant <edouard@beremiz.fr> [Wed, 12 Jun 2024 11:45:09 +0200] rev 3979
WIP: Add skeleton for MQTT extension based on part of OPC-UA extension.

For now generated code makes no sense but persistently-configurable-C-generating-extension infrastructure is there.

7 months agoMerge remote-tracking branch 'origin/python3' into python3
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 20 Aug 2024 01:51:08 +0200] rev 3978
Merge remote-tracking branch 'origin/python3' into python3

7 months agoC runtime: Fix PLCObject.hpp preventing build.
etisserant <edouard.tisserant@gmail.com> [Fri, 16 Aug 2024 16:30:50 +0200] rev 3977
C runtime: Fix PLCObject.hpp preventing build.

7 months agoIDE: generalize EVT_GRID_CELL_CHANG{ING->ED} (WxPy4)
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 17 Aug 2024 18:44:12 +0200] rev 3976
IDE: generalize EVT_GRID_CELL_CHANG{ING->ED} (WxPy4)

7 months agoIDE: hopefully last fix about float type being passed to WxPy4.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 20 Aug 2024 01:26:58 +0200] rev 3975
IDE: hopefully last fix about float type being passed to WxPy4.

7 months agoIDE: enhance variable forcing contextual menu
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 20 Aug 2024 01:25:39 +0200] rev 3974
IDE: enhance variable forcing contextual menu

7 months agoIDE: fix completion
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 20 Aug 2024 01:13:14 +0200] rev 3973
IDE: fix completion

uses ctrl key on Mac
update internal variable list before listing them
avoid exception if empty list
apply selection when pressing return or enter

7 months agoIDE: Workaround some reported WxPython/MacOS problems.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 20 Aug 2024 00:35:00 +0200] rev 3972
IDE: Workaround some reported WxPython/MacOS problems.

SetSelection should be used instead of SetStringSelection , and FindString must use case_sensitive=True

7 months agoIDE: Fix search result not showing single occurrences
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 20 Aug 2024 00:31:45 +0200] rev 3971
IDE: Fix search result not showing single occurrences

7 months agoIDE: remove warning if editing location leads to no change
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 18 Aug 2024 18:23:18 +0200] rev 3970
IDE: remove warning if editing location leads to no change

7 months agoIDE: Use 8x8 grid by default
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 20 Aug 2024 00:23:45 +0200] rev 3969
IDE: Use 8x8 grid by default

7 months agoIDE: Fix exception when connecting complex types
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 20 Aug 2024 00:20:59 +0200] rev 3968
IDE: Fix exception when connecting complex types

7 months agoLocalRuntime: no crash if zombie PLC prevents erasing workdir
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 20 Aug 2024 00:02:27 +0200] rev 3967
LocalRuntime: no crash if zombie PLC prevents erasing workdir

7 months agoIDE: Fix printing
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 19 Aug 2024 23:58:01 +0200] rev 3966
IDE: Fix printing

More side effects of WxPy4 et Py3 + workaround WxWidget bug.

7 months agoIDE: failsafe escaping for input not matching utf-8 encoding
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 18 Aug 2024 23:36:56 +0200] rev 3965
IDE: failsafe escaping for input not matching utf-8 encoding

7 months agoUpdate Nevow revision in requirements.txt
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 18 Aug 2024 18:23:18 +0200] rev 3964
Update Nevow revision in requirements.txt

7 months agoMerge commit '2d061a66ddc737f5dffae82413b4f8573b7eee54' into HEAD
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 15 Aug 2024 23:50:01 +0200] rev 3963
Merge commit '2d061a66ddc737f5dffae82413b4f8573b7eee54' into HEAD

7 months agoAdd "CONTINUE" ST statement.
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 15 Aug 2024 23:23:56 +0200] rev 3962
Add "CONTINUE" ST statement.

Matches "Add CONTINUE statement, fix FOR loop accordingly" 8a06b3bb92967b389466b8afa977a995ec605e2d commit in Matiec.

7 months agoC runtime: cosmetic changes
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 15 Aug 2024 23:20:16 +0200] rev 3961
C runtime: cosmetic changes

9 months agomerge again
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 05 Jun 2024 15:18:15 +0200] rev 3960
merge again

9 months agoRevert unwanted changes potentially breaking wxGlade support.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 04 Jun 2024 14:09:16 +0200] rev 3959
Revert unwanted changes potentially breaking wxGlade support.
Partly revert 34d4c77ccb1bcb14601ab347ec6080466b7e143d. Skips evaluator related changes that was included by mistake.

9 months agoTests: add erpc source to GitHub tests
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 04 Jun 2024 08:35:13 +0200] rev 3958
Tests: add erpc source to GitHub tests

9 months agoC runtime: add autoload
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 03 Jun 2024 22:29:59 +0200] rev 3957
C runtime: add autoload

9 months agoC runtime: fix logging, makes test pass
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 03 Jun 2024 22:29:20 +0200] rev 3956
C runtime: fix logging, makes test pass

9 months agoTests: Add minimal C runtime test
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 03 Jun 2024 22:24:55 +0200] rev 3955
Tests: Add minimal C runtime test

9 months agomerge
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 05 Jun 2024 15:05:54 +0200] rev 3954
merge

9 months agoXenomai runtime: report and mitigate when PLC cycle overruns.
Edouard Tisserant <edouard@beremiz.fr> [Mon, 27 May 2024 11:16:27 +0200] rev 3953
Xenomai runtime: report and mitigate when PLC cycle overruns.

Side effect :
_Log* macro was changed in plc_Xenomai_main.c,
and fixed in plc_Linux_main.c

10 months agoSVGHMI: Do not generate Popen call when comamn is empty.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 26 Apr 2024 12:14:52 +0200] rev 3952
SVGHMI: Do not generate Popen call when comamn is empty.

9 months agoFix python path in readme.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 25 May 2024 16:45:38 +0200] rev 3951
Fix python path in readme.

9 months agoPython runtime: ensure that python thread finished before returning from StopPLC.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 25 May 2024 15:28:48 +0200] rev 3950
Python runtime: ensure that python thread finished before returning from StopPLC.

9 months agoC runtime: initial fixes. Now runs and traces first_steps example.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 24 May 2024 18:55:46 +0200] rev 3949
C runtime: initial fixes. Now runs and traces first_steps example.

beremiz_runtime -v -t tcp -p 61131 -h localhost

9 months agoIDE: fix eRPC exception handling
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 24 May 2024 18:48:28 +0200] rev 3948
IDE: fix eRPC exception handling

9 months agoAll Runtimes: Now sizeof(tick)=4 on all platforms (unsigned int).
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 24 May 2024 18:47:30 +0200] rev 3947
All Runtimes: Now sizeof(tick)=4 on all platforms (unsigned int).

9 months agoeRPC: update erpc version, add readme
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 24 May 2024 18:32:23 +0200] rev 3946
eRPC: update erpc version, add readme

10 months agoC++ runtime: WIP. Continue PLCObject implementation.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 18 May 2024 23:59:32 +0200] rev 3945
C++ runtime: WIP. Continue PLCObject implementation.

10 months agoTests: fix wx_widgets.pytest/test_CustomIntCtrl.py
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 15 May 2024 18:50:26 +0200] rev 3944
Tests: fix wx_widgets.pytest/test_CustomIntCtrl.py

10 months agoMerge commit 'e2df70b60b84031d3ccd3ae799a4e3aa8112f3ff' into python3
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 15 May 2024 08:59:38 +0200] rev 3943
Merge commit 'e2df70b60b84031d3ccd3ae799a4e3aa8112f3ff' into python3

10 months agoDoc: Add about section (PR #33)
Nadim Khan <34601107+nadim4114@users.noreply.github.com> [Fri, 26 Apr 2024 13:40:34 +0530] rev 3942
Doc: Add about section (PR #33)

* added about section

* updated .gitignore to exclude doc/_build/

10 months agoERPC: fix SetTraceVariablesList interface
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 14 May 2024 14:22:32 +0200] rev 3941
ERPC: fix SetTraceVariablesList interface

This fix debug not suspending when having no variables, and other debug error being not reported.

10 months agoC++ runtime: WIP: untested PLCObject implementation. Still missing tracing.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 11 May 2024 19:27:28 +0200] rev 3940
C++ runtime: WIP: untested PLCObject implementation. Still missing tracing.

10 months agoUpdate revisions used in tests running on GitHub.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 26 Apr 2024 09:45:02 +0200] rev 3939
Update revisions used in tests running on GitHub.

10 months agomerge
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 26 Apr 2024 09:24:26 +0200] rev 3938
merge

10 months agoC++ runtime: add eRPC server, minimal CLI and Makefile. WIP.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 24 Apr 2024 02:15:33 +0200] rev 3937
C++ runtime: add eRPC server, minimal CLI and Makefile. WIP.

11 months agoMore documentation. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 15 Apr 2024 19:13:17 +0200] rev 3936
More documentation. Work in progress.

10 months agoIDE: Fix crashing non-thread safe code using Zeroconf
Edouard Tisserant <edouard@beremiz.fr> [Thu, 25 Apr 2024 16:59:05 +0200] rev 3935
IDE: Fix crashing non-thread safe code using Zeroconf

10 months agoBACnet: Fixed grid cell choice editor. Consequence of wxPython4.
Edouard Tisserant <edouard@beremiz.fr> [Thu, 25 Apr 2024 09:37:09 +0200] rev 3934
BACnet: Fixed grid cell choice editor. Consequence of wxPython4.

10 months agoSVGHMI: fix font embedding with py3
Edouard Tisserant <edouard@beremiz.fr> [Wed, 24 Apr 2024 17:02:28 +0200] rev 3933
SVGHMI: fix font embedding with py3

11 months agoIDE: Fix Variable grid ignoring edits. WxPython4 consequence.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 15 Apr 2024 09:09:59 +0200] rev 3932
IDE: Fix Variable grid ignoring edits. WxPython4 consequence.

11 months agoIDE: Remove all occurrences of deprecated wx.grid.PyGrid
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 15 Apr 2024 09:08:09 +0200] rev 3931
IDE: Remove all occurrences of deprecated wx.grid.PyGrid

11 months agoMerge commit '80e123b34e488ffea851dc2168b366ba6124c09b' into python3
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 05 Apr 2024 14:59:00 +0200] rev 3930
Merge commit '80e123b34e488ffea851dc2168b366ba6124c09b' into python3

11 months agoDoc: start converting Standard Library documentation from old MC8 manual.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 05 Apr 2024 14:55:58 +0200] rev 3929
Doc: start converting Standard Library documentation from old MC8 manual.

11 months agomerge
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 05 Apr 2024 13:11:30 +0200] rev 3928
merge

11 months agoModbus: fix test: add missing filles and add Modbus source+build in GH CI
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 04 Apr 2024 17:58:21 +0200] rev 3927
Modbus: fix test: add missing filles and add Modbus source+build in GH CI

11 months agoModbus: add CI test + test project
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 04 Apr 2024 17:31:49 +0200] rev 3926
Modbus: add CI test + test project

11 months agoDoc: re-organize existing, sketch outline, add SVGHMI intro.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 03 Apr 2024 13:02:50 +0200] rev 3925
Doc: re-organize existing, sketch outline, add SVGHMI intro.

11 months agoExamples: add svghmi_json_table
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 26 Mar 2024 17:10:26 +0100] rev 3924
Examples: add svghmi_json_table

11 months agoSVGHMI: add "DISCARD:" prefix to force discarding an SVG element
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 26 Mar 2024 17:08:45 +0100] rev 3923
SVGHMI: add "DISCARD:" prefix to force discarding an SVG element

11 months agoSVG: fix HMI:Assign widget to properly handle single-letter variable names.
Edouard Tisserant <edouard@beremiz.fr> [Wed, 03 Apr 2024 14:17:50 +0200] rev 3922
SVG: fix HMI:Assign widget to properly handle single-letter variable names.

11 months agoSVGHMI: Fix wrong documentation copy-pasted in HMI:Page.
Edouard Tisserant <edouard@beremiz.fr> [Thu, 28 Mar 2024 12:07:24 +0100] rev 3921
SVGHMI: Fix wrong documentation copy-pasted in HMI:Page.

11 months agoSVGHMI: add FlatButton with no active or inactive elements.
Edouard Tisserant <edouard@beremiz.fr> [Thu, 28 Mar 2024 12:04:14 +0100] rev 3920
SVGHMI: add FlatButton with no active or inactive elements.

12 months agoSVGHMI: i18n: minimize warnings for incomplete/fuzzy/outdated translations
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 20 Mar 2024 16:44:29 +0100] rev 3919
SVGHMI: i18n: minimize warnings for incomplete/fuzzy/outdated translations

12 months agoSVGHMI: i18n: fix .POT generation + other cosmetic fixes.
Edouard Tisserant <edouard@beremiz.fr> [Wed, 20 Mar 2024 12:15:23 +0100] rev 3918
SVGHMI: i18n: fix .POT generation + other cosmetic fixes.

12 months agomerge
Edouard Tisserant <edouard@beremiz.fr> [Wed, 20 Mar 2024 11:09:24 +0100] rev 3917
merge

12 months agoRemoved forgotten debug print.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 15 Mar 2024 09:42:30 +0100] rev 3916
Removed forgotten debug print.

12 months agoSVGHMI: fix py3 consequences on i18n
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 18 Mar 2024 18:43:41 +0100] rev 3915
SVGHMI: fix py3 consequences on i18n

12 months agomerge
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 15 Mar 2024 09:20:11 +0100] rev 3914
merge

12 months agoSVGHMI: Fix thumbnail generation.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 15 Mar 2024 08:48:32 +0100] rev 3913
SVGHMI: Fix thumbnail generation.

12 months agoTests: update svghmi test project to py3 and erpc
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 15 Mar 2024 08:24:38 +0100] rev 3912
Tests: update svghmi test project to py3 and erpc

12 months agoIDE: Fix local runtime not starting on windows.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 13 Mar 2024 08:38:21 +0100] rev 3911
IDE: Fix local runtime not starting on windows.
Consequence of updating ProcessLogger's argument handling.

12 months agoAdd credits for Czech i18n
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 07 Mar 2024 21:51:04 +0100] rev 3910
Add credits for Czech i18n

12 months agoShows AboutDialog even if revisions.tx is missing
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 07 Mar 2024 21:50:33 +0100] rev 3909
Shows AboutDialog even if revisions.tx is missing

12 months agoIDE: Fix encrypted ERPC: newer TLS, better error handling, re-add explicit ERPCS scheme, use sslpsk better.
Edouard Tisserant <edouard@beremiz.fr> [Thu, 14 Mar 2024 12:00:36 +0100] rev 3908
IDE: Fix encrypted ERPC: newer TLS, better error handling, re-add explicit ERPCS scheme, use sslpsk better.

12 months agomerge
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 07 Mar 2024 21:19:45 +0100] rev 3907
merge

12 months agoIDE: display contents of revisions.txt (put there by installer builder script) in About Dialog.
Edouard Tisserant <edouard@beremiz.fr> [Tue, 27 Feb 2024 12:11:24 +0100] rev 3906
IDE: display contents of revisions.txt (put there by installer builder script) in About Dialog.

12 months agoeRPC Server: fix exception at disconnect and reconnecting
Edouard Tisserant <edouard@beremiz.fr> [Thu, 07 Mar 2024 16:37:02 +0100] rev 3905
eRPC Server: fix exception at disconnect and reconnecting

12 months agoMerge pull request #31 from martinpihrt/python3
etisserant <edouard.tisserant@gmail.com> [Thu, 29 Feb 2024 17:35:03 +0100] rev 3904
Merge pull request #31 from martinpihrt/python3

Czech translation from Martin Pihrt

12 months agoCreate Beremiz_cs_CZ.po
Martin Pihrt <martinpihrt@seznam.cz> [Thu, 29 Feb 2024 17:30:13 +0100] rev 3903
Create Beremiz_cs_CZ.po

12 months agoCreate Beremiz.mo
Martin Pihrt <martinpihrt@gmail.com> [Thu, 29 Feb 2024 09:36:52 +0100] rev 3902
Create Beremiz.mo

13 months agoFix SVGHMI build exception on windows: return bytes for inkscape path in docsvg.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 23 Feb 2024 11:54:51 +0100] rev 3901
Fix SVGHMI build exception on windows: return bytes for inkscape path in docsvg.

13 months agoSVGHMI: fix consequence of last change in ProcessLogger
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 21 Feb 2024 22:47:12 +0100] rev 3900
SVGHMI: fix consequence of last change in ProcessLogger

13 months agoUpdate requirements.txt
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 21 Feb 2024 18:26:46 +0100] rev 3899
Update requirements.txt

13 months agoRemove forgotten debug prints
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 21 Feb 2024 09:58:24 +0100] rev 3898
Remove forgotten debug prints

13 months agomerge
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 20 Feb 2024 14:53:33 +0100] rev 3897
merge

13 months agoUpdates requirements.txt about forks of Nevow and sslpsk
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 15 Feb 2024 17:03:06 +0100] rev 3896
Updates requirements.txt about forks of Nevow and sslpsk

14 months agoFix deprecated WX call producing warning.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 24 Jan 2024 10:42:10 +0100] rev 3895
Fix deprecated WX call producing warning.

14 months agoFix exception on right click, showing context menu.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 24 Jan 2024 10:41:09 +0100] rev 3894
Fix exception on right click, showing context menu.

13 months agoGCC toolchain: Add {SYSROOT} substitution with support for whitespaces
Edouard Tisserant <edouard@beremiz.fr> [Tue, 20 Feb 2024 11:42:02 +0100] rev 3893
GCC toolchain: Add {SYSROOT} substitution with support for whitespaces

Any instance of {SYROOT} string in config's CFLAGS and LDFLAGS is replaced by sysroot path obtained from "gcc -print-sysroot"

13 months agoFix argument lexer in ProcessLogger, replace it with shlex standard python module.
Edouard Tisserant <edouard@beremiz.fr> [Tue, 20 Feb 2024 11:37:54 +0100] rev 3892
Fix argument lexer in ProcessLogger, replace it with shlex standard python module.

13 months agoSVGHMI: Fix warning with WxPython > 4.x
Edouard Tisserant <edouard@beremiz.fr> [Tue, 20 Feb 2024 11:34:28 +0100] rev 3891
SVGHMI: Fix warning with WxPython > 4.x

13 months agodocsvg: safer version checking of Inkscape
Edouard Tisserant <edouard@beremiz.fr> [Tue, 20 Feb 2024 11:32:15 +0100] rev 3890
docsvg: safer version checking of Inkscape

13 months agoIDE. update genicons.sh to inkscape 1.1 command line
Edouard Tisserant <edouard@beremiz.fr> [Fri, 26 Jan 2024 11:13:49 +0100] rev 3889
IDE. update genicons.sh to inkscape 1.1 command line

13 months agoIDE: adjust Build and Clean icons colors.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 26 Jan 2024 11:10:09 +0100] rev 3888
IDE: adjust Build and Clean icons colors.

14 months agoFix variable forcing. Now works with eRPC. PLCObject API changed.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 22 Jan 2024 21:30:23 +0100] rev 3887
Fix variable forcing. Now works with eRPC. PLCObject API changed.

14 months agoFix strings displaying as repr(bytes) in debug view.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 20 Jan 2024 11:41:17 +0100] rev 3886
Fix strings displaying as repr(bytes) in debug view.

14 months agoFix variable tracing in new eRPC interface.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 19 Jan 2024 19:58:44 +0100] rev 3885
Fix variable tracing in new eRPC interface.

14 months agoReplace PYRO with ERPC. Work In Progress.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 17 Jan 2024 22:09:32 +0100] rev 3884
Replace PYRO with ERPC. Work In Progress.

15 months agoFix blind replace ('text' into 'str') from py3 port
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 09 Dec 2023 01:03:43 +0100] rev 3883
Fix blind replace ('text' into 'str') from py3 port

15 months agoFix settings URL: now '/' instead of '/settings'
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 09 Dec 2023 01:01:48 +0100] rev 3882
Fix settings URL: now '/' instead of '/settings'

15 months agoMerge
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 07 Dec 2023 22:41:32 +0100] rev 3881
Merge

16 months agoSVGHMI: Fixes UI lifecycle problems
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 25 Nov 2023 00:18:05 +0100] rev 3880
SVGHMI: Fixes UI lifecycle problems

Was sometime showing HMI tree of previously closed project : no more module globals to store hmi tree.
C++ dead object exceptions happened when re-opening SVGHMI UI or building after close of UI.

16 months agoIDE: Libraries in OrderedDict for access by name
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 24 Nov 2023 23:56:38 +0100] rev 3879
IDE: Libraries in OrderedDict for access by name

16 months agoSVGHMI: fix exception when stopping
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 24 Nov 2023 14:51:27 +0100] rev 3878
SVGHMI: fix exception when stopping

16 months agoSVGHMI: fix JS error loading empty single page
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 24 Nov 2023 14:47:14 +0100] rev 3877
SVGHMI: fix JS error loading empty single page

svg:svg tag should not be considered as a detachable group,
so filter only svg:g elements

16 months agoIDE: fix exception showing network discovery
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 24 Nov 2023 14:44:08 +0100] rev 3876
IDE: fix exception showing network discovery

16 months agoSVGHMI: Fix creation of SVG file if none provided
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 22 Nov 2023 21:10:10 +0100] rev 3875
SVGHMI: Fix creation of SVG file if none provided

16 months agoIDE: Auto-select required libraries when adding extension
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 22 Nov 2023 19:48:55 +0100] rev 3874
IDE: Auto-select required libraries when adding extension

16 months agoIDE: Disable not-yet-working extensions
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 22 Nov 2023 19:47:08 +0100] rev 3873
IDE: Disable not-yet-working extensions

16 months agoFix typo in README.md
etisserant <edouard.tisserant@gmail.com> [Fri, 27 Oct 2023 22:15:27 +0200] rev 3872
Fix typo in README.md

17 months agoIDE: py3.10 related float/int fixes in debug plots
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 19 Oct 2023 22:52:27 +0200] rev 3871
IDE: py3.10 related float/int fixes in debug plots

17 months agoMove tests/project/modbus in exemples.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 18 Oct 2023 19:36:20 +0200] rev 3870
Move tests/project/modbus in exemples.

17 months agoPython3 fixes for Modbus Web Settings
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 18 Oct 2023 19:28:35 +0200] rev 3869
Python3 fixes for Modbus Web Settings

17 months agoFix template conflict in XSLT with lxml>=4.9.0 again
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 16 Oct 2023 23:50:58 +0200] rev 3868
Fix template conflict in XSLT with lxml>=4.9.0 again

Earlier attempt was fixing conflict with -1.0 priority attribute,
as a side effect of such low priority, SFC Actions were not
editable anymore.

This time move template around instead of using explicit priority.

17 months agoRevert "IDE: fix exception when adding Action"
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 16 Oct 2023 23:35:47 +0200] rev 3867
Revert "IDE: fix exception when adding Action"

This reverts commit 94e42cda0a8e093aac4830b5c40656c240ec8cf9.

17 months agoIDE: fix exception when adding Action
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 12 Oct 2023 17:03:44 +0200] rev 3866
IDE: fix exception when adding Action

17 months agoIDE: Fix status bar update when conection lost
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 09 Oct 2023 21:27:17 +0200] rev 3865
IDE: Fix status bar update when conection lost

17 months agoSVGHMI: Fix watchdog exception on windows
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 09 Oct 2023 16:42:59 +0200] rev 3864
SVGHMI: Fix watchdog exception on windows

17 months agoTypo
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 09 Oct 2023 16:42:11 +0200] rev 3863
Typo

17 months agoUpgrade wxPython to 4.2.1, drop 4.2.0 workaroud
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 07 Oct 2023 17:33:52 +0200] rev 3862
Upgrade wxPython to 4.2.1, drop 4.2.0 workaroud

15 months agoRuntime: add GetVersions() call to PLCObject, use it in web settings and expose it in WAMP and Pyro.
Edouard Tisserant [Wed, 29 Nov 2023 11:54:56 +0100] rev 3861
Runtime: add GetVersions() call to PLCObject, use it in web settings and expose it in WAMP and Pyro.

Note: WAMP changes are untested

16 months agoRuntime: Add stderr support to local posix spawn based subprocess replacement
Edouard Tisserant [Fri, 24 Nov 2023 12:16:19 +0100] rev 3860
Runtime: Add stderr support to local posix spawn based subprocess replacement

16 months agoModbus: More verbose error message in case of thread creation problem
Edouard Tisserant [Wed, 22 Nov 2023 11:24:16 +0100] rev 3859
Modbus: More verbose error message in case of thread creation problem

16 months agoRuntime web settings: fix punctuation and update CSS again
Edouard Tisserant [Wed, 22 Nov 2023 09:34:32 +0100] rev 3858
Runtime web settings: fix punctuation and update CSS again

16 months agoUpdate default CSS for Runtime WebSettings.
Edouard Tisserant [Mon, 20 Nov 2023 11:52:27 +0100] rev 3857
Update default CSS for Runtime WebSettings.

16 months agoRuntime WebSetings for extensions are now served on individual URLs to prevent cluttering.
Edouard Tisserant [Mon, 20 Nov 2023 11:51:34 +0100] rev 3856
Runtime WebSetings for extensions are now served on individual URLs to prevent cluttering.

16 months agoRuntime web settings: allow customization of version string by extensions
Edouard Tisserant [Thu, 09 Nov 2023 11:20:39 +0100] rev 3855
Runtime web settings: allow customization of version string by extensions

17 months agoMerge python3
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 04 Oct 2023 16:24:00 +0200] rev 3854
Merge