Skip to content

v0.9.7 Major source code update release

Pre-release
Pre-release
Compare
Choose a tag to compare
@smallbutfine smallbutfine released this 27 Mar 05:48
· 54 commits to main since this release
c81933e

Source release only.
The complete source code of the GUI has been ported back from CodeTyphon to Lazarus IDE with a lot of effort.
Reason for this was the possibility to do an automated full compilation and building process in virtual machine environments right on Github.
Github workflows and actions are set up and allow that now. Code is checked for successful build process and compilation in virtual machines automatically.
The code was cleaned up, several changes were made to make it work.
For now, the code for the GUI builds fine now in Lazarus stable/latest per OS versions (2.2.2) - on Windows 10, Ubuntu Linux 22.04 and MacOS (latest) virtual machines with all prerequisites automatically installed and configured to make it happen. A goal is to have a fully automated build and publishing process setup, no local build chain needed anymore!
The source code of the GUI was moved into a new folder "src" to keep the main directory for executable and future configuration files only.
There is a folder with a standard i8n language file. So localization is possible and will happen at a later point in time, will do the German localization myself.
Next efforts will go into
a.) ...do shell versions of the scripts OR do a direct process start of the Python scripts from the Pascal main process.
b.) ...making the shell scripts/process starting instructions work in Linux and MacOS.
c.) ...extensive testing of the underlying for better understanding on my side for the Python based training code. I noticed problems getting results for a parameterized model. Non-parameterized models trained fine (and fast!) though.
d.) ...investigating the possibilities to stream stdio back into the GUI and run the Python scripts silently to keep users from interacting with separate windows directly. Inter-process communication is not easy though, so far I did not get satisfying results in interfacing Pascal and Python directly. Python4Lazarus/Delphi does not integrate well for me so far.
e.) ...making QOL changes to the GUI, making use of MessageBoxes to give feedback to the user about successful training process or missing data etc...

This is an intermediate (huge) source code only update to make maintenance of the project more future proof, OS independent and user-friendly in the end.

Download Proteus Model Builder