Tue, 06 Aug 2024 15:25:57 +0200SVGHMI: 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.

Thu, 01 Aug 2024 12:11:11 +0200MQTT: 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.

Thu, 01 Aug 2024 12:09:28 +0200MQTT: 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.

Wed, 24 Jul 2024 15:14:02 +0200IDE: 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

Tue, 23 Jul 2024 17:05:59 +0200MQTT: 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.

Tue, 23 Jul 2024 15:30:04 +0200MQTT: 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.

Tue, 23 Jul 2024 11:05:46 +0200MQTT: 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.

Mon, 22 Jul 2024 16:13:27 +0200MQTT: 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.

Mon, 22 Jul 2024 16:09:12 +0200MQTT: 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 '\'.

Mon, 22 Jul 2024 12:12:33 +0200MQTT: 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.

Thu, 18 Jul 2024 12:05:26 +0200MQTT: 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

Thu, 18 Jul 2024 11:42:08 +0200MQTT: 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

Thu, 18 Jul 2024 11:28:38 +0200MQTT: 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

Wed, 17 Jul 2024 17:02:32 +0200MQTT: 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)

Tue, 16 Jul 2024 09:41:45 +0200MQTT: 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.

Mon, 15 Jul 2024 09:40:11 +0200MQTT: 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.

Fri, 12 Jul 2024 15:36:17 +0200MQTT: 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.

Fri, 12 Jul 2024 11:24:06 +0200MQTT: 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.

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

Tue, 09 Jul 2024 11:46:19 +0200MQTT: 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.

Tue, 09 Jul 2024 11:44:49 +0200Extensions: 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"

Thu, 04 Jul 2024 11:24:04 +0200GCC 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.

Wed, 03 Jul 2024 11:44:01 +0200MQTT 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

Fri, 14 Jun 2024 15:56:12 +0200MQTT 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.

Wed, 12 Jun 2024 11:45:09 +0200WIP: 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.

Tue, 20 Aug 2024 01:51:08 +0200Merge 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

Fri, 16 Aug 2024 16:30:50 +0200C 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.

Sat, 17 Aug 2024 18:44:12 +0200IDE: 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)

Tue, 20 Aug 2024 01:26:58 +0200IDE: 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.

Tue, 20 Aug 2024 01:25:39 +0200IDE: 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

Tue, 20 Aug 2024 01:13:14 +0200IDE: 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

Tue, 20 Aug 2024 00:35:00 +0200IDE: 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

Tue, 20 Aug 2024 00:31:45 +0200IDE: 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

Sun, 18 Aug 2024 18:23:18 +0200IDE: 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

Tue, 20 Aug 2024 00:23:45 +0200IDE: 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

Tue, 20 Aug 2024 00:20:59 +0200IDE: 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

Tue, 20 Aug 2024 00:02:27 +0200LocalRuntime: 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

Mon, 19 Aug 2024 23:58:01 +0200IDE: 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.

Sun, 18 Aug 2024 23:36:56 +0200IDE: 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

Sun, 18 Aug 2024 18:23:18 +0200Update 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

Thu, 15 Aug 2024 23:50:01 +0200Merge 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

Thu, 15 Aug 2024 23:23:56 +0200Add "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.

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

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

Tue, 04 Jun 2024 14:09:16 +0200Revert 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.

Tue, 04 Jun 2024 08:35:13 +0200Tests: 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

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

Mon, 03 Jun 2024 22:29:20 +0200C 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

Mon, 03 Jun 2024 22:24:55 +0200Tests: 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

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

Mon, 27 May 2024 11:16:27 +0200Xenomai 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

Fri, 26 Apr 2024 12:14:52 +0200SVGHMI: 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.

Sat, 25 May 2024 16:45:38 +0200Fix 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.

Sat, 25 May 2024 15:28:48 +0200Python 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.

Fri, 24 May 2024 18:55:46 +0200C 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

Fri, 24 May 2024 18:48:28 +0200IDE: 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

Fri, 24 May 2024 18:47:30 +0200All 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).

Fri, 24 May 2024 18:32:23 +0200eRPC: 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

Sat, 18 May 2024 23:59:32 +0200C++ 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.

Wed, 15 May 2024 18:50:26 +0200Tests: 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