5 weeks agoPY_EXT: fix wrong column header produced by csv_write_by_string.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 07 Feb 2025 14:29:11 +0100] rev 4107
PY_EXT: fix wrong column header produced by csv_write_by_string.

5 weeks agoAdd example for CSV_WRITE_BY_STRING
Edouard Tisserant <edouard@beremiz.fr> [Fri, 07 Feb 2025 11:22:53 +0100] rev 4106
Add example for CSV_WRITE_BY_STRING

5 weeks agoPy_ext: add CSV write by String FB + refactoring
Edouard Tisserant <edouard@beremiz.fr> [Fri, 07 Feb 2025 11:21:15 +0100] rev 4105
Py_ext: add CSV write by String FB + refactoring

- CSV_WRITE_BY_STR can create file from scratch
- Moved python runtime code from a string to a separate file.

5 weeks agoPython runtime: call "OnIdle" tasks when py_eval FBs execution queue is empty.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 07 Feb 2025 10:52:09 +0100] rev 4104
Python runtime: call "OnIdle" tasks when py_eval FBs execution queue is empty.

This is usefull to execute slow operations that can be deffered from functions called by py_eval FBs.
User python code add a callable to "OnIdle" list made available in global scope.

7 weeks agoMerge remote-tracking branch 'hggit/python3' into python3
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 26 Jan 2025 14:58:13 +0100] rev 4103
Merge remote-tracking branch 'hggit/python3' into python3

7 weeks agoSVGHMI: update generated xslt
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 22 Jan 2025 22:05:08 +0100] rev 4102
SVGHMI: update generated xslt

7 weeks agomerged
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 26 Jan 2025 12:20:12 +0100] rev 4101
merged

7 weeks agoMQTT: fix typo in resub python callback.
Edouard Tisserant <edouard@beremiz.fr> [Wed, 22 Jan 2025 11:39:27 +0100] rev 4100
MQTT: fix typo in resub python callback.

7 weeks agoMQTT: fix non reconnecting python topics. WIP
Edouard Tisserant <edouard@beremiz.fr> [Tue, 21 Jan 2025 16:28:43 +0100] rev 4099
MQTT: fix non reconnecting python topics. WIP

7 weeks agoLet extensions know when configuration is new, to apply defaults.
Edouard Tisserant <edouard@beremiz.fr> [Tue, 21 Jan 2025 09:29:59 +0100] rev 4098
Let extensions know when configuration is new, to apply defaults.

Add "new_config" member to CTN, True when config was just created.

8 weeks agoMQTT: fix build error when publishing json topic.
Edouard Tisserant <edouard@beremiz.fr> [Thu, 16 Jan 2025 15:30:35 +0100] rev 4097
MQTT: fix build error when publishing json topic.

8 weeks agoIDE: Better xmlclass behavior with simple XML element having no attibutes (simple TAGs).
Edouard Tisserant <edouard@beremiz.fr> [Thu, 16 Jan 2025 14:52:49 +0100] rev 4096
IDE: Better xmlclass behavior with simple XML element having no attibutes (simple TAGs).

xsd:choice can sometime lead to such situation when there is no additional data associated to a particular choice.

7 weeks agomerged
Edouard Tisserant <edouard@beremiz.fr> [Fri, 24 Jan 2025 15:53:11 +0100] rev 4095
merged

7 weeks agoWAMP: fix secret upload
Edouard Tisserant <edouard@beremiz.fr> [Fri, 24 Jan 2025 15:39:06 +0100] rev 4094
WAMP: fix secret upload

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