Tuesday, August 27, 2013

New Translator – Release


The implementation of new translator routines is now complete, at least with all the commands that were previously implemented in the old translator routines with the additional of support for multiple statements per line (separated by colons).   Version 0.4.6 has been released (branch0.4 was merged to the master branch and tagged v0.4.6).

While preparing the archives for uploading to SourceForge, I noticed that the test scripts included in the binary archives were not correct and the scripts may not run properly.  The previous uploads have been corrected.   To prevent this problem in the future, the CMake build file was modified to copy the test files into the build directory and the scripts modified to use these copies, not the ones from the source directory.  Also to prevent problems, a check was added to make sure the build directory is not the same as the source directory.

The CMake build was also modified to build an script that creates the binary release archive with the needed files for the current platform (Linux or Windows). This also means a .zip file on Windows and a .tar.gz file on Linux. The files included on the application executable, read me, license, release notes, test files and regression test script. On Windows, the regression test batch file is also included. On Linux, the memory test script and memory error suppression file are included.

Archive files containing the source and binary files (with test files) have been uploaded to SourceForge. For Windows, there is also the ibcp-libs.zip file that contains all the dynamic linked libraries required to run the program if the MinGW and QtSDK packages have not been installed (extract into the ibcp directory). Linux should already have the required libraries installed. This concludes the 0.4 development series. Implementation of the next step (encoder) will now begin with the 0.5 development series.